|
-
May 8th, 2003, 01:38 PM
#1
Thread Starter
Addicted Member
PHP SSI on IIS
Acronyms all over for this one... Ok this may be a tricky one gurus. The company that did development on our site did it with php but php as an SSI. So their code looks like this.
<%
echo "Print this line";
%>
and the file saves as whatever.htm. We're trying to migrate to a windows IIS server now and I dont want to have to rescript these pages. I've gotten as far as setting up the PHP to work as a SSI on IIS but you have to surround your PHP code like this.
<?
echo "Print this line";
?>
How would I go about setting up an IIS server to run PHP code surrounded by the <% %>.. its not a big deal, I know I could go through and just replace "<%" with "<?", its more of a.. a I just want to know what they did type of post. Thanks for the feedback
-
May 9th, 2003, 09:39 AM
#2
Frenzied Member
there is a setting in the ini file of php that lets you use asp tags. that might be where they got them. also i tlooks like the server was setup to parse htm files as php. this also can be setup but not recommended.
-
May 9th, 2003, 04:28 PM
#3
If you decide to change the tags, remember that the PHP developers strongly encourage you to write
<?php
not only
<?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|