eggeman Posted March 16, 2007 Share Posted March 16, 2007 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 More sharing options...
per1os Posted March 16, 2007 Share Posted March 16, 2007 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. Link to comment https://forums.phpfreaks.com/topic/43055-call-a-php-page-from-a-html-page/#findComment-209139 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.