39,402 Topics

Member Avatar for
Member Avatar for Hers2keep

I am very new to php programming, but not new to web programming. I am setting up an osCommerce store on a W2k03/IIS server and have run into the error below. This happens on the final submit order button. I've done some searching on the web and the general concensus …

Member Avatar for Hers2keep
0
1K
Member Avatar for hansF

Can somebody explain why the following works... [code] <?php system("ls /home/hans/"); ?> [/code] and this not..... [code] <?php system("cp /home/hans/data.txt /home/hans/data.tx2"); ?> [/code] For the life of me, I can't figure it out. I simply want to copy a file, so why won't php let me do this? Please help, …

Member Avatar for vl4kn0
0
142
Member Avatar for Fenerbahce

Hi, I want to call a stored procedure for the below php code. How can i create a stored procedure and call it for below program instead. Mysql please. Thanks. [code] $comboSecenek=$_POST["ComboBox"]; $adet=$_POST["adet"]; $sql = "UPDATE product SET amount = amount + '$adet' WHERE name = '$comboSecenek'"; [/code]

Member Avatar for pritaeas
0
97
Member Avatar for Taffd

Hi All, I have a table 'names' with a column 'name'. Using a SELECT statement I've got 10,000 randomized names. I'd like to put them into groups of 3 and have the 1 remaining name available to do something with later. Can anybody help with the code for sorting these …

Member Avatar for somedude3488
0
87
Member Avatar for aran87

Hello i want to select a row from this search and paste it to the next page do i need anymore code in each row, cus all it shows is a textbox next to each row. Ive got all connections, the search all works and its in a form i …

Member Avatar for aran87
0
96
Member Avatar for hansF

Hello everyone, I'm running my little web server as a hobby project: [URL="http://neo.dyn-o-saur.com"]http://neo.dyn-o-saur.com[/URL]. Almost all coding is done my myself and right now I'm working on an admin panel to streamline some tasks. What I want is to: 1) upload a file, 2) run a shell script on the file, …

Member Avatar for cerberox
0
129
Member Avatar for rinksys

hello everyone , i would be very much pleased if anyone can show me a way to integrate apache webserver and PHP/PERL with mysql database on linux, and if possible can anyone let me know about any book which would be usefull in administering mysql commmand line on linux

Member Avatar for vl4kn0
0
136
Member Avatar for ratnasatish

[CODE=SQL] please help any one, how to write PHP, what is the use of PHP, syntex, advantages etc.... [/CODE]

Member Avatar for Lorand24
0
128
Member Avatar for kevin wood

can this be used to email a php page to a mailing list using a submit button?

Member Avatar for kevin wood
0
273
Member Avatar for Geonith

how would i go about doing this? I have several html forms that i have made php scripts to insert the data into mysql databases. What I have gotten it to do so far, is give me a blank page with confirmation messages saying the it connected to the database …

Member Avatar for sDJh
0
87
Member Avatar for aran87

Hello basically i got a signup page and i want the user to be able to browse and upload a image and when the user clicks signup all his details and his picture will be saved to mysql database table, and when the user signs in the image appears is …

Member Avatar for ditty
0
133
Member Avatar for ash_fsktm

hello dani and everyone here.. please help.. i try to create my own page number on my php file.. each pages, i wanna have page number at the bottom right.. some page call from the database.. so we dono how many pages it will take.. do u have any idea …

Member Avatar for sDJh
0
190
Member Avatar for tefflox

Hello. All I need to do right now is eliminate the trailing forward slash for directories. I use all index.php files that are already hidden. I need [url]http://listenlight.net/15/burford/[/url] to read: [url]http://listenlight.net/15/burford[/url] here's what i'm working with right now... [QUOTE] RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule …

0
64
Member Avatar for flynismo

Hello all! I am very new to php...still trying to grasp the fundamentals of it. I have a scenario that I hope I could make work, because it will save me A LOT of time and heartache. Here's the deal....I have two different websites. However (this may be confusing because …

Member Avatar for cerberox
0
97
Member Avatar for queenc

hi, In my application ,i am able to upload a file in my server...now i want to display the first three lines of the uploaded file.please do tell me how to do tat.

Member Avatar for queenc
0
147
Member Avatar for swamp56

Hello :) I have a quick question with a script I'm making; It's a php script used to add data to pages (there are 5 in total and an index page), and I just restructured the database for more efficiency :o . It used to look like this: +-------+--------+--------+-------+--------+--------+ | …

Member Avatar for swamp56
0
102
Member Avatar for Geonith

i'm trying to populate a select list from a mysql database. my line numbers on the code are 90 to 104. the error i'm getting is Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\capstone\admin\admin_curriculum.php on line 99 my code is: [code=php] $con = mysqli_connect("localhost","root",""); $sql …

Member Avatar for Geonith
0
97
Member Avatar for louislam123

