52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for solomon_13000

The JavaScript logics below doesn't display the value from the demo_get.txt in ajax.html. Did I do something wrong? [U]ajax.html[/U] [CODE] <HTML> <HEAD> <script type="text/javascript"> function ajaxRequest(){ var xmlhttp; if(window.XMLHttpRequest){ xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET","demo_get.txt",false); xmlhttp.send(); document.getElementById("panel").innerHtml = xmlhttp.responseText; }else{ xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); xmlhttp.open("GET","demo_get.txt",false); xmlhttp.send(); document.getElementById("panel").innerHtml = xmlhttp.responseText; } } …

Web Development javascript
Member Avatar for stbuchok
0
234
Member Avatar for Drugsxxx

Hi i have some variables in one file - index.php looking like this: [CODE] $kPoln = floor(($getPoln*255)/$max); $kPolnW = floor(($PolnW*255)/$max); $kWsch = floor(($getWsch*255)/$max); $kPoldW = floor(($PoldW*255)/$max); $kPold = floor(($getPold*255)/$max); $kPoldZ = floor(($PoldZ*255)/$max); $kZach = floor(($getZach*255)/$max); $kPolnZ = floor(($PolnZ*255)/$max);[/CODE] and i want to send them to another file - image.php - …

Web Development php
Member Avatar for diafol
0
351
Member Avatar for mehdi.yazdani

Hi, i wrote some command for division of numbers by certain number for example 1000000 and [CODE]$filesize=$size/1000000;[/CODE] the result shown some things like this 12.24927 but i need just the first part of this number for example i want to write 12 instead of this 12.24927 . how can i …

Web Development php
Member Avatar for cereal
0
167
Member Avatar for Dani

Hi, I just started using the Memcached php client instead of Memcache client. It's able to connect, but now when I run a get(), I get the following error: Memcached::get(): bad type specifier while parsing parameters It worked fine with Memcache? There's just one parameter ... the key to be …

Web Development caching-memcached php
Member Avatar for Dani
0
111
Member Avatar for vuyiswamb

Good Day Fellows i have a Dynamic Questionnaire that is created using dynamic data from the Database. My data in the Database contains the fields like [B]QuestionID[/B] - Primary key [B]Question[/B] - The Question Text [B]Answer[/B] - The Answer [B]Required [/B]- This is a Validation , i used this to …

Web Development asp.net
Member Avatar for vuyiswamb
0
270
Member Avatar for Fortinbra

Does anyone know of a reliable view/editor for Word docs through a web interface? We've tried CKEditor, but my boss wants something closer to how Word works.

Web Development asp.net
Member Avatar for sufyan2011
0
143
Member Avatar for jon4321

I'm trying to edit a website that's already on IIS, and I don't understand why an event doesn't seem to be compiled when I build the solution. I created the event through the design view in visual studio, but I get the exception that there is no definition for the …

Web Development asp.net visual-studio
Member Avatar for jon4321
0
194
Member Avatar for briandapice

I need to create a very simple script with php. Just a simple form with an input field for the users name and another for the users email address. They click submit, and the script sends an email to that address, while attaching a PDF file that I specify in …

Web Development email pdf php
Member Avatar for qazplm114477
0
467
Member Avatar for scottdg

I have recently been given the opportunity to manage websites for both the organization I have worked at for the past 13 years as the network admin and the newly acquired organization we share the building with. It is understood that I do not have experience with asp.net which both …

Web Development asp.net
Member Avatar for scottdg
0
121
Member Avatar for Malaoshi

Hi, I am currently working on a websiteproject for learning chinese. To help the readers to understand the texts better, I want to annotate the Chinese Characters with popup translations from the HanDeDict (German-Chinese Dictionary). I already downloaded the dictionary but the file seems to be too big to work …

Web Development php
Member Avatar for cereal
0
329
Member Avatar for sacarias40

I'm creating a bot scraper that gathers information off of other websites and i am using html simple dom parser to do it. I have found a bug though. I ran into one website that doesnt parse.\ Here is a sample of the code that it cannot parse: [CODE]<div class="header"><div …

Web Development html-css php web-design wordpress
Member Avatar for sacarias40
0
228
Member Avatar for grekos

