39,320 Topics
| |
Hello, Is there any way I can prevent simultaneously multiple downloads from my site with PHP? I mean I want a user can download only 1 file at a time, the second file can be downloaded only after the first one is finished. Thanx in advance for the help. | |
One of the page from my presently under-contruction website can be seen on [url]http://members.lycos.co.uk/darsh25/Personal%20Website/services.php[/url] As it can be seen from the HEADER (right at the top) that I've the text-size selector (which isn't working, at the moment) along with the present date (as set in user's own computer). Realising that … | |
[B]Hi[/B] [B]I am getting this error on our website that was created by somebody else.[/B] [B]Parse error[/B]: parse error, unexpected T_STRING in [B]/var/www-virtual/www.fpis.co.nz/pages/fpis_contact.php[/B] on line [B]5[/B] [B]This is the complete code that was created and I am trying to fix it and don't have a clue what is wrong[/B] <? … | |
<?php $SearchNo = $_POST["SearchNo"]; $host= 'localhost'; $user= 'zutransportation'; $passwd= 'password'; $database= 'dbtransport'; $table= 'STUDENT'; $table2='BUS'; $connect= mysql_connect($host, $user, $passwd); mysql_select_db($database); $squery = "select * from $table where IDNo like '".$SearchNo."'"; $run= mysql_query($squery); $num_results = mysql_num_rows($run); if (!$SearchType ) {//1 echo "You have not selected search details. Please go back and … | |
I have been tring for a month now to figure out why I can't program my site to open field information from a link that looks like [url]http://www.blablabla.com/test.php3?ID=2[/url] I can't seem to figure out how to open just the field thats ID is = to 2. If anyone can help … | |
All, Here is some JavaScript I found. It creates a small scrollbar, which allows a user to scroll though a series of 5 images. The images represent votes, and the user can then press a "Rate us" button in order to cast a vote. As you can see in the … | |
Hi friends, I need ur help,I have stored the data in the mysql . eg :<td colspan=2>XXXXX<td>YYYY</td>............ I get the specific record and stored it in the variable using the PHP coding. Now my need is how to extract the <td colspan=2> from the string seperately. I tried the substr,explode … | |
I currently use Zend Studio for Windows while I use XCode on my mac to do my php developing. However, it would be awesome if I could get Zend Studio's autocomplete and autosuggest featurs in XCode. Is there perhaps a PHP plugin for XCode that would let me do this? … | |
Hi, I hope you will bear with me as I am trying to create my first PHP page and I'm not having a lot of success. I am trying to create a fairly standard form mail page to send email from a webpage. I have probably downloaded up to around … | |
Big hello to all We run two website site with some stiff competition Website 1 [URL="http://www.swapshop.co.nz"]http://www.swapshop.co.nz[/URL] Website 2 [URL="http://www.nzdatezone.com"]http://www.nzdatezone.com[/URL] Website one has been promoted and SEO for 6months-1 year and we average 1000-4500 hits a day but 90% are SE. Yahoo is well the worst. We need advice on how … | |
I AM POSTING A SECOND TIME ON THIS. I NEED SOMEONE TO HELP!!! TO TELL ME WHERE MY MISTAKE IS: THE JPEG PHOTOS DO NOT DISPLAY CLEARLY AT ALL.... CAN YOU HELP PLEASE!!! Thank-you Kindly, Puddin ____________________ This Is My User Form Is The Error Here? ____________________ <?php include 'db.php'; … | |
hello, i am using the following code to write an ip and date to a database [php]require_once "configgy.php"; mysql_query("INSERT INTO lastlogin(VisIP, VisDate) VALUES(\"".$HTTP_SERVER_VARS['REMOTE_ADDR']."\", NOW(),"); [/php] I would like to call this script in another file, and everytime the script is called, have the new ip written in. liek it is … | |
I have tried and again I cannot figure it out. Everything is working... Only the jpg, JEPG like these do not show up correctly... Can you see the mistake? If you do please spell it out for me. Much appreciated, again, puddin. Here is my form and process photo code: … | |
Hello, When I select my images they are opening. Only the jpg will not come in clearly. If you know the code to correct this can you please tell me, Thanks puddin Here is my code: <?php include'db.php'; // get the variables from home page $password = $_SESSION['password']; $email_address = … | |
The following code is used to set a cookie that will expire after one hour [CODE]<?php setcookie('cookieName', 'cookieValue', time()+3600, '/'); ?>[/CODE] if I want to set a cookie that should never expire, what I have to do? thanx | |
when i use session_start() then i got error how i tackle this problem pls help me | |
I've set the "smtp" in "Config.php" in order to receive mail to my address so that all the fields filled by user gets to me, after they press "Submit" button in my "Contact.php" Things seem to have improved a little & all I'm getting is just a "Warning message": Warning: … | |
<?php $SearchType = $_POST["SearchPlace"]; $host= 'localhost'; $user= 'user'; $passwd= 'password'; $database= 'dbase'; $table1= 'BUS'; $table2= 'STUDENT'; $connect= mysql_connect($host, $user, $passwd); mysql_select_db($database); $pquery = "select busNo from $table1 where place like '".$SearchType."'"; $squery = "select * from $table2 where busNo like '".$pquery."'"; $run = mysql_query($squery); $num_results = mysql_num_rows($run); if (!$SearchType ) … | |
hi. i am freasher in php. Can any one help me regarding where i can get FAQs in php. it would be a great help. Thanks | |
I'm trying to figure out if my problem is a software vs hosting issue? I have the software on two different servers, but I'm getting 302/500server errors on the killertalent.com server. The server with the errors has the Server API setup as CGI/FastCGI: [URL="http://killertalent.com/phpinfo.php"]http://killertalent.com/phpinfo.php[/URL] The server that isn't giving errors … | |
Hey, I've been trying to code my own news/ blogging script, by following a tutorial, but unfortunately I keep getting these mysql errors when I submit an entry, and on the page where I want it to be displayed. And I don't know how to recognize the errors just by … | |
After bending over backwards, I managed to finally get my form validation done, which seems working perfectly well. After failing to work with e-mail, I wonder if anyone around could help me little towards e-mail so that as soon as someone presses "Submit" button, I get the entire form's message … | |
I'm building a website for me and my friends that should include a forum and a chat. I'm developing the list of the friend but I don't know how to display wich users are online and which not. The users are autenticated with sessions variable. To be able to check … | |
Hiya all. I have a bit of a problem Im developing an online music library I want to know if its possible to have a function for my application that when a user/member is logged in and they choose to add a track to their personal music library how can … | |
i m seeking for good shoping cart with opensource code. any body sugest me please | |
Can someone tell me how to get the size of the track that i am putting into the database recorded in the database [php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>Add a Print</title> </head> <body> <?php # Script … | |
Hello and a BIG Thank-You!!! To you who have helped me... This I think will be my last image question. Okay the user uploaded a picture , it went to the (Photos directory) (Name and Type Show) Great!... Next to the (Mysql Database under aphoto_filename) Again with (Name and Type … | |
i am using drmweaver with php-mysql. i made this page to view students' progress report but i want the login to open the students.php page and show only the report of that particular student. I've tried using filtered recordset but that doesnt seem to work. Hlp. | |
hello, Ive been using mod_rewrite for my forum...(I use phpbb software) [URL="http://www.m-benzforum.com/.......................................-vf19.html"]http://www.m-benzforum.com/................-vf19.html[/URL] [URL="http://www.m-benzforum.com/.......................................-vt1246.html"]http://www.m-benzforum.com/..............-vt1246.html[/URL] I want to avoid a duplicate pages..so I add viewtopic.php and viewforum.php on my robots.txt file. is it right? are my page (vf...html and vt...html) still indexed on google? Thanks for help :) | |
juz wanna know the syntax for retrieving and storing data from and to mysql database using php.... |
The End.