[PHP] Driving me nuts, need one second of your time

2002-03-15 Thread cosmin laslau
"; } ?> Can someone PLEASE tell me why the coding above gives the following error: Warning: Supplied argument is not a valid MySQL result resource in /var/web/somesite.com/html/index.php on line 5 It's absurd. It's driving me nuts. I'm about to introduce my computer to the pavement 40 feet

[PHP] Image width??

2001-11-29 Thread cosmin laslau
Hi, Is there any function or command in PHP that will return the width an image (GIF)? Thanks. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Updating Timestamps

2001-11-26 Thread cosmin laslau
other table which I want to affect the timestamps. Is there a command for 'manually' updating a timestamp rather than by SQL's own logic? Thanks in advance. Cosmin Laslau _ Get your FREE download of MSN Explorer at htt

[PHP] Deleting from MySQL with more than one 'where' variable?

2001-11-21 Thread cosmin laslau
Ok, there's a table with 4 fields, I want to delete from it when two of the variables passed (through the function below) match up with the table's contents. However, I have only been able to get it to work with one 'where' clause, not two. Here's my code for one: function delete_one_sub($sel

[PHP] PHP Backing up a Database?

2001-11-17 Thread cosmin laslau
Hi, Say I'm not really confident in the prowess of my server, and I want to download my database onto my computer. Can that be done? What can I look (FTP access) in the directory structure. I guess, where is it usually located? Thanks. Cosmin L

[PHP] Auto Thumbnail?

2001-11-16 Thread cosmin laslau
I've got a website which will alllow users to upload photos (jpegs) and, once approved, they'll be up for display. To do that, I need an auto-thumbnail script, preferrably for on-the-fly thumb generation. Any ideas? Also, what kind of libraries would I need. Thanks. The site is http://www.flat