09-26-2003
You are posting in the wrong forum.
I'm closing this thead.
Neo
10 More Discussions You Might Find Interesting
1. Linux Benchmarks
Just dusted off an old version of the Byte UNIX Benchmarks from our old benchmark days at http://linux.silkroad.com/ and ran them against www.unix.com:
==============================================================
BYTE UNIX Benchmarks (Version 3.11)
System -- Linux www 2.4.20 #2 Mon... (0 Replies)
Discussion started by: Neo
0 Replies
2. UNIX Benchmarks
STEP 1: Get the source here:
https://www.unix.com/source/bm.zip
or
https://www.unix.com/source/unix_linux_bench.tar.gz
STEP 2: Unzip or Untar
STEP 3: make
STEP 4: Run
STEP: 5: Please login to www.unix.com and post test results along with platform info to:
Include (if you... (0 Replies)
Discussion started by: Neo
0 Replies
3. UNIX for Dummies Questions & Answers
Seriously. I Know Very Little About Unix, But Im Tired Of Windows. Id Like To Learn More About Other Os', But I Don't Know Where I Can Get A Download For Unix. I Know Some Body Can Hel[ Me. Thanks. (2 Replies)
Discussion started by: classicblue
2 Replies
4. UNIX for Dummies Questions & Answers
okay, where can i download the unix operating system? i cant find it anywhere on your site (1 Reply)
Discussion started by: dcotto21
1 Replies
5. UNIX for Dummies Questions & Answers
where can i download UNIX OS?
I am a new bie! :confused: (3 Replies)
Discussion started by: vuluan
3 Replies
6. UNIX for Dummies Questions & Answers
Hello All,
I need to train myself in UNIX. Where can I get UNIX OS download, so that I can multi boot it with my existing Windows OS?
Thanks
PHK (1 Reply)
Discussion started by: pkirangi
1 Replies
7. UNIX for Dummies Questions & Answers
I was wondering if anybody knows where I can download Digital UNIX 4.0E.
Thanks. (2 Replies)
Discussion started by: emybeavis
2 Replies
8. UNIX for Advanced & Expert Users
I checked unix.org but did not find any link where i can download basic unix flavour. any idea from where i can download unix.
thanks in advance.
- nilesh (14 Replies)
Discussion started by: ynilesh
14 Replies
9. Fedora
:confused:
this is my very first post in unix.com.
hello every one,
I am a real Newbie and I wanna know ..
1) from where to download unix os ?
2) are ther any distros like linux in unix? (13 Replies)
Discussion started by: aarsh
13 Replies
10. UNIX for Dummies Questions & Answers
Hey Guys I work in a job where I am starting to use Unix. I want to practice on my own personal machine. I know I can download Linux in a lot of different flavors but does anyone know where I can download UNIX?
Thanks in advance. (3 Replies)
Discussion started by: Koopa_Troopa
3 Replies
LEARN ABOUT PHP
strip_tags
STRIP_TAGS(3) 1 STRIP_TAGS(3)
strip_tags - Strip HTML and PHP tags from a string
SYNOPSIS
string strip_tags (string $str, [string $allowable_tags])
DESCRIPTION
This function tries to return a string with all NULL bytes, HTML and PHP tags stripped from a given $str. It uses the same tag stripping
state machine as the fgetss(3) function.
PARAMETERS
o $str
- The input string.
o $allowable_tags
- You can use the optional second parameter to specify tags which should not be stripped.
Note
HTML comments and PHP tags are also stripped. This is hardcoded and can not be changed with $allowable_tags.
Note
This parameter should not contain whitespace. strip_tags(3) sees a tag as a case-insensitive string between < and the first
whitespace or >.
Note
In PHP 5.3.4 and later, you will also need to include the self-closing XHTML tag to strip these from $str. For example, to
strip both <br> and <br/>, you should use:
<?php
strip_tags($input, '<br><br/>');
?>
RETURN VALUES
Returns the stripped string.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.3.4 | |
| | |
| | strip_tags(3) no longer strips self-closing XHTML |
| | tags unless the self-closing XHTML tag is also |
| | given in $allowable_tags. |
| | |
| 5.0.0 | |
| | |
| | strip_tags(3) is now binary safe. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
strip_tags(3) example
<?php
$text = '<p>Test paragraph.</p><!-- Comment --> <a href="#fragment">Other text</a>';
echo strip_tags($text);
echo "
";
// Allow <p> and <a>
echo strip_tags($text, '<p><a>');
?>
The above example will output:
Test paragraph. Other text
<p>Test paragraph.</p> <a href="#fragment">Other text</a>
NOTES
Warning
Because strip_tags(3) does not actually validate the HTML, partial or broken tags can result in the removal of more text/data than
expected.
Warning
This function does not modify any attributes on the tags that you allow using $allowable_tags, including the style and onmouseover
attributes that a mischievous user may abuse when posting text that will be shown to other users.
Note
Tag names within the input HTML that are greater than 1023 bytes in length will be treated as though they are invalid, regardless
of the $allowable_tags parameter.
SEE ALSO
htmlspecialchars(3).
PHP Documentation Group STRIP_TAGS(3)