So, does fopen() actually open the entire file? This may explain why getting them from a slower server is painfully slow.
What I'm aiming at is looking to another file server which stores scanned documents, PDFs, that are indexed according a numbering system for database data. The system needs to look at the other file server to see what scanned documents exists, then place a link for them. If no file exists, no link is displayed.
I'm thinking some kind of HEAD request? Or am I way off base here? FYI I'm running PHP 4.4.7 on the database machine and Apache on Windows on the remote machine.
fopen() is killing me. Literally MINUTES to load one request.