Did anyone have success with the require() function??
| From: | Scott Fletcher | Date: | Fri, 10 Oct 2003 17:09:16 +0000 |
| Subject: | Did anyone have success with the require() function?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-165767@lists.php.net to get a copy of this message | ||
Hi Fellas!
Did anyone have success with making the required function work if using
this sample code. It didn't work for me.
--snip--
require("$_REQUEST['PDF_LIB_PATH']");
--snip--
But I have success if I do this instead...
--snip--
$PDF_LIB_PATH = $_REQUEST['PDF_LIB_PATH'];
require("$PDF_LIB_PATH");
--snip--
Anyone know why is that?
Thanks,
Scott F.