Help with PHP
Ok i'm pretty comfortable with PHP but this is getting the better of me.
Aim: to create a web page that allows end-user to append a domain url (eg: example.com) to a dansguardian blocklist
I have a perl script that does it, and can suss how to pass data from a textbox in PHP, and know to use
to open a file to append data to the end of it.
However this isn't happening nor do i know the correct coding structure to achieve this..
Re: Help with PHP
$myFile = "testFile.txt";
$fh = fopen($myFile, 'a') or die("can't open file");
$stringData = "New Stuff 1\n";
$stringData = "New Stuff 2\n";