View previous topic :: View next topic
Author
Message
scollo Guest
Posted: Tue Feb 16, 1999 8:23 pm Post subject: Dynamic Loading
Hello,
I'm trying to dynamically load a library in my PHP script.
When I tried:
dl ("test.php3");
I received the message:
Fatal error: Unable to load dynamic library './test.php3' - (then some random characters) invalid ELF header...
I checked my php3.ini file. Experimentally, I've added the lines:
enable_dl=On; extension=test.php3;
But I still get the "invalid ELF header".
What is an ELF header?
What am I doing wrong?
How can I fix it?
Back to top
scollo Guest
Posted: Wed Feb 17, 1999 4:29 am Post subject: RE: Dynamic Loading
Well, I now see that I need require() or include() instead of dl().
Live and learn.
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum