Featured Article: Asynchronous calls in PHP / Drupal

The other day I was looking for ways to do asynchronous calls in PHP and found this great hint

Now the question was how to use this in Drupal to send email or SMS without blocking the main code.

Drupal provide a fantastic queueing capability and with that it's easy to implement this. To send an email or SMS or any such activity asynchronously do the following

Tip: Private Bulk Upload to Amazon S3 in Drupal

If you are using Amazon S3 services and need to upload large files or you want an ad-hoc "page" to upload large files that it can be downloaded by another party, S3 gives a trivially easy way to do this.
1. Create a bucket in S3
2. You'll need a policy and signature to upload. use the simple php script to generate it

$policy_doc = '{"expiration": "2199-01-01T00:00:00Z",' . "\n" .
'"conditions": [' . "\n" .
'{"bucket": "YOURBUCKETNAME"},' . "\n" .
'["starts-with", "$key", "UPLOADFOLDER/"],' . "\n" .

Our Services

Drupal is the most widely adopted CMS and we are proud to be running several applications and sites on Drupal. Thousands of contributed modules and a vibrant community makes it a primary choice for running an application or a pure content management system.

Module Development

We undertake module development and many of the module that we have developed have been contributed to the community and maintained by us with no additional cost to you. You can request us for a quote for your needs here.

Mobile Applications

We specialize in developing standalone mobile applications and those that need to seamlessly extend your webapp developed on Drupal or any other platform.


We at Moreno's LTD develops high-volume content sites that serve us in our on going internet marketing efforts.

We found Sudhir when we posted a bounty for a bit complex FaceBook to Drupal integration project that we needed some help with...

Itzhak Moreno, Internet Marketing Read full testimonial...