PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I was wondering if anyone knows how to workaround an fopen issue I've been having. Users on my website can link to photos, and if the photo isn't there then of course I get an fopen message: fopen(http://www.spendthriftfarm.com/Photos/m ... -brown.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404
that everyone sees. Is there any good way to check if the photo is there before I call fopen so I don't have this issue? I've tried things like this but nothing seems to be working