Re: Reg Exp to change c:\dir\dir\pic.jpg to dir/pic.jpg-to upload image path
| From: | Martin Norland | Date: | Thu, 10 Feb 2005 18:39:10 +0000 |
| Subject: | Re: Reg Exp to change c:\dir\dir\pic.jpg to dir/pic.jpg-to upload image path | ||
| References: | 1 2 3 4 5 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38551@lists.php.net to get a copy of this message | ||
ioannes wrote:
OK. Makes sense, since I needed to change the form tag to upload files. Clearly, then it was not uploading the path. ThanksNo problem. In the future, unless you have a specific reason to take a mailing off-list, please leave it so others can reply to it or find the answers / solutions / clarification when searching archives and the likes. It's just polite :) (this is part of why I try to always set the reply-to to the list) Cheers, -- - Martin Norland, Sys Admin / Database / Web Developer, International Outreach x3257 The opinion(s) contained within this email do not necessarily represent those of St. Jude Children's Research Hospital.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 *display* that to the user, but it doesn't submit the local path, it just uploads the file and gives the filename.