KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using the following code, which is working fine for other urls, however, for the url "http://lisakifttherapy.com/", I am getting it wrong, showing a lot of gerbage data. Anybody any idea why this is happening and how to overcome this please? Thanks in advance. $curlObj = curl_init(); curl_setopt($curlObj, CURLOPT_URL, "http://lisakifttherapy.com/"); curl_setopt($curlObj, CURLOPT_RETURNTRANSFER, true); curl_setopt($curlObj, CURLOPT_FOLLOWLOCATION, true); $content = curl_exec($curlObj); echo $content;
Tags (comma-separated)
Save Edits
Cancel