View Full Version : Using php in Frontpage
redriverrebel
07-12-2008, 07:26 AM
I created my website using Frontpage 2003. I would like to add some php code to some of the pages. I followed the directions provided in the Microsoft Help to make changes to the Frontpage configuration and to my php.ini file (set asp_tags="1"). Even after making these changes I can't see the results of some sample code (echoing a string to the browser). Any help would be appreciated
Falcon1986
07-12-2008, 07:51 AM
You need to install a server environment on your PC with PHP in order to execute PHP code locally.
There are many resources on the internet on how to do this. Check out the "You may want to read..." line for previous links at this site (http://www.learning-computer-programming.blogspot.com/2008/05/installing-configuring-and-testing.html).
shadmego
07-12-2008, 07:53 AM
You can try to use the setting "asp_tags = On" instead of "1", but I'm of the impression that Hostmonster doesn't play with asp at all. And in that case, you will have to use a different program to insert your php code.
I'm sure someone else has tried to work with this setting though, and they might have more to say about it. If I have time this weekend, I will try to research it more, but I make no promises.
~regards
redriverrebel
07-12-2008, 12:31 PM
Thanks. I bought a SAMS book on PHP, MySQL, and Apache and I believe that the accompanying CD will allow me to install php.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.