Hello,
There seem to be a couple of bugs in the strip_tags() function, one minor
(or at least I know how to circumvent it) and one more serious.
The minor problem is that it treats a not-equals sign, , as an empty
tag and strips it, unless it's explicitely set as an allowed tag
(as in
don't think that would work...
what happens if you put in the second argument?
On Fri, 7 Jun 2002, Mikhail Avrekh wrote:
Hello,
There seem to be a couple of bugs in the strip_tags() function, one minor
(or at least I know how to circumvent it) and one more serious.
The minor problem
-
From: Stuart Dallas [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 5:31 PM
To: Philip Hallstrom
Cc: Mikhail Avrekh; [EMAIL PROTECTED]
Subject: Re[2]: [PHP] Re: strip_tags bug ?
On Friday, June 7, 2002 at 10:23:08 PM, you wrote:
Hmm... you could always do something like
I realize the importance of using valid html stuff. Here, however, I'm
trying to validate *user input*, not fix up my own HTML pages. And I have
no way of teaching the users to say lt; and gt; instead of and when
they fill out their forms.
On Sat, 8 Jun 2002, David Freeman wrote:
The
Check out PHPLIB:
http://www.sanisoft.com/phplib/manual/
It has a Menu class, which may not be documented explicitely at this
point, but there's info about it in the mail list archives (use search
for: in the page linked above), or you can subscribe to the list and ask.
On Tue, 30 Apr 2002,
Professional PHP Programming by Castagnetto et al. (from Wrox) is pretty
good IMHO. So is Web application development with PHP, by
Ratschiller/Gerken. These are the ones I've used for my purposes, as well
as for a PHP class that I taught a while back.
On Fri, 5 Apr 2002, cyberskydive wrote:
I
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 2:28 AM
To: Mikhail Avrekh
Cc: [EMAIL PROTECTED]
Subject: [PHP] Re: included file
You can say something like:
?$csv_filename= whatever.csv;?
script language=javascript
window.open(?=$csv_filename?,
target,
resizable,status,width=500,height=200);
/script
On Wed, 3 Apr 2002, Joe Keilholz wrote:
Hello All!
I think this is a pretty
Hello,
Is there any way inside an included file to figure out what its actual
UNIX filename is ?
For example:
file1.php --
?
include(file2.php);
?
file2.php --
?
/*want to do something like:
if (this_file()==file2.php) {
## do stuff
} else if
Hello,
Don't know if this is a question of (mis)configuration; I'm posting this
just in case someone had run into this before:
PHP's native md5() appears to return a different value from Linux's md5sum
command:
[mavrekh ~]$ echo blah | md5sum
0d599f0ec05c3bda8c3b8a68c32a1b47 -
[mavrekh ~]$
10 matches
Mail list logo