# Onatolich (10.08.2014 / 01:07)you can use nl2br()
If I understand right, you need something like this:
$source = $_POST['source'];
if(preg_match('#http:\/\/(.*)#ui'))
echo htmlspecialchars(file_get_contents($source));
# Onatolich (10.08.2014 / 01:07)you can use nl2br()
If I understand right, you need something like this:
$source = $_POST['source'];
if(preg_match('#http:\/\/(.*)#ui'))
echo htmlspecialchars(file_get_contents($source));