Jump to content

call a .php page from a .html page


eggeman

Recommended Posts

Hello

 

I have a custom made template which is done using html. I also have phpproxy which uses .php and I would like on my index.html page to call the index.php in the table created for text content. i have tried to use the include comand however it doesnt have any effect. any and all help appreciated. Thank you

 

 

This is The template

This is phproxy

Link to comment
https://forums.phpfreaks.com/topic/43055-call-a-php-page-from-a-html-page/
Share on other sites

You have the set backwards.

 

You have to call the html page inside the php. HTML is client-side where as php is server-side. HTML does not know how to execute php code unless .html is registered as a php extension in the httpd.conf on an apache server.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.