Hashman Posted September 17, 2009 Share Posted September 17, 2009 Ive got this menu on a 50 page and inreaseing site and it SUCKS when i have to change it so i wanted to do some external html thing like you would javascript or css but <?php include?> doesn't work and <iframe> distorts the page so do you have any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/174542-solved-external-files/ Share on other sites More sharing options...
Garethp Posted September 17, 2009 Share Posted September 17, 2009 http://au.php.net/curl That gets the source of a page Quote Link to comment https://forums.phpfreaks.com/topic/174542-solved-external-files/#findComment-919907 Share on other sites More sharing options...
khr2003 Posted September 17, 2009 Share Posted September 17, 2009 You can use fread function, however some servers disable it due to security threats or you can use other function of reading a file, like:file_get_contents() or use curl, some of its functions might be disabled by some hosting services but you can change that through the php.ini file. Quote Link to comment https://forums.phpfreaks.com/topic/174542-solved-external-files/#findComment-919909 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.