phprockers-logo

Customize your permalinks in wordpress

0 comments
%hour% – The hour of the time stamp of your post (1-24)
%minute% – The minute of the time stamp of your post (1-60)
%second% – The second of the time stamp of your post (1-60)
%category% – The category slug (wordpress-tutorials)
%author% – The author’s name (Leland)

Beauityful Short Story

0 comments
Little girl and her father were crossing a bridge.The father was kind of scared so he asked his little daughter,"Sweetheart, please hold my hand so that you don't fall into the river."The little girl said, "No, Dad. You hold my hand.""What's the difference?" Asked the puzzled father."There's a big difference," replied the little girl.
"If I hold your hand and something happens to me,chances are that I may let your hand go.But if you hold my hand, I know for sure that no matter what happens,you will never let my hand go." In any relationship, the essence of trust is not in its bind, but in its bond. So hold the hand of the person who loves you rather than expecting them to hold yours.....

what is CMS in php

0 comments
Content Management System (CMS) that provides you with the tools you need to easily create and manage your website. With tons of features and incredibly flexible. A Content Management System ( CMS ) is used to add, edit, and delete content on a website.

How to delete the Queue in Amazan?

1 comments
// Delete a queue

$sqs = new AmazonSQS();
$response = $sqs->delete_queue('https://sqs.us-east-1.amazonaws.com/0123456789/example-queue');

// Success?
var_dump($response->isOK());

How to list the Queues in Amazan?

0 comments
1. Method:

// List queues
$sqs = new AmazonSQS();
$response = $sqs->list_queues();

// Success?
var_dump($response->isOK());

2.Method
// List queues with prefix 'a'
$sqs = new AmazonSQS();
$response = $sqs->list_queues(array(
'QueueNamePrefix' => 'a'));

// Success?
var_dump($response->isOK());

How to send message via Queue in Amazon?

0 comments
The SendMessage action delivers a message to the specified queue.

// Send a message to the queue
$sqs = new AmazonSQS();
$response = $sqs->send_message('example-queue', 'This is my message.');

// Success?
var_dump($response->isOK());