i tried to make a php contact form on my site, but the included pages (frontpage) didn't appear on the contact.php i had to make a pop-up instead, doing away with all the navigations. is there any solution to this? i am going to set up a shopping cart soon, so i am worried the php might not work with frontpage, wasting my money.
that will mean all my navigation will not work. i need time to learn php so that i need not rely on frontpage, but i need a quick solution for the time being.
The sooner you get away from FrontPage and learn how to make your own navigation the happier you will be. You can use FP to create the html. You can even use most of that html on php pages. You can use the include function of php to include your nav links once you make them. You can't use FP to publish any site that uses php scripts, php files, cgi files. It will break them everytime. Get an ftp client, learn how to use it. Make you files in FP if you must and then ftp them to the site. Remove the extensions in your control panel.
Yeah Front Page has to be about the worst web design app ever. I would get yourself a copy of Dreamweaver
turns out that php includes is that easy, darn. i thought i had to set up a database and have dynamic generated pages. ok, i gonna use php includes for all my webpages, but i still want the .html extension. RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html so if i insert the above code in my .htaccess, i can use the following code: <?php include("header.php"); ?> HTML: in my html pages to display my navigation menu? will it work or i have to rename all my html to .php, which will be a pain with so many pages. also, is the .php (navigation menu) like normal html pages? that is, with the html, head, body tag, except in the php syntax of cos. or i can exclude those?
No you can not include php pages on a server parsed html page. Or if you can I have learned something new today. You can include other html pages on a server parsed html page using this syntax: Most of this site is html server parsed: lexkyweb.com The header, menu, and footer are all included files on the html pages.
http://www.desilva.biz/php/phpinhtml.html it should be possible to use php in .html files, i seen some sites talking about it. i tried the guide the site above give, but it gave me a 500 error. i will try the parsed html solution. still reading on it...sounds harder than php.
yes, i did it. the code to add to .htaccess: AddHandler application/x-httpd-php .html this is the html page with php include http://www.healthsession.com/testing-no-access.html alright, time to start a subdomain to test this whole thing out. had to uninstall frontpage too...troublesome, but well worth it. i see frontpage out of my life already
hey, need some help here. the php includes is not as good as frontpage. when i use the same .php in a 2nd level directory, the links are not working, since i use relative locations. example: in health.html, the links point to hello.html, which works. the same .php in example/disease.html will have the links point to /example/hello.html, which doesn't works. how do i resolve this? place absolute urls, as in like this: http://www.healthsession.com/hello.html or is there another alternative? frontpage does this automatically with relative urls, working fine. or do i create separate .php for 2nd level directory, which will be a pain to edit.