Ok, I got the SSI info ready on my forum, so that the membergroups 'VIP' and 'Admin' would receive a response of 'Yes', and other usergroups receive a response of 'No'. I have created a login script in VB .NET that makes the user log in. If he response from …

Member Avatar for louislam123
0
78
Member Avatar for Reliable

Hello Hello, Last I posted I was trying to figure out how to post a HTML confirmation page with an autoresponder after someone submits an order. Probelm solved--just about. I got everything working except when the email comes the results don't discriminate between wha tyou ordered adn didn't ordered. it …

Member Avatar for Reliable
0
85
Member Avatar for ka-ii

i have a problem with my php code. so i really2 need somebody who a very in kind this forum to help me. here i send my database, codes and my flow chart.

Member Avatar for ka-ii
0
103
Member Avatar for longviet

I am doing my project "Vietnamese-English online dictionary" on PHP/MySQL. I dont know how to program speech function. Can i use MSAPI or JSAPI? Please give me some advice.

0
44
Member Avatar for npatel0317

I searched google for days and I couldn't find anything that works for me. I would like a simple form with fields (Name, Ph number, Address) and a drop down menu with list of choices and i would like all that info to be emailed to me. I am looking …

Member Avatar for peter_budo
0
73
Member Avatar for lydia21

404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.i'm getting this error .on appache server.

Member Avatar for peter_budo
0
61
Member Avatar for lydia21

[code=php]print "<script language='javascript' type='text/javascript'>"; print "var a='Invalid User';"; print "document.writeln(a);";[/code]

Member Avatar for phper
0
75
Member Avatar for aran87

Hello i want a simple calcualation which adds 2 textbox times depending on what is chosen from the two drop down lists below, for example a lesson costs £21 and if the user chooses quotestarttime 01:00 to 02:00 it would cost 21 and if the user selects 01:00 till 03:00 …

Member Avatar for aran87
0
73
Member Avatar for Designer_101

Hi Could anyone make any suggestions to why this is only printing the first line of data in my database?? I have 3 colums and abouts 20 rows. [CODE] <?php session_start(); if ($_SESSION['logged'] != true) { header("Location: index.php"); exit; } include "../db_con/connect.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" …

Member Avatar for Designer_101
0
47
Member Avatar for niladri.user

