Click to See Complete Forum and Search --> : Frontpage


Anon
11-15-2000, 06:04 AM
Hi!

Could anyone tell me how to make frontpage 98 to not to mess up my php scripts?

When I write some code inside a html (*.php) page with frontpage editor and save the page. The whole code is translated to html!

i would not mind if used Frontpage never again, but the problem is that I am just designing the basics of this web and someone else will be administering and updating it... And when the person will open the php pages with FP the code will be messed up and will not work anymore... Any advice??

Thank you for your help =)

-ARi

Anon
11-15-2000, 11:37 AM
Try this: Front page only recognizes ASP and Mircrosoft's stuff. Use Front page to design your layouts, go to the HTML source copy and paste the tables , etc out and Use a good editor.

A great freebie I use all the time for PHP and Cold Fusion is 1st Page 2000. Free, reliable and easy to use. You can get it at winfiles.com, html editors

terry

Anon
11-15-2000, 01:43 PM
An alternative would be to use ASP tags for PHP. It's just a config setting in php.ini to allow php to parse code enclosed in ASP tags.

Anon
11-16-2000, 07:52 AM
Tom Anderson wrote:
-------------------------------
An alternative would be to use ASP tags for PHP. It's just a config setting in php.ini to allow php to parse code enclosed in ASP tags.

Thanks!!

Now I wonder what happens if there is asp and php in use in the same server? Will this mess up the asp scripts? If I could decide no asp is needed... but it is not my choice =(

-ARi

Anon
11-16-2000, 12:26 PM
No, it would not mess up the asp scripts. All .asp would be parsed by proprietaryasp46isapi.dll and all .php would be parsed by php4isapi.dll. The tags in any .php are handled by php. Scripts are parsed based on extension, not embedded tags.

Anon
11-16-2000, 04:55 PM
Tom Anderson wrote:
-------------------------------
No, it would not mess up the asp scripts. All .asp would be parsed by proprietaryasp46isapi.dll and all .php would be parsed by php4isapi.dll. The tags in any .php are handled by php. Scripts are parsed based on extension, not embedded tags.

Ofcourse =) Why did I not think about that =)

This was great news! Thank you =)

-ARi

Anon
11-18-2000, 04:06 AM
Why not use Dreamweaver?
Or DW ultradel?

Anon
11-20-2000, 06:25 AM
Back when I used Frontpage...heheh....I had to use <?php and ?>, then it wouldn't mess them up. if I just used <? and ?>, it would. An option if you can't change your php.ini.

---John Holmes...

Anon
11-20-2000, 10:18 AM
Hi,

I've never fully tested this in frontpage, since I rather use Allaire Homesite, however my brother likes to maintain the design of pages I've created in PHP, with Frontpage, and I've used those tags:

<script language="php">
echo "<p>Hello</p>\n";
</script>

PHP likes it, and Frontpage ignores it, the perfect solution for your problem I think. Got this from PHP's manual.

Anon
11-20-2000, 10:26 AM
yes, that works, too. just shows you how evil frontpage is.

Download Dreamweaver. I'll send you a crack that gets rid of the 30 day time limit. So you can evaluate it longer and see if it will work for you. :) I think it's better...but I'm still evaluating...

---John Holmes...

Anon
11-20-2000, 11:04 AM
but but but but i-i-isn't that illegal? ;-)

Anon
11-20-2000, 06:38 PM
<?
if($your_job == "Macromedia" || $your_job == "FBI")
{
echo "I was just kidding, I paid for my copy.";
}
else
{
echo "No it's not illegal.";
}
?>

---John Holmes...

Anon
11-21-2000, 03:55 AM
lol ;-)

Well, I'm not judgeing, it's just that I wouldn't put it on a public board ;-)

Anon
11-21-2000, 04:44 AM
I really did pay for mine, but I've seen cracks out there for it. There are cracks for anything and everything...

Anyways, what was the question again? ;)

---John Holmes...

Anon
11-21-2000, 06:29 AM
If it was up to me I would for sure use Dreamweaver, but there is no sense to change the tools this company has used for few years now... And there is a lot of people publishing pages with frontpage to our intra...

If it was up to me the whole company would do format c:\ and rest of the drives and put up some nice little Linux box to play with =)

-ARi

Anon
12-06-2000, 11:48 AM
Test.

if($test)
{
&nbsp;$this_will_be_indented = true;
&nbsp;&nbsp;this even further.
}

<pre>
This will be even better.
if($test)
{
$djdhd;
$dgdgdgd;
}
</pre>

<code>

This will be even better.
if($test)
{
$djdhd;
$dgdgdgd;
}

</code>

Anon
12-17-2001, 11:00 AM
If you use this method, you won't be able to use the frontpage navigational structures in their templates or themes.