Firstly, I apologize if this has already been asked in the past; I've
not been a regular reader of this list and I couldn't find mention of my
problem after a cursory search of the archives (which are a bit
overwhelming to search exhaustively)...

On one of my machines, I'm running PHP 4.1.2.  On another machine, I'm
running 4.2.1.  The script I'm having problems with runs fine under
4.1.2, but fails to work under 4.2.1.

What my script is doing is live file system browsing.  Over-simplified,
it reads a directory of files, then makes everything it finds active
links to be downloaded, or directories to be browsed. I pass everything
back to the script using $PHP_SELF, so there's no CGI or "forms"
involved in the transaction.  The URL after browsing down a directory,
and being parsed and returned to the browser, would look something like
this:

http://myserver/index.php?dir2=somedirectory

In 4.1.2, if I echo $dir2 at the beginning of the script just for
testing, it will echo the value of the variable without issue.  In
4.2.1, the variable never appears to get set at all, although it does
show up just the same in $QUERY_STRING under both versions of PHP, so I
know something is at least being passed back to the server.

Does this make sense how I explained it?  Can anybody tell me what's
changed between versions that would make the script (or, really, PHP)
ignore the value I'm passing back?  (I looked at the changelog, but
didn't really see anything that I understood to be related to the
problem I'm experiencing.)

TIA,
Jamie

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to