I want to eliminate values containing “http“, eg
<iframe src="http://tuto-rial.com/"></iframe>
I already get the value of the src=”http://tuto-rial.com/”, less remove “http://” it.
output only: “tuto-rial.com“;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know this MVC framework and never use it, but I imagine you can actually use PHP str_replace() function in your code.
EDIT:
if the data of your iframe is not on your server, you will need to load external source and then use PHP str_replace() function.