Click here to Skip to main content
16,005,169 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
Questionphp help [modified] Pin
SHINOJK4-Feb-09 4:46
SHINOJK4-Feb-09 4:46 
AnswerRe: php help Pin
Mohammad Dayyan11-Feb-09 5:21
Mohammad Dayyan11-Feb-09 5:21 
AnswerRe: php help Pin
Marc Firth4-Mar-09 1:47
Marc Firth4-Mar-09 1:47 
QuestionDynamic subdomain Pin
SHINOJK4-Feb-09 4:43
SHINOJK4-Feb-09 4:43 
AnswerRe: Dynamic subdomain Pin
Marc Firth5-Mar-09 23:52
Marc Firth5-Mar-09 23:52 
QuestionDynamic subdomain Pin
SHINOJK4-Feb-09 4:04
SHINOJK4-Feb-09 4:04 
GeneralPHP Code Req. on payment Pin
Moon00923-Feb-09 22:15
Moon00923-Feb-09 22:15 
QuestionHelp regarding php Pin
tksrules1-Feb-09 20:42
tksrules1-Feb-09 20:42 
I have a php program that uses sessions : there are about 12 variables. I understand that to initialise these session variables I have to add &nbs p; $_SESSION['variable']; can this be an array- eg? &nbs p; $_SESSION ['variable1,'variable2'] Is this done before or after registering the session variable. Is this initialization of session variables done once when the session is created or for each page? Thanks



Optional Information:
OS: Unix; Browser: IE

Already Tried:
I'm converting the program to run with PHP 5.0 with globals on - this is what exists on the home page:
session_cache_limiter('none');
session_start();
session_register('pass_action');
session_register('user_name');
session_register('user_input');
session_register('user_encrypt');
session_register('user_artist_or_org');
session_register('user_id');
session_register('artist');
session_register('copyright');
session_register('org_id');
session_register('organization');
session_register('store_user_name');
session_register('store_user_input');
session_register('store_user_id');
session_register('store_user_encrypt');
session_register('store_user_artist_or_org');
session_register('artist_id');

Somehow I have to initialize these variables.
I have not tried anything yet because the manual info is confusing to me.
Thanks
AnswerRe: Help regarding php Pin
jceresini6-Mar-09 12:49
jceresini6-Mar-09 12:49 
Questionphp basics Pin
s4_sabahatf1-Feb-09 17:19
s4_sabahatf1-Feb-09 17:19 
AnswerRe: php basics Pin
EliottA2-Feb-09 2:30
EliottA2-Feb-09 2:30 
AnswerRe: php basics Pin
Rao Rafique9-Feb-09 0:36
Rao Rafique9-Feb-09 0:36 
AnswerRe: php basics Pin
Ioannis_o59-Feb-09 6:01
Ioannis_o59-Feb-09 6:01 
QuestionPHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages Pin
LazyDragonfist31-Jan-09 19:01
LazyDragonfist31-Jan-09 19:01 
AnswerRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages Pin
EliottA2-Feb-09 2:33
EliottA2-Feb-09 2:33 
GeneralRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages Pin
LazyDragonfist2-Feb-09 4:31
LazyDragonfist2-Feb-09 4:31 
GeneralRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages [modified] Pin
EliottA2-Feb-09 4:34
EliottA2-Feb-09 4:34 
GeneralRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages Pin
LazyDragonfist2-Feb-09 4:44
LazyDragonfist2-Feb-09 4:44 
GeneralRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages Pin
EliottA2-Feb-09 4:46
EliottA2-Feb-09 4:46 
GeneralRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages Pin
LazyDragonfist2-Feb-09 4:53
LazyDragonfist2-Feb-09 4:53 
GeneralRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages [modified] Pin
EliottA2-Feb-09 5:02
EliottA2-Feb-09 5:02 
GeneralRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages Pin
LazyDragonfist2-Feb-09 5:13
LazyDragonfist2-Feb-09 5:13 
GeneralRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages Pin
EliottA2-Feb-09 5:14
EliottA2-Feb-09 5:14 
GeneralRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages Pin
EliottA2-Feb-09 5:15
EliottA2-Feb-09 5:15 
GeneralRe: PHP and MYSQL Getting all rows (around 10000 rows)of a query in a single html pages Pin
LazyDragonfist2-Feb-09 5:32
LazyDragonfist2-Feb-09 5:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.