[PHP] PHP3 and PHP_SELF

2001-04-16 Thread Alan Ward
Does the variable $php_self work in PHP3? I am helping a friend with some forms, and their host still uses PHP3. Thanks. -- 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 administra

Re: [PHP] Test if File Exist, if not, use default file name

2001-03-06 Thread Alan Ward
Try this: if (file_exists("filename")) { echo "Error"; } -AL > > What I would like to have the script do is to check if a variable was > passed, and to check if the file name passed actually exist. If either > case is false then I would like to have it check if the file testQA > exist and if s