Right now I'm going through all this mess and trying to get it so that it's
actually an XHTML 1.1 compliant output.  Right now, there's no guarantee
that it's even HTML [insert version here] compliant.

All the ini configuration is set.  I will set the ini default to the old
value.  I assume people know how to use ini_set(); and will be able to
change the behavior of this function that way if they are being hosted
somewhere they have no control over the ini.

I'll look into all the servers that support .phps and [attempt to] modify
their code so that you may use ?number=1 or whatever.  I'd like to see what
people say about this.

Additionally, if that suggestion recieves good karma, I'd like to get
general input on what I should name the variable.

I'd like to get all this fixed before I release the patch so you all don't
have to go behind me cleaning up stuff :).

Devon

Original Message:
-----------------
From: Sascha Cunz [EMAIL PROTECTED]
Date: Wed, 11 Sep 2002 22:27:31 +0200
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: Re: [PHP-DEV] highlight_file modification


hi
[...]
> I believe the default should be its current behaviour (for backward
> compatability, and to prevent unexpected change)... but I do think there
> should be an ini option so that .phps files can have this functionality.
[...]
+1 on that.

[...]
> Having line numbers on a .phps file would enable us to support users MUCH
> better just by asking them to rename the file from .php to .phps and give
> us the URL. We then say "your missing a ; on line 52". Much easier than
> trying to navigate them to the "if halfway down the screen".

+1, too.

>
> If you can think of an alternative way to enable / disable the
> modifications suggested other than using a php.ini entry...  ;)
[...]

wouldn't it be better to let the viewer decide, if line numbers should
appear 
or not. This wouldn't break BC and also would not be needed to be enabled
on 
any server. Maybe we could use a GET Param on this (only for the .phps's) 
like:

http://localhost/test.phps?linenumbers=0
http://localhost/test.phps?linenumbers=1

in which we would default linenumbers to zero.

Best regards
Sascha

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to