![]() |
PHP Code help
I have a problem with some missing attachments...Is there a way to put a if/then or else in the PHP code so that when the attachment is missing I can return something other than this error:
Warning: fopen(/home/admin/attachments/2/5283.attach) [function.fopen]: failed to open stream: No such file or directory in /attachment.php on line 203 That is what you get when you click the attachment link in a post where the actual file is missing. I would just like to have it give a message like: this attachment is no long available, or something like that on a standard vB page so it does not look like the board is messed up. Thank for anyone that can/will help me. |
All times are GMT. The time now is 12:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|