#1
  1. No Profile Picture
    joselito
    Guest
    Devshed Newbie (0 - 499 posts)
    Hello,

    somebody knows any way to put off all html tags from a file.

    I want to store cleaning pages for information purposes.

    Thanks,
    Jose
  2. #2
  3. No Profile Picture
    vdschoor
    Guest
    Devshed Newbie (0 - 499 posts)
    open a temporary file and spool the file with the tags into that file, line by line.
    Before you write the line back into the temp file you use the strip_tags() function, this strips off all the tags in the string that you pass to it.
    For a description of the strip_tags() function go to :

    http://www.php.net/manual/function.strip-tags.php3

Similar Threads

  1. seperate html tags from text in string
    By sweetpotatoe in forum PHP Development
    Replies: 3
    Last Post: January 28th, 2004, 10:39 AM
  2. How to get client email??Help plz
    By Gecko22 in forum ASP Programming
    Replies: 12
    Last Post: January 22nd, 2004, 01:40 PM
  3. Cleaning up user provided html
    By crysc in forum Perl Programming
    Replies: 13
    Last Post: January 18th, 2004, 09:17 PM
  4. not returning records when it should
    By aliaga61 in forum ASP Programming
    Replies: 3
    Last Post: January 16th, 2004, 10:57 AM
  5. 'Object required' error
    By aliaga61 in forum ASP Programming
    Replies: 1
    Last Post: January 16th, 2004, 08:48 AM

IMN logo majestic logo threadwatch logo seochat tools logo