Welcome to WebmasterWorld Guest from 54.167.83.224

Forum Moderators: open

Message Too Old, No Replies

My client wants to use FrontPage

I need to know if FrontPage kills server-side scripting

     
12:18 am on Jul 12, 2006 (gmt 0)

Full Member

5+ Year Member

joined:Apr 30, 2006
posts:298
votes: 0


As is the case with many WYSISYG editors, they kill perfectly good scripting code by forcing the page to correspond to a static html page.

For example the following


<?php include('../file/top.php');?>

<h1>Header</h1>
<p>a bunch of stuff</p>
<p>a bunch of stuff</p>

<?php include('../file/bottom.php');?>

will get turned into:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
</head>
<body>

<h1>Header</h1>
<p>a bunch of stuff</p>
<p>a bunch of stuff</p>

</body>
</html>

Does anyone know if FrontPage has this annoying habit?

3:37 pm on July 13, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:July 8, 2005
posts:460
votes: 0


I just searched google for FP and php and found pages on Microsoft site and many others
4:13 pm on July 13, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member jimbeetle is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Oct 26, 2002
posts:3292
votes: 6


annoying habit?

It isn't a matter of it being an annoying habit, it's a matter of it being a different technology. PHP has a way to include pages, Frontpage has a way to include pages. If your client wants to use FP, then it's probably best to use the FP technologies otherwise the client won't be able to use other FP features.

Now, you can use PHP in FP, just configure your .htaccess to parse .htm or .html pages. Grab a copy of the PHP Rocket plug-in for FP and you can develop on your local machine. But then you'll wind up using FP as just a handy-dandy code editor, defeating the client's purpose.

3:50 am on July 27, 2006 (gmt 0)

New User

5+ Year Member

joined:July 27, 2006
posts:2
votes: 0


I use FP for all of my websites that use PHP almost exclusively. It doesn't mess with my code when I use includes just like you posted.