[PHP-DEV] Bug #14596 Updated: how to assign a list of array value into the session

2002-01-03 Thread haplo232

ID: 14596
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Summary: error occur when using include_path
Status: Bogus
Bug Type: Session related
Operating System: winNT
PHP Version: 4.0.6
New Comment:

may i know how to have a interactive between an array and the session ?
 
Question1 : how to assign a list of array value into the session variable ?

Question2 : how to retrieve the value from session and put it back into the array ?

thanks.

Previous Comments:


[2001-12-27 22:48:08] [EMAIL PROTECTED]

how should i assign a value into the session ?
i have try:
// at page1.php
session_start();
session_register(cart);
$cart = hello;

// at page2.php
   session_start();
   session_register(cart);
   echo $cart;

there is no result comes out at page2.php
it is my scripting have some problem ?



[2001-12-20 02:46:48] [EMAIL PROTECTED]

leave out include_path and then

  include f:\apacheweb\www_bl\arch\head2.inc;

directly from your script. I'm pretty sure the problem lies somewhere else.

Daniel Lorch



[2001-12-20 02:21:41] [EMAIL PROTECTED]

where should i put the include_path ? is it on the php.ini file or put it at the top 
of the file ?



[2001-12-20 02:13:41] [EMAIL PROTECTED]

where should i put the include_path ? is it on the php.ini file or put it at the top 
of the file ?



[2001-12-19 21:37:32] [EMAIL PROTECTED]

dont know why, each time i try to use include_path in my coding then there will occur 
a error on it, the error is:
  Parse error: parse error in 
  f:\apacheweb\www_bl\eng\stat\head1.php on line 2

the server i use is apache and the OS i use is WinNT, is it true that i write my code 
like this and shall the file extension need to change to .inc :
  include_path=.;f:\apacheweb\www_bl\arch\head2.php

i also have try the method ur suggest to me b4, like :
1) include_path=.;f:\apacheweb\www_bl\arch\
   include head.inc

2) auto_prepend_file=f:\apacheweb\www_bl\arch\head2.inc

3) use two \\ instead of one \
   add a slash (\\ or \) after .inc
   use / instead of \

but still cant solve the problem.
anywhere, thanks for ur help.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=14596


Edit this bug report at http://bugs.php.net/?id=14596edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14596 Updated: error occur when using include_path

2001-12-27 Thread haplo232

ID: 14596
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Old Bug Type: *Configuration Issues
Bug Type: Session related
Operating System: winNT
PHP Version: 4.0.6
New Comment:

how should i assign a value into the session ?
i have try:
// at page1.php
session_start();
session_register(cart);
$cart = hello;

// at page2.php
   session_start();
   session_register(cart);
   echo $cart;

there is no result comes out at page2.php
it is my scripting have some problem ?

Previous Comments:


[2001-12-20 02:46:48] [EMAIL PROTECTED]

leave out include_path and then

  include f:\apacheweb\www_bl\arch\head2.inc;

directly from your script. I'm pretty sure the problem lies somewhere else.

Daniel Lorch



[2001-12-20 02:21:41] [EMAIL PROTECTED]

where should i put the include_path ? is it on the php.ini file or put it at the top 
of the file ?



[2001-12-20 02:13:41] [EMAIL PROTECTED]

where should i put the include_path ? is it on the php.ini file or put it at the top 
of the file ?



[2001-12-19 21:37:32] [EMAIL PROTECTED]

dont know why, each time i try to use include_path in my coding then there will occur 
a error on it, the error is:
  Parse error: parse error in 
  f:\apacheweb\www_bl\eng\stat\head1.php on line 2

the server i use is apache and the OS i use is WinNT, is it true that i write my code 
like this and shall the file extension need to change to .inc :
  include_path=.;f:\apacheweb\www_bl\arch\head2.php

i also have try the method ur suggest to me b4, like :
1) include_path=.;f:\apacheweb\www_bl\arch\
   include head.inc

