drupal 7 , drupal 6 solutions
drupal 7 , drupal 6 solutions, we are here for drupal solutions
Thursday, September 26, 2013
join table delete result msyql query
DELETE FROM `node_revisions`
WHERE vid IN (
SELECT vid
FROM node
WHERE type = 'features_test'
)
Tuesday, September 10, 2013
PHP CSV IMPORT AND DELETE ENTRIESE
PHP CSV IMPORT AND DELETE ENTRIESE
Filename:
SELECT ACTION:
ADD
DELETE
UPDATE
0) { echo "Error: " . $_FILES["file"]["error"] . "
"; } else { $path = $_FILES["file"]["tmp_name"]; } ?>
PHP Magic methods
In oops Magic Methods
oops auto function like
__construct()
,
__destruct()
,
__call()
,
__callStatic()
,
__get()
,
__set()
,
__isset()
,
__unset()
,
__sleep()
,
__wakeup()
,
__toString()
,
__invoke()
,
__set_state()
and
__clone(6)
are called magical in PHP classes. You cannot create functions with these names in any of your classes unless you want the magic functionality associated with them.
Monday, September 9, 2013
php post data script
$url = 'https://app.getresponse.com/add_contact_webform.html'; $post = array("name" => "Gareth", "email" => "gareth@mail.com", "submit" => "Sign Up!", "webform_id" => "523155" ); $response = sendPostData($url, $post); function sendPostData($url, $post){ $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($post)); return curl_exec($ch); } echo $response;
this is php post script, with this script you can send data to other server easly mostly this script used in payment getway and sms getway.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)