Hey...I am working on a website that I can add links to proxy's to and that otehr people can submit, I saw a script that does just this and it costs :P I don't need alot of features but basicly right now I have a form to flat file / emailer (to notify me) If a user submits one but I have one problem...here is my code:
PHP Code:
<?php $url = $_GET["proxysite"]; $name = $_GET["name"];
print("<b>Thank You!</b><br />Your information has been added! You can see it by <a href=savedinfo.php>Clicking Here</a>"); $out = fopen("proxies.php", "a"); if (!$out) { print("Could not append to file"); exit; } fputs ($out,implode,("\n")); fwrite($out,"<a href="$url">Test</a><br />"); fclose($out); $msg = $url; $from = $from = "From: submitted@colinsmiley.net"; mail("proxies@colinsmiley.net", "Proxy Submission", "$url"); ?>
The error I get:
Code:
Parse error: syntax error, unexpected T_VARIABLE in C:\wamp\www\proxylist\submit2.php on line 15
I know the problem with the code is here:
PHP Code:
fwrite($out,"<a href="$url">Test</a><br />");
But I don't know how to fix it, Please help me...thanks
|