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? Quote Link to comment 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.... Quote Link to comment 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 :-( Quote Link to comment 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.... Quote Link to comment 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.. Quote Link to comment 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.. Quote Link to comment 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> Quote Link to comment 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.