Re: Reg Exp to change c:\dir\dir\pic.jpg to dir/pic.jpg-to upload image path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 *display* that to the user, but it doesn't submit the local path, it just uploads the file and gives the filename.


No 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.


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux