[PHP]help with include() and require() in php higher than 4.3.0 for windows
Hi guys, sorry to bother you again, but unless I get this right I'm a dead man.
So here's my problem, I have to make a webpage with user authentication and some other features and to avoid making 10000 .html files or using iframes, I thought of separating the webpage into .php files and using include() or require() to bind them togheter. Now here's the real problem, my webserver is the latest WAMP server running on Windows. According to php.net Manual :
Quote:
Windows versions of PHP prior to PHP 4.3.0 do not support accessing remote files via this function, even if allow_url_fopen is enabled.
So my question is this: What should I do to make these functions work with my current configuration?
Thanks, in advance.
Re: [PHP]help with include() and require() in php higher than 4.3.0 for windows
are you trying to get files from another server? or from another folder?
Re: [PHP]help with include() and require() in php higher than 4.3.0 for windows
as I said earlier, I am breaking up a webpage in serveral .php files and using another .php file to bind them all togheter. That means that they're all in the same folder. And my question wasn't connected to the things you asked. My question was if I can bypass the php core setting in the windows version of php so I can actually use the functions include() and require().
Re: [PHP]help with include() and require() in php higher than 4.3.0 for windows
If the files aren't remote I don't see why this wouldn't work. You posted yourself:
Quote:
Windows versions of PHP prior to PHP 4.3.0 do not support accessing remote files via this function, even if allow_url_fopen is enabled.
If it's not remote files, it should work fine.
Re: [PHP]help with include() and require() in php higher than 4.3.0 for windows
Exactly.
Also, seeing how noobish this question is (even TRYING yourself would have yielded the answer) is this hereby locked.