52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Killer_Typo

[php] <?php /* declar some relevant variables */ $Host = "localhost"; //location of mySQL on server $User = "michael"; //my username $Pass = "koolaide"; //my password $Name = "phpaccess"; //name of the database to be used $Table = "info"; //name of the table within the database mysql_connect ($Host, $User, $Pass, …

Web Development email mysql php
Member Avatar for michael.mckee
0
3K
Member Avatar for helraizer

Hey folks, I have made an image-based shoutbox and now users can view older and newer message on the shoutbox depending on the $_GET['page'] - pagination - that works. However, since it's image based and can be linked in forums etc. on the Internet I only want it to save …

Web Development image php
Member Avatar for helraizer
0
97
Member Avatar for forwardlookguy

I've got some code using a lot of complex if statements that I'm using for a VIN decoder. I finally got it working and I'm hesitant to alter it but these if statements are huge! If a switch statement could be used to accomplish what the if statements are doing, …

Web Development php
Member Avatar for silviuks
0
135
Member Avatar for Zemfik

I have a client who I simply don't have the time for any more. I wrote his website in PHP and it's worked fine for over 6 years now. I've told him to find someone else, but upon telling him I want him to find someone else: 1) he's only …

Web Development asp.net php
Member Avatar for msteudel
0
126
Member Avatar for MDGM

Hey guys, I have a script calling the value from a hidden field from the previous page and then writing it to the page. What code would I have to use to say: IF hidden field value from the previous page is empty then the hidden field value should be …

Web Development php
Member Avatar for MDGM
0
91
Member Avatar for sandeep soni

can any one tell me how jsp is loaded on to apache tomcard server?????

Web Development apache java-jsp
Member Avatar for jwenting
0
97
Member Avatar for mindfrost82

I'm using ASP.NET and VB 2005. I'm trying to get a QueryString passed in the URL into a UserControl and I need to pass it as an integer because that is how it will be pulled from the database. Here is part of the .aspx page: [code] <%@ register src="frmOrderProductDisplay.ascx" …

Web Development asp.net web-server
Member Avatar for mindfrost82
0
319
Member Avatar for CJL1980

Hi, First thing is first, I wasnt sure whether to put this in this section or in the VB.NET section as it has aspects of both but I decided the issue was probably more relevent to this section so here it is. Secondly this question may seem trivial (any question …

Web Development vb.net xml
Member Avatar for CJL1980
0
484
Member Avatar for Pavlos1316

Hi.. Note that Iam quite new at this :) What I try to do is to give the option to members to update/change their password or email. How do I tell when nothing is entered in password field lets say not to POST anything. The code below checks if username …

Web Development php
Member Avatar for petr.pavel
0
149
Member Avatar for kevin wood

i have set up a page with some button on which load different pages up. the buttons are held within a form and the target is set to blank. this part is fine for the first set of buttons but i need one of them to reload the page but …

Web Development javascript
Member Avatar for Thirusha
0
93
Member Avatar for kvdd

Hallo everyone, Im new to this forum, but not new to PHP, I do a lot programming in it, but sometimes I have to [B]less[/B] knowledge to solve the problems I get. The title is not very explained what my problem is, so mods, edit it if you want. [B]The …

Web Development php
Member Avatar for kvdd
0
86
Member Avatar for colcar2008

Hi, Can you please help me? I need to store the path to an image in a mysql database. Would anyone be able to provide me with a script that can do this? Thanks Col

Web Development image mysql php
Member Avatar for peter_budo
0
78
Member Avatar for Jahira

Dear all, me new to this xml..i need detailed codings for converting excel sheet into xml file. Thnks in advance

Web Development javascript xml
Member Avatar for Jahira
0
120
Member Avatar for MoazMM

Hello Everyone Im a begginer in HTML and I have to make a Quiz page. and when the visitor finish from choosing the questions and clicking on " finish", the results & the grades will appear in the " Result's page " . I want something very simple. And I …

Web Development html-css javascript
Member Avatar for somashekar
0
128
Member Avatar for balamurali07

