russ237af7 Posted January 15, 2008 Share Posted January 15, 2008 Hi, i have installed this php script into the footer of my wordpress theme, and uploaded the ad_network_136.php file into the public_html for one of my domains. <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network_136.php'); echo $ad_network; ?> The only problem is that this is a subdomain i'm using, so how do i change the full path? What part do I edit? Thanks for any help. Quote Link to comment https://forums.phpfreaks.com/topic/86076-modify-php/ Share on other sites More sharing options...
thomashw Posted January 15, 2008 Share Posted January 15, 2008 Change this: :../:../../:../../../:../../../../ to the path of your "include" folder. Quote Link to comment https://forums.phpfreaks.com/topic/86076-modify-php/#findComment-439540 Share on other sites More sharing options...
russ237af7 Posted January 15, 2008 Author Share Posted January 15, 2008 Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/86076-modify-php/#findComment-439547 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.