Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Jagdeep Singh
I am working on e-learning module... On Sat, May 15, 2010 at 12:03 PM, Robert Cummings wrote: > Jagdeep Singh wrote: > >> Hi! >> >> Thanks for all the replies... But may of the solutions are not for my >> question. >> >> Friends! >> >> E.g. : If user1 has logged in Internet Explorer on IP adress

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Lester Caine
Jagdeep Singh wrote: Hi! Thanks for all the replies... But may of the solutions are not for my question. But I am unable to stop Multiple logins on same machine (ofcourse on different Browsers) Because each browser has different SESSION and Cookie system. As I have already said ... you need

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Robert Cummings
Jagdeep Singh wrote: Hi! Thanks for all the replies... But may of the solutions are not for my question. Friends! E.g. : If user1 has logged in Internet Explorer on IP adress (Say IP - A) with MAC Adress (MAC-X) Then No other user can login on that IP (IP-A) AND MAC Adress (MAC-X) on any other

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Jagdeep Singh
Hi! Thanks for all the replies... But may of the solutions are not for my question. Friends! E.g. : If user1 has logged in Internet Explorer on IP adress (Say IP - A) with MAC Adress (MAC-X) Then No other user can login on that IP (IP-A) AND MAC Adress (MAC-X) on any other browser say Firefox.

Re: [PHP] opening a link in a new window

2010-05-14 Thread Andrew Ballard
>> On Fri, May 14, 2010 at 8:59 AM, Andrew Ballard wrote: >> >> > This also has the side effect that the decision of whether to open a >> > link in the current window or a new window/tab belongs to the viewer >> > instead of the author, which some argue is exactly as it should be. >> > >> > Andrew

Re: [PHP] Question about creating php files from a form

2010-05-14 Thread Lester Caine
Kevin wrote: I am having some issues with connecting to a SQLite database right now ... I'm getting the following error "Fatal Error: 'sqlite_open' is an unknown function" But I'm putting that on the side right now. I think the docs are still screwed up. Try sqlite3_open() instead and see if th

Re: [PHP] var_dump( (0 == 'heading') ) == TRUE ?!

2010-05-14 Thread kranthi
== operator type casts the string to integer before comparing so the comparison boils down to 0 == 0 which is true these rules also apply to the switch statement http://php.net/manual/en/language.operators.comparison.php but with === the typecasting does no occur -- PHP General Mailing List (htt

Re: [PHP] var_dump( (0 == 'heading') ) == TRUE ?!

2010-05-14 Thread richard gray
On 15/05/2010 03:19, Daevid Vincent wrote: Can someone explain why an integer 0 compared to a string evaluates to boolean true?? var_dump( (0 == 'heading') ); Yet, var_dump( (1 == 'heading') ); Is FALSE. WTF? I would expect the 0 one to be FALSE too. http://www.php.net/manual/en/langua

Re: [PHP] var_dump( (0 == 'heading') ) == TRUE ?!

2010-05-14 Thread James Colannino
I'm pretty sure this is the right answer. If not, someone please correct me. PHP will compare the 0 against the integer represented by the string. So, for example, 0 == "0" would test true. 0 == "1" would test false. However, 'heading' doesn't represent a valid integer, so it appears on the ri

[PHP] var_dump( (0 == 'heading') ) == TRUE ?!

2010-05-14 Thread Daevid Vincent
Can someone explain why an integer 0 compared to a string evaluates to boolean true?? var_dump( (0 == 'heading') ); Yet, var_dump( (1 == 'heading') ); Is FALSE. WTF? I would expect the 0 one to be FALSE too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] Question about creating php files from a form

2010-05-14 Thread Kevin
Paul M Foster wrote: On Thu, May 13, 2010 at 11:53:54PM -0400, Kevin wrote: /On a side note: I am having some issues with connecting to a SQLite database right now ... I'm getting the following error "Fatal Error: 'sqlite_open' is an unknown function" But I'm putting that on the side right

Re: [PHP] PHP framework

2010-05-14 Thread Augusto Flavio
You can use the symfony. It's a great framework. Bye. Augusto Morais

Re: [PHP] PHP framework

2010-05-14 Thread Ashley Sheridan
On Sat, 2010-05-15 at 00:02 +0200, jfma...@electrex.pt wrote: > Greetings all! > > I new in template engines and frameworks, can you advice me the best php > framework. Do you all use smarty? I need something that does MVC and > templates, and specialy that has a lot of web resources to see other

