Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 06-20-2007, 07:52 PM   #1
Goodings Media
Confirmed User
 
Goodings Media's Avatar
 
Join Date: Apr 2007
Location: UK
Posts: 1,987
phpAdsNew with subdomains?

Hiya guys,

Im tyring to setup phpadsnew (openads) on a forum.

if my site domain is www.mysite.com,
phpAdsNew is installed in www.ads.mysite.com

The forum uses .tp; template files, but I've installed a mod so that I can use PHP code.

But im having trouble including the phpadsnew.inc.php file.

I've tried...

<?php
include ($_SERVER["DOCUMENT_ROOT"]."/ads/phpAdsNew.inc.php");
?>

but it aint working. Could anypone help? I notice GFY uses phpAdsNew as well :winkwink

thanks
__________________
ICQ: 446-568-913 Email: liam||goodingsmedia.com msn: [email protected]
Goodings Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 06-20-2007, 08:07 PM   #2
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
GFY is using the javascript invocation. I suggest you do the same.
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 06-20-2007, 11:00 PM   #3
Goodings Media
Confirmed User
 
Goodings Media's Avatar
 
Join Date: Apr 2007
Location: UK
Posts: 1,987
hiya,

yeah I did get it working this ay, thanks for the headsup ;)

however, Ive now found a much liter script (phpadsnew was a little overkill for) which is working a lot better, and best of all, I understand all the code! (and even learnt a bit from it )

Thanks anyways
__________________
ICQ: 446-568-913 Email: liam||goodingsmedia.com msn: [email protected]
Goodings Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.