On Friday 07 March 2003 03:28, Amanda McComb wrote:
> Well, I have a statement that says:
>
>     if ([EMAIL PROTECTED]($photo, $long_path . "speakers/" . $photo_name)) {
>       echo an error
>     }else{
>       proceed with renaming the file
>     }

The copy() function allows you to specify a destination filename so there is 
no need for the extra step of renaming the file.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
People usually get what's coming to them ... unless it's been mailed.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to