Hi, I'm trying to generate a page dinamically, I get the variables and after that i send the variables to a page called final.php3 and then i use it, when I'm going to write the file I do this:
$fho = fopen(basename($PHP_SELF), "r");
$contain = fread($fh0, 20000);
$destination = $DOCUMENT_ROOT . "/kidspages/$name.html";
$fhd = fopen($destination, "w+");
fwrite($fhd, $contain, 20000);
fclose($fho);
fclose($fhd);
but when i run the script the variables are taking, i want to take the values, i try open by the web but if i don't send any variables to the final.php3 script nothing happens, how can i send the variables? I didn't want to send it by putting:
fopen (http://xxx.xxxxx.com/final.php3?name=$name&age=$age)
what can i do?somebody with some experience on this?
any help will be aprecied, my work is hanging... Thanks buddies...