RE: [PHP] including a php snippet into .html file!!! HELP!!!

From: Date: Wed, 06 Sep 2000 14:00:19 +0000
Subject: RE: [PHP] including a php snippet into .html file!!! HELP!!!
Groups: php.general 
Request: Send a blank email to php-general+get-15530@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You could always get your webserver, if you are in a position to do so, to parse .html files as PHP files. "AddType application/x-httpd-php .php .php3 .html" in httpd.conf for example if you use Apache. There is a performance hit however, at least as far as I am aware. Ollie - -------------------------------------------- Ollie Cook +44 (7946) 057 198 Programmer, Admin XCalibre Communications PGP: http://ollie.zenox.dhs.org/pgp-key - -------------------------------------------- > -----Original Message----- > From: Thomas Edison Jr. [mailto:thomasedisonjr@yahoo.com] > Sent: 06 September 2000 14:30 > To: php-general@lists.php.net > Subject: [PHP] including a php snippet into .html file!!! HELP!!! > > > I have a php code...something like this : > <? require('something.php3'); > tryme(1, 'cool.php3'); > ?> > > and i have to include it in one my HTML files. Now i > don't want to make this HTML file to PHP3 file due to > some reasons, can i inculde this snippet by making a > ".php3" file out of it and by some way then including > this ".php3" file into my ".HTML" file??? > Is it possible? > > Thanx & regards, > T. Edison jr. > > > ===== > Rahul S. Johari (Director) > ****************************************** > Abraxas Technologies Inc. > Homepage : http://www.abraxastech.com > Email : abraxastech@yahoo.com > Tel : 91-4546512/4522124 > ******************************************* > > __________________________________________________ > Do You Yahoo!? > Yahoo! Mail - Free email you can access from anywhere! > http://mail.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> iQA/AwUBObZN88PaWaNT0pVnEQLHeQCfYRh29N9DbqoGvvxzymsKvHHao2EAoOt4 PjolOCQPiEKoZcMeUA3a2GHg =DK5N -----END PGP SIGNATURE-----

« previous php.general (#15530) next »