GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   phpAdsNew with subdomains? (https://gfy.com/showthread.php?t=744635)

Goodings Media 06-20-2007 07:52 PM

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

Lycanthrope 06-20-2007 08:07 PM

GFY is using the javascript invocation. I suggest you do the same.

Goodings Media 06-20-2007 11:00 PM

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 :winkwink: )

Thanks anyways :)


All times are GMT -7. The time now is 09:24 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123