View Single Post
Old 07-26-2010, 05:25 AM  
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
If you want just to show your site's url just use
Code:
echo $_SERVER['SERVER_NAME'];
but I'm not sure if I got you right: if you want to pull content from other site into your footer

PHP Code:
<?php include('http://www.yoursite.com/site.php');?>
but if your site is not allowing remote includes you should add this to the .htaccess
PHP Code:
allow_url_include 1 
or, if you prefer
PHP Code:
allow_url_include on 
if that is prohibited by your hosting provider, you should use cURL
(you can contact me and I can write that for you)
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:

Last edited by HomerSimpson; 07-26-2010 at 05:32 AM..
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote