php-general Digest 16 Jun 2012 22:35:46 -0000 Issue 7857

2012-06-16 Thread php-general-digest-help
php-general Digest 16 Jun 2012 22:35:46 - Issue 7857 Topics (messages 318257 through 318260): Re: define() 318257 by: Maciek Sokolewicz 318258 by: Karl DeSaulniers 318259 by: Ashley Sheridan 318260 by: tamouse mailing lists Administrivia: To subscribe to

[PHP] define()

2012-06-16 Thread Karl DeSaulniers
Quick question phprz. Is it ok to put a token inside a define() statement? IE: define('TOKEN', $sometoken); I guess what I am really after is if this can be read by a hacker? I may be misguided as to what define()'s parameters are. Once you define something it becomes a server variable? And

[PHP] Re: define()

2012-06-16 Thread Maciek Sokolewicz
On 16-06-2012 08:36, Karl DeSaulniers wrote: Quick question phprz. Is it ok to put a token inside a define() statement? IE: define('TOKEN', $sometoken); I guess what I am really after is if this can be read by a hacker? I may be misguided as to what define()'s parameters are. Once you define

[PHP] Re: define()

2012-06-16 Thread Karl DeSaulniers
On Jun 16, 2012, at 6:39 AM, Maciek Sokolewicz wrote: On 16-06-2012 08:36, Karl DeSaulniers wrote: Quick question phprz. Is it ok to put a token inside a define() statement? IE: define('TOKEN', $sometoken); I guess what I am really after is if this can be read by a hacker? I may be

Re: [PHP] Re: define()

2012-06-16 Thread Ashley Sheridan
On Sat, 2012-06-16 at 07:09 -0500, Karl DeSaulniers wrote: On Jun 16, 2012, at 6:39 AM, Maciek Sokolewicz wrote: On 16-06-2012 08:36, Karl DeSaulniers wrote: Quick question phprz. Is it ok to put a token inside a define() statement? IE: define('TOKEN', $sometoken); I guess

Re: [PHP] Re: define()

2012-06-16 Thread tamouse mailing lists
On Sat, Jun 16, 2012 at 7:17 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sat, 2012-06-16 at 07:09 -0500, Karl DeSaulniers wrote: On Jun 16, 2012, at 6:39 AM, Maciek Sokolewicz wrote: On 16-06-2012 08:36, Karl DeSaulniers wrote: Quick question phprz. Is it ok to put a token