Hey everyone, I'm here to ask for opinions and advice more then anything. I'm 18-a senior in high school. I would really like to move into my own apartment after I graduate. This is for personal reasons, but please note I want this for a reason other then the stereotypical …

Web Development php
Member Avatar for grekos
0
177
Member Avatar for Virangya

suppose i have div which has a class called "suf-text", and there could be other class names like "suf-gang", "suf-hub" .. so on.. i want to trigger an onclick even on these divs. i actually don't know how to do it.. would following do? $('body').find() but does find() need an …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
302
Member Avatar for dean8710

Can someone share the use of .htaccess and the sample of the code.. Is this .htaccess really usefull? :?:

Web Development apache php
Member Avatar for dean8710
0
345
Member Avatar for Mbot

Hi, Im having difficulty getting my form contents to send to my php page using ajax, jquery and json. The results just doesnt want to show. My javascript, where I create the JSON object and try to send it through to the php page: [CODE] var JSONobj; var JSONstr; function …

Member Avatar for Airshow
0
2K
Member Avatar for shubh2488

In this code i want to pass all the three red color code textbox value to a javascript function and print there. <?php $userid="123456789123456789"; $con = mysql_connect('localhost', 'root', ''); //Update hostname mysql_select_db("video_upload", $con); //Update database name //echo "--------".$viewall = $_GET['viewall']; //Display image $rs=mysql_query("select * from video "); while($row=mysql_fetch_array($rs)) { echo …

Web Development javascript php
Member Avatar for skraps
0
777
Member Avatar for harsha.netpem

Hello, Check the code is given below:- [CODE]<ol style="font-family: Arial; font-size: 12px; text-align: justify; width: 486px; line-height: 20px;"> <li><a href="#A" onclick="javascript:document.getElementById('A').style.display='block'">A</a> </li> <div id="A" style="overflow: auto; height: 100px; width: 500px; display: none; background-color: #e0eeee;"> <p style="font-family: Arial; font-size: 14px; text-align: justify; line-height: 20px; color: #700000; text-decoration: none;"><a name="A">A details</a></p> <ol …

Web Development javascript
Member Avatar for stbuchok
0
4K
Member Avatar for shubh2488

this is my php update query ,there are 6 column including album and genere, 3 column value are already inserted in database,in this i just want to update those column value with these two album and genere value.. it's nt getting updated.... please help me....! [CODE]<?php $a=$_GET["artist"]; $g=$_GET["genere"]; $f=$_GET["filename"]; $userid="123456789123456789"; …

Web Development php
Member Avatar for Biiim
0
86
Member Avatar for jaylb

Hi, I have javascript which counts seperately every time 2 seperate buttons are clicked, this then outputs the amount on the same page. This works, however I am now trying to add a third value to output on the page which is the total of the clicks which i would …

Member Avatar for niranga
0
159
Member Avatar for raheel_88

I would like to place a footer at the bottom of my DHTML web page. The simple footer tag doesn't do what I want because the text in the footer is simply placed underneath the current text on the web page. What I want s for the footer to stay …

Web Development html-css javascript ruby
0
111
Member Avatar for devchawla69

i'm a core php programmer . Now I am goimg to install framework like zend, cake php etc. to name a few..My question is 1. Which is the best overall frmawork. 2. can we use classes defined by two diff. frameworks in a single environment..

Web Development php
Member Avatar for skraps
0
121
Member Avatar for BenNoush

Hello I am developing a website using ajax, php,javascript and html for a grocery. Product code is entered in a textbox 'txt_code' and upon clicking on 'Retrieve' button, the product details, quantiy and price is dispalyed(this is an ajax code). The product price, product code and product descripion are retrieved …

Web Development javascript php
Member Avatar for niranga
0
197
Member Avatar for cmps

Hello, I have created many websites using only classic php and functions But now I decided to learn classes, I understood how it works but haven't used it yet. I have phpcake tutorials, but don't know if it is good to learn it or it is not a good idea …

Web Development cms php
Member Avatar for cmps
0
198
Member Avatar for daniel36
Member Avatar for skraps
0
74
Member Avatar for himmat.m4

Hi, I want to call java function in javascript. In which we pass one parameter to function and its returns String value which I want to display in alert message. So please help me..... Thanks in advance

Web Development javascript
Member Avatar for himmat.m4
0
68
Member Avatar for shamsidah

hello.. i have a table name [B]paintshop[/B] and have 4 fields for example [U][B]table:paintshop[/B][/U] bodyNo | defect_code | qty | date 58786859 | FM | 9 | 2011-11-29 58786859 | BB | 1 | 2011-11-29 58786859 | TN | 4 | 2011-11-29 58786860 | RN | 7 | 2011-11-29 58786851 …

Web Development php
Member Avatar for shamsidah
0
87
Member Avatar for calebcook

Does anyone know of a way to encrypt a string and output it as x number of characters? I need it to always return the same number of characters. I know MD5 always returns it as 32 characters. I'd like for it to return less that that, maybe 20 or …

Web Development encryption php
Member Avatar for skraps
0
189
Member Avatar for 650U

Hi, I am working on client authentication(in a sample JSP application) using certificates. I have written a code to extract the client information from the client certificate. Now I wanted to use certificate's serial number to identify the particular use from the database. I extract the serial number using [CODE]<%= …

Web Development cybersecurity java java-jsp
0
195
Member Avatar for monica23

Hi everybody, in my database, am trying to print the value of total and then add it to the price, i was able to fetch the value of total but when i tried to add it to to price so as to get value of sum in this line of …

Web Development ruby
Member Avatar for monica23
0
113
Member Avatar for joshmac

I am wanting to learn the singleton method, and I am having an issue with my code. I've been manipulating my own code for a few days now, but decided to use someone else's class to give it a try, and I am still coming up with nothing. Any help …

Web Development mysql php
Member Avatar for joshmac
0
136
Member Avatar for rayidi

Dear Friends, I'm Currently using php session ( $_SESSION[''] ), I want to use $_COOKIE Because when a user didn't click the logout button and he closed the website. still he is showing Online because i write the code at the logout page. So If we use $_COOKIE it is …

Web Development php session
Member Avatar for diafol
0
191
Member Avatar for aaro

hi im not great at programming and have been trying to fix this for ages. i am using a script to create thumbnails and display images it all works fine. the problem is for each record on my database, eg each page on my site i have numerical image folders …

Web Development php
Member Avatar for aaro
0
187
Member Avatar for gorleone

Hi Guys, I have a 2 errors with PDO: Sometimes give me this error: Connection error, because: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 Other time sent me this: SQLSTATE[42000] [1203] User [MYUSERNAME] already has more than 'max_user_connections' active connections This is …

Web Development mysql php
Member Avatar for gorleone
0
148
Member Avatar for Danny159

Hey, I have the following code: I am trying to make it so when you tick the box it changed the result to what you clicked, then if you untick it it changes the result back... There will be multipal tick boxes on a page... Here is my code... [CODE]<script …

Web Development javascript javascript-jquery
Member Avatar for Danny159
0
218
Member Avatar for lastgame2007

anyone can help me with this error what does it do? im working on with my LOGIN script, and when i tried to run the script. what does it mean? anyone, thanks!:) Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\MEA\connect.php:7) in C:\xampp\htdocs\MEA\testlog.php on line …

Web Development php
Member Avatar for pritaeas
0
125
Member Avatar for shella

Hi guys, I'm not very good with ASP but atually I need to fix some stuff and I'm encountering weird problem when I tried to connect to Access database into my localhost. Actually when I do something like this: [CODE]conn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("/cms/db/cms.mdb")[/CODE] I return this error: …

Member Avatar for shella
0
156
Member Avatar for Stefano Mtangoo

Hi, I need to write very simple RTF parser to write and read basic rtf (bold,italic, underline, paragraph et al). I have searched for techniques I can implement but havent found good example. I would like to hear from you guys what approach whatsoever you consider to be best for …

Web Development php
Member Avatar for pritaeas
0
502
Member Avatar for saly+two

Hello all, I'm developing a project and I faced a probelm of how to insert a new row to specific index choose from user Can anyone help to do that in VB.net Please? Thanks a lot

Web Development asp asp.net vb.net
Member Avatar for Sarama2030
0
80
Member Avatar for Seesharp

need to check an SQL Server database (not asp.net membership) to see if an email is already in use before allowing the user to register. I have tried using the information in this website but it does not seem to work. Your help will be much appreciated

Web Development asp.net email sql
Member Avatar for Sarama2030
0
178
Member Avatar for Romil797

My problem: there should be a mult-column list-box type control. the control also has names of images. when the user hits a button, the data in each column is stored in a variable, and all of the images are uploaded to server. Help on execution?

Web Development asp asp.net
Member Avatar for Sarama2030
0
204
Member Avatar for saybabs

I need someone to put me through on how i can show GMT time on my php application. I have tried all possible time functions all to no avail. i don't want the time to have anything to do with my system time because i want the application to automatically …

Web Development php
Member Avatar for diafol
0
358
Member Avatar for adeelfayyaz

hi.. i am confuse about the difference between web pages coded in asp.net and coded in html.. can we access html coded page in asp.net for database connectivity?? or i hav to make whole code of page in asp???

Web Development asp asp.net html-css
Member Avatar for Sarama2030
0
336
Member Avatar for itpragan

Dear all , I want to learn ASP.Net , How i can learn that( I am new to this ) , If any links for learning send my mail [snipped]............... Regards R.Murugan

Web Development asp asp.net
Member Avatar for Sarama2030
0
86
Member Avatar for saybabs

I really need someone to help me on the scenario below. I fetch all the rows in a database table with the mysql_fetch_array() and it was successful. I placed a button on each row in order to click and take the user to another page. On click of the button, …

Web Development php session
Member Avatar for Biiim
0
145
Member Avatar for KikoStyle

i want to do an e-shop page in microsoft visual web developer 2010 !!! I use a ASP.NET web application !!! i want to put some pictures inside the web developer and change the backgrounds !!! sorry for my bad english because i am from greece !!!

Web Development asp.net
Member Avatar for Sarama2030
0
103
Member Avatar for manjushreekaran

hello all, after tried so much now posting here. i have two programs sql.php and form.jsp. i want to do insert values into mssql database from user input form. sql.php is able to insert the values into database. i have connected database using ODBC.form.jsp is able to give user input …

Web Development java-jsp javascript php
Member Avatar for peter_budo
0
305
Member Avatar for gouki2005

[CODE]<%@page import="mantenimiento.MantenimientoClientes"%> <%@page import="persistencia.Empresas"%> <%@page import="java.util.Iterator"%> <%@page import="java.util.List"%> <%@page import="mantenimiento.MantenimientoEmpresas"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> <script> function validateForm() { if(document.formulario.clienteid.value=="") { alert("clienteid no puede estar vacio"); document.frm.clienteid.focus(); return false; } if(document.formulario.password.value!=document.formulario.repitapassword.value) { alert("Password es diferente"); document.frm.password.focus(); return false; } if(document.formulario.nombre.value=="") { alert("nombre …

Web Development java-jsp
Member Avatar for stultuske
0
274
Member Avatar for Rohan rawat

Inside a button link database with gridview . [CODE]protected void Button2_Click(object sender, EventArgs e) { string strSQLconnection = "Data Source=ABC-0D30299B90A;Initial Catalog=JAPIT;Integrated Security=True"; SqlConnection sqlConnection = new SqlConnection(strSQLconnection); SqlCommand sqlCommand = new SqlCommand("select * from Doe_detail", sqlConnection); sqlConnection.Open(); SqlDataReader reader = sqlCommand.ExecuteReader(); GridView1.DataSource = reader; GridView1.DataBind(); }[/CODE] For edit and update …

Web Development asp asp.net open-source
Member Avatar for vijay_myl
0
279
Member Avatar for dv1r

i know this is a stupid question but i just don't know :\ if i have 2 time variables [CODE] a = 00:00:12 and b = 00:00:05[/CODE] how would i add them together to make [CODE] c = 00:00:17 ?[/CODE] i get the data from the database in this format …

Web Development mathematics php
Member Avatar for Biiim
0
203
Member Avatar for TigerPrincess

I am not familiar with PHP. I found a php form emailer from [url]http://www.freecontactform.com/email_form.php[/url] and edited the .php file to match my html by changing the name elements. I already fixed the syntax error with line 38 by removing the +$/" from: [CODE] $string_exp = "/^[A-Za-z .'-]+$/";[/CODE] I tried to …

Web Development php
Member Avatar for Biiim
0
172

The End.