Bonjour,
en PHP il y a ceci qui pourrait t'aider :
Bonne journée,
Didier
strip_tags
(PHP 3>= 3.0.8, PHP 4 )
strip_tags -- Strip HTML and PHP tags from a string
Description
string strip_tags ( string str [, string allowable_tags])
This function tries to return a string with all HTML and PHP tags
stripped from a given str. It errors on the side of caution in case of
incomplete or bogus tags. It uses the same tag stripping state machine
as the fgetss() function.
You can use the optional second parameter to specify tags which should
not be stripped.
Note: allowable_tags was added in PHP 3.0.13 and PHP 4.0b3.
Example 1. strip_tags() example
<?php
$string = strip_tags($string, '<a><b><i><u>');
?>
Joseph Thirionet wrote:
Ceci peut en intéresser quelques-uns.
Voici un script asp qui permet de récupérer des informations se trouvant
dans une page html.
http://www.4guysfromrolla.com/webtech/031000-1.shtml
Script qui utilise le composant gratuit disponible ici:
http://www.alphasierrapapa.com/IisDev/Components/AspTear/
Cela fonctionne vraiment très bien.
Le seul inconvénient pour mes besoins actuels est que cela fonctionne
sous microsoft.
J'aurais besoin d'un script PHP permettant de faire le même genre de
travail.
Personne n'aurait cela dans ses tiroirs ?
Merci d'avance.
@+
Joseph
--
Cette liste vous est offerte par Emakina <http://www.emakina.com/>
Emakina: technologie et creativite au service de vos projets Web.
Desabonnement par mail : <mailto:[EMAIL PROTECTED]>