note 78729 deleted from function.file by tularis
| From: | tularis@php.net | Date: | Fri, 30 Nov 2007 12:14:26 +0000 |
| Subject: | note 78729 deleted from function.file by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-132683@lists.php.net to get a copy of this message | ||
Note Submitter: andekian at gmail dot com (Steve)
----
<?php
//Simple way to read the contents of a cgi-script.
$file = 'www.pickalandlord.com/cgi-bin/example.exe?parm1=value';
$result = @join (@file ($file),"");
echo urldecode($result);
/* based on how you receive the data back you may need to urldecode it
Urldecoding depends on they way your headers are set in your
cgi prog */
?>