I have the same problems with file_get_contents.
Does it matter that there is no content-length in the http header of the remote web application?
Search found 2 matches
- Wed Aug 18, 2004 1:42 am
- Forum: PHP - Code
- Topic: Remote files that are too big (?) do not load correctly
- Replies: 3
- Views: 352
- Tue Aug 17, 2004 4:54 am
- Forum: PHP - Code
- Topic: Remote files that are too big (?) do not load correctly
- Replies: 3
- Views: 352
Remote files that are too big (?) do not load correctly
Problem: I want to include HTML generated by another web application inside a PHP page. I do it like this: <?php $url = "http://foo.bar?"; $url .= $_SERVER["QUERY_STRING"]; @readfile($url); ?> Depending on the size of the returned HTML string (i.e. depending on the QUERY_STRING) ...