[PHP] Changing the Time Zone in php.ini

2004-01-08 Thread Andy Higgins
Hello, I have a requirement to run two different sites that are in different time zones on the same machine. Does anyone know if this is possible to do by running two instances of php and making a change in the php.ini? Or do you have any other suggestions on how this can be done? Thank you. Reg

[PHP] Problem with fmod() function

2003-12-30 Thread Andy Higgins
Hello, My understanding from the documentation is that the fmod() function should work with floating point numbers however the following snippet of code: "; echo "y: $y "; echo "fmod: " . fmod($x, $y) . ""; ?> outputs the following: x: 1.05 y: 0.05 fmod: 0.05 I would have expected to get an a

[PHP] Re: Simple question

2003-12-28 Thread Andy Higgins
Hi Lab, I normally use code of the following format, which I think is quite neat: //Note that you do not need curely brackets in an "if" statement is there is only one line if ($_SERVER['REQUEST_METHOD'] == 'POST') $add = $HTTP_POST_VARS['textbox']; if ($add == 'Hello') do something //

Re: [PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andy Higgins
Hi Gerard, Thank you for your assistance you have been of enormous help. Regards, Andy "Gerard Samuel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday 27 December 2003 10:54 am, Andy Higgins wrote: > > > 1. At the time of login will the log

Re: [PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andy Higgins
[EMAIL PROTECTED] > > -Original Message- > > From: Andy Higgins [mailto:[EMAIL PROTECTED] > > Can anyone confirm whether > > AOL (or any > > other ISPs for that matter) change a user's IP address as seen by the web > > server (for eample through a proxy) within

Re: [PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andy Higgins
sage news:[EMAIL PROTECTED] > On Saturday 27 December 2003 07:03 am, Andy Higgins wrote: > > Hello All, > > > > I have been racking my head over a problem where a large percentage of > > users are unable to log into my php site due to what seems to be a problem > > with

[PHP] Re: SESSION Query

2003-12-27 Thread Andy Higgins
Hi Aniruddha, Try using session_start(); $HTTP_SESSION_VARS['session_referer'] = "abc.com"; and if (session_is_registered('session_referer')) go to abc.com; Regards, Andy "Aniruddha" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi PhpTeam, > > Iam runing PHP 4.3.0 on Apache

Re: [PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andy Higgins
login i.e. will it be possible for some one to hijack the login if this check is not there? Or does anyone have any other suggesstions for doing authentication? Thank you. Regards, Andy "Andras Kende" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -Original M

[PHP] PHP Session Variables Not Being Set For Certain Browsers

2003-12-27 Thread Andy Higgins
Hello All, I have been racking my head over a problem where a large percentage of users are unable to log into my php site due to what seems to be a problem with setting php session variables on certain end user browsers (certain versions of AOL seem to be particularly problematic). Below are some