View Single Post
  #2 (permalink)  
Old 01-30-2008, 08:10 AM
DaveSawers's Avatar
DaveSawers DaveSawers is offline
WebProWorld Veteran
 

Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 354
DaveSawers RepRank 1
Default Re: cURL, embed PHP into HTML

You have to rename the page to use the .php extension. It doesn't matter if the content is mostly (or even all) HTML.

So rename your test_php.html to test_php.php and it'll work just fine.
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote