Please reply to the list and not just directly to me.
Kaushal Shriyan wrote:
Thanks Stut
I have put the below script in test.php
?php
var_dump($_REQUEST);
var_dump($_ENV);
?
I am getting the below information which is not formatted
array(5) { [RSP_COOKIE]= string(28)
I have put the below in test.php
?php
var_dump($_REQUEST);
var_dump($_ENV);
?
I am getting the below information which is not formatted
array(5) { [RSP_COOKIE]= string(28) type=1name=YW1pdA==stype=0
[RSP_DAEMON]= string(32) 9d07e725d2294db468407bb19badd8c2
[MC_CMP_ESK]= string(8) NonSense
Hi ALL
I have a sample cgi-script
#!/usr/bin/perl
use CGI;
$cgi = new CGI;
for $key ( $cgi-param() ) {
$input{$key} = $cgi-param($key);
}
print qq{Content-type: text/html
htmlheadscript type=text/javascript
src=/domain.js/script/headbody
};
print qq{script
Kaushal Shriyan wrote:
Hi ALL
I have a sample cgi-script
snip perl
Can any one please help me in converting this to a php script
Which would be of great help
Try it yourself. If you have problems check the manual
(http://php.net/docs), STFW (http://www.google.com/) and if you can't
Kaushal Shriyan wrote:
Hi ALL
I have a sample cgi-script
#!/usr/bin/perl
use CGI;
$cgi = new CGI;
for $key ( $cgi-param() ) {
$input{$key} = $cgi-param($key);
}
check out the superglobals $_POST, $_GET and $_REQUEST:
?php
var_dump($_POST, $_GET, $_REQUEST);
?
print
Kaushal Shriyan wrote:
On 5/9/06, Jochem Maas [EMAIL PROTECTED] wrote:
Thanks Jochem Maas
Thanks a Lot
so it would look like below if i put in test.php
?php
var_dump($_POST, $_GET, $_REQUEST);
?
echo ul;
ksort($_GET);
foreach ($_GET as $key = $val) {
echo li{$key}: {$val}/li;
}
Wild Guess:
?php
var_dump($_REQUEST);
var_dump($_ENV);
?
You're on your own for adding in the HTML and Javascript crap.
On Tue, May 9, 2006 9:36 am, Kaushal Shriyan wrote:
Hi ALL
I have a sample cgi-script
#!/usr/bin/perl
use CGI;
$cgi = new CGI;
for $key ( $cgi-param() ) {
7 matches
Mail list logo