Carlos Rocha Posted October 18, 2011 Report Share Posted October 18, 2011 Ola pessoal.Com faço para testar, via codigo, se curl funciona.Sem recorrer ao php.ini.tipoif(curl_init()=='funciona') { print 'funcionou'; } else { print 'não funcionou'; }Tem jeito? Quote Link to comment Share on other sites More sharing options...
0 Willian Gustavo Veiga Posted October 20, 2011 Report Share Posted October 20, 2011 Testar se o cURL funciona? Existe este método, ou você pode usar function_exists ou ainda extension_loaded. Existem muitas formas.Um abraço. Quote Link to comment Share on other sites More sharing options...
Question
Carlos Rocha
Ola pessoal.
Com faço para testar, via codigo, se curl funciona.
Sem recorrer ao php.ini.
tipo
Tem jeito?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.