AW: [PHP] php 4 php 5

2005-03-04 Thread Mario Micklisch
[snip] Is there a way to install two version of php on the same machine, and use them for two different users? [/snip] No. Yes! Having that in my LiteSpeed-Servers configuration with 3 different PHP Versions. No problem if you use CGI or fastCgi's. On Apache also possible via the

AW: [PHP] pulling content from a URL

2005-03-04 Thread Mario Micklisch
[..] into a variable. I need to include some sort of error checking that will kill this request if for some reason the URL request hangs for more then 15 seconds. In researching this, I think the correct function to use is fsockopen, but I can't seem to get it to work. Can someone

Re: [PHP] downloading files

2004-08-19 Thread Mario Micklisch
Hi Aaron, [..] The download files are in a directory protected by htaccess which it is my understanding that PHP can go underneath htaccess to get access to the files. My problem is where do I put this directory? I was already told to put it outside the web root directory, [..] Both are

AW: [PHP] checking multiple URL parameters

2004-09-16 Thread Mario Micklisch
I know you could write a short script that would do it, but I think I saw a built-in function that did it as well. I think parse_str is what you're looking for: http://www.php.net/manual/en/function.parse-str.php i.e. parse_str(getenv('QUERY_STRING')) -- Mario -Ursprüngliche