Posted by PTM on 07/26/06 18:04
"walterbyrd" <walterbyrd@iname.com> wrote in message
news:1153935636.883656.83670@75g2000cwc.googlegroups.com...
> >
>> As about PHP, it obviously has no way to reach the client computer.
>>
>
> Why not? If the use can specify a file to upload, then why not just put
> that in the code?
>
php is server side. once your page is loaded it cant actually do anything
with it unless a link or button requests another php function or script
you could always use a hidden field containing the information you would
expect for the file to be submitted.
then have a submit button that would process the form and do the upload.
you would also need to verify that the file was actually located and called
what you expected, users being what they are this might not always be the
case
Phil
Navigation:
[Reply to this message]
|