Jump to content

fopen


corillo181

Recommended Posts

alright i found the problem i didn't show my whole code cuz i thought it would not matter but is th efilesize that doe snot read it.

<?php

$F = fopen("http://www.xxx.com/textdocs/test.txt","r");

 

$size = filesize("http://www.xxx.com/textdocs/test.txt");

 

$data = fread($F, $size);

 

fclose($F);

 

print $data;

?>

 

how can i make filesize work

Link to comment
https://forums.phpfreaks.com/topic/69625-fopen/#findComment-349858
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.