Karina S wrote:
Hello,
I want to make a php site which can generate a html code and display it on
the screen. (Display the code itself.)
I use htmlspecialchars() function. It works fine, but now I have to add
about 200 lines of static html code to print it out. If I put all of the
code in a
On Wed, 2 Jul 2003 19:40:37 +0200, Karina S wrote:
I want to make a php site which can generate a html code and display it on
the screen. (Display the code itself.)
See if this will do what you want:
http://us2.php.net/manual/en/function.highlight-string.php
or
You could always use PLAINTEXT at the top of the screen.
Jim Lucas
- Original Message -
From: Wendell Brown [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Karina S [EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 11:27 AM
Subject: Re: [PHP] print html code
On Wed, 2 Jul 2003 19:40:37 +0200
Jim Lucas wrote:
You could always use PLAINTEXT at the top of the screen.
And violate every single HTML standard. AFAIK, plaintext was never a
real tag.
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decrypt it will be prosecuted to the full extent
] print html code
Jim Lucas wrote:
You could always use PLAINTEXT at the top of the screen.
And violate every single HTML standard. AFAIK, plaintext was never a
real tag.
--
The above message is encrypted with double rot13 encoding. Any
unauthorized attempt to decrypt
In browsers that refuse to follow standards, maybe. Breaking standards
is a bad thing.
Jim Lucas wrote:
So what, it would do what was requested. :)
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decrypt it will be prosecuted to the full extent of
On Jul 2, 2003, Karina S claimed that:
|Hello,
|
|I want to make a php site which can generate a html code and display it on
|the screen. (Display the code itself.)
|I use htmlspecialchars() function. It works fine, but now I have to add
|about 200 lines of static html code to print it out. If I
] print html code
In browsers that refuse to follow standards, maybe. Breaking standards
is a bad thing.
Jim Lucas wrote:
So what, it would do what was requested. :)
--
The above message is encrypted with double rot13 encoding. Any
unauthorized attempt to decrypt it will be prosecuted
On Jul 2, 2003, Jim Lucas claimed that:
|well, tell me. What browser follows the standards 100% ??
The same one that is 100% bug free?
--
Registered Linux user #304026.
lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import
Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9
Jim Lucas wrote:
well, tell me. What browser follows the standards 100% ??
Most likely none. That doesn't mean you should violate the standards
for absolutley no reason, though! Future browsers will most likely drop
plaintext.
--
The above message is encrypted with double rot13 encoding.
Jim Lucas wrote:
well, tell me. What browser follows the standards 100% ??
Yeah...that's the attitude...if none of the existing browsers follow
standards, then it must be okay for us to break them too.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
11 matches
Mail list logo