Posted by Martin Kofahl on 10/26/43 11:21
Hi Daniel,
I got it using the following codesnip.
unset($output);
$pipe = popen("/usr/local/bin/mapserv", "r");
while(!feof($pipe) and !($output === "\n")) {
$output = fgetss($pipe);
if (!($output === "\n"))
header($output);
}
fpassthru($pipe);
pclose($pipe);
Thank you!
Martin
Navigation:
[Reply to this message]
|