php-windows Digest 16 Nov 2002 23:41:30 -0000 Issue 1444
Topics (messages 16991 through 16992):
PHP4 installation-problem, getting download-screen
16991 by: Andreas Ferge
looping the query_string into a $var=$value
16992 by: Matt Babineau
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi,
I've just installed PHP4 with Apache 1.3.x on Wondows XP. When I start the
info-script
<?php
phpinfo();
?>
i always get the download-screen. What is wrong here? Apache is working
well. Please help me, I'm a newbie.
Thanks in advance!
Andreas
--- End Message ---
--- Begin Message ---
I was wondering how I can loop over the QUERY_STRING server variable to
make all the get variables into a localized variables. I know it has
something to do with setting the variable using a double $$? is that
correct?
/*localize url vars */
$urlQuery_string = explode("&", $_SERVER['QUERY_STRING']);
for ($i=0; $i < count($urlQuery_string); $i++) {
$keyvalue = explode("=", $urlQuery_String[$i]);
/* ok now what? */
}
--- End Message ---