php-general | 2003022
Date: 02/26/03
- Next message: Patrick LOK: "[PHP] Object programming with PHP5"
- Previous message: Cal Evans: "RE: [PHP] Newbie Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Code snippet:
<?
$url_array=explode("/",$REQUEST_URI);
echo "request_uri: $REQUEST_URI<br>\n";
print_r($url_array);
?>
This works fine under Apache 1.3.27 with PHP 4.2.3 running on Linux.
But on a Win32 environment, no go. I have Apache 1.3.24 with PHP 4.2.3
on WinXP and $url_array is just plain blank...for that matter, so is
$REQUEST_URI when I try to echo it. However, when I look at phpinfo(),
the data is there, so why is the array empty, and why does it echo as
empty as well? Apache settings are the same on both environments by the
way.
-- M | I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley <email protected>> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature
- Next message: Patrick LOK: "[PHP] Object programming with PHP5"
- Previous message: Cal Evans: "RE: [PHP] Newbie Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

