30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Zend Server <strong>Reference</strong> Manual<br />

134<br />

}<br />

// here we call the function to validate the credit card validate_c<br />

redit_card_number($_POST['credit_code']);<br />

Instead of calling the function from inside the script we will create a job that will be executed when<br />

we specify it to run. The script will be replaced with a call to the Job Queue API as follows:<br />

The application script after modification:<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!