- version 3.6
Check those constraints:
$this->anything()
<?php | |
$ldaphost = "localhost"; | |
$ldabindDN = "cn=admin,dc=local,dc=test"; | |
$ldapassw = "edpplc"; | |
$ldapport = 389; | |
$ldap = ldap_connect($ldaphost, $ldapport) or die("Could not connect to $ldaphost"); | |
echo 'Connecting to ' . $ldaphost . '...'; |
# remove specific file from git cache | |
git rm --cached filename | |
# remove all files from git cache | |
git rm -r --cached . | |
git add . | |
git commit -m ".gitignore is now working" |
Possible values for ext-name: | |
bcmath | |
bz2 | |
calendar | |
ctype | |
curl | |
dba | |
dom | |
enchant |
$.ajax({ | |
url: 'api/url', | |
method: 'POST', | |
data: {var:'val'}, | |
// data: JSON.stringify({var:'val'}), // send data in the request body | |
// contentType: "application/json; charset=utf-8", // if sending in the request body | |
dataType: 'json' | |
}).done(function(data, textStatus, jqXHR) { | |
// because dataType is json 'data' is guaranteed to be an object | |
console.log('done'); |