php-general Digest 25 Jun 2013 06:03:47 -0000 Issue 8277

2013-06-25 Thread php-general-digest-help
php-general Digest 25 Jun 2013 06:03:47 - Issue 8277 Topics (messages 321468 through 321479): Is it possible??? 321468 by: Karl-Arne Gjersøyen 321469 by: Stuart Dallas 321470 by: raphael khaiat 321471 by: Karl-Arne Gjersøyen 321472 by: Stuart Dallas

php-general Digest 25 Jun 2013 19:34:17 -0000 Issue 8278

2013-06-25 Thread php-general-digest-help
php-general Digest 25 Jun 2013 19:34:17 - Issue 8278 Topics (messages 321480 through 321492): Thread-Hijacking (was: Re: [PHP] Fwd: Is it possible???) 321480 by: Tamara Temple 321481 by: Maciek Sokolewicz Some Advice 321482 by: Floyd Resler 321483 by: Samuel

Re: [PHP] Fwd: Is it possible???

2013-06-25 Thread php
On Mon, Jun 24, 2013 at 06:17:33PM +0200, Maciek Sokolewicz wrote: Please please please please don't do this! 1) You did not answer the question, nor giving any related information. 2) This was debug-output. I see not point in optimizing. 3) print is language construct, just as is echo 4)

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

2013-06-25 Thread Tamara Temple
Maciek Sokolewicz maciek.sokolew...@gmail.com 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

[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 tamouse.li...@gmail.com wrote: Maciek Sokolewicz maciek.sokolew...@gmail.com 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.

[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.

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 fres...@adex-intl.com wrote: I use sessions to store login information. However, a particular user of a site can only access it at

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 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 samuel.grigol...@gmail.com wrote: Hope it helps: http://stackoverflow.com/questions/3740845/php-session-without-cookies (go

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

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, p...@nobswolf.info wrote: You should at least check the IP of the client additionally to have some prove it is

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, p...@nobswolf.info

[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

[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

[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

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 that run

[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

[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