Hello people, i'm from Brasil, and I dont know how to speak english very well.
Well .. my problem is the following:
i have a file called "fopen.inc" in my website. i want to make a PHP file, wich reads the content of the "fopen.inc" and prints the content of the file into the main PHP file.
look what i made:
<?
$file = "/web/sites/142/omago/www.omago.f2s.com/teste/fopen.inc";
$fp = fopen("/web/sites/142/omago/www.omago.f2s.com/teste/fopen.inc", "r");
$variavel = fread("/web/sites/142/omago/www.omago.f2s.com/teste/fopen.inc");
echo "$variavel";
fclose($fp);
echo "I hope that this works.";
?>
so .. i tried it many times, I have made many changes on the script .. but nothing works.
Can you please help me ??
I would be thank's.
My UIN: 20740260
My EMAIL: feliperaul@bol.com.br