stockton Posted August 11, 2007 Share Posted August 11, 2007 One can in Linux prefix a script as follows:- #!/usr/bin/php -q and then run the script from the command line & the -q tells PHP to leave all HTML out. How can this be done in Microsoft Windows. Quote Link to comment https://forums.phpfreaks.com/topic/64391-php-ignore-html/ Share on other sites More sharing options...
LiamProductions Posted August 11, 2007 Share Posted August 11, 2007 $text = "<b> hello </b>"; $hello = strip_tags($text); Not sure if thats what you mean. Quote Link to comment https://forums.phpfreaks.com/topic/64391-php-ignore-html/#findComment-321060 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.