Can anyone tell me the name of the websites from where i can get the [B][U][COLOR="Red"]free website design templates!![/COLOR][/U][/B] including flash files!! and many more!! pls. send all the possible links!!! i am not getting the satisfactory design templates!!!!!!:(

Member Avatar for hsemar
0
69
Member Avatar for niladri.user

pls help me!! why this code is not executing?also send me the exact code to fetch a table from a database in a table format in a web page!!!!! [code=php]<?php $con=mysql_connect("localhost","root",""); mysql_select_db("niladri",$con); $sql="SELECT * FROM `category` "; $res==mysql_query($sql); while($row==mysql_fetch_array($res)); { echo $row['cat_id']; echo $row['cat_name']; } ?>[/code] :'( :?: :icon_cry:

Member Avatar for niladri.user
0
75
Member Avatar for sagedavis

Hey all, ok, so, I am a bit weird in my questions but, that's just me. I have a fairly weird one for you. I have been using RegExSearchReplace (A Java Program) to do this the um, tedious way, but I was hoping there was an easier way to deal …

0
78
Member Avatar for drastic

i made a form with 2 input buttons(for taking number inputs) and 4 radio buttons(add sub mul and divide) and one submit button(calculate) to make a simple calculator and wrote a php script which takes input values and and according to the button selected do the operation but when i …

Member Avatar for drastic
0
301
Member Avatar for nathanpacker

Wasn't sure whether to put this in java or php, so I'm putting it here. I have a bit of java that opens a php page in a popup window, using this code: [CODE=java]<a href="javascript: void(0) "onclick="window.open ('my_form.php','linkname','height=465, width=400, left=550, top=150, scrollbars=no')">Click Here</a>[/CODE] So that code opens up "my_form.php" in …

Member Avatar for effu
0
318
Member Avatar for justinmyoung

I've searched through the forum, but I couldn't find an answer. How do you display a result within HTML? Such as: [CODE=php]$query = "SELECT * FROM customers WHERE job_number='$jobnumber'"; $result = mysql_query($query); while ($row = mysql_fetch_array($result)){ echo $row['first_name']; echo $row['last_name'];[/CODE] Thanks in advance.

Member Avatar for effu
0
1K
Member Avatar for kv79

Hi , I would like to use this ,but it does not work . [code] <textarea rows="2" cols="80" rows="40" readonly="false" > The cat was playing in the garden. Suddenly a dog showed up..... And you get killed by the horse . </textarea> [/code] The readonly from this one [url]http://www.w3schools.com/tags/html5_textarea.asp[/url] does …

Member Avatar for buddylee17
0
115
Member Avatar for farahphp

Hi i'm trying to display a default value in a atext field then when user changes it im grabbing it in javascript and passing it as a hidden variable but it doesnt work [code] //javascript function function save() { var imp = document.getElementById('yesno').checked; document.getElementById("schdate").value = document.getElementById('nextsch').value; if(imp == false) { …

Member Avatar for farahphp
0
103
Member Avatar for lydia21

[CODE] <?php $hostname = "localhost"; $username = "hi"; $password = "bye"; $dbid = "jesus"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $name1=$_REQUEST['name1']; $result=("SELECT name FROM lydia WHERE nam='$name1'"); while($myrow = mysql_fetch_array($result)) { $first=$myrow[0]; echo $first; } ?> <html> <head> <script type="text/javascript"> function win() { var c='<?php echo $first; ?>'; …

Member Avatar for nav33n
0
81
Member Avatar for adilz.cool

Hi , I am new to this community and also new to PHP. My problem is that i have installed apache 2.2.6 and also have php 5.2 version. also made all the changes in conf file of apache. I also did all the neccesary things on PHP side (placing & …

Member Avatar for adilz.cool
0
132
Member Avatar for sarojraj

hi friends, plz help me to change the Browser language/ system language. i've added the language in the browser setting but i couldn't change it from browser also.

Member Avatar for sarojraj
0
277
Member Avatar for justinmyoung

Hi, I'm trying to write a script to allow a customer to access the status of their order. I have set up the database properly, including all the fields necessary. I have successfully written a registration script, allowing the customer to register his/her details into the database, but where I'm …

Member Avatar for justinmyoung
0
132
Member Avatar for lydia21

when i click login button it's not redirecting to another php page.it's showing error on page. my code is below. [CODE] <html> <head> function win() { var a=document.getElementById('myusername'); var b=document.getElementById('mypassword'); var temp=a.value; var temp1=b.value; window.opener.top.location.href="http://www.careerglitters.com/web_login1.php?vars=" + temp + "&varr=" +temp1; self.close(); } </head> <body> <form> <input type="text" name="myusername" style="width: 10em;"> …

Member Avatar for phper
0
70
Member Avatar for mbates

I am trying to set up a web based POS system and have got everything working apart from printing directly to a barcode / label printer. When printing to the barode printer I need to send it a text stream of ascii characters with none printable control characters. Here's an …

Member Avatar for phper
0
87
Member Avatar for spring_patel

hi frends i'm a novice in php... i just installed php and apache 2.2.x webserver and just wanted to try some very basic stuff... [CODE] <html> <body> <?php echo "Hello world"; ?> </body> </html> [/CODE] but rather than showing the output in the browser it shows the whole code.... could …

Member Avatar for phper
0
109
Member Avatar for BenWill

Hey all, posting again here as got major headaches! Basically.. I have a series of quite complicated queries, but the main problem starts right at the beginning, other than that I reckon im fine. What I want to do, is display a list of Registrations from Student's for Modules. This …

Member Avatar for nav33n
0
91
Member Avatar for edek

Hi Is it possible to overload return() function for some part of code (ie. for the scope of some class)? I would NOT like to define separate function to do 'other stuff' and use it on every return like that: return(myFunction()); Is it possible? Maybe there is some other trick? …

Member Avatar for edek
0
78
Member Avatar for Cente

I need help I want to develop in php code to redirect the browser to one specific folder (FTP) using password upon login in that folder only that folder they can access.

Member Avatar for petr.pavel
0
89
Member Avatar for anish.anick

Hi, I am a beginner in php mysql... I want to pass null values to integer from PHP file to mysql stored procedure. eg: $name = "John"; $age = $_POST['age']; // Which is a null value.. and i called the procedure like CALL InsertStudent('$name',$age); my procedure is not executing ... …

Member Avatar for petr.pavel
0
104
Member Avatar for anitha2324

Hi All I have a question , i am doing small interface ( using php,mysql,IIS) , the data stored in the database as unicode data , now i want to retreive the data and display those data in php interface but it should not in unicode format ( so i …

Member Avatar for petr.pavel
0
119
Member Avatar for Reliable

Hello everyone and thanks in advance for your help. I'm making a web page with an order form. So far I have Javascript calculating the total of the order as the user clicks another text field box and then they proceed to the contact information part of the form. The …

Member Avatar for petr.pavel
0
131
Member Avatar for austin-khoi

i have a problem with my form. there are 2 button : a login and a register button . login but will redirect to welcome.php, register to register.php. i put the action in the form like this <form name="login" method="post" action="welcome.php" > the problem is both buttons turn me to …

Member Avatar for nav33n
0
147
Member Avatar for carobee

Hi all, How can i avoid same php page from being opened in two windows? If the page is opened in one window, then if the user tries to open the same page in another window, he/she should be given a message that the page is already open. Can anyone …

Member Avatar for carobee
0
134
Member Avatar for pancgom

I have this page which has to retrieve the information from a database and display using the list menu object can someone please let me know of how to do it. The idea is when the name is selected it will retrieve the information relating to that name from the …

Member Avatar for pancgom
0
141

The End.