Re: [PHP] quotes in php.ini

2003-10-29 Thread Curt Zirzow
* Thus wrote Evan Nemerson ([EMAIL PROTECTED]):
 On Tuesday 28 October 2003 11:29 pm, Rolf Brusletto wrote:
  Evan Nemerson wrote:
  Is anyone aware of a way to get double quotes in the php.ini file? For
  instance, I'd like to be able to set error_prepend_string to font
  color=\#ff\ (which doesn't work).
  
  The only work-around I can think of is doing ini_set()'s in an
  auto_prepend_file, and that's not acceptable for my purposes.
 
  Why not use single quotes around the actual setting.. i.e.
 
 Because I get a parse error. Does it work for you? If so, what version of PHP 
 are you using???

Try reversing the quotes:
 error_prepend_string = font color='#ff';


Curt
-- 
My PHP key is worn out

  PHP List stats since 1997: 
http://zirzow.dyndns.org/html/mlists/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-29 Thread Leif K-Brooks
Curt Zirzow wrote:

Try reversing the quotes:
error_prepend_string = font color='#ff';
 

Not valid XHTML (not sure if it's even valid HTML).

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] quotes in php.ini

2003-10-29 Thread Evan Nemerson
On Tuesday 28 October 2003 11:10 pm, Leif K-Brooks wrote:
 Curt Zirzow wrote:
 Try reversing the quotes:
  error_prepend_string = font color='#ff';

 Not valid XHTML (not sure if it's even valid HTML).

Yup. I've got the highlight_file thing from earlier working with ini entries, 
and I'm wondering how people are going to specify colour. I've even checked 
on HTML entities...

Just trying to cover my bases before I send to internals@

Any other ideas?

-- 
Evan Nemerson
[EMAIL PROTECTED]

--
A popular government, without popular information, or the means of acquiring 
it, is but a Prologue to a Farce or a Tragedy - or perhaps both. Knowledge 
will forever govern ignorance, and a people who mean to be their own 
Governors must arm themselves with the power which knowledge gives.

-James Madison

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-29 Thread Evan Nemerson
On Tuesday 28 October 2003 10:46 pm, [EMAIL PROTECTED] wrote:
 Evan Nemerson wrote:
 Is anyone aware of a way to get double quotes in the php.ini file? For
 instance, I'd like to be able to set error_prepend_string to font
 color=\#ff\ (which doesn't work).
 
 The only work-around I can think of is doing ini_set()'s in an
 auto_prepend_file, and that's not acceptable for my purposes.

 Try using  quot;  to replace double quote

Not valid (X)HTML, but it gets past the lexer.

-- 
Evan Nemerson
[EMAIL PROTECTED]

--
A popular government, without popular information, or the means of acquiring 
it, is but a Prologue to a Farce or a Tragedy - or perhaps both. Knowledge 
will forever govern ignorance, and a people who mean to be their own 
Governors must arm themselves with the power which knowledge gives.

-James Madison

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
Hi,

On Wed, 29 Oct 2003 02:10:49 -0500
Leif K-Brooks [EMAIL PROTECTED] wrote:

 Curt Zirzow wrote:
 
 Try reversing the quotes:
  error_prepend_string = font color='#ff';
   
 
 Not valid XHTML (not sure if it's even valid HTML).

Why not?

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-29 Thread Evan Nemerson
On Tuesday 28 October 2003 11:59 pm, - Edwin - wrote:
 Hi,

 On Wed, 29 Oct 2003 02:10:49 -0500

 Leif K-Brooks [EMAIL PROTECTED] wrote:
  Curt Zirzow wrote:
  Try reversing the quotes:
   error_prepend_string = font color='#ff';
 
  Not valid XHTML (not sure if it's even valid HTML).

 Why not?

Because W3C says so. The closest thing I found to an answer is 
http://www.w3.org/TR/xhtml1/#h-4.4 although I really didn't dig deeply. 
validator.w3.org doesn't like it, tidy doesn't like it. Opera doesn't like 
it. I don't have IE, and am too lazy to boot up a gecko-powered browser. Even 
if it _is_ valid (which I really don't think is the case), it's not usable. I 
sincerely doubt any parsers will figure it out.

 - E -
 __
 Do You Yahoo!?
 Yahoo! BB is Broadband by Yahoo!
 http://bb.yahoo.co.jp/

-- 
Evan Nemerson
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-29 Thread Leif K-Brooks
- Edwin - wrote:

Why not?
 

Because that's what the standard says.

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Wed, 29 Oct 2003 03:22:54 -0500
Leif K-Brooks [EMAIL PROTECTED] wrote:

 - Edwin - wrote:
 
 Why not?
   
 
 Because that's what the standard says.

Interesting. Where?

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Tue, 28 Oct 2003 22:05:56 -0800
Evan Nemerson [EMAIL PROTECTED] wrote:

 On Tuesday 28 October 2003 11:59 pm, - Edwin - wrote:
  Hi,
 
  On Wed, 29 Oct 2003 02:10:49 -0500
 
  Leif K-Brooks [EMAIL PROTECTED] wrote:
   Curt Zirzow wrote:
   Try reversing the quotes:
error_prepend_string = font color='#ff';
  
   Not valid XHTML (not sure if it's even valid HTML).
 
  Why not?
 
 Because W3C says so. The closest thing I found to an answer
 is http://www.w3.org/TR/xhtml1/#h-4.4 although I really
 didn't dig deeply. validator.w3.org doesn't like it, tidy
 doesn't like it. Opera doesn't like it.

What it?

- E -

...[snip]...
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-29 Thread Leif K-Brooks
- Edwin - wrote:

Interesting. Where?
 

www.w3.org

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] quotes in php.ini

2003-10-29 Thread Evan Nemerson
On Wednesday 29 October 2003 12:30 am, - Edwin - wrote:
 On Tue, 28 Oct 2003 22:05:56 -0800

 Evan Nemerson [EMAIL PROTECTED] wrote:
  On Tuesday 28 October 2003 11:59 pm, - Edwin - wrote:
   Hi,
  
   On Wed, 29 Oct 2003 02:10:49 -0500
  
   Leif K-Brooks [EMAIL PROTECTED] wrote:
Curt Zirzow wrote:
Try reversing the quotes:
 error_prepend_string = font color='#ff';
   
Not valid XHTML (not sure if it's even valid HTML).
  
   Why not?
 
  Because W3C says so. The closest thing I found to an answer
  is http://www.w3.org/TR/xhtml1/#h-4.4 although I really
  didn't dig deeply. validator.w3.org doesn't like it, tidy
  doesn't like it. Opera doesn't like it.

 What it?

The it we're talking about- an HTML entity masquerading as a quote around an 
attribute.

 - E -

 ...[snip]...
 __
 Do You Yahoo!?
 Yahoo! BB is Broadband by Yahoo!
 http://bb.yahoo.co.jp/

-- 
Evan Nemerson
[EMAIL PROTECTED]

--
There is a certain right by which we may deprive a man of life, but none by 
which we may deprive him of death.

-Nietzsche

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-29 Thread Curt Zirzow
* Thus wrote Leif K-Brooks ([EMAIL PROTECTED]):
 Curt Zirzow wrote:
 
 Try reversing the quotes:
 error_prepend_string = font color='#ff';
  
 
 Not valid XHTML (not sure if it's even valid HTML).

Sure it is, the quote character can be either ' or  and will
validate perfectly fine at w3c. now the font tag, thats a whole
different issue.

!DOCTYPE html
 PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html
head
titlevalidate this/title
/head
body
p class='asdf'perfectly fine/p
/body
/html


Curt
-- 
My PHP key is worn out

  PHP List stats since 1997: 
http://zirzow.dyndns.org/html/mlists/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Wed, 29 Oct 2003 03:29:13 -0500
Leif K-Brooks [EMAIL PROTECTED] wrote:

 - Edwin - wrote:
 
 Interesting. Where?
   
 
 www.w3.org

? Sorry, *won't* find it there...

In fact, a quick Google search gives you this:

  http://www.w3.org/TR/REC-html32

[quote]
Attribute values can be quoted using double or single quote
marks (ASCII decimal 34 and 39 respectively). Single quote
marks can be included within the attribute value when the
value is delimited by double quote marks, and vice versa.
[/quote]

Similar info can be found here:

  http://www.w3.org/TR/html401/html40.txt

I'm sure the above applies to XHTML as well. Curt pointed
this out earlier and, yes, using 'single quotes' (which is
what this portion of this thread is all about) is valid
(X)HTML. In fact, it even validates as XHTML Strict.

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Tue, 28 Oct 2003 22:28:12 -0800
Evan Nemerson [EMAIL PROTECTED] wrote:

 On Wednesday 29 October 2003 12:30 am, - Edwin - wrote:
  On Tue, 28 Oct 2003 22:05:56 -0800
 
  Evan Nemerson [EMAIL PROTECTED] wrote:
   On Tuesday 28 October 2003 11:59 pm, - Edwin - wrote:
Hi,
   
On Wed, 29 Oct 2003 02:10:49 -0500
   
Leif K-Brooks [EMAIL PROTECTED] wrote:
 Curt Zirzow wrote:
 Try reversing the quotes:
  error_prepend_string = font color='#ff';

 Not valid XHTML (not sure if it's even valid HTML).
   
Why not?
  
   Because W3C says so. The closest thing I found to an
   answer is http://www.w3.org/TR/xhtml1/#h-4.4 although I
   really didn't dig deeply. validator.w3.org doesn't like
   it, tidy doesn't like it. Opera doesn't like it.
 
  What it?
 
 The it we're talking about- an HTML entity masquerading as
 a quote around an attribute.
 

?? Look up again and you'll see the Curt was talking about
reversing the quotes and nothing about entity
masqueraders ;)

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-28 Thread Rolf Brusletto
Evan Nemerson wrote:

Is anyone aware of a way to get double quotes in the php.ini file? For 
instance, I'd like to be able to set error_prepend_string to font 
color=\#ff\ (which doesn't work).

The only work-around I can think of is doing ini_set()'s in an 
auto_prepend_file, and that's not acceptable for my purposes.



 

Why not use single quotes around the actual setting.. i.e.

error_prepend_string = 'font color=#ff';

Rolf Brusletto
www.phpexamples.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] quotes in php.ini

2003-10-28 Thread ary . p . wibowo
Evan Nemerson wrote:

Is anyone aware of a way to get double quotes in the php.ini file? For 
instance, I'd like to be able to set error_prepend_string to font 
color=\#ff\ (which doesn't work).

The only work-around I can think of is doing ini_set()'s in an 
auto_prepend_file, and that's not acceptable for my purposes.



Try using  quot;  to replace double quote

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quotes in php.ini

2003-10-28 Thread Evan Nemerson
On Tuesday 28 October 2003 11:29 pm, Rolf Brusletto wrote:
 Evan Nemerson wrote:
 Is anyone aware of a way to get double quotes in the php.ini file? For
 instance, I'd like to be able to set error_prepend_string to font
 color=\#ff\ (which doesn't work).
 
 The only work-around I can think of is doing ini_set()'s in an
 auto_prepend_file, and that's not acceptable for my purposes.

 Why not use single quotes around the actual setting.. i.e.

Because I get a parse error. Does it work for you? If so, what version of PHP 
are you using???

 error_prepend_string = 'font color=#ff';

 Rolf Brusletto
 www.phpexamples.net

-- 
Evan Nemerson
[EMAIL PROTECTED]

--
If anyone can show me, and prove to me, that I am wrong in thought or deed, I 
will gladly change. I seek the truth, which never yet hurt anybody. It is 
only persistence in self-delusion and ignorance which does harm.

-Marcus Aurelius

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php