Jump to content

How do I get apache to recognize <? instead of just <?php *SOLVED*


Atomic Taco

Recommended Posts

You can only change this if you have access to the php.ini file on your server.

If you do, scroll down to about line 80. And you'll see [b]short_open_tag = Off[/b]. Change the 'Off' to 'On'. And then save the file and restart your web server.

[!--coloro:#990000--][span style=\"color:#990000\"][!--/coloro--]Jeremy[!--colorc--][/span][!--/colorc--]
Link to comment
Share on other sites

I wouldn't do that if I where you. Get in the habbit of using the correct tags. Most shared hosts dont support short tags. It makes working with xml that little bit more difficult, and they are depricated.
Link to comment
Share on other sites

[!--quoteo(post=374154:date=May 15 2006, 04:40 PM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ May 15 2006, 04:40 PM) [snapback]374154[/snapback][/div][div class=\'quotemain\'][!--quotec--] Ever heard of [i]sed[/i] and [i]awk[/i]? [/quote]
I'm on Windows, so, no

Link to comment
Share on other sites

[!--quoteo(post=374170:date=May 15 2006, 06:18 PM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ May 15 2006, 06:18 PM) [snapback]374170[/snapback][/div][div class=\'quotemain\'][!--quotec--] Find and replace then? [/quote]
That works, but on all the programs I know you have to open each file one at a time and perform the find/replace.

Link to comment
Share on other sites

[!--quoteo(post=374173:date=May 15 2006, 06:29 PM:name=Atomic Taco)--][div class=\'quotetop\']QUOTE(Atomic Taco @ May 15 2006, 06:29 PM) [snapback]374173[/snapback][/div][div class=\'quotemain\'][!--quotec--]
That works, but on all the programs I know you have to open each file one at a time and perform the find/replace.
[/quote]
UltraEdit-32 editor does search and replace in files (even in sub directories). You can download the trial version and get it done.

[a href=\"http://ultraedit.com/index.php?name=Content&pa=showpage&pid=10\" target=\"_blank\"]http://ultraedit.com/index.php?name=Conten...showpage&pid=10[/a]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.