Could some CGI, PHP expert please show me how this small CGI script should look like in PHP?
The CGI script:
Code:
#!/usr/bin/perl
use CGI;
my $cgi = CGI->new();
my @param = $cgi->param();
print"Content-type: text/html\n\n";
for(@param)
{
my @arr = $cgi->param($_);
print"$_:".join(':',@arr)."<br>";
}
All I got till now in PHP is:
Code:
<?php
echo "Content-type: text/html\n\n";
?>
Please help.. I'm lost...