Lively discussions on the graphic arts and publishing — in print or on the web

Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-22-2007, 11:36 PM   #4
iamback's Avatar
Join Date: Oct 2005
Location: Amsterdam, NL
Posts: 4,894

Originally Posted by CarlSeiler View Post
Thanks. Easily explained. Now, I just have to find out if I have any such control over the php.ini, which I don't think I do. The hosting was arranged through GoDaddy by someone else.
The setting variable in question is short_open_tag which according to this page has a configurable setting of "PHP_INI_PERDIR"; that means you cannot set it dynamically from a script, you can set it only in php.ini, .htaccess or httpd.conf.

Now on GoDaddy you're unlikely to have access to your own php.ini, and unless you have a VPS you won't have access to httpd.conf either. That leaves .htaccess - so you need to find out if your hosting allows you to create .htaccess files (and if the server's Options are set to AllowOverride - otherwise you still can't specify it there).

If you can, you need to create a .htaccess file in the relevant directory (or topmost directory) and add this line to it:
php_flag short_open_tag off

Marjolein Katsma
Look through my eyes on Cultural Surfaces (soon!), My ArtFlakes shop and Flickr.
Occasionally I am also connecting online dots... and sometimes you can follow me on Marjolein's Travel Blog
iamback is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bryce 6 (and the Vue product line) Andrew B. Software 1 11-14-2006 06:48 AM
First line and letter formatting Bo Aakerstrom Web Site Building & Maintenance 8 08-24-2006 07:45 AM
Off line for a (short) week iamback The Corner Pub 3 08-10-2006 11:53 AM
Your Driver's License on Line George The Corner Pub 7 11-04-2005 08:32 PM

All times are GMT -8. The time now is 10:39 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Contents copyright 2004–2018 Desktop Publishing Forum and its members.