Site Admin
|
you can't use slash this way. It's why you got syntax error. Also you can't change extension_dir setting in run-time. So either copy file into extension_dir specified in php.ini or use relative path in dl() function call. |
||||||||||||||
_________________ The PHP IDE team |
it send me the next error |
|
Hello,
I add the next line dl('..\..\..\..\..\..\Inetpub\vhosts\jalconsulting.com.mx\httpdocs\siase\phpexpress-php-5.2.dll'), however, it send next warning Warning: dl() [function.dl]: Temporary module name should contain only filename in C:\Inetpub\vhosts\jalconsulting.com.mx\httpdocs\siase\index.php on line 5 My code is : <?php session_start(); // Carga la biblioteca de extensión de Nu-Coder de NuSphere if (!extension_loaded('NuSphere PhpExpress')) { dl('..\..\..\..\..\..\Inetpub\vhosts\jalconsulting.com.mx\httpdocs\siase\phpexpress-php-5.2.dll'); } require_once('Clases/lib/mysql.php') ; Regards, Marco Polo |
||||||||||||
|
|
Hello,
Looks like you have php 5.2.5 - this warning means that you can't use relative path, only file name, and it loads it from the extension directory, which you can't change during run-time, so the only way is to ask your service provider to copy our dll to the extension directory. Regards, Sergey |
||||||||||||
|
installation on shared hosting? |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by