[PHP] PHP framework

2010-05-14 Thread jfmatos
Greetings all! I new in template engines and frameworks, can you advice me the best php framework. Do you all use smarty? I need something that does MVC and templates, and specialy that has a lot of web resources to see other uers experiences and problems. Regards, Joao -- PHP General Mailing

Re: [PHP] opening a link in a new window

2010-05-14 Thread Michiel Sikma
On 14 May 2010 22:49, Ashley Sheridan wrote: > > There are still valid reasons to use it. On my own site for example, and > links which lead outside of my site open up in a new tab/window. I link > to a lot of other external sites often in my blog entries, and I think > it's valid that these link

Re: [PHP] opening a link in a new window

2010-05-14 Thread Adam Richardson
On Fri, May 14, 2010 at 4:49 PM, Ashley Sheridan wrote: > On Fri, 2010-05-14 at 13:18 -0400, Adam Richardson wrote: > > On Fri, May 14, 2010 at 8:59 AM, Andrew Ballard wrote: > > > On Thu, May 13, 2010 at 5:18 PM, Ashley Sheridan > > wrote: > > > On Thu, 2010-05-13 at 17:13 -0400, David Mehler

Re: [PHP] mysql_real_escape_string() and "

2010-05-14 Thread Michiel Sikma
On 14 May 2010 22:03, Spud. Ivan. wrote: > > I'm trying to insert a serialized data into mysql, but I does > mysql_real_escape_string() before inserting it. > > INSERT IGNORE INTO `table` (`value`) VALUES > ('a:3:{s:12:"F1";s:6:"nombre";s:11:"F2";s:5:"F3";s:16:"F4";s:10:"F5";}'); > > it result in

Re: [PHP] opening a link in a new window

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 13:18 -0400, Adam Richardson wrote: > On Fri, May 14, 2010 at 8:59 AM, Andrew Ballard wrote: > > > On Thu, May 13, 2010 at 5:18 PM, Ashley Sheridan > > wrote: > > > On Thu, 2010-05-13 at 17:13 -0400, David Mehler wrote: > > > > > >> Hello, > > >> I want to open an external

