take a look at this little function.. :) you might like it http://www.php.net/manual/en/function.function-exists.php
----- Original Message ----- From: "Andrey Hristov" <[EMAIL PROTECTED]> To: "Paul Roberts" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 28, 2001 7:35 AM Subject: Re: [PHP] is_uploaded_file > I had 4.0.0 for a year or more and used that stuff quite well. > And the docs says : > "For earlier versions of PHP, you'll need to do something like > the following. > > Note: This will not work in versions of PHP 4 > after 4.0.2. It depends on internal functionality of PHP which > changed after that version." > > > If one of your boxes is 4.0.2 and the other 4.0.3 use the output of phpinfo() with some kind of hack to determine wich one of the > function to use, or just write a wrapper which decides pipe to which function to make. > > > Regards, > Andrey Hristov > > > -- > 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 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]