Regarding good ad networks and PHP problems
2014-06-02, 04:48 AM, (This post was last modified: 2014-06-02, 04:53 AM by Jaysamuel.)
#1
Okay PHP problems first, here's the code:
http://pastebin.com/9QzM8n8K

In highlighted yellow is the area in question. I am trying to make a button that on click will trigger a link (the PPI link). I want "$file" to be replaced by the 'FILENAME' variable (preferrably) or the 'FILE' variable (which gives me the file's id)

Error that I am currently getting: http://prntscr.com/3osnhr

In other areas, I would like to know if any of you know of good ad networks with instant approval. Thank you!
Reply
2014-06-02, 05:23 AM,
#2
I'm no expert at HTML but wouldn't this be a simple yet effective solution for what you're attempting to do?

<a href="http://www.directdownloadlink.com/file"><button type="button">Start Instant Download</button></a>

[Image: R5I6Tcg.gif]
Reply
2014-06-02, 06:43 AM,
#3
To make the $file variable be output you need php tags surrounding what you want to do.

So this:<a href='http://www.PPILINK.com/download.php?title=.$file.-Instant-Downloader&id=jaysamuel'><button>Start Instant Download</button></a>

Would be this:<a href='http://www.PPILINK.com/download.php?title=<?php echo $file; ?>-Instant-Downloader&id=jaysamuel'><button>Start Instant Download</button></a>

The error you are receiving is because the footer.php file cannot be found. Your include function should reference its actual location.
Latest Thanks - View all

Jaysamuel(2014-06-02 04:49 PM) 
Reply
2014-06-02, 04:50 PM,
#4
(2014-06-02, 06:43 AM)alwayseval Wrote: To make the $file variable be output you need php tags surrounding what you want to do.

So this:<a href='/download.php?title=.$file.-Instant-Downloader&id=jaysamuel'><button>Start Instant Download</button></a>

Would be this:<a href='/download.php?title=<?php echo $file; ?>-Instant-Downloader&id=jaysamuel'><button>Start Instant Download</button></a>

The error you are receiving is because the footer.php file cannot be found. Your include function should reference its actual location.

Thank you so much me being a PHP noob I literally spent an hour pulling me hair out trying to figure it out xD
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Any known good Pay per Install? rinaldohack 9 387 Yesterday, 11:49 PM
Last Post: emirmous
  Looking For CPA network have good product trial offers 5light 1 82 2017-12-03, 12:10 AM
Last Post: rinkidi
  What ad networks do these streaming sites use? Ghettoweed 7 330 2017-11-12, 10:52 PM
Last Post: Ghettoweed
  [Help] Earn money using Proxy rental with CPA networks 2017 bonaet 4 311 2017-11-12, 01:26 PM
Last Post: interwent
  CPA Networks that allow Adult Traffic Heseemslegit 25 5,045 2017-10-30, 08:39 PM
Last Post: AlexisAdverten





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top