PHP cURL Tutorial Part 3: Posting Data To The Server

preview_player
Показать описание
In this tutorial we use PHP cURL to post data to a server. We add the data to a Mysql database to verify the data was posted successfully.
Рекомендации по теме
Комментарии
Автор

Thank you for all the curl tutorial. You are amazing at teaching

shibnathroy
Автор

it's not too much tough to understand very nice for php API

amifamif
Автор

It is very nice video i build my first API with the help of your Video. Very nice work by you man.

thebitmatrix
Автор

Learn a lot using your videos.... keep adding  :)

mayankpratapsingh
Автор

Thanks a lot, that helped to read posted curl data.

himanshuvora
Автор

Nice and clear explanation. Thank you.

RianWardana
Автор

Thank You, for sharing amazing content. It helped me alot.

gauravchitwaan
Автор

Cool. I usually execute a wget command, never really thought about curl that way. Thanks

gginnj
Автор

Thanks so very much for the tutorials, they are brilliant. One thing I noticed in part 3 was no new entries to the database occurred when I tried using the constructor 'new' to connect to the database. Instead I changed the connection to the following using the 'connect command. ' $db = mysqli_connect("localhost", "root", "", "postdata");.

Hopefully this may help someone who experienced the same problem.

codecobber
Автор

This is amazingly simple! Thanks so much!!!

CedricCheAzeh
Автор

Great explanation! This worked great. Thanks, man!

ChadVick
Автор

kewl! that works!
now ... let me mess this up! :D

pinkponyofprey
Автор

Can you make a video how to add an authorization header with curl? I tried many things out but nothing works for me :/ I am a beginner with curl, hopefully i get the mistake after watching your vids, helping me a lot getting basic idea of curl. Thank you :)

Brackostar
Автор

Perfect tutorial, thank you very much!
Any ideas how to get redirected to data.php page when cURL is executed?

MrWickedsouls
Автор

sir i fetch data from my local database which is array of arrays how to post it using http_build_query ?

muhammadawais
Автор

Entonces, con esto podria insertar o cambiar datos de otro servidor!

rodrigo.avalos
Автор

Sir can you help me to configure my API to my database??

nareshahirwar
Автор

i Don't see a usefull way of doing that.. the submitting form i think it's still better but anyway you gave a way to understand a bit more about curl

tel