Dr.K.S.Sangunni <[EMAIL PROTECTED]> wrote: > > The following is the part of php program > > $document=$HTTP_POST_FILES['file']['name'];
Hello, I'm not sure but it would help to go through the PHP manual section about file uploads. http://www.php.net/manual/en/features.file-upload.php Remember: 1) use the global $_FILES 2) $_FILES[userfile][name] is the just the name of the uploaded file which you need cause the file gets stored in /tmp folder with a randomly generated weird name 3) $_FILES[userfile][tmp_name] is the path to the file on your server once its uploaded. Use this variable in the copy function. -- Rohan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
