Re: can't open file

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

 



Stut wrote:
Anugrah Widya wrote:
dear php developer,

i have weird situation here, i can't create a file in 777 mode directory and stay in same server, is this a bug ??

fyi. i'm using fc6, and php 5.1.6

I'm not sure I understand what the problem is. Please post the code you're using and a more detailed description of what you're trying to achieve and what's actually happening.

-Stut

here the situation is, i have two domain (two website), and both stay in same server, and use same php

Website A -> /var/www/html/A
Website B -> /var/www/html/B

website A would like to create some file in website B, in /var/www/html/B/var/tmp/queue, and that map is in 777 mode created by script

what i got is the fopen() won't succeed to create the file in website B

but if i test to write into /var/www/html/A/var/tmp/queue in website A admin it succeed

is it because of some configuration in php.ini i didn't activate or what ??

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux