[TYPO3-core] RFC: Various improvements to t3lib_div::getURL
Bernhard Kraft
kraftb at kraftb.at
Sat Feb 18 02:09:31 CET 2006
Michael Stucki wrote:
> + while (!feof($fp)) {
> + $line = fgets ($fp,2048);
> + $content.=$line;
> + if ($includeHeader==2 && !strlen(trim($line))) { break; } // Stop at the first empty line (= end of header)
Here is some flag needed which adds only the content (skips the header) when
includeHeader == 0.
Currently the header will get returned all the time.
greets,
Bernhard
More information about the TYPO3-team-core
mailing list