is it possible to use <? rather than <?php
Posted by: donquick (---.range86-164.btcentralplus.com)
Date: February 23, 2010 01:35AM

Hi,

I am struggling a bit with <? vs <?php. I have downloaded our website to WAMPSERVER. The website works fine online but not when viewing in localhost i find i need to replace my <? with <?php to make it work.

I need to demonstrate the website without an internet connection for certain reasons.

Is there anything i can do that will save me having to go through and replace <? with <?php on every page of the site.

Thanks for your help,

Don

Options: ReplyQuote
Re: is it possible to use <? rather than <?php
Posted by: yfastud (Moderator)
Date: February 23, 2010 02:08AM

through wamp tray icon, php, php settings, enable/click short_open_tag

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: is it possible to use <? rather than <?php
Posted by: donquick (---.range86-164.btcentralplus.com)
Date: February 24, 2010 10:25PM

That is terrific. You are a gentleman.

Thanks,

Don

Options: ReplyQuote


Sorry, only registered users may post in this forum.