Simple Parse Script

Simple Parse Script
I need a simple PHP script that does the following:

Take a url that has some fields after the ? and parse out the affid and the email fields.

Append the contents into a text file like this:

affid, email

Only append if unique (ie: the affid, email combination does not already exist in the text file)

Thats it!

I do not want to use a database for this. Just a simple text file in the same directory as the script.

Thanks,

James

Leave a Reply

Your email address will not be published. Required fields are marked *