[Xitami] PHP4 Problems..

Thomas J. Hruska xitami@lists.xitami.org
Thu, 26 Jul 2001 22:08:46 -0500


At 04:46 PM 7/26/01 -0700, you wrote:
>index.php file is <?  header("Location: menu.php?menu=1&submenu=0");
>?>.  In checking the debug files, it does seem to find and read the

If you want to use relative 'Location:' headers like you have above, you
will need to use XiFusion as Xitami (latest stable release) does not
support server-side redirection, thus the 'Location:' must either be
absolute (header("Location: /fw/menu.php?menu=1&submenu=0");) OR you use
XiFusion as it will handle the server-side redirections (both relative and
absolute) correctly.

>file, but it's output size is 0.  I tried to parse it via the command

XiFusion will always guarantee at least 1 byte of HTML output...that way
IE/Netscape/etc. does not "hang" waiting for a page to return.

>line, but got nothing.  I also tried
>http://localhost/fw/menu.php?menu=1&submenu=0, but it did not work.

That's odd.  What exactly happened when you ran that script (logfile data,
debug info., etc.)?


           Thomas J. Hruska -- shinelight@crosswinds.net
Shining Light Productions -- "Meeting the needs of fellow programmers"
                  http://www.shininglightpro.com/