Tag Archives: php

Google Adsense Warning about Rejected Ad Requests

(written by jca2112)

Google just sent out an email warning publishers they need to fix "Rejected ad requests" errors by August 15, 2012. The warning also appears in the Adsense interface (if you have any rejected ad errors).

If you visit the How to fix these errors page, the fix involves using a Google adsense tag (or Google Doubleclick for Publishers tag, etc.) to tell Adsense the page where the ad has been placed. Example tag:

googletag.pubads().set("page_url", "URL");

My question:

How do you replace "URL" in the above example with the current page’s url?

Posted in AdSense Placements | Tagged , , , , | 20 Comments

PHP Affected by Critical Security Flaw

An extremely serious security flaw has been discovered in PHP, requiring that all affected servers be updated as a matter of urgency.

The flaw allows a remote webserver running an affected version of PHP to be crashed using nothing more than a URL request.

If you are running a 64 bit version of PHP you are unaffected, but if you are running in 32 bit mode, or you are not sure,

Now would be a good time to drop everything and make sure that your server is not vulnerable, by installing the latest version of PHP either from php.net, or from your own webserver vendor. Zend Server has a hotfix available already.

Due to the massive impact of the flaw and the trivial way in which it can be exploited, news of this bug will spread rapidly so speed is of the essence in getting your server patched.

Posted in Website Development | Tagged , , , , | 5 Comments