Hi all
i’m trying to use a 3rd party library with classes
Normally i’ve to create a test.php file with the following code
[INDENT]<?php
echo ‘start process<br>’;
require_once (’/var/www/spcdev/SpcEngine.php’);
echo ‘loading array<br>’;
$user = array(‘username’ => ‘usertest’, ‘email’ => ‘usertest@your-host.com’);
echo ‘create user<br>’;
Spc::createUser($user);
echo ‘end<br>’;
?>
[/INDENT]
and in this way everything is running well thru the command php -f test.php.
But if i use the same code inside a blank application on the onExecute event, then nothing seems to run: just the first message is showed and that’s all. No errors and no warning.
Someome have an idea?
Thank in advance.