I need a simple php script that can be easily installed on any server
that will do the following:
Create php meta refresh redirects and out put them for the user
Here is how it would work:
Once someone installs the script they can login to the admin area.
the admin can change his login details inside the admin area.
(I will provide a design of the admin area)
Inside the admin area the admin will see a menu with the following
options "Create New Project" "Projects" and "Admin details"
Once he clicks on "Create New Project" he will see a text box where
he can paste his url where the php files will redirect.
Below there will be another text box where he can paste his keywords.
Below there will be another text box where the admin can paste any
other code to include with the php redirect. This code would be placed
right before the </body> tag. The admin can skip this so this is
Below that box there will be a check box and next to it it will ask
"Add TID? (Only If Clickbank Link Is Used)"
If the admin checks the box it will add the following code at the
end of the url where the files will redirect: ?tid=????????
??????? - means that the script will generate Id number
and add it there. The number can have up to 8 digits. so it
would just start with 1 and go from there.
Then after the admin fills out everything there will be a link that
says "Save & Go To The Next Step"
Now in this next step the admin will enter the domain name where he
is going to upload the php files created by the script.
And once he does that the script will automatically create a list
that the admin can copy and paste into his adwords campaign.
The list would have all the keywords he entered in the previous step
plus the url of the matching php file redirect.
keyword ** [url removed, login to view]
keyword2 ** [url removed, login to view]
([url removed, login to view] is the domain name he entered where he is going
to upload the php files)
Now here is the code that will be inside each php file:
<meta http-equiv="refresh" content="0;url=The URL Entered In Step One" />
The Code From The Box From Step One Under Keywords Box
Each keyword entered in step one is a separate redirect php file so
the script would create [url removed, login to view] [url removed, login to view] and so on...
If the keyword has 2 words it would be [url removed, login to view] and so on
Ok In the step 2 once the admin clicks on "Complete & Generate" link
it will allow him to download all the php files as a zip file and
save the project to be listed under "Projects" section in case the
admin wants to edit it later and add more keywords.
Once this is complete I might add more features, but first we will
go with this.