PHP : HTTP Post with Curl
A sample function to use curl post data. $data=array() $data=array(); $data[“field1″]=”hello world”; $data[“user”]=”hello user”; curl_post($url,$data) function curl_post($url,$fields) { //open connection…
A sample function to use curl post data. $data=array() $data=array(); $data[“field1″]=”hello world”; $data[“user”]=”hello user”; curl_post($url,$data) function curl_post($url,$fields) { //open connection…
The service record for ldap and kerberos are used to identify LDAP and Kerberos server for a domain in Active…
I built a customize alert, and there are some required fields on the form. User must provide data for these…
There will come a time when you need to start some scripts at startup, but you don’t want to to…
session_set_save_handler(“open”, “close”, “read”, “write”, “destroy”, “gc”); function read($id) { //if we can’t find the data for this session, we must…
This is mostly because the script is hang at some point , the server still keeps the connection, this will…
You can run this command:
mcrypt extension is an interface to the mcrypt cryptography library. mcrypt is included in php5 to php7.1 , but it’s…
git clone https://github.com/commx/python-rrdtool.git -c http.sslVerify=false
if you use#! /bin/zsh $MYVAR=”Hello world” if [[ $MYVAR == *”hello”*]] thenecho “FOUND”fi If we don’t use #! /bin/zsh $MYVAR=”Hello…