[PHP] Re: Problem with variables

2013-06-25 Thread Jim Giner
On 6/25/2013 5:46 PM, Fernando A wrote: Hello, I am working with php and codeigniter, but I have not yet experienced. I need create a variable that is available throughout system. This variable contains the number of company and can change. as I can handle this? Thank you, very much! Ferd O

[PHP] Problem with variables

2013-06-25 Thread Fernando A
Hello, I am working with php and codeigniter, but I have not yet experienced. I need create a variable that is available throughout system. This variable contains the number of company and can change. as I can handle this? Thank you, very much! Ferd

Re: [PHP] Migration of applications to PHP 5.4

2013-06-25 Thread Paul M Foster
On Tue, Jun 25, 2013 at 07:58:32PM +0200, Forum wrote: > Hello, > > i recently migrated my webserver from Debian Lenny (with PHP 4.x) to Wheezy > with PHP 5.4. > > Some applications like mediawiki could be updated and they are running fine. > > But there are some old and beloved applications t

[PHP] Migration of applications to PHP 5.4

2013-06-25 Thread Forum
Hello, i recently migrated my webserver from Debian Lenny (with PHP 4.x) to Wheezy with PHP 5.4. Some applications like mediawiki could be updated and they are running fine. But there are some old and beloved applications that run any more. A good example is PHPmyedit 5.7.1 http://www.phpmyedi

[PHP] Migration of applications to PHP 5.4

2013-06-25 Thread Forum
Hello, i recently migrated my webserver from Debian Lenny (with PHP 4.x) to Wheezy with PHP 5.4. Some applications like mediawiki could be updated and they are running fine. But there are some old and beloved applications that run any more. A good example is PHPmyedit 5.7.1 http://www.phpmyedi

[PHP] Re: Some Advice

2013-06-25 Thread Jonesy
On Tue, 25 Jun 2013 09:40:04 -0300, Samuel Lopes Grigolato wrote: > --047d7b2e430e0b34d004dff9d47c > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > Just be cautious if going to check IP, because: > > 1) The two users could be in the same house or cybe

Re: [PHP] Some Advice

2013-06-25 Thread Samuel Lopes Grigolato
Just be cautious if going to check IP, because: 1) The two users could be in the same house or cybercafé, which gives them the same IP. 2) The user could be traveling with a wireless card, his IP would change quite a lot in this scenario. On Tue, Jun 25, 2013 at 9:32 AM, wrote: > You should at

Re: [PHP] Some Advice

2013-06-25 Thread Alex Pojarsky
Putting your session-ID into post will require you to POST every page, rather then GET it. And every anchor user clicks will have to POST, not GET. On Tue, Jun 25, 2013 at 4:32 PM, wrote: > You should at least check the IP of the client additionally to have some > prove > it is the same client y

Re: [PHP] Some Advice

2013-06-25 Thread php
You should at least check the IP of the client additionally to have some prove it is the same client you gave the session-ID. And it is better to put the session-ID in a POST-field than in GET. So it es very unlikely someone passes a session ID around accidently. -- PHP General Mailing List (htt

Re: [PHP] Some Advice

2013-06-25 Thread Floyd Resler
Thanks for pointing me to that. Looks to be much simpler that they way I was going to do it. Thanks! Floyd On Jun 25, 2013, at 8:17 AM, Samuel Lopes Grigolato wrote: > Hope it helps: > http://stackoverflow.com/questions/3740845/php-session-without-cookies (go > directly to the answer) >

Re: [PHP] Some Advice

2013-06-25 Thread Samuel Lopes Grigolato
But please, PLEASE, read carefully: *If a user were to copy and paste the URL of the page they were on, and someone else were to click on it, they would both be using the same session.* On Tue, Jun 25, 2013 at 9:17 AM, Samuel Lopes Grigolato < samuel.grigol...@gmail.com> wrote: > Hope it helps:

Re: [PHP] Some Advice

2013-06-25 Thread Samuel Lopes Grigolato
Hope it helps: http://stackoverflow.com/questions/3740845/php-session-without-cookies (go directly to the answer) On Tue, Jun 25, 2013 at 9:15 AM, Floyd Resler wrote: > I use sessions to store login information. However, a particular user of > a site can only access it at the library which has

[PHP] Some Advice

2013-06-25 Thread Floyd Resler
I use sessions to store login information. However, a particular user of a site can only access it at the library which has cookies shut off. So, I'm thinking of creating an entry in the database with a unique identifier and expiration time. I would then pass that identifier to each page. Do

[PHP] Re: Thread-Hijacking (was: Re: [PHP] Fwd: Is it possible???)

2013-06-25 Thread Maciek Sokolewicz
On 25 June 2013 10:02, Tamara Temple wrote: > Maciek Sokolewicz wrote: > > Please please please please don't do this! > > Please Please Please Do Not Hijack Threads. > Hijacking would be starting a completely different discussion in the same thread. This wasn't a discussion-starter, rather a wa

[PHP] Thread-Hijacking (was: Re: [PHP] Fwd: Is it possible???)

2013-06-25 Thread Tamara Temple
Maciek Sokolewicz wrote: > Please please please please don't do this! Please Please Please Do Not Hijack Threads. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php