kts Posted February 28, 2008 Share Posted February 28, 2008 hello, im looking to include a file in the html, but not have the url show. kind of like how mp3.com and all had... you know its being included but there is a file handling the middle so you don't see the url. can anyone suggest help? Link to comment https://forums.phpfreaks.com/topic/93441-php-wrapping/ Share on other sites More sharing options...
mpharo Posted February 28, 2008 Share Posted February 28, 2008 try using the <?php require_once('filename.php'); ?> function.... Link to comment https://forums.phpfreaks.com/topic/93441-php-wrapping/#findComment-478720 Share on other sites More sharing options...
kts Posted February 28, 2008 Author Share Posted February 28, 2008 it is a flash file that is to be displayed, i was looking for a way for the name.swf to not be displayed in the view source... for more security...... that would just display it :-( Link to comment https://forums.phpfreaks.com/topic/93441-php-wrapping/#findComment-478722 Share on other sites More sharing options...
mpharo Posted February 28, 2008 Share Posted February 28, 2008 theres not gonna be much you can do for that being that you need to call the flash file with html....unless you can embed it in some kind of javascript to generate the object.... Link to comment https://forums.phpfreaks.com/topic/93441-php-wrapping/#findComment-478726 Share on other sites More sharing options...
teng84 Posted February 28, 2008 Share Posted February 28, 2008 you can use ajax... to load the swf file. in this case the only viewable source are the script that is from your original page.. Link to comment https://forums.phpfreaks.com/topic/93441-php-wrapping/#findComment-478732 Share on other sites More sharing options...
kts Posted February 28, 2008 Author Share Posted February 28, 2008 you can use ajax... to load the swf file. in this case the only viewable source are the script that is from your original page.. Tried searching it a bit, not finding much luck, would you be able to give me a small example or a link? thanks.. Link to comment https://forums.phpfreaks.com/topic/93441-php-wrapping/#findComment-478737 Share on other sites More sharing options...
teng84 Posted February 28, 2008 Share Posted February 28, 2008 this is just innerhtml and a little ajax function <a href="http://www.w3schools.com/php/php_ajax_database.asp">HERE</a> Link to comment https://forums.phpfreaks.com/topic/93441-php-wrapping/#findComment-478739 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.