Re: [PHP] can't open file



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



Relevant Pages

  • Re: Web Animation and Sound Advice Sought
    ... upon someone landing on my website, ... My blog program is a php program that makes use of a mysql database. ... linux (and the linux server supports all sorts of php). ... $500+ Premiere software -- at least on my first brief experimenting ...
    (misc.writing)
  • Re: Failed to map the path /App_GlobalResources/
    ... Have you also tested on other server to see whether you'll encounter the ... is this the first time you try deploying 2.0 website on ... |> | If not, install it, and check to see whether the bug remains. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Enable Bandwidth throttling programmatically using WMI in C#
    ... Does anybody has the script to add Bandwidth throttling and Website ... public string IPAddress ... /// Gets or sets the name of the IIS server that site ... ManagementObject ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Nice...Maybe CodeGear should switch to a Linux webserver andPHP
    ... They're one of the most popular sites on the internet ... waste too much money with large server farms. ... PHP is a resource hog. ... a website with thousands of requests per ...
    (borland.public.delphi.non-technical)
  • Re: Web Animation and Sound Advice Sought
    ... upon someone landing on my website, ... Wouldn't a steep learning curve indicate that one learns it ... linux (and the linux server supports all sorts of php). ...
    (misc.writing)