[TUTORIAL] Auto-Fill and Submit CPA Forms

I am using the code below. I know my offer works as ive tried it standalone iframed but as soon as i put it into the code below it throws up the following error.

Code:
Parse error: syntax error, unexpected '<' in /home/****/public_html/index.php on line 24

Can anyone solve this? This will be awesome once it works.

A much less eloquent solution than using a database, or array would be to simply pull the emails from a file, store the first line as the email to be used, then remove the line.
PHP:
<?php
function getEmail(){
    $file = "emails.txt";
    $emails = file($file);
    $email = array_shift($emails);
    $emails[] = $email;
    file_put_contents($file,$emails);
    $email = trim($email);
    echo "***** Link Here ********* ";
}
getEmail();
?>

Crude example, but it works. Emails would be pulled from emails.txt, one email per line.
 
I am using the code below. I know my offer works as ive tried it standalone iframed but as soon as i put it into the code below it throws up the following error.

Code:
Parse error: syntax error, unexpected '<' in /home/****/public_html/index.php on line 24
Can anyone solve this? This will be awesome once it works.

It depends on what line 24 is. If line 24 is the <?php line of my code, and the <?php tag is already opened before it, that's why it's throwing the error. You'd also remove the ?> line from the bottom unless that's the end of your code.
 
I just pasted your code into a blank page. Theres nothing before and nothing after. Its that exact code using the example provided by the OP. :(
 
I just pasted your code into a blank page. Theres nothing before and nothing after. Its that exact code using the example provided by the OP. :(

I sent you a PM with my AIM/Skype. If you haven't figured it out drop me a message on either of those and I'll help you get it sorted.
 
In my code, escape all quotations (") by changing them to \"
Or enclose your echo in single quotes (')
Should fix your issue.
 
You don't buy a new battery for your car and then just stick it in the seat next to you and hope your car will magically start. You have to actually take some time to open the hood, take the old battery out, and integrate the new battery with the system.

this is pure win!!
 
LOL use this and enjoy getting banned by your companies :)
 
LOL use this and enjoy getting banned by your companies :)
Do you think such arrogant and ignorant statements haven't been made in this thread already? They have been made and discussed, if you had taken five minutes to read all of the replies. Please do not trash my thread with your smart remarks. Not a great way to introduce yourself to this forum.
 
Hi, can you please give the url of offers which works thru this method? i have tried many offers but its not working. I either get IE8 warning message of Cross site scripting or it simply redirects to error page.

Please tell which offer works with it.

Thanks
 
Hi, can you please give the url of offers which works thru this method? i have tried many offers but its not working. I either get IE8 warning message of Cross site scripting or it simply redirects to error page.

Please tell which offer works with it.

Thanks

This method does not work out of the box with IE. It will always give a Cross Site Scripting warning. That's enabled by default in IE. You can either disable it, or simply use a different browser(I recommend a different browser).
 
I tried this on many pages, but no luck. I get page not found error. Can anyone help please

thanks
 
Do you think such arrogant and ignorant statements haven't been made in this thread already? They have been made and discussed, if you had taken five minutes to read all of the replies. Please do not trash my thread with your smart remarks. Not a great way to introduce yourself to this forum.

It seems someone doesnt know what CPA is?

These email submits are not made for collecting emails but they expect some % of people will also do offers and make them money?

It is simple.
They dont get money, you dont get money.

If you think networks will pay u $1-2 for email address you are wrong lol.
 
It seems someone doesnt know what CPA is?

These email submits are not made for collecting emails but they expect some % of people will also do offers and make them money?

It is simple.
They dont get money, you dont get money.

If you think networks will pay u $1-2 for email address you are wrong lol.
It seems someone doesn't know how to use his brain? You are still neglecting to read the other pages of replies for this thread.

I, and others, have already said that no, you should not use this as a straight method to gain revenue, but instead integrate it with a system. As I suggested earlier, and now I must repeat it because are too lackadaisical and arrogant to look at previous replies, you could simply allow users to pick which offers they are interested in and auto-submit their e-mails (and other information) for them so they can complete the offers much more quickly than doing each one manually, so this would result in a much higher conversion rate.

That is just one idea. Any person with a sense of creativity and understanding, a couple concepts that I fear you are lacking, can come up with a legitimate system in which to use this method.

Read the rest of the replies and use your brain before contributing absolutely nothing again to my thread, please.
 
Last edited:
Hi, can you please share some urls where this script works. I tried several urls but it only shows error msg. I might be doing somethig wrong, i would appreciate if you can share a link on which i can test this system.

Thanks
 
haha... I have other problem..i am not from US and not found way to test offers :X..i tray proxy...but not load..noting :X...any ideas what do use to be able to test him ? Thanks!!!
One more you need to test all offers on network to found that with why injetion will work ;)
 
i have ghostcpa to iframe cpa offers...if i iframe a cpa email submit offer then i need to inject an email to the empty box...i have a huge list of emails so no problem...i have a clickjack script which i can use to get a click on the submit button by the visitor....so the main issue with me is i need to fill the email using a script from a list of emails from a text file...a new email has to be filled whenever a visitor comes to it....anyone one can help me with this....thanks....
 
i have ghostcpa to iframe cpa offers...if i iframe a cpa email submit offer then i need to inject an email to the empty box...i have a huge list of emails so no problem...i have a clickjack script which i can use to get a click on the submit button by the visitor....so the main issue with me is i need to fill the email using a script from a list of emails from a text file...a new email has to be filled whenever a visitor comes to it....anyone one can help me with this....thanks....

If you're going to go this route, I suggest you find offers that allow you to pre-populate the email form via the URL and not via an injection. These offers aren't everywhere, but chances are if you're with a network with one of the offers that can be exploited, they have a pre-pop somewhere as well.
 
Back
Top