faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 7 people (57%) answered Yes
Recently 4 of 7 people (57%) answered Yes

Entry

how do I have a php stand alone script call a new html document????

Mar 15th, 2008 18:11
ha mo, Dave, Bill Holbert,


<?php
    $filen=$HTTP_GET_VARS["file"];
    include($filen);
?>
Or if you don't want to pass the html file's URL to the PHP script, than:
<?php
    include(./this.html);
?>
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.mozmar.com
http://www.yamot.com
http://www.templatestemp.com