Click to See Complete Forum and Search --> : Display PHP result in HTML


jack001
07-05-2007, 04:55 AM
Hi Guys,

how u all doin?

I have index.html file in which i have to show the result generated by a PHP file, lets say in the php file i an coding for showing if I am online on yahoo or not.
I wanna display the result on index.html file, how cud i do this??

thanks in advance
Jack

jack001
07-05-2007, 04:56 AM
Hi Guys,

how u all doin?

I have index.html file in which i have to show the result generated by a PHP file, lets say in the php file i an coding for showing if I am online on yahoo or not.
I wanna display the result on index.html file, how cud i do this??

thanks in advance
Jack

Fang
07-05-2007, 05:06 AM
Include the php in the html document.
It is, of course, necessary to parse the html as php.
The Apache .htaccess would contain:AddType application/x-httpd-php .html .php

jack001
07-05-2007, 05:08 AM
thanx Fang

problem solved

regards
Jack

jack001
07-05-2007, 05:10 AM
problem solved i edited .htaccess on my server

regards
Jack