Date: 08/03/00
- Next message: Jason Wong: "[PHP] What is the correct way to use default auth?"
- Previous message: David Norman: "[PHP] ereg vs eregi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi All,
I make php script which update database daily so i need to put it in
crontab, but
script needs one parameter ( like
http://some.domain.com/script.php?param=val).
I cann't use lynx or staff like that because script need to be outside
web tree.
I read previous posts and find that Rasmus Lerdorf suggests this:
QUERY_STRING="id=page1" php -q source.php3 > dest.html
I try this out on Slackware 7.0 and this works fine, but on FreeBSD 3.3
where it needs to be, I have error:
QUERY_STRING=id=page1: Command not found.
Maybe someone knows what i need to reconfigure in FreeBSD, PHP4 or there
is some another posibility to pass parameters?
Any suggestions welcome.
Aigars
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jason Wong: "[PHP] What is the correct way to use default auth?"
- Previous message: David Norman: "[PHP] ereg vs eregi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

