I’m working on WordPress and I know literally nothing about PHP
. I’m trying to get a scroller with post excerpts to work but it uses fopen()
but it is turned off on my customers’ host.
$f = fopen( $url, 'r' );
while( $data = fread( $f, 4096 ) ) { $xml .= $data; }
fclose( $f );
Can this simply be written into curl?
Thanks in advance!
this should work