Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Swish-e Module with PHP

From: Zhou Xiang <xiz407(at)not-real.gmail.com>
Date: Thu Mar 05 2009 - 19:29:54 GMT
Thanks for the reply, but when i use "swish" instead of "swishe", it echos:

"Functions available in the test extension:"

And nothing else.

Here is the test program:

<?php
if(!extension_loaded('swish')) {
	dl('/usr/local/swish-0.3.0/modules/swish.so');
}
$module = 'swish';
$functions = get_extension_funcs($module);

echo "Functions available in the test extension:<br>\n";

foreach($functions as $func) {
    echo $func."<br>\n";
}
echo "<br>\n";
$function = 'confirm_' . $module . '_compiled';
if (extension_loaded($module)) {
	$str = $function($module);

} else {
	$str = "Module $module is not compiled into PHP";
}
echo "$str\n<br>";
?>

Can you figure out the problem? Thank you!


On Wed, Mar 4, 2009 at 4:01 PM, Jordan Hayes <jmhayes@speakeasy.net> wrote:

> > http://digital.lib.lehigh.edu/info.php
>
> Says you have a module called "swish" compiled.
>
> >    $module = 'swishe';
>
> I think you mean 'swish' ...
>
> /jordan
> _______________________________________________
> Users mailing list
> Users@lists.swish-e.org
> http://lists.swish-e.org/listinfo/users
>


_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Mar 5 14:29:56 2009