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
  Can you suggest me good hosting? Mix2003_2012 0 18 2 hours ago
Last Post: Mix2003_2012
  FollowLiker problems 404 or 407 Loger 3 72 Yesterday, 11:12 PM
Last Post: iastaff
  Increase your FB AD Acc Trust flow Watt 38 1,262 2017-10-20, 01:22 AM
Last Post: Watt
  What is offer wall in CPA Networks? Captain Obvious 5 660 2017-10-14, 10:58 AM
Last Post: lisabarry
  any good method to upload youtube? ori991 1 159 2017-10-04, 01:17 AM
Last Post: epalyou




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

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