I'm new in PHP. I run file.php on my PC with Firefox but I don't know how see error. What I can add to see it, is possible if I have this file on pc and not on server?
Maybe this:
error_reporting(E_ALL);
ini_set('display_errors', 1);
or it works only on Apache?
I tried nothing because I don't know how solve it.
This my file.php
<?php
include('wrapper.php');
$apikey = "xxx7d7391d1e68e9680e6";
voxmail_init($apikey);
voxmail_user_subscribe(array('mail' => 'xxxxx@gmail.com','privacy' => 1));
?>
This file used api newsletter service (the code - for assistance of service - is ok) and voxmail_user_subscribe
register the email address at newsletter. wrapper.php
is file in same folder of file.php for use API of this service.
In this wrapper.php is there include other file xmlrpc.inc
(also in same folder)
Now when I run file.php in my browser the only thing that I see is this:
**'xxxx@gmail.com','privacy' => 1));?>**
but the assistant servec tried my code and works... he ask me to show error log, but I don't know where is this log.