Linked Questions

-8 votes
2 answers
1k views

In PHP, I see the word cURL in many PHP projects. What is it? How does it work? Link http://php.net/curl
Twinkle's user avatar
90 votes
21 answers
49k views

In all the years I have been developing in PHP, I have always heard that using eval() is evil. Considering the following code, wouldn't it make sense to use the second (and more elegant) option? If ...
Pierre Spring's user avatar
25 votes
5 answers
144k views

I need to send email via command-line without any human interactions for automation. I know we can use mailto command but that would compose email, subject,body and everything but it wouldn't send it ...
Mowgli's user avatar
  • 3,532
3 votes
2 answers
3k views

I'm trying to get some data from a website that is not mine, using this code. <? $text = file_get_contents("https://ninjacourses.com/explore/4/"); echo $text; ?> However, nothing is being echo'...
BryanLavinParmenter's user avatar
0 votes
2 answers
3k views

Im trying to "get" text from another website, and publish it on mine, so that when the other website updates the text inside a "div" or other object, my website will update aswell. Can this be done ...
user3259244's user avatar
1 vote
2 answers
2k views

We have a contact.html form that uses reCaptcha v2, whose backend processing is in a php file. I've taken enough steps to understand that when we send the verification to google's api, the response ...
DWF's user avatar
  • 360
1 vote
2 answers
3k views

I have a url like this, https://www.example.com/send?id=1&text=http://example2.com/song.mp3 when I try to get the data of the url using file_get_contents() it shows below error, PHP Warning: ...
theModerator713's user avatar
1 vote
4 answers
2k views

The title of this question doesn't explain clearly what I'm looking for, but my question below does. So please read and if possible give me a better solution. What I'm Developing: I'm developing an ...
Fahid Mohammad's user avatar
1 vote
1 answer
3k views

I've read quite a few posts here asking roughly the same thing, but usually the person asking has access to the remote site and can use the methods available to achieve this. My situation is a bit ...
Skryn's user avatar
  • 145
2 votes
1 answer
2k views

i have used this code form external php script to include the codeigniter controller file. include_once "codeigniter/index.php/user"; it doesn't work. 'user' is my controller file. However i can ...
Sanzeeb Aryal's user avatar
-1 votes
1 answer
1k views

In my PHP project I want to integrate SMS gateway. I have integrated HSPSMS SMS gateway. They have given one API for this,but unfortunately I am unable to call this in proper way. I have called API ...
user3350069's user avatar
0 votes
1 answer
1k views

I tried to open an external url. It works fine in my local server. But when i moved to live server it showing time out error. When i replaced the url by a url in the same domain ,it works fine. ...
Neethu's user avatar
  • 134
2 votes
1 answer
1k views

I want to apologize about my English. It's not very good. So, I want to make a chat application (pretty much like Facebook's), and after reading a lot I decided to make this chat app with Erlang. ...
user3679357's user avatar
0 votes
2 answers
987 views

curl -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"firstname":"Mike","lastname":"Doel","customer_id":"12345","email":"[email protected]"}' -u API-key: ...
chandan kumar's user avatar
0 votes
1 answer
908 views

Here is how I am making a REST API Call and my url is in $url below. I am running it on WAMP server and basically I have saved this php(test.php) file www folder and when I execute the url (localhost//...
rocky's user avatar
  • 435

15 30 50 per page