Do you capture the actual Client side Machine path before they hit the
submit button or after?

If before, I'm guessing you use javascript.

If after, I have no guess.  I didn't think that information was passed with
the POST.

kind regards,

bill hollett


Jason Lotito wrote:

> > -----Original Message-----
> > From: Mark Lo (3) [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 11, 2001 4:39 AM
> > To: ListPHP Mailing
> > Subject: [PHP] preview function with upload
> >
> >
> > Hi,
> >
> >     Does anyone know how to implement a preview function.
> > That preview function is work after selecting the specific
> > picture to upload in php upload function, when people click
> > the preview function, the the selected upload product will
> > show up on the screen.  Hope, I am clear enough.
> >
> > Thank you
> >
> > Mark
> >
>
> Yes.  What you do after they have Browsed (using the appropriate form
> functions), you simply capture the actual Client side Machine path of
> the image they want to upload, and set that as the Img tags SRC value.
> For example:
>
> <img src="C:\Documents and Settings\Administrator.GENRIC\My Documents\My
> Pictures\Sample.jpg">
>
> This will display the image to the person.  While I have not tested it
> out on various browsers, I know it works in IE, and don't see any reason
> why it wouldn't work on other browsers.  After this, they simply click
> agree, and the normal file uploading procedure goes from there.
>
> Jason Lotito
> www.NewbieNetwork.net
> VI VI VI : Editor of the Beast
>
> --
> 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]

Reply via email to