php-general Digest 25 Jun 2013 19:34:17 -0000 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 Lopes Grigolato
        321484 by: Samuel Lopes Grigolato
        321485 by: Floyd Resler
        321486 by: php.nobswolf.info
        321487 by: Alex Pojarsky
        321488 by: Samuel Lopes Grigolato
        321489 by: Jonesy

Migration of applications to PHP 5.4
        321490 by: Forum
        321491 by: Forum
        321492 by: Paul M Foster

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
Maciek Sokolewicz <maciek.sokolew...@gmail.com> wrote:
> Please please please please don't do this!

Please Please Please Do Not Hijack Threads.

--- End Message ---
--- Begin Message ---
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. This wasn't a discussion-starter, rather a warning ;)

- Tul

--- End Message ---
--- Begin Message ---
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.  Does that 
sound like a good alternative to sessions or is there something else I could do?

Thanks!
Floyd



--- End Message ---
--- Begin Message ---
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 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.  Does
> that sound like a good alternative to sessions or is there something else I
> could do?
>
> Thanks!
> Floyd
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
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:
> 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 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.  Does
>> that sound like a good alternative to sessions or is there something else I
>> could do?
>>
>> Thanks!
>> Floyd
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>

--- End Message ---
--- Begin Message ---
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 
> 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 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.  Does that 
> sound like a good alternative to sessions or is there something else I could 
> do?
> 
> Thanks!
> Floyd
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


--- End Message ---
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
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 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 (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
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> wrote:

> 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 (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
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 cybercaf=E9, which gives the=
> m
> the same IP.
> 2) The user could be traveling with a wireless card, his IP would change
> quite a lot in this scenario.

Or, it could be an AOL user and requess could be routed through
who knows how many different requestors.



--- End Message ---
--- Begin Message ---
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.phpmyedit.org/
The first page with data is displayed but all links and buttons are dead!

There is no error produced by PHP and i have no idea why it is not working?
I'm have only basic knowledge with PHP and would be glad to have some tips how 
to debug things without error.

My hope is that this migration problem is known and can be fixed simply?

Thanks
Karsten


--- End Message ---
--- Begin Message ---
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.phpmyedit.org/
The first page with data is displayed but all links and buttons are dead!

There is no error produced by PHP and i have no idea why it is not working?
I'm have only basic knowledge with PHP and would be glad to have some tips how 
to debug things without error.

My hope is that this migration problem is known and can be fixed simply?

Thanks
Karsten


--- End Message ---
--- Begin Message ---
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 any more.
> A good example is PHPmyedit 5.7.1 http://www.phpmyedit.org/
> The first page with data is displayed but all links and buttons are dead!
> 
> There is no error produced by PHP and i have no idea why it is not working?
> I'm have only basic knowledge with PHP and would be glad to have some tips 
> how to debug things without error.
> 
> My hope is that this migration problem is known and can be fixed simply?

You should probably turn your error reporting threshold way up, so you
can see what's happening.

Ultimately, you'll probably need to contact the authors of the
individual packages to get them to upgrade, so they can see the problems
and fix them. 

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

--- End Message ---

Reply via email to