<?php $var = file_get_contents("http://www.yoururlhere.com/"); $newvar = str_replace("<script","",$var); die($newvar); ?>