Welcome to Geeklog, Anonymous Tuesday, December 24 2024 @ 08:49 am EST
Geeklog Forums
Can not put php code on my site
Status: offline
garfy
Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
I want to puut some ads on my site and I just can nnot , they do not show up
The advertiser gave me 4 options
He gave me 4 codes
for a php page, for asp page, for cfm page and for a perl page and a code rof rss
and a custom php code that i have to upload 2 files
Why is it so hard to just publish a simple code on the site
I do not know why????
Can someone explain why. I could earn money with the site and geeklog does not show the ad. I will pay 10 usd if someone can give me the solution because for free noone helps
Please tell me what info do you need?
The code looks like this
$fp = @fsockopen("www.linkworth.com", "80",$errno, $errstr, $timeout="5");
if($fp)
{
require 'http://www.linkworth.com/act/partner/rotating_ads/inclusion_links.php?prt_website_id=5128&prt_website_link_placement_location=3&prt_website_link_placement_id=10604&link_format=6';
}
?>
The advertiser gave me 4 options
He gave me 4 codes
for a php page, for asp page, for cfm page and for a perl page and a code rof rss
and a custom php code that i have to upload 2 files
Why is it so hard to just publish a simple code on the site
I do not know why????
Can someone explain why. I could earn money with the site and geeklog does not show the ad. I will pay 10 usd if someone can give me the solution because for free noone helps
Please tell me what info do you need?
The code looks like this
Text Formatted Code
<?php$fp = @fsockopen("www.linkworth.com", "80",$errno, $errstr, $timeout="5");
if($fp)
{
require 'http://www.linkworth.com/act/partner/rotating_ads/inclusion_links.php?prt_website_id=5128&prt_website_link_placement_location=3&prt_website_link_placement_id=10604&link_format=6';
}
?>
8
6
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
You should be able to run the code in a static page or block. Just make sure you have execute php option selected for the static page or block. You don't need the .
If you where tring to put the code in the template files (like the header file) geeklogs template system probably parsed it out or something.
One of the Geeklog Core Developers.
If you where tring to put the code in the template files (like the header file) geeklogs template system probably parsed it out or something.
One of the Geeklog Core Developers.
8
8
Quote
All times are EST. The time is now 08:49 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content