I’ve been using the get_meta_tags() & get_headers() PHP functions, and need to set a timeout value in case the website is slow or unresponsive. Does anyone know how to do it?
I’ve been using the get_meta_tags() & get_headers() PHP functions, and need to set a
Share
You should be able to influence this (as it’s via URL wrappers) with the
default_socket_timeoutini setting.Try either setting it in the
php.inifile or by doing something liketo set a 10 sec timeout (the default value is 60)