Thanks to all, I got it working - sort of. It works perfectly on
Windows, but will not work on Linux. I am using the same versions of
PHP, Apache and MySQL on both. I have asked this before and have been
told they are interchangeable, but more times than not I have to make a
bunch of changes to get it to work on Linux - and this is just another
example. I use Windows to do all the coding and design as it has all the
tools. Linux is just a bare bones box with no gui or tools. The php.ini
and httpd.conf are the same on both platforms (other than what is needed
for the specific platform). This makes it a real pain.

Oh well, back to my debugging.


-----Original Message-----
From: Curt Zirzow [mailto:[EMAIL PROTECTED] 
Sent: July 22, 2003 7:04 PM
To: PHP
Subject: Re: [PHP] Redirection Question


* Thus wrote Beauford.2005 ([EMAIL PROTECTED]):
> Maybe I didn't explain enough. What if they come from b.php or c.php. 
> How do I automatically log what page they tried to access. So hard 
> coding login.php?next=a.php would only work for one page.

Use the code that Grant Rutherford posted earlier, its the same concept
just a whole lot more flexible than mine. Not to mention a bit more
secured.

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

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



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

Reply via email to