php-windows Digest 19 Jan 2004 06:41:55 -0000 Issue 2087
Topics (messages 22602 through 22607):
Re: chmod on win xp
22602 by: mayo
22606 by: Mario J. Reis
22607 by: David Tod Sigafoos
PHP-Apache on Windows XP Home
22603 by: Arijit Chaudhuri
Re: how to check the form filled all
22604 by: Arijit Chaudhuri
Show the Progress of a file being uploaded
22605 by: Arijit Chaudhuri
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I must be missing something because right clicking on the file (in explorer)
doesn't give me the option to change read - write - execute. All I get is
Read-only and Hidden check boxes.
And, they're not checked the check boxes are clear.
I can do everything else I need to do, but I can't fopen.
$fp = fopen($filename,"w") or die ("Couldn't open $filename!");
I get:
Warning: fopen("abc.php","w") - Permission denied in c:\inetpub\wwwroot\ ...
I get the same error when I try to touch a file
Warning: unable to create file abc.php because Permission denied in
c:\inetpub\wwwroot ...
The same file works on my ISP's server.
thx,
Gil
> -----Original Message-----
> From: David Tod Sigafoos [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 18, 2004 4:59 AM
> To: Gil
> Subject: Re: [PHP-WIN] chmod on win xp
>
>
> You can set the rights on XP (or any windows os) from the Explorer
> window.
>
> RightClick Start
> Select Explorer
> navigate to the directory you want with the file showing in the right
> RightClick the file
> Select Properties
> select the 'rights' you want
>
>
> Saturday, January 17, 2004, 8:55:58 PM, you wrote:
>
> m> so I would like to write to file on my local box.
>
> m> $fp = fopen($filename, "w");
> m> fwrite($fp, "whatever");
>
> m> I get a permission error.
>
>
> m> I've looked but I don't see how to chmod.
>
> m> It worked on my ISP after CHMOD so it's not the code.
>
> m> using: windows xp and iis 5
>
> m> -- gil
>
>
>
>
> --
> DSig `````
> David Tod Sigafoos ( O O )
> _______oOOo__( )__oOOo_______
>
> Using 'The Bat' 2.02.3 CE
> Using 'OS' Windows XP Service Pack 1
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
You should be able to select the "Security" tab from the properties panel of
the file/folder and then add/modify the security setting to allow you to
read/write etc...
-marior
-----Original Message-----
From: mayo [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 2:00 PM
To: David Tod Sigafoos; php-windows
Subject: RE: [PHP-WIN] chmod on win xp
I must be missing something because right clicking on the file (in explorer)
doesn't give me the option to change read - write - execute. All I get is
Read-only and Hidden check boxes.
And, they're not checked the check boxes are clear.
I can do everything else I need to do, but I can't fopen.
$fp = fopen($filename,"w") or die ("Couldn't open $filename!");
I get:
Warning: fopen("abc.php","w") - Permission denied in c:\inetpub\wwwroot\ ...
I get the same error when I try to touch a file
Warning: unable to create file abc.php because Permission denied in
c:\inetpub\wwwroot ...
The same file works on my ISP's server.
thx,
Gil
> -----Original Message-----
> From: David Tod Sigafoos [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 18, 2004 4:59 AM
> To: Gil
> Subject: Re: [PHP-WIN] chmod on win xp
>
>
> You can set the rights on XP (or any windows os) from the Explorer
> window.
>
> RightClick Start
> Select Explorer
> navigate to the directory you want with the file showing in the right
> RightClick the file
> Select Properties
> select the 'rights' you want
>
>
> Saturday, January 17, 2004, 8:55:58 PM, you wrote:
>
> m> so I would like to write to file on my local box.
>
> m> $fp = fopen($filename, "w");
> m> fwrite($fp, "whatever");
>
> m> I get a permission error.
>
>
> m> I've looked but I don't see how to chmod.
>
> m> It worked on my ISP after CHMOD so it's not the code.
>
> m> using: windows xp and iis 5
>
> m> -- gil
>
>
>
>
> --
> DSig `````
> David Tod Sigafoos ( O O )
> _______oOOo__( )__oOOo_______
>
> Using 'The Bat' 2.02.3 CE
> Using 'OS' Windows XP Service Pack 1
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hello mayo,
Sunday, January 18, 2004, 7:00:19 PM, you wrote:
m> I must be missing something because right clicking on the file (in explorer)
m> doesn't give me the option to change read - write - execute. All I get is
m> Read-only and Hidden check boxes.
did you get this worked out from our other email?
--
DSig `````
David Tod Sigafoos ( O O )
_______oOOo__( )__oOOo_______
Using 'The Bat' 2.02.3 CE
Using 'OS' Windows XP Service Pack 1
--- End Message ---
--- Begin Message ---
Hi,
I am running PHP+Apache on my Win2000 desktop now. Its running smoothly. I
have recently got a good offer for a IBM laptop running Win XP Home. I
wanted to know if anyone has faced problems with PHP+Apache on XP Home and
if its reasonablt stable to work on.
Thanks,
Arijit
--- End Message ---
--- Begin Message ---
$value="" should be $value==""?
Regards,
Arijit
"Sungpill Han" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> HI, i want to check if the user filled the all inputs in the form. So, I
> checked NULL and "" with this function in the post receiving script.
> -------------------------------
> function is_filled_out()
> {
> // test that each variabl has a value
> foreach($_POST as $key => $value)
> {
> if(is_null($value) || $value="")
> return false;
> }
> return true;
> }
> ---------------------
> but when I submit the form without putting any value, it returns 'true'.
> what's wrong with my code?
--- End Message ---
--- Begin Message ---
Hi all,
Is there any way to show the progress on a file upload with PHP? I could not
find a way to access the file being uploaded till upload is complete when
the usual copy function is used. There are some file management sites which
show a percentage completed similar to the Flash downloads. But none of the
ones I found are php coded.
Regards,
Arijit
--- End Message ---