Morning,
Posting here as the coders list is now dead.
Using php in a web app.
Reading in a large text file.
Using fgets to read line by line for processing.
What can I put in a test text file to get fgets to fail?
Can hand indicate the condition fail but would like to trigger a "real"
read failure well into the file. A lot of references about testing for
failure but nothing how to trigger fgets to fail.
Thanks for any hints.
Regards,
Ashley
--
==========================================================
Ashley Maher
Director
Didymo Designs
Phone: 1300 762 599
(+61 2) 8090 2847 (+61 2) 4203 2716
Mob: 0412 351 451
Fax: (+61 2) 8002 0071
Web: http://www.didymodesigns.com.au
P.O. Box 410 North Sydney NSW 2059
P.O. Box 1122 Wollongong NSW 2500
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html