Hi,
Anyone else using php 4.3.2 and seeing odd fopen() problems?
Some times it works some times it doens't!
Kind Regards,
Neil
cPanel.net Support Ticket Number:
Hi,
Anyone else using php 4.3.2 and seeing odd fopen() problems?
Some times it works some times it doens't!
Kind Regards,
Neil
cPanel.net Support Ticket Number:
You will see issues with anything that uses the URL, is this the case?
cPanel.net Support Ticket Number:
-- I live to support clients ---
Do you mean if I'm doing something like above?PHP Code:$bbcxmlfilename = "http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/uk/rss091.xml";
$bbc_handle = fopen ($bbcxmlfilename, "r");
$bbc_news = fread ($bbc_handle, 1000000);
fclose ($bbc_handle);
$tutvxmlfilename = "/home/********/public_html/maintenance/bbcnews.xml";
$tutv_handle = fopen($tutvxmlfilename, "w+");
fwrite($tutv_handle, $bbc_news);
fclose($tutv_handle);
If so why is this and is there a way round it?
Kind Regards,
Neil
cPanel.net Support Ticket Number:
You will need to modify php to allow URL wrapping.
For some reason it's disabled.
cPanel.net Support Ticket Number:
-- I live to support clients ---
I have exactly same problem!!!!
How exactly i modify php to allow URL wrapping???
cPanel.net Support Ticket Number:
It's not fopen it's fread.
http://bugs.php.net/bug.php?id=24033
Even though they say it was a bug in 4.3 up, I have been doing it that way since before 4.23. Whatever, if they want it to be a recent bug fix then that's the way it is. You'll have to relearn the fread function.
cPanel.net Support Ticket Number:
Thanks bud !!!!!!!
I have been wandering in search of a solution for my problem and that link had the exact problem described !.
Thanks again :-)
cPanel.net Support Ticket Number:
Jemshad O K
Sys Admin
Bobcares.com
http://www.poornam.com
Winners don't do different things. They do things differently