RE: [PHP] sessions

2001-12-11 Thread PACKER, Steffan
You need to have session_start(); at the top of each page that needs to use the session vars, also check that session.use_trans_sid is set to 1 in your ini file hope this helps! -Original Message- From: Anthony [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 3:54 PM To:

[PHP] argv

2001-11-23 Thread PACKER, Steffan
the $argv is meant to contain all the arguments sent to the script. I need to get access to these but when I try to access them I can't! if I just use echo($argv) the only output is 'Array' All I am expecting to find for the purpose of my script is a five letter code, not a name/value pair. Can

RE: [PHP] fopen and paths

2001-11-13 Thread PACKER, Steffan
in the include_path first to see if the file exists but simply creates it in the active documents directory. Any ideas would be appreciated! Steffan -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 3:22 AM To: PACKER, Steffan; '[EMAIL PROTECTED

RE: [PHP] Form's : making me sick!

2001-11-13 Thread PACKER, Steffan
You cannot nest forms however if you set the action to the same page and submit the entire form to itself, then you can use javascript to change the action to the eventual target by using an onChange event on the final field: input type=text name-lastField

RE: [PHP] $GLOBALS

2001-11-13 Thread PACKER, Steffan
If you use a form with method=GET and submit it all the field names and values are stored in a global associative array called HTTP_GET_VARS as name/value pairs. Steffan -Original Message- From: Peter Tilm [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 2:16 PM To: [EMAIL

RE: [PHP] Re: Empty form variables when uploading, Help please???

2001-11-13 Thread PACKER, Steffan
another option could be to make the choice between delete and update two radio buttons with the same name and just have the one submit button, then add extra logice to your PHP script to either delete or update depending on the value of this field. good luck! Steffan -Original Message-

[PHP] fopen and paths

2001-11-12 Thread PACKER, Steffan
I am trying to log particular information in an access log and I need it to be used on several pages all in different directories, I would like the actual log to be stored in a directory called data in the root directory of my web page. I using an include() on each page where I would like the