[PHP] Php 4 Deleteing Cookies: Trying to set and delete a cookie in samepage

2002-06-06 Thread John Weez
Hi all. I'm trying to delte a cookie and then set it to a new value in a php page. The problem is that once the cookie is set. PHP will not delete it. I use PhP 4. Here is the code...The pgp file name is testcookie.php...so the page goes back to itself again..i'm testing to see my code was a

Re: [PHP] chown ..opperation not permitted

2002-04-15 Thread John Weez
No, user nobody does not have access to chown command. This is part of my problem i suspect. Erik Price wrote: > > >> > > Are you saying that when you are logged in as "nobody", you can > execute "chown otheruser directoryname"? If that is so then PHP, > which runs under Apache which runs

[PHP] chown ..opperation not permitted

2002-04-15 Thread John Weez
Hi all, My config is Apache 1.3 with PhP4 loaded as a module. I have a script which makes a directory. This directory is owned by nobody.nobody because that is what apache runs as. But, I want this directory to be owned by a differrent user. So, After making the directory i use the php comm

Re: [PHP] chown error?

2002-04-10 Thread John Weez
rying to change the ownership for / to? > >Henrik > >On Wednesday 10 April 2002 02:06, John Weez wrote: > >>Hi all...I want to change the ownership of a file that is created via >>php..so i uses chmod command in my php script.. Upon execution of the >>script i

[PHP] chmod error?

2002-04-09 Thread John Weez
Hi all...I want to change the ownership of a file that is created via php..so i uses chmod command in my php script.. Upon execution of the script i get an error saying command not permitted with a line number pointing to my chmod command. I'm running apache as user nobody for security reaso

[PHP] Parsing out numbers from a string

2001-12-30 Thread John Weez
Hi all I have a small program which captures the output of a webpage and puts the data in to a string variable. I then use teh strip tags function of php to clean it up a bit. then i want to use regular expressions to extract all the numbers from the page ..they are like this usually numbers.nu