Problem with the PHP AD code

Status
Not open for further replies.

Trixter

New Member
Messages
384
Reaction score
0
Points
0
PHP:
<? include("http://staff.x10hosting.com/adCode.php?ad=advanced"); ?>
no longer works for me, it just gives me a function error. tghought id let you know. :)


Thanks
Trixter

PS i hope i dont have to go and recode all my pages with the java code.
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
use

PHP:
<?php file_get_contents("http://staff.x10hosting.com/adCode.php?ad=advanced"); ?>

that should work!
 
Last edited:

Zenax

Active Member
Messages
1,377
Reaction score
4
Points
38
mmnn11 could you refrain from posts with just smilies in them as they don't really help the user who is having a problem.

I have been having trouble with the PHP ad code, however I just paste in the JS one instead!

Regards,
Zenax
 

Micro

Retired staff <i> (11-12-2008)</I>
Messages
1,301
Reaction score
0
Points
36
<?php echo file_get_contents("http://staff.x10hosting.com/adCode.php?ad=advanced"); ?>

That one works, Brandons was missing the file_get_contents.
 
Status
Not open for further replies.
Top