2) auto_prepend_file=f:\apacheweb\www_bl\arch\head2.inc

3) use two \\ instead of one \
   add a slash (\\ or \) after .inc
   use / instead of \

but still cant solve the problem.
anywhere, thanks for ur help.



[2001-12-19 10:00:23] [EMAIL PROTECTED]

uuhmm .. include_PATH not include_FILE. it should read like this:

include_path=.;f:\apacheweb\www_bl\arch\

(and then include head2.inc; in your script)

OR

auto_prepend_file = f:\apacheweb\www_bl\arch\head2.inc;

NON-bug. bogus. closed.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=14596


Edit this bug report at http://bugs.php.net/?id=14596edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14711: format currency

2001-12-26 Thread haplo232

From: [EMAIL PROTECTED]
Operating system: 
PHP version:  4.0.6
PHP Bug Type: Unknown/Other Function
Bug description:  format currency

can u tell me how to define the data which the data type is currency
format, i have try to use currency_symbol but still cant get the result.
-- 
Edit bug report at: http://bugs.php.net/?id=14711edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14596 Updated: error occur when using include_path

2001-12-19 Thread haplo232

ID: 14596
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: *Configuration Issues
Operating System: winNT
PHP Version: 4.0.6
New Comment:

dont know why, each time i try to use include_path in my coding then there will occur 
a error on it, the error is:
  Parse error: parse error in 
  f:\apacheweb\www_bl\eng\stat\head1.php on line 2

the server i use is apache and the OS i use is WinNT, is it true that i write my code 
like this and shall the file extension need to change to .inc :
  include_path=.;f:\apacheweb\www_bl\arch\head2.php

i also have try the method ur suggest to me b4, like :
1) include_path=.;f:\apacheweb\www_bl\arch\
   include head.inc

2) auto_prepend_file=f:\apacheweb\www_bl\arch\head2.inc

3) use two \\ instead of one \
   add a slash (\\ or \) after .inc
   use / instead of \

but still cant solve the problem.
anywhere, thanks for ur help.

Previous Comments:


[2001-12-19 10:00:23] [EMAIL PROTECTED]

uuhmm .. include_PATH not include_FILE. it should read like this:

include_path=.;f:\apacheweb\www_bl\arch\

(and then include head2.inc; in your script)

OR

auto_prepend_file = f:\apacheweb\www_bl\arch\head2.inc;

NON-bug. bogus. closed.



[2001-12-19 02:56:28] [EMAIL PROTECTED]

POssible solutions:

use the / instead of the \
use two \\ instead of one \
add a slash (\\ or /) after .inc

Derick



[2001-12-19 02:50:49] [EMAIL PROTECTED]

i have a problem on using include_path for different directory, i have try the code 
like :
include_path=.;f:\apacheweb\www_bl\arch\head2.inc

but the error have occur like the following :
Parse error: parse error in f:\apacheweb\www_bl\eng\stat\head1.php on line 1





Edit this bug report at http://bugs.php.net/?id=14596edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14596 Updated: error occur when using include_path

2001-12-19 Thread haplo232

ID: 14596
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: *Configuration Issues
Operating System: winNT
PHP Version: 4.0.6
New Comment:

where should i put the include_path ? is it on the php.ini file or put it at the top 
of the file ?

Previous Comments:


[2001-12-19 21:37:32] [EMAIL PROTECTED]

dont know why, each time i try to use include_path in my coding then there will occur 
a error on it, the error is:
  Parse error: parse error in 
  f:\apacheweb\www_bl\eng\stat\head1.php on line 2

the server i use is apache and the OS i use is WinNT, is it true that i write my code 
like this and shall the file extension need to change to .inc :
  include_path=.;f:\apacheweb\www_bl\arch\head2.php

i also have try the method ur suggest to me b4, like :
1) include_path=.;f:\apacheweb\www_bl\arch\
   include head.inc

2) auto_prepend_file=f:\apacheweb\www_bl\arch\head2.inc

