English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Warning: dl() [function.dl]: Unable to load dynamic library 'C:\PHP\Extensions\C:\Sites\Single16\groundbrandon\webroot\bboysspace\php_ming.dll' - The specified module could not be found. in C:\Sites\Single16\groundbrandon\webroot\bboysspace\1.php on line 9

Fatal error: Class 'SWFMovie' not found in C:\Sites\Single16\groundbrandon\webroot\bboysspace\1.php on line 22



source code is


if(!extension_loaded('ming'))

{
if(strtoupper(substr(PHP_OS, 0, 3)) =='WIN')

{

dl('C:\Sites\Single16\groundbrandon\webroot\bboysspace\php_ming.dll');
}

else

{
dl('C:\Sites\Single16\groundbrandon\webroot\bboysspace\php_ming.so');
}

}
?>

$myMovie = new SWFMovie();
$myMovie->setDimension(400, 300);
$myMovie->setRate(30);
$myMovie->setBackground(0, 0, 0);

// Now output the movie
header("Content-type:application/x-shockwave-flash");
$myMovie->output();
?>

2007-04-01 05:39:38 · 4 answers · asked by groundbrandon 3 in Computers & Internet Programming & Design

how do I access it without using a absoute path? It's rented webspace

2007-04-01 05:57:33 · update #1

4 answers

You can find about the absolute path by using the global $_SERVER.

example: if your local path is /my/movie.swf
then $absolute_path = $_SERVER['DOCUMENT_ROOT'].'/my/movie.swf';

will give you the absolute path.

2007-04-01 21:48:55 · answer #1 · answered by emmanuel_ide 1 · 0 0

Check extensions_dir parameter of your PHP.ini file. If it is pointed to direcotry, check that directory has that required dll file.
If there is no file, then you will have to get that file and paste in the folder where all your php extensions reside.

2007-04-02 08:25:27 · answer #2 · answered by Atif Majid 3 · 0 0

You said it's on rented webspace. With whom? A webhost?

2007-04-01 13:15:40 · answer #3 · answered by Jen 2 · 0 0

dl('C:\Sites\Single16\groundbr... --> don't use an absolute path...
why? because the module will be load at this path..
C:\PHP\Extensions\C:\Sites\Sites\Single16\groundbr...
and there's no path like that on C:\PHP\....

hope this help you...

2007-04-01 12:44:58 · answer #4 · answered by billytheburninginferno 2 · 1 1

fedest.com, questions and answers