| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
newbie problems with script and parameters
From: Maciej Reszelski <macres_at_pro.onet.pl>
Date: Mon, 1 Oct 2007 00:21:14 +0200
Hi,
I'm New on a list. And I'm also New In case Curl.
I wrote page which is a php-generated formular:
http://macres.pl/scripts/autogen.php?ra1=11
This page send a values to another page which is CGI script based. It's
Processing but script below save only text values from formular. What's is
Thanks for any help!
Best regards,
Maciej
<html>
<?php
$ch=curl_init();
$ch =
//curl_setopt($ch, CURLOPT_URL,"$nt_runtime_URL");
ob_start();
curl_exec($ch);
curl_close($ch);
$fileHandle = fopen('./output_.html', 'w+')
OR die ("Can't open file\n");
$result = fwrite ($fileHandle, ob_get_contents());
if ($result)
{
echo "Data written successfully.<br>";
} else {
echo "Data write failed.<br>";
}
fclose($fileHandle);
ob_end_clean();
?>
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info