Hello,
I have a site that allows the user to enter in an IP address and a port within the company to ftp barcode file to send directly to a printer. However, if they put in an invalid IP I have this code die("Server could not be found."); This is all good but the browser looks for this IP address for way too long before it displays this message. Is there a way to shorten this time?
It would be nice for this message to come up as soon as the IP address could not be found instead of retrying(which is what I assume is what it is doing).
Any ideas or help with this would be great.
Thank you for any help.