Re: Permission Denied Problem!!

From: Date: Thu, 19 Oct 2000 06:31:14 +0000
Subject: Re: Permission Denied Problem!!
Groups: php.general 
Request: Send a blank email to php-general+get-21101@lists.php.net to get a copy of this message
Hi, If you're on a unix variant.... then use chmod 664 filename.html .... if you're on windows setup the permission for that dir.... you could use 666 also ...or even less secure 777.. --- Kapil Bodhankar <kapil@archeanit.com> wrote: > Hi Guys, > iam trying to create a html file using a PHP file > as below : > > $file=fopen("file.html","a"); > fputs($file,"<Html>"); > fputs($file,"<body>"); > fputs($file,"<form>"); > fputs($file,"<input type=text name=category>"); > .... > .... > fputs($file,"</html>"); > > > This works absolutely fine when i executed this > file in localhost. But > , when i uploaded my php file in remote host and > then try to execute > this php file from there. html file is not created > and iam getting an > error like: > Permission Denied .... > My Question is: > How do i Tackle this ? > what should i use to set the permissions of the > file?? > or > Rather what exactly is the problem here why am i not > getting my html > file created using php file. > > -- > Kapil > > Web Developer > Archean Infotech Ltd. > > > ===== To Find Out More About Me : http://mukul.tsx.org/ __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/

« previous php.general (#21101) next »