添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hi folks,

http://api.clickatell.com/http/sendmsg?user=xxxx&password=xxxx&api_id=3xxxx&to=9xxxxxxxx&from=&text=06390632064a0632062a064a00200627064406390645064a064406290020&req_feat=&unicode=1&concat=3 

if i put this url in to file_get_contents, it gives the following error

Warning: file_get_contents() expects parameter 1 to be a valid path, string given in /home4/…

but if i put the url directly on the address bar of the browser, it works. what can be the problem?

i am sorry, problem seems some ware else. coz the url is not passed in to the function at all it seems in my code. when i used the following in a new file, it worked.

file_get_contents("http://api.clickatell.com/http/sendmsg?user=xxxx&password=xxxx&api_id=3xxxx&to=9xxxxxxxx&from=&text=06390632064a0632062a064a00200627064406390645064a064406290020&req_feat=&unicode=1&concat=3");