note 5825 deleted from include by ronabop

From: Date: Sat, 12 Aug 2000 05:51:37 +0000
Subject: note 5825 deleted from include by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-1478@lists.php.net to get a copy of this message
Hello everybody... I'm a novice in php, but I try SSI and I can't do what I want,... I'd like to include any file passed in commandline to page (page1.phtml?file1=games.htm) for eg. Actually I use this, but I can't specify echo commands in place of my htm file... I'd like to use javascript, SSI, PHP... just for this very simple thing, for add pages to other pages from command line (xxx.s or phtml or .htm?xxx=xyz where xyz is the name of the file that I want to include... Excuse me for my very poor english. Thanks for any kind of help. Cerdan / PARIS &lt;? echo "<p>texte et codes html </p>"; $fp = fsockopen ("Mysite.com", 80); if ($fp > 0); fputs ($fp, "GET /tests/games.htmn"); $ret = fgetss ($fp, 4096); while (!feof ($fp)); $ret = $ret + fgets ($fp, 4096); endwhile; fclose ($fp); endif; echo "<p>"+$ret+"</p>"; >

« previous php.notes (#1478) next »