Unstoppable Domains โ€” AI Assistant

Problem displaying pictures

NamecheapNamecheap
Watch

djthekid

Established Member
Impact
0
Hi guys,
I am working on writing a script in perl, and i need to display several pictures, but only the the one that exist can show, so I need to suppress the little red x.
so basically I want to tell the page to load 3 pictures, and if one doesn't exist then it doesn't load or show red x.
Thanks
DJ
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Code:
if (-e "filename.cgi")
{ 
  #proceed with your code
}

im no perl expert but its what ive peiced together with google
 
0
•••
I tried that, but it didn't work, any other ideas
 
0
•••
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy โ€” Payment Flexibility
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back