You are here: Re: Why does is_dir($_SERVER['DOCUMENT_ROOT']) produce false in Windows XP? « PHP Programming Language « IT news, forums, messages
Re: Why does is_dir($_SERVER['DOCUMENT_ROOT']) produce false in Windows XP?

Posted by Hendri Kurniawan on 01/08/07 13:25

Erwin Moller wrote:
> comp.lang.php wrote:
>
> <snip>
>
>>>>> In that case PHP thinks the directory doesn't exist, or is not a
>>>>> directory, but a file.
>>>>> If you are 100% sure the directory is there, you can try this:
>>>>>
>>>>> Make sure PHP can SEE the directory.
>>>>> To do this, check if the user that runs PHP (apache probably) has
>>>>> readrights on that directory.
>>>> readrights? This is XP, remember? How do you do permissions/rights in
>>>> XP?
>>> Strange as it may sound, even XP has rights. ;-)
>>>
>>> I do not run XP myself, but on W2000 it works like this:
>>> Just log in as admin or as a user with adminrights, go to the directory
>>> in explorer, rightclick the directory, check the tab 'security'.
>> Sorry, but there is no 'security' tab. My user has full admin rights
>> and I'm using both "My Computer" and Windows Explorer, but there is no
>> security tab. I don't see how you can do permissions in XP or any
>> version of Windows.
>>
>> Phil
>
> I am sorry Phil, but you better ask in an XP-related newsgroup, or do some
> googling by yourself.
> I don't know where Microsoft hided that functionality this time, they like
> to change important settings with every release of their OS's for reasons
> unknown to me.
>
> Good luck,
> Erwin Moller

That's because he is using "Simple File Sharing" feature.
But if you can't actually find it, i doubt that it's the prob.

Hendri Kurniawan

 

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

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