Im a B.E. final year student please message me an title and detail of ASP.Net project or VB.Net project or c# project

Web Development asp.net vb.net
Member Avatar for technogeek_42
0
96
Member Avatar for bhavna_816

I am displaying a GridView on some specific criteria which is entered by some textboxes say studentid, studentname as input from textbox and show records in GridView. For this I m using a stored procedure which returns a datatable based on inputs came from textboxes. I want an Edit button …

Web Development asp.net
Member Avatar for bhavna_816
0
144
Member Avatar for rashmigs84

Hi, Can anyone tell me how to create calendar using javascript using asp.net2005? Thank you.

Web Development asp.net javascript
Member Avatar for rashmigs84
0
69
Member Avatar for nschessnerd

why does this work? [code=php]function restrict($string){ $words = @file('restrict.txt');//found at [url]http://verve2.org/runningStory/restrict.txt[/url] $me= "(((((())))))))("; $me = str_replace($words, '',$me); echo $me; }[/code] no output and this not [code=php]echo restrict("(((((())))))))("); function restrict($string){ $words = @file('restrict.txt'); $string = str_replace($words, '',$string); return $string; }[/code] output: (((((())))))))( i noticed on the second one it only does …

Web Development php
0
70
Member Avatar for FaridMasood

Hi, I have a client/server chat application, with tcplistner and tcpclient. It is working fine when i send message from client to server but still i am not able to send the message from server to client. If any one can tell me that how to send data or message …

Web Development asp.net client-server
Member Avatar for FaridMasood
0
83
Member Avatar for rajarajan2017

I have to connect asp.net with SQL Server, the normal windows authentication established fine, but not with sa login and What is the default password for sa in sqlserver?

Web Development asp.net windows-server
Member Avatar for rajarajan2017
0
55
Member Avatar for MDGM

Hey, Im designing a website hosting business's website and have a relatively simple whois script which when you enter the website, it checks if it is available then returns some text in a span just under the form. At the moment the user types in any domain type (.co.uk / …

Web Development php
Member Avatar for MDGM
0
74
Member Avatar for ashish1234

hi, i am new to jsp..i am trying do sort out a pblm.. i have 2 jsp files.. file1.jsp.. which is used to select all the records from a table called staff and display the records in a table..each record is coming with a check boxes which is used for …

Web Development java-jsp
Member Avatar for jwenting
0
1K
Member Avatar for nihardhruva

Hey all, I have a very strange problem and expecting to receive your answer very urgent... I have a class in my package named MyPackage on my tomcat server. I am using one method of this class, which is very time consuming, as follows in my jsp page... HeavyClass hc …

Web Development java-jsp
Member Avatar for jwenting
0
245
Member Avatar for ztwalsh

I am creating a movie database. Right now I have each movie set up as its own table. Inside each table there are fields for title, summary, rating and so on. On one of my web pages, feeding off this database, I want to show the movie title, summary and …

Web Development mysql php
Member Avatar for nav33n
0
76
Member Avatar for fm_hyudin

I am doing a a form to add a new product to the database.when i try to run the form i am having this error.please help.I have attach my coding below: [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html> <head> <style type="text/css"> <!-- body { …

Web Development html-css php xml
Member Avatar for nav33n
0
70
Member Avatar for CoolGamer48

Hey, im trying to use the mail() function, but its not working. This is the script: [CODE=php] <html> <head> </head> <body> <?php if(mail("coolgamer48@gmail.com","Test","Test","From:coolgamer48@gmail.com")) { echo "Success"; } else { echo "Failure"; } ?> </body> </html> [/CODE] I keep getting "Failure". Is there an issue with my syntax, or is it …

Web Development php ubuntu
Member Avatar for nav33n
0
99
Member Avatar for ardeezstyle

Hi Everybody! How are you doing? I've come across a problem which I'm unable to solve. Actually itz related to window.opener method in javascript. The problem is the code which is very well working in IE is not working in Firefox. Let me provide the code which will help you …

Web Development javascript
0
55
Member Avatar for pranabmohanty

hello all, i m new to asp.net.....can anyone send me the complete code to write into the mysql data base.....plz mention the complete code to insert data to mysql database..... i m using asp.net and C#...... thanx in advance

Web Development asp.net mysql
Member Avatar for a496761
0
117
Member Avatar for paldss

Hello all. I have an HTML page that displays a list of comments left on a site. The administrator needs to go in and put checks next to the comments he wants to delete, and click submit. echo "<td width=\"75\" align=\"center\"><input type=\"checkbox\" name=\"toApprove[]\" id=\"approve\" value=\"approve\" />"; echo "<td width=\"75\" align=\"center\"><input …

Web Development php
Member Avatar for kvdd
0
108
Member Avatar for colcar2008

Hi, Can anyone help me here, I want to display an image using the path of the image and the image title from a mysql db? I can upload the info to the db, but I have trouble displaying the image. Here is the code: [code=sql]CREATE TABLE `trailer` ( `id` …

Web Development image mysql php
Member Avatar for kvdd
0
931
Member Avatar for heels

hi, this is a snippet of my codes, <td><a href="editFunction.php?ID=<?php echo $contact['ID']; ?>">update</a></td> after clicking "update", the ID will be passed to the editFunction.php page. editFunction.php [code=php]<?php //get variables from previous page $ID = $_GET['ID']; //sql statement to retrieve the commands $sql = "SELECT * FROM contacts WHERE ID LIKE …

Web Development php
Member Avatar for heels
0
89
Member Avatar for Diode

Hi, I'm making a website for a friend who sells sports memorabilia and I'm using a LAMP setup. I am making a menu that utilizes AJAX. The menu consists of a SELECT tag, we'll call this SELECT1, where the user clicks it, it drops down a list of leagues such …

Web Development php
Member Avatar for Diode
0
159
Member Avatar for Jihad

I have a form where there is image, at the first time it displays the defualt image,when the user uploads image, the new image appears. But when the user get out from this page and get in again and upload another image the same old image is still there. Its …

Member Avatar for Jihad
0
148
Member Avatar for Felipo

Hi Folks - I have been spending gays spinning my wheels on getting some form validation to work - I have text boxes and radio buttons on the form - The validaiton is written in Javascript It is an ASP web page - It seems that the Javascript validation code …

Member Avatar for Felipo
0
343
Member Avatar for Ghosh

Hi, I am new to JSP. I have created a index.jsp page in Netbean. When I uploaded the index.jsp in the server it dint run. Can any one please tell me what all I should upload into server for a jsp page to run? Thank you. ghosh

Web Development java-jsp
Member Avatar for Ghosh
0
91
Member Avatar for Ramganesh

Hi I wish to Rewrite Url [url]www.mysite.com/demo.aspx/1[/url] instead of [url]www.mysite.com/demo.aspx?id=1[/url] i tried a lot with the below [url]http://www.qwerksoft.com/products/iisrewrite/download.asp[/url] yet i got clear way can anybody guide me or give me a new idea to do this stuff ( I wish to Rewrite Url [url]www.mysite.com/demo.aspx/1[/url] instead of [url]www.mysite.com/demo.aspx?id=1[/url] ) by Ram

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
174
Member Avatar for yenyen

hi everybody. i got a list of checkboxes and radio button with the recorset paging function. let said i got the paging list << 1 2 3 4 5 >>. i set each page is 10 records. and every record got one checkbox for DELETE ID usage. in the first …

Web Development asp
Member Avatar for SheSaidImaPregy
0
154
Member Avatar for asxetopoulos

Hi there, I recently bought a subscription to a "turnkey php scripts" built2go.com in order to make a car market project... With great disappointment, i discover lately than I CANNOT REMOVE THE ANNOYING COPYRIGHT TAG at the end of each page. I search everywhere: The files, the host, even the …

Web Development
Member Avatar for webdev64
0
179
Member Avatar for CS Lover

Well, The main problem for any popular [ wide ] Images Hosting website .. is the bandwith ! and this problem can be solved with Multi-Server programming .. with PHP I have some ideas in my brain .. it's like : - administrator provides me with 2 - 3 servers …

Web Development php
Member Avatar for CS Lover
0
128
Member Avatar for ashu_2961989

This is a contact form php script which i got from some site. But when i uploaded to site, it shows " parse syntax error" . Its somewhere between line 30 to 35. Please review it and find ou the error. <?php $EmailFrom = "contact@test.com"; $EmailTo = "root@localhost"; $Subject = …

Web Development php
Member Avatar for ashu_2961989
0
85
Member Avatar for scsibiya

Hi! all Please help me. I have an ASP website, and I want to incoporate a search facility on it but I dont know how. can you please give me a starting point your help will be apprecieted Thanks SC Sibiya <EMAIL snipped>

Web Development asp
Member Avatar for anto_nee
0
104
Member Avatar for isomillennium

echo removes white spaces from the text and stored text shows up w/o line breaks .. How can i correct this ? When i view my db tables and contents in it using phpmyadmin, the text stored in them look normal .. the way i typed it .. but when …

Web Development php
Member Avatar for isomillennium
0
96
Member Avatar for forwardlookguy

I've hit a new road block on my VIN decoder page. I want to echo something only if two variables are true. Here's what I want to do: if (($Series == "D") && ($ModelYear == "2")){ echo "Skylark"; } else { echo "This is not a valid Series"; } When …

Web Development php
Member Avatar for Ole Raptor
0
176
Member Avatar for gil857

I am trying to use ajax to display an rss feed. It works fine in IE, but does not work in firefox. Researching, I have heard that firefox has an error that occurs on an asynchronous ajax call. Does anyone know a work around for firefox. Any help much appreciated. …

Web Development javascript xml
Member Avatar for gil857
0
109
Member Avatar for mkerrigan

I am trying to only certain characters to be saved to the database from input of a textarea. The input is going to a variable called $vBody. What I have below works: [code]$vBodyCleaned = reg_replace('[^A-Za-z0-9~!@#$%&*()-_=+'|:;",./? ]','',$vBody);[/code] except for the fact that the client wants to preserve the line feeds and …

Web Development php
Member Avatar for ShawnCplus
0
88
Member Avatar for l_kris06

Hi All, I have a PHP application, that displays information in a table format, each rows contains specifica information which are dynamically fetched from the MySQL database. i am looking for a way to make these individual rows display more information, meaning i want to implement a functionality where in …

Web Development javascript
Member Avatar for digital-ether
0
2K
Member Avatar for Visualogic

this is a dice game by using form to display it have 3 dices in the function but when i win, it cant extra money. [code] <html> <head> <script> function init() { bal=2000; form1.balance.value=bal; form1.balance.disabled=true; form1.bynum.disabled=true; form1.buy.disabled=true; form1.status.disabled=true; } function restart() { form1.balance.disabled=false; form1.bynum.disabled=false; form1.buy.disabled=false; form1.status.disabled=false; } function roll() { …

Web Development javascript
Member Avatar for nav33n
0
252
Member Avatar for inshi

Hi, i have already uploaded a video file in the .avi format, but now am stuck. i don't how to proceed to be able to play the file.i have used the PHP language. it will be very nice if someone can help me.PLEASE.i think a sort of streaming has to …

Web Development php video
Member Avatar for digital-ether
0
86
Member Avatar for kapilver

I want javascript code to hide the hyperlink whenever user start mouse over on the link. Help me please...

Web Development javascript
Member Avatar for vic_msn
0
72
Member Avatar for samarinder

I m getting problem in displaying charts and m not exactly able to find the problem plz plz help me wher i m wrong plzzzzzzzzzzzzzzzzzzzzzzz its very urgent............-------- --------------------- [code=java]package src; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import javax.servlet.http.HttpSession; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartRenderingInfo; import org.jfree.chart.ChartUtilities; import …

Web Development apache java-jsp session xml
Member Avatar for samarinder
0
153

The End.