RE: [PHP-DB] Retrieving Image Location in MySQL

2009-03-02 Thread Fortuno, Adam
Sashi, This (likely) means you have a some generic page (i.e., picture.php) that displays some picture. The picture it displays depends on the parameter passed when the page is called (i.e., 123). Sashi's Test Page ", $row['firstname']);

Re: [PHP-DB] Retrieving Image Location in MySQL

2009-03-02 Thread Mattyasovszky Janos
Fortuno, Adam írta: //Write a query to pull out the picture's path $sql = "SELECT path FROM Image WHERE ID = %s"; mysql_real_escape_string($value); Sorry, but this won't work, since you don't map the value of the escaped $value to the %s, lets s

RE: [PHP-DB] Retrieving Image Location in MySQL

2009-03-02 Thread Fortuno, Adam
Matya, Ha, ha, ha! Thank you good friend. I did say I didn't try the code :-) AF> Please note, I haven't tried this. It just seems plausible. I apologize if I confused anyone. I just meant to show how the parameter could help retrieve a picture. I wasn't too concerned with the particulars. Hope

Re: [PHP-DB] FTP functions and upload limit.

2009-03-02 Thread Chris
Ardilla Roja wrote: Hi to everybody, I tried to find an answer in the php sites, but wasn't able to... Does the php.ini upload_max_filesize affects the ftp_put function ?... No. upload_max_filesize is to do with how much your browser can upload to the website. ftp_put may have a limit - bu

Re: [PHP-DB] Retrieving Image Location in MySQL

2009-03-02 Thread Sashikanth Gurram
Hello guys, Thanks to you all for your kind replies. I will try the steps and get back to you if I encounter more problems. Thanks, Sashi Fortuno, Adam wrote: Matya, Ha, ha, ha! Thank you good friend. I did say I didn't try the code :-) AF> Please note, I haven't tried this. It just seems