Forums / Setup & design / Another way to get_file_contents?

Another way to get_file_contents?

Author Message

Shurbann Martes

Saturday 13 September 2003 9:54:59 am

By using the operator to insert php script I'm tying this:

I have a php file with this code:

test.php:

<?php
$output = file_get_contents("http://localhost/myscripts/index.php?test=yes");
echo $output;
?>

Now I'm inserting this file in eZ with the insert operator:
{"http://localhost/test.php"|insert}

But this won't output nothing in eZ how come?
I used this operator with another script before without any problem.

Thank you for any tips.