thanks
andrew
Moderator: General Moderators
Code: Select all
<a href=" http://aimtoday.aol.com/redir.adp?at_spot=at_nw1.home.main.mid&url=http://www.YOURADDRESSHERE.com" target="_aim_today">Click Here</A>Code: Select all
<?php
$name = $_REQUEST['name'];
$fn = "log.txt";
$fp = fopen($fn, "a+");
fwrite($fp, $name);
fclose($fp);
?>Code: Select all
<?php
$name = $_GET['name'];
$fn = "log.txt";
$fp = fopen($fn, "a+");
fwrite($fp, $name);
fclose($fp);
?>Warning: fopen(log.txt): failed to open stream: Permission denied in /home/ugforumz/public_html/wd/profile.php on line 14
Warning: fwrite(): supplied argument is not a valid stream resource in /home/ugforumz/public_html/wd/profile.php on line 15
Warning: fclose(): supplied argument is not a valid stream resource in /home/ugforumz/public_html/wd/profile.php on line 16