Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.

"CURL - Post Form Isssue ( sequel )"

Post #303029998 by Fred13 on Monday 4th of February 2019 10:19:06 AM

About server :
  • Apache version : 2.2.26
  • PHP Version : 5.4.37
  • Unix Version : CentOS release 6.4 (Final)CentOS release 6.4 (Final)

I don't have access to the server ( maybe in some days ), but only to a supervision page with the symphony log I provided. I cant get php error log, neither the log level.

I thought my problem was just a syntax issue about curl, I never used it.
I guess we need the log server to know what is missing.

I just got the source code from the projec, I will see what I can get from it. ( If you have a clue about what to search )

Thank you
This User Gave Thanks to Fred13 For This Post:
Related Linux and UNIX Technical Support
maintaining form post session using curl
Hello, I have searched for a good part of the day, but cannot seem to find an answer to this. I hope this is an appropriate forum for my question. I am wanting to download a blog web page using a script. It requires username and password login. I have tried the following (an example) to no...... Shell Programming and Scripting
Shell Programming and Scripting
Posting data to a form using curl
Hello all. I have an incredible number of servers that I need to change a parameter on using a web interface. I'd like to be able to do this via curl, but I'm having some trouble. I filled out the form and hit update while snooping (tcpdump) my interface. That gave the the following as what is...... UNIX for Dummies Questions & Answers
UNIX for Dummies Questions & Answers
Using cURL to submit a post form
I am trying to write a shell script to use curl in order to automate downloading data from a website. The URL with the post form is here: . I have a list of about 1800 different species I want to check. For Example, choose the first species and use the...... Shell Programming and Scripting
Shell Programming and Scripting
Curl Script - Post a file (multipart/form-data)
Anooja G
Hi All, I am trying to post an xml file (utf-16 encoded) using curl to a REST service. The REST service is expecting 'multipart/form-data' content type. curl -k -i -H "Content-Type=multipart/form-data" -F "filename=@file.xml;type=text/xml" -X POST -u <username>:<password> <endPointURL> ...... Shell Programming and Scripting
Shell Programming and Scripting
Curl - post form issue
I'm having an issue with curl post form, I dont' understand what I'm mising. I would like to send a post command login/password to a form, quite simple in the paper. URL : http: // <myebsite> / login Here the form source code : <form action="/login_check" method="post"> <input...... Web Development
Web Development
curl_easy_init(3)						  libcurl Manual						 curl_easy_init(3)

curl_easy_init - Start a libcurl easy session
#include <curl/curl.h> CURL *curl_easy_init( );
This function must be the first function to call, and it returns a CURL easy handle that you must use as input to other functions in the easy interface. This call MUST have a corresponding call to curl_easy_cleanup(3) when the operation is complete. If you did not already call curl_global_init(3), curl_easy_init(3) does it automatically. This may be lethal in multi-threaded cases, since curl_global_init(3) is not thread-safe, and it may result in resource problems because there is no corresponding cleanup. You are strongly advised to not allow this automatic behaviour, by calling curl_global_init(3) yourself properly. See the description in libcurl(3) of global environment requirements for details of how to use this function.
If this function returns NULL, something went wrong and you cannot use the other curl functions.
CURL *curl = curl_easy_init(); if(curl) { CURLcode res; curl_easy_setopt(curl, CURLOPT_URL, ""); res = curl_easy_perform(curl); curl_easy_cleanup(curl); }
curl_easy_cleanup(3), curl_global_init(3), curl_easy_reset(3), curl_easy_perform(3) libcurl 7.54.0 February 03, 2016 curl_easy_init(3)

Featured Tech Videos