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
Share This Thread :

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.
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


Related Threads
Thread Author Replies Views Last Post
  Richpush.co — Push-notification ad network. High conversions Richpush 1 48 9 hours ago
Last Post: CharlieHarper
  Do you have experience with Native Ad, FB Ads and Pop Traffic? HawkEye 3 102 2018-07-13, 02:21 PM
Last Post: chumban
  Good offshore hosting Brandon Fury 6 393 2018-07-12, 07:32 PM
Last Post: ned02
  AirPush Vs Ad Maven? wxp100 6 264 2018-07-04, 10:55 PM
Last Post: wxp100
  Which ad-network is this? TheiStrike 1 124 2018-07-01, 04:35 PM
Last Post: tamnga





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

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