[PHP] PHP Installation problem - httpd.conf issue?

2002-11-04 Thread Lee Philip Reilly
Hi there, I recently upgraded from PHP version 4.0-ish to 4.2.3 on my Linux/Apache machine. AFAIK, Apache is setup correctly (it serves HTML) and PHP works, but only from the command line. If I type "php -q php.php > test.html" the output of phpinfo() is stored in test.html. When I try and look at

[PHP] *.PHP "save-as" dialog

2002-11-05 Thread Lee Philip Reilly
Hi there, I posted this message yesterday: -- I recently upgraded from PHP version 4.0-ish to 4.2.3 on my Linux/Apache machine. AFAIK, Apache is setup correctly (it serves HTML) and PHP works, but only from the command line. If I type "php -q php.php > test.html" the output of phpinfo() is st

Re: [PHP] *.PHP "save-as" dialog

2002-11-05 Thread Lee Philip Reilly
Thanks for your reply. I took out the following lines, and restarted Apache, but I still have the same problem... LoadModule php_module modules/mod_php.so LoadModule php3_modulemodules/libphp3.so LoadModule php4_modulemodules/libphp4.so -

[PHP] newbie: Supplied argument is not a valid MySQL result..?

2001-12-03 Thread Lee Philip Reilly
Hi, I wonder if someone could point out what is wrong with the following piece of code (taken directly from the 'PHP - fast & easy web development' book) , which gives the following warning : Warning: Supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\

[PHP] Re: newbie: Supplied argument is not a valid MySQL result..?

2001-12-03 Thread Lee Philip Reilly
No reply required; I see the problem. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] header("Location:blah...") - passing variables

2001-12-04 Thread Lee Philip Reilly
Hi, I wonder if someone could tell me whether or not the following is possible? I have an HTML form which passes a username and password to a PHP script for validation. If either is not valid, I would like it to return to the previous page - carrying with it a variable plus the submitted form in

[PHP] file upload problem - Warning: Max file size of 8 bytes exceeded

2001-12-14 Thread Lee Philip Reilly
Hi, I have an HTML form containing a file upload form object called 'file'. When I submit the form (either holiding a path to a 1kb file or a 7MB file) I get the following error: - Warning: Max file size of 8 bytes exceeded - file [file] not saved in Unknown on line 0 - I had hoped that

[PHP] reading a file into a string problem : $string = join ('', file (/location/$dynamic.iq))

2001-12-19 Thread Lee Philip Reilly
Hi, I wonder if someone can help me solve this niggling problem: I have a hyperlink [javascript:openwindow('http:myserver/files.php?expid=67.iq')], which passes the argument 'expid' to the PHP script, where 'expid' is the name of a file. I want to take the file data and put it into a string. Wh

[PHP] Re: reading a file into a string problem : $string = join ('', file (/location/$dynamic.iq))

2001-12-19 Thread Lee Philip Reilly
Okay, I see the problem. No reply necessary. Cheers, Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]