[PHP] compile error

2001-03-05 Thread Doug Kite

I am having trouble installing php4.

When I try to compile, it stops with the following error:

In file included from /usr/src/php4/ext/standard/fsock.h:43,
 from /usr/src/php4/ext/standard/php_standard.h:43,
 from main.c:52:
/usr/include/sys/socket.h:48: conflicting types for `socklen_t'
php.h:115: previous declaration of `socklen_t'
*** Error code 1

Stop.

This is on a machine that has been recently upgraded to FreeBSD
3.0-stable.

Can anyone advise how to fix this error?

Thank you,
Doug

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] sessions without cookies

2001-02-03 Thread Doug Kite

How can you get something like:

header ("Location: $PHP_SELF?");

to redirect with the sessid in the url? In my tests, it redirects, but
does not append the sessid.

I have compiled with --enable-trans-sid. Transparent sid is working, I
can use it on links like:

">

and it works. I have put this on the links on my page, so that the
session will be kept even if the user has cookies disabled. But if the
user (who has cookies disabled) clicks on the browser back button, they
go back to the first page and start a new session.

Is there a way to redirect this first page back to itself quickly, with
the sessid in the url, so that even a user with cookies disabled will
not lose the session if they use the browser back or reload buttons?

Thanks,
Doug

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]