now if you must have the local path of your file here's a rough code
to give you an idea using javascript, then just have it php control it
on the server side.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ioannes wrote:
OK. Makes sense, since I needed to change the form tag to upload files.
Clearly, then it was not uploading the path.
Thanks
If by local, in your example, you mean it gives you "pic1.jpg" - then
I will agree. No browser I've ever seen sends
"C:\pics\subdir\pic1.jpg". It will *di
ioannes wrote:
I am trying to upload images - in fact an image path - from a PC.
I use the tag:
which nicely gives an input textfield and Browse button! This gives
me, in the input box, eg:
c:\pics\subdir\pic1.jpg
a web browser doesn't even give you this information!
The input tag does give t
ioannes wrote:
I am trying to upload images - in fact an image path - from a PC.
I use the tag:
which nicely gives an input textfield and Browse button! This gives me, in the input box, eg:
c:\pics\subdir\pic1.jpg
The relative path on the server is something like:
subdir/pics1.jpg
thus I need t
uploaded, there is no use for the user's path. If he
> changes OSs its gone and of no value...
>
> Bastien
>
> >From: "ioannes" <[EMAIL PROTECTED]>
> >To:
> >Subject: [PHP-DB] Reg Exp to change c:\dir\dir\pic.jpg to dir/pic.jpg - to
> >upl
value...
Bastien
From: "ioannes" <[EMAIL PROTECTED]>
To:
Subject: [PHP-DB] Reg Exp to change c:\dir\dir\pic.jpg to dir/pic.jpg - to
upload image path
Date: Wed, 9 Feb 2005 19:14:14 -
I am trying to upload images - in fact an image path - from a PC.
I use the tag:
which nicely gives a
I am trying to upload images - in fact an image path - from a PC.
I use the tag:
which nicely gives an input textfield and Browse button! This gives me, in the
input box, eg:
c:\pics\subdir\pic1.jpg
The relative path on the server is something like:
subdir/pics1.jpg
thus I need to trans