Commenting out these lines instantly made my script run in a browser.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Probably your server configuration uses FastCGI or something else SAPI,
which not initializes PHP_SELF correctly.
If this is possible can you post var_dump($_SERVER); here?
среда, 30 января 2013 г., 18:08:33 UTC+4 пользователь Alan Coleman написал:
>
> If comment out the return line in the follo
If comment out the return line in the following, then the script works:
// Don't run the example if the file is being included.
if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
//return;
}
Does anyone know why this is?
Many thanks
On Tuesday, January 29, 2013 6:07:36 PM UTC, Alan Coleman wro
Hello,
I'm running *aw_api_php_lib_3.2.2 on localhost*
I'm able to run GetCampaigns.php in the command line and return my data
from Adwords.
However running the same file through a browser returns a blank screen and
no errors.
Does anyone have any ideas?
Many thanks
--
--
=~=~=~=~=~=~=~=