Caruso_eu
asked on
PHP removing string in URL's source
Hello,
i am currently making a script which is stripping some data off an internet site. Now one of the lines are troubling me and those are the ones with current date in it.
I am sure i could strip those too with some universal command but i am not sure which one.
So string look like this: <report date="2012-08-31" valid="2012-09-01">
I need to remove whole string and not just dates in it.
Thank you!
i am currently making a script which is stripping some data off an internet site. Now one of the lines are troubling me and those are the ones with current date in it.
I am sure i could strip those too with some universal command but i am not sure which one.
So string look like this: <report date="2012-08-31" valid="2012-09-01">
I need to remove whole string and not just dates in it.
Thank you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please post the URL of the internet site so we can see the source that you want to strip. Then we can give you a tested code sample.
You can probably use this function:
http://us.php.net/manual/en/function.strip-tags.php#93567
You can probably use this function:
http://us.php.net/manual/en/function.strip-tags.php#93567
ASKER
Ray_Paseur : Thank you but solution to my problem was posted already!
Thank you!
Thank you!
ASKER
Thank you!