RE: [PHP] regexp questions

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 22:01 +0200, Spud. Ivan. wrote: > > > Hi, > > > > I'm trying to insert a serialized data into mysql, but I does > mysql_real_escape_string() before inserting it. > > > > INSERT IGNORE INTO `table` (`value`) VALUES > ('a:3:{s:12:"F1";s:6:"nombre";s:11:"F2";s:5:"F3"

RE: [PHP] regexp questions

2010-05-14 Thread Spud. Ivan.
> From: spudm...@hotmail.com > To: php-general@lists.php.net > Date: Fri, 14 May 2010 22:01:09 +0200 > Subject: RE: [PHP] regexp questions > > > > > Hi, > > > > I'm trying to insert a serialized data into mysql, but I does > mysql_real_escape_string() before inserting it. > > > > IN

[PHP] mysql_real_escape_string() and "

2010-05-14 Thread Spud. Ivan.
Hi, I'm trying to insert a serialized data into mysql, but I does mysql_real_escape_string() before inserting it. INSERT IGNORE INTO `table` (`value`) VALUES ('a:3:{s:12:"F1";s:6:"nombre";s:11:"F2";s:5:"F3";s:16:"F4";s:10:"F5";}'); it result in INSERT IGNORE INTO `table` (`value`) VALU

RE: [PHP] regexp questions

2010-05-14 Thread Spud. Ivan.
Hi, I'm trying to insert a serialized data into mysql, but I does mysql_real_escape_string() before inserting it. INSERT IGNORE INTO `table` (`value`) VALUES ('a:3:{s:12:"F1";s:6:"nombre";s:11:"F2";s:5:"F3";s:16:"F4";s:10:"F5";}'); it result in INSERT IGNORE INTO `table` (`value`

[PHP] Brandon Rampersad has invited you to open a Google mail account

2010-05-14 Thread Brandon Rampersad
I've been using Gmail and thought you might like to try it out. Here's an invitation to create an account. --- Brandon Rampersad has invited you to open a free Gmail account. To accept this invitation and register for your accou

[PHP] Zend Framework Ebook

2010-05-14 Thread Brandon Rampersad
Hello, does anyone have any zend framework 1.10 ebook recomendations. -- A Brandon_R Production

Re: [PHP] Append Dom Document

2010-05-14 Thread Andrew Ballard
On Fri, May 14, 2010 at 1:14 PM, Alice Wei wrote: > > Hi, > >   You are right about the fact I am not having multiple documents, and yet > what I am trying to do here is to have one xmldoc, which I have declared in > my original email, and have my other rss feeds that I am trying to call from >

Re: [PHP] opening a link in a new window

2010-05-14 Thread Adam Richardson
On Fri, May 14, 2010 at 8:59 AM, Andrew Ballard wrote: > On Thu, May 13, 2010 at 5:18 PM, Ashley Sheridan > wrote: > > On Thu, 2010-05-13 at 17:13 -0400, David Mehler wrote: > > > >> Hello, > >> I want to open an external link in a new window, i know i can do this > >> with xhtml, but only with

RE: [PHP] Append Dom Document

2010-05-14 Thread Alice Wei
Hi, You are right about the fact I am not having multiple documents, and yet what I am trying to do here is to have one xmldoc, which I have declared in my original email, and have my other rss feeds that I am trying to call from the PHP to append as I check more checkboxes from the list.

Re: [PHP] Question about creating php files from a form

2010-05-14 Thread tedd
At 11:07 PM -0400 5/13/10, Kevin wrote: Hello All, I am trying to figure out how to create files when a user submits a form ... I have seen something about '*fopen*' , is that the direction I should be going? Here is what I am trying to accomplish: I am creating a program to keep track of re

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread tedd
At 12:48 PM +0530 5/14/10, Jagdeep Singh wrote: Hi All! I am looking for a solution, I want a user to do a single Login only on a PC . E.g. If a User has logged on my website website.com in Internet explorer, then he cant login on same website in another browser like Firefox etc with same login

[PHP] Problem install modules using PEAR

2010-05-14 Thread Hansen, Mike
I'm on a older Solaris server with PHP 5.0.5. I'm trying to install Spreadsheet Excel Writer and the mail module using PEAR. /usr/local/php-5.0.5/bin/pear config-set http_proxy ##.###.###.##: /usr/local/php-5.0.5/bin/pear install Spreadsheet_Excel_Writer-0.9.2 -alldeps HTTP error, got respon

Re: [PHP] what's the point of _autoload?

2010-05-14 Thread Nathan Nobbe
On Fri, May 14, 2010 at 7:31 AM, Michael N. Madsen wrote: > Since php started to support oop it has moved more and more features in > that direction. > This is good for me because I love oop. Then came _autoload() and I was > rejoiced only to find that this (no fun)ction can't be used to it's ful

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Richard Quadling
On 14 May 2010 15:26, Bob McConnell wrote: > From: Richard Quadling > >>On 14 May 2010 14:47, Bob McConnell wrote: >>> Actually, I believe that linking a session to a specific individual >>> without reading a biometric key with every http request is an >>> unacceptable risk. And no, I don't do an

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Fernando
Hello Jagdeep, I think that using the user table will fix your first problem of having a single user tied to a browser for the same machine or even a different machine. Once logged in that same user cannot login again. For your second issue, I do not think is possible to keep track of anyth

RE: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 10:26 -0400, Bob McConnell wrote: > From: Richard Quadling > > >On 14 May 2010 14:47, Bob McConnell wrote: > >> Actually, I believe that linking a session to a specific individual > >> without reading a biometric key with every http request is an > >> unacceptable risk. And

RE: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Bob McConnell
From: Richard Quadling >On 14 May 2010 14:47, Bob McConnell wrote: >> Actually, I believe that linking a session to a specific individual >> without reading a biometric key with every http request is an >> unacceptable risk. And no, I don't do any banking online. > > That's why my bank has suppl

Re: [PHP] Append Dom Document

2010-05-14 Thread Nathan Nobbe
On Fri, May 14, 2010 at 7:20 AM, Andrew Ballard wrote: > On Fri, May 14, 2010 at 12:04 AM, Nathan Nobbe > wrote: > [snip] > > having said that if you wanted to append > > a new DOMNode to an existing one, you would use the appendChild() method. > > Usually, yes. In this case, since she would be

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Richard Quadling
On 14 May 2010 14:47, Bob McConnell wrote: > Actually, I believe that linking a session to a specific individual > without reading a biometric key with every http request is an > unacceptable risk. And no, I don't do any banking online. > > Bob McConnell That's why my bank has supplied me with a

RE: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Bob McConnell
From: Robert Cummings > Bob McConnell wrote: >> Web servers can only identify computers, not users. You will need >> something else to track which user started a specific application on a >> particular computer, probably a fingerprint scanner next to the >> keyboard. But that won't prevent someone

Re: [PHP] what's the point of _autoload?

2010-05-14 Thread Peter Lind
On 14 May 2010 15:31, Michael N. Madsen wrote: > Since php started to support oop it has moved more and more features in that > direction. > This is good for me because I love oop. Then came _autoload() and I was > rejoiced only to find that this (no fun)ction can't be used to it's fullest > poten

[PHP] Re: what's the point of _autoload?

2010-05-14 Thread Jo�o C�ndido de Souza Neto
I use this in a different way so I think it can be useful for everyone avoiding long and complex codes. I´ve got a file called classes.php that looks like: Smarty = BASE_PATH."includes/Smarty/Smarty.class.php"; $Classes->Mail = BASE_PATH."includes/mail/Mail.php"; ?> So my _autoload() looks l

[PHP] what's the point of _autoload?

2010-05-14 Thread Michael N. Madsen
Since php started to support oop it has moved more and more features in that direction. This is good for me because I love oop. Then came _autoload() and I was rejoiced only to find that this (no fun)ction can't be used to it's fullest potential in oop unless I have all the files in the same dir

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Andrew Ballard
On Fri, May 14, 2010 at 3:18 AM, Jagdeep Singh wrote: > Hi All! > > I am looking for a solution, I want a user to do a single Login only on a PC > . > > E.g. If a User has logged on my website website.com in Internet explorer, > then he cant login on same website in another browser like Firefox et

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Robert Cummings
Bob McConnell wrote: Web servers can only identify computers, not users. You will need something else to track which user started a specific application on a particular computer, probably a fingerprint scanner next to the keyboard. But that won't prevent someone else from replacing the entity bet

Re: [PHP] jquery password problem

2010-05-14 Thread Manolis Vlachakis
sorry for the off topic it is true that it turned out to be clearly a JS script problem ... thanks again for the replies problem solved then.. On 14 May 2010 16:23, Peter Lind wrote: > On 14 May 2010 15:16, Manolis Vlachakis > wrote: > > i uses str_replace finally and it works.. > > but still

Re: [PHP] jquery password problem

2010-05-14 Thread Peter Lind
On 14 May 2010 15:16, Manolis Vlachakis wrote: > i uses str_replace finally and it works.. > but still i would like to know how this problem comes up > cause i would like to be sure on whatever password is going to be used > weather that is a number a letter or a combination of those two > any ide

RE: [PHP] jquery password problem

2010-05-14 Thread Bob McConnell
From: Manolis Vlachakis > i uses str_replace finally and it works.. > but still i would like to know how this problem comes up > cause i would like to be sure on whatever password is going to be used > weather that is a number a letter or a combination of those two > > any ideas, You probably sh

Re: [PHP] Append Dom Document

2010-05-14 Thread Andrew Ballard
On Fri, May 14, 2010 at 12:04 AM, Nathan Nobbe wrote: [snip] > having said that if you wanted to append > a new DOMNode to an existing one, you would use the appendChild() method. Usually, yes. In this case, since she would be importing nodes from one document into another document, she would nee

Re: [PHP] jquery password problem

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 16:16 +0300, Manolis Vlachakis wrote: > i uses str_replace finally and it works.. > but still i would like to know how this problem comes up > cause i would like to be sure on whatever password is going to be used > weather that is a number a letter or a combination of those

RE: [PHP] Question about creating php files from a form

2010-05-14 Thread Bob McConnell
From: Kevin > I am trying to figure out how to create files when a user submits a form ... > I have seen something about '*fopen*' , is that the direction I should > be going? > > Here is what I am trying to accomplish: > > I am creating a program to keep track of recipes for my wife. I have >

Re: [PHP] Append Dom Document

2010-05-14 Thread Andrew Ballard
On Thu, May 13, 2010 at 7:46 PM, Alice Wei wrote: > > Hi, > >  I am trying to create a news feed page that loads a number of different > feeds depending on what options the user selects. For some reason, I could > not figure out how to get the dom document to "append" the different xml > docume

Re: [PHP] jquery password problem

2010-05-14 Thread Manolis Vlachakis
i uses str_replace finally and it works.. but still i would like to know how this problem comes up cause i would like to be sure on whatever password is going to be used weather that is a number a letter or a combination of those two any ideas, oh and thank you for your replies ! Manolis Vlachaki

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Floyd Resler
On May 14, 2010, at 3:18 AM, Jagdeep Singh wrote: > Hi All! > > I am looking for a solution, I want a user to do a single Login only on a PC > . > > E.g. If a User has logged on my website website.com in Internet explorer, > then he cant login on same website in another browser like Firefox etc

Re: [PHP] opening a link in a new window

2010-05-14 Thread Andrew Ballard
On Thu, May 13, 2010 at 5:18 PM, Ashley Sheridan wrote: > On Thu, 2010-05-13 at 17:13 -0400, David Mehler wrote: > >> Hello, >> I want to open an external link in a new window, i know i can do this >> with xhtml, but only with the transitional dtd, which i'm not using. I >> was wondering if php co

RE: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Bob McConnell
Web servers can only identify computers, not users. You will need something else to track which user started a specific application on a particular computer, probably a fingerprint scanner next to the keyboard. But that won't prevent someone else from replacing the entity between the keyboard and t

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 04:26 -0500, Karl DeSaulniers wrote: > Only other thing I could think of is a session timeout. > Because if two people are using the same computer, one person is > going to be away long enough to time out. > > HTH > > Karl > > > > On May 14, 2010, at 4:21 AM, Karl DeSa

Re: [PHP] Question about creating php files from a form

2010-05-14 Thread Richard Quadling
On 14 May 2010 04:07, Kevin wrote: > Hello All, > > I am trying to figure out how to create files when a user submits a form ... > I have seen something about '*fopen*' , is that the direction I should be > going? > > Here is what I am trying to accomplish: > > I am creating a program to keep trac

Re: [PHP] Question about creating php files from a form

2010-05-14 Thread Ashley Sheridan
On Thu, 2010-05-13 at 23:53 -0400, Kevin wrote: > Ashley Sheridan wrote: > > On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote: > >> Hello All, > >> > >> I am trying to figure out how to create files when a user submits a form > >> ... > >> I have seen something about '*fopen*' , is that the directi

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Richard Quadling
On 14 May 2010 08:18, Jagdeep Singh wrote: > Hi All! > > I am looking for a solution, I want a user to do a single Login only on a PC > . > > E.g. If a User has logged on my website website.com in Internet explorer, > then he cant login on same website in another browser like Firefox etc with > sa

Re: [PHP] jquery password problem

2010-05-14 Thread Karl DeSaulniers
On May 14, 2010, at 4:38 AM, Peter Lind wrote: On 14 May 2010 11:29, Karl DeSaulniers wrote: On May 14, 2010, at 4:01 AM, Manolis Vlachakis wrote: I encode my password with md5 base 64 ..on the php side but i have a problem with the POST that this function i using on my form. after posti

Re: [PHP] jquery password problem

2010-05-14 Thread Peter Lind
On 14 May 2010 11:29, Karl DeSaulniers wrote: > On May 14, 2010, at 4:01 AM, Manolis Vlachakis wrote: > >> I encode my password with md5 base 64 ..on the php side but >> i have a problem with the POST that this function i using on my form. >> after posting my data + is replaced with space >> >> I

Re: [PHP] jquery password problem

2010-05-14 Thread Karl DeSaulniers
On May 14, 2010, at 4:01 AM, Manolis Vlachakis wrote: I encode my password with md5 base 64 ..on the php side but i have a problem with the POST that this function i using on my form. after posting my data + is replaced with space I came out with that explanation after a lot of tries and echos

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Karl DeSaulniers
Only other thing I could think of is a session timeout. Because if two people are using the same computer, one person is going to be away long enough to time out. HTH Karl On May 14, 2010, at 4:21 AM, Karl DeSaulniers wrote: Hi J, Well, if you have an active users table with a users name

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Karl DeSaulniers
Hi J, Well, if you have an active users table with a users name in it and you check when logging in to see if that users name is in that table, They can not log in again. No matter what machine or browser they are in. As far as another user logging in on that same machine, you could match

[PHP] jquery password problem

2010-05-14 Thread Manolis Vlachakis
I encode my password with md5 base 64 ..on the php side but i have a problem with the POST that this function i using on my form. after posting my data + is replaced with space I came out with that explanation after a lot of tries and echos in my code files i found out that after using numbers ,o

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Karl DeSaulniers
You lost me on that one. You want it so that multiple users can log in, but they have to be on separate browsers? Karl On May 14, 2010, at 3:26 AM, Jagdeep Singh wrote: Hi, yes, I can make a databse table to record LOGIN details, But I want that No other user can login on same machin

[PHP] Re: problem with passing-by-reference

2010-05-14 Thread Rene Veerman
> On Fri, May 14, 2010 at 10:09 AM, Rene Veerman wrote: >> Hi. >> >> I'm doing the 5.3-strict thing, and am removing all my >> passing-by-reference muck from a script of mine. >> >> But i've run into a problem; >> >> I use the following construct to push new values fairly deeply inside >> an array

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Lester Caine
Jagdeep Singh wrote: Hi, yes, I can make a databse table to record LOGIN details, But I want that No other user can login on same machine on smae or another browser. E.g. If user1 has logged in from IE then user2 should not login from Firefox or Chrome etc.. I need ONLY ONE USER ACCESS AT SAME TI

Re: [PHP] problem with passing-by-reference

2010-05-14 Thread Peter Lind
On 14 May 2010 10:09, Rene Veerman wrote: > Hi. > > I'm doing the 5.3-strict thing, and am removing all my > passing-by-reference muck from a script of mine. > > But i've run into a problem; > > I use the following construct to push new values fairly deeply inside > an array structure; > > $chase

[PHP] Re: problem with passing-by-reference

2010-05-14 Thread Rene Veerman
changed all function-definitions to include a "&" before their name, no change in behavior though.. On Fri, May 14, 2010 at 10:09 AM, Rene Veerman wrote: > Hi. > > I'm doing the 5.3-strict thing, and am removing all my > passing-by-reference muck from a script of mine. > > But i've run into a pro

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Jagdeep Singh
Hi, yes, I can make a databse table to record LOGIN details, But I want that No other user can login on same machine on smae or another browser. E.g. If user1 has logged in from IE then user2 should not login from Firefox or Chrome etc.. I need ONLY ONE USER ACCESS AT SAME TIME ON SAME MACHINE

[PHP] problem with passing-by-reference

2010-05-14 Thread Rene Veerman
Hi. I'm doing the 5.3-strict thing, and am removing all my passing-by-reference muck from a script of mine. But i've run into a problem; I use the following construct to push new values fairly deeply inside an array structure; $chase = chaseToReference ($wm, $path); $arr = result($chase); $arr[

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Peter Lind
On 14 May 2010 09:29, Lester Caine wrote: > Jagdeep Singh wrote: >> >> Hi All! >> >> I am looking for a solution, I want a user to do a single Login only on a >> PC >> . >> >> E.g. If a User has logged on my website website.com in Internet explorer, >> then he cant login on same website in another

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Tommy Pham
On Fri, May 14, 2010 at 12:29 AM, Lester Caine wrote: > Jagdeep Singh wrote: >> >> Hi All! >> >> I am looking for a solution, I want a user to do a single Login only on a >> PC >> . >> >> E.g. If a User has logged on my website website.com in Internet explorer, >> then he cant login on same websit

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Karl DeSaulniers
Just remember to remove them from this table on log out. Karl Sent from losPhone On May 14, 2010, at 2:23 AM, Karl DeSaulniers wrote: Hi Jagdeep, I would make an "active users" table in your database that the username gets loaded into on successful login and in your login script also ch

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Lester Caine
Jagdeep Singh wrote: Hi All! I am looking for a solution, I want a user to do a single Login only on a PC . E.g. If a User has logged on my website website.com in Internet explorer, then he cant login on same website in another browser like Firefox etc with same loginid or another. Can I trace

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Karl DeSaulniers
Hi Jagdeep, I would make an "active users" table in your database that the username gets loaded into on successful login and in your login script also check this table before letting them log in. Karl On May 14, 2010, at 2:18 AM, Jagdeep Singh wrote: Hi All! I am looking for a solution,

[PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Jagdeep Singh
Hi All! I am looking for a solution, I want a user to do a single Login only on a PC . E.g. If a User has logged on my website website.com in Internet explorer, then he cant login on same website in another browser like Firefox etc with same loginid or another. Can I trace MAC address of a singl