simple question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pedrokas
Forum Commoner
Posts: 32
Joined: Thu Jan 15, 2004 10:53 am
Location: Lisboa, Portugal

simple question

Post by pedrokas »

I've made a new installation in a ws2003+iis6 server with php 5.2.5.
Now (almost) all my pages stop working, i know the reason the short tag "<?" and if i change to normal tag "<?php" it seems to work just fine.

It is possible to change something im my installation to make the new php work with short tag?
If so how?

tks
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: simple question

Post by onion2k »

pedrokas wrote:I've made a new installation in a ws2003+iis6 server with php 5.2.5.
Now (almost) all my pages stop working, i know the reason the short tag "<?" and if i change to normal tag "<?php" it seems to work just fine.

It is possible to change something im my installation to make the new php work with short tag?
If so how?

tks
There's a setting in php.ini to switch it on. Search for short_open_tag in it, and set it to 1.
Post Reply