3) use two \\ instead of one \
   add a slash (\\ or \) after .inc
   use / instead of \

but still cant solve the problem.
anywhere, thanks for ur help.



[2001-12-19 10:00:23] [EMAIL PROTECTED]

uuhmm .. include_PATH not include_FILE. it should read like this:

include_path=.;f:\apacheweb\www_bl\arch\

(and then include head2.inc; in your script)

OR

auto_prepend_file = f:\apacheweb\www_bl\arch\head2.inc;

NON-bug. bogus. closed.



[2001-12-19 02:56:28] [EMAIL PROTECTED]

POssible solutions:

use the / instead of the \
use two \\ instead of one \
add a slash (\\ or /) after .inc

Derick



[2001-12-19 02:50:49] [EMAIL PROTECTED]

i have a problem on using include_path for different directory, i have try the code 
like :
include_path=.;f:\apacheweb\www_bl\arch\head2.inc

but the error have occur like the following :
Parse error: parse error in f:\apacheweb\www_bl\eng\stat\head1.php on line 1





Edit this bug report at http://bugs.php.net/?id=14596edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14596 Updated: error occur when using include_path

2001-12-19 Thread haplo232

ID: 14596
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: *Configuration Issues
Operating System: winNT
PHP Version: 4.0.6
New Comment:

where should i put the include_path ? is it on the php.ini file or put it at the top 
of the file ?

Previous Comments:


[2001-12-20 02:13:41] [EMAIL PROTECTED]

where should i put the include_path ? is it on the php.ini file or put it at the top 
of the file ?



[2001-12-19 21:37:32] [EMAIL PROTECTED]

dont know why, each time i try to use include_path in my coding then there will occur 
a error on it, the error is:
  Parse error: parse error in 
  f:\apacheweb\www_bl\eng\stat\head1.php on line 2

the server i use is apache and the OS i use is WinNT, is it true that i write my code 
like this and shall the file extension need to change to .inc :
  include_path=.;f:\apacheweb\www_bl\arch\head2.php

i also have try the method ur suggest to me b4, like :
1) include_path=.;f:\apacheweb\www_bl\arch\
   include head.inc

2) auto_prepend_file=f:\apacheweb\www_bl\arch\head2.inc

3) use two \\ instead of one \
   add a slash (\\ or \) after .inc
   use / instead of \

but still cant solve the problem.
anywhere, thanks for ur help.



[2001-12-19 10:00:23] [EMAIL PROTECTED]

uuhmm .. include_PATH not include_FILE. it should read like this:

include_path=.;f:\apacheweb\www_bl\arch\

(and then include head2.inc; in your script)

OR

auto_prepend_file = f:\apacheweb\www_bl\arch\head2.inc;

NON-bug. bogus. closed.



[2001-12-19 02:56:28] [EMAIL PROTECTED]

POssible solutions:

use the / instead of the \
use two \\ instead of one \
add a slash (\\ or /) after .inc

Derick



[2001-12-19 02:50:49] [EMAIL PROTECTED]

i have a problem on using include_path for different directory, i have try the code 
like :
include_path=.;f:\apacheweb\www_bl\arch\head2.inc

but the error have occur like the following :
Parse error: parse error in f:\apacheweb\www_bl\eng\stat\head1.php on line 1





Edit this bug report at http://bugs.php.net/?id=14596edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14596: error occur when using include_path

2001-12-18 Thread haplo232

From: [EMAIL PROTECTED]
Operating system: winNT
PHP version:  4.0.6
PHP Bug Type: *Configuration Issues
Bug description:  error occur when using include_path

i have a problem on using include_path for different directory, i have try
the code like :
include_path=.;f:\apacheweb\www_bl\arch\head2.inc

but the error have occur like the following :
Parse error: parse error in f:\apacheweb\www_bl\eng\stat\head1.php on line
1
-- 
Edit bug report at: http://bugs.php.net/?id=14596edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]