pasing part of an URL to commandline php
From: Heinz (lullundlall_at_yahoo.com)
Date: 07/29/04
- Next message: Gooseman: "Frame behaviour using PHP (or alternative)"
- Previous message: Bandit: "Drop down menu in a PHP submit form"
- Next in thread: R. Rajesh Jeba Anbiah: "Re: pasing part of an URL to commandline php"
- Reply: R. Rajesh Jeba Anbiah: "Re: pasing part of an URL to commandline php"
- Reply: Nikolai Chuvakhin: "Re: pasing part of an URL to commandline php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jul 2004 12:55:52 +0200
Hi All
I have an URL like this
http://system/web/htdocs/graphthis.php?csv=/tmp/data.cvs&dir=/web/htdocs/stress&monitor=aaa
I would like to call now the command line php like this:
php graphthis.php '?csv=/tmp/data.cvs&dir=/web/htdocs/stress&monitor=aaa'
The question is can php translate this parameter string into the $_GET[]
aray somehow, so I don't have to rewrite the script ?
Thanks in advance
Heinz
- Next message: Gooseman: "Frame behaviour using PHP (or alternative)"
- Previous message: Bandit: "Drop down menu in a PHP submit form"
- Next in thread: R. Rajesh Jeba Anbiah: "Re: pasing part of an URL to commandline php"
- Reply: R. Rajesh Jeba Anbiah: "Re: pasing part of an URL to commandline php"
- Reply: Nikolai Chuvakhin: "Re: pasing part of an URL to commandline php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]