Why "<?php" no "<?"
Posted by: macieq (---.internetdsl.tpnet.pl)
Date: June 08, 2006 04:29PM

Hey I have a question about the WAMP5 and Apache and PHP.
I had a normal apache2 php5 and mysql without WAMP package. When I installed the WAMP all scripts needed after "<?" the php word...why and how to make that sripts will work without php word and with it.
Like that: <? .. ?> and <?php ... ?>



m.acieq

Options: ReplyQuote
Re: Why "
Posted by: Ave (---.ists.pl)
Date: June 08, 2006 06:36PM

WAMP tray icon (left click) =>Config Files=>php.ini

find "short_open_tag = Off" and replace "short_open_tag = On"

Options: ReplyQuote
Re: Why "
Posted by: Murdoc (---.cpe.net.cable.rogers.com)
Date: June 10, 2006 05:20PM

The proper syntax is <?php so why not just use that? Adding 3 more letters won't hurt right?

Options: ReplyQuote
Re: Why "
Posted by: macieq (---.chello.pl)
Date: June 10, 2006 11:00PM

But if you had 1200 sites on your server....
It is okey now - thx smiling smiley



m.acieq

Options: ReplyQuote


Sorry, only registered users may post in this forum.