RE: [PHP] including a php snippet into .html file!!! HELP!!!
| From: | Robert Walker | Date: | Wed, 06 Sep 2000 14:42:34 +0000 |
| Subject: | RE: [PHP] including a php snippet into .html file!!! HELP!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15535@lists.php.net to get a copy of this message | ||
Thomas,
Here is a possible solution. Put a image tag in your HTML that references
the php file. That file would do what it needs to and send back an image
like so...
include this tag in HTML:
<img src="something.php3">
in the php file:
<? //something.php3
do_something();
readfile("images/blank.gif");
?>
The image you send back can be a blank GIF or an image that is actually used
in the page.
Enjoy,
Robert
-----Original Message-----
From: Thomas Edison Jr. [mailto:thomasedisonjr@yahoo.com]
Sent: Wednesday, September 06, 2000 9:30 AM
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