Ran into a problem today while trying to pass a bunch of dynamic variables through a URL to another page.
Kept getting the error about include_path and not being found.
I know I'm editing the proper .ini file 'cause I can see my changes in the php info directly after.
Finally, the only way for me to fix it was to change the ALLOW_URL_INCLUDE in my .ini file, which is a complete cheat and very temporary. You can see it below. So, knowing the URL method works, makes me think I haven't been entering a proper path in the "include_path" section of my .ini file.
Here is my directory if it helps with any ideas:
CLGi (top folder)
-----> _includes
--------------->email (sub-folder to _includes)
-----> modules
-----> templates
I had to run this code below from a file in MODULES to make it work, but it's not a long-term solution:
Code: Select all
include ("http://localhost/CLGi/_includes/email/welcome.php?resend_welcome_email&b_first_name=".$b_first_name."&b_last_name=".$b_last_name."&users_id=".$_SESSION["users_id"]."&account=".$account."&username=".$username."&company_name=".$affiliate."&sub_domain=".$sub_domain."");
I'm confused about PEAR. Is this something I have to have to fix this problem? Do I need PEAR at all?
I'm using UniServer Zero XI for my local server.
I've looked at dozens of online help, but nothing seems to work.
Any help would be greatly appreciated.
Thank you!