Hi,
I'm trying to run the afcs script using the tips from the Adobe TV site, but I'm getting an error
Content-type: text/html
<br />
<b>Parse error</b>: syntax error, unexpected T_STRING in <b>/home/content/t/o/s/tosugi/html/php_scripts/afcs.php</b> on line <b>33</b><br />
Any ideas?
My script is called index.php
<?
include 'afcs.php';
$cocomo = new AFCSAccount('http://connectnow.acrobat.com/xxxx');
$cocomo->login("xxxx@xxx.com","password");
?>
Views
Replies
Total Likes
What version of PHP are you using ? The script is for PHP5 and it will not run for PHP4.
Views
Replies
Total Likes
Raff,
I'm using PHP 5.2.8
-Tom
Views
Replies
Total Likes
So, what do you have on line 33 in afcs.php ?
The latest version show this:
line 33: interface AFCSUserRole {
const NONE = 0;
const LOBBY = 5;
const VIEWER = 10;
const PUBLISHER = 50;
const OWNER = 100;
}
And it looks correct to me. Do you have something different ?
Can you try to run the script from the command line ? You should be able to do:
php afcs.php
Thanks!
Views
Replies
Total Likes
Raff,
Something seems strange with my php or environment, I think. I just tried the same script at on my home pc, and it works. So I guess, nevermind! Thanks for the quick reply this afternoon.
-Tom
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies