Web Development Thread, Help with PHP in Coding and Web Development; Ok i'm pretty comfortable with PHP but this is getting the better of me.
Aim : to create a web ...
14th November 2006, 08:19 PM #1
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..
IDG Tech News
14th November 2006, 09:01 PM #2
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";
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)