You are here: Re: upload_dir via http://localhost « PHP Programming Language « IT news, forums, messages
Re: upload_dir via http://localhost

Posted by Jimmy on 10/06/81 12:00

"Paul Lautman" <paul.lautman@btinternet.com> wrote in message
news:5v4nhnF1l3ttvU1@mid.individual.net...
>>
>> $upload_dir = "MyFolder/";
>>
>> if (isset($_POST['action'])) {
>> if (!is_dir("$upload_dir"))
>> { die ("The directory doesn't exist"); ....
>>
>> it's ok when I use it!
>>
>> Now, my windows XP Sp2 has a web server IIS
>>
>> $upload_dir = "http://localhost/MyFolder/";
>>
>> and it gives the error : The directory doesn't exist
>>
>> "MyFolder/" is always in C:\Inetpub\wwwroot
>> ie C:\Inetpub\wwwroot\MyFolder
>>
>> Thank you for showing me how to use
>> "myFolder" via http://localhost
>
> http://localhost/MyFolder/ isn't a (local) directory, it's a URL.
>
> Since you have an invocation that works, why do you want to do something
> diferent?
Thank you for your help,

then how can I use the URL instead of the folder ?

Any help would be appreciated

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация