[PHP] iteration of $GLOBAL

2004-01-12 Thread Chris Sherwood
hello everyone I feel a little stupid asking this but I have tried multiple searches on google and on php.net and cant seem to find the snippet of code that will iterate through all the global variables for the session thanks in advance

Re: [PHP] or return problem

2003-10-07 Thread Chris Sherwood
Well Unfortunately pat You are going to have to be an unlazy man and use an if statement Chris Calling the following retor_test() function causes a Parse error: parse error, unexpected T_RETURN message when the script is run: function istrue() { return true; } function retor_test() {

Re: [PHP] File read and sort question

2003-10-06 Thread Chris Sherwood
Susan It appears that you will want to use a database. and update it when the files are removed. (possibly provide a page to do uploading, modifications and deletions with .. this way you can automate the db) other than that you will have to recreate everything each time you process or display

Re: [PHP] include() problems

2003-10-02 Thread Chris Sherwood
-- snip -- From: Chris W. Parker [EMAIL PROTECTED] The address is: http://mydomain.com/forums/ssi.php?a=active The code I'm trying now is: $_GET['a'] = 'active'; include('forums/ssi.php'); You're including the parent file in itself. This could be the problem. --SNIP -- especially if the

Re: [PHP] passing form information.

2003-10-02 Thread Chris Sherwood
Hi Payne for starters your missing an ? at the last echo ? echo $l_name secondly I would rewrite the sql statement to read $sql = INSERT INTO $table_name (leads_id, title, f_name, l_name) VALUES (' .$leads_id. ', ' .$title. ', ' .$f_name. ', ' .$l_name. ');; but the

Re: [PHP] passing form information.

2003-10-02 Thread Chris Sherwood
is correct. Chris I am LD. I do have the ? echo ? in my code. The leads_id is an autonumber, it the primary key for the table. What do the .$field. gives you over $field? Also another LD mistake, addlead.php is addlead.php. I will try it. Payne Chris Sherwood wrote: Hi Payne

Re: [PHP] Read a PDF File using php

2003-10-01 Thread Chris Sherwood
http://ca.php.net/manual/en/ref.pdf.php check this out you should find what you need -- snip -- From: Pushpinder Singh Garcha [EMAIL PROTECTED] I need to allow a user to access a PDF file, only if he/she is logged in as a registered user. So here is the code that I am trying to use. I have

Re: [PHP] printf....

2003-10-01 Thread Chris Sherwood
well for starters dan I would pass the first element as a string variable that way I could echo the string and see what it actually says ie $stringtopass = htmlbody center; $stringtopass .= form action=\%s\ method=post name=\frmSearch\input type=hidden name=search value=yes; $stringtopass .=

Re: [PHP] add element to an array

2003-09-29 Thread Chris Sherwood
-- snip -- Hi, I want to add a new element to an array in php, is the following way the correct way? assuming that $chk is an array and $ID contains a value. $j = count($chk); $j++; $chk[$j] = $ID; -- snip -- Yes that is one method of doing it. another method of adding an element to an

[PHP] RE: Add element

2003-09-29 Thread Chris Sherwood
Warning ! Don't add one to your key ($j++) in this case. The count() method count ( :) ) return the number of existing keys in the $chk array. You'll make hole in your array if you do this : $arr[0] = toto; count($arr) = 1; $arr[1] = tata; count($arr) = 2; $arr[count[$arr]++] = titi; =

Re: [PHP] Am stuck

2003-09-25 Thread Chris Sherwood
Why dont you trim the string first to ensure that there are no empty spaces at the end and beginning of it http://ca3.php.net/manual/en/function.trim.php and then do your count. Chris -- SNIP -- Good day all I have a txt file that has values from various strings written to it. What Im looking

Re: [PHP] Understanding code.. again

2003-09-25 Thread Chris Sherwood
Yes the null is ignored when a var is passed -- SNIP-- Ok, so if an argument is supplied to the function, the = null is ignored? Jeff -- snip -- chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Attention: List Administrator

2003-09-19 Thread Chris Sherwood
To Whom it may concern the following users [EMAIL PROTECTED] [EMAIL PROTECTED] has been flooding me with viruses. fortunately I have the appropriate safeguards in place. however this does not seem like appropriate activity for users and members of this list to attempt on anyone let alone

[PHP] Murugesan

2003-09-18 Thread Chris Sherwood
Hey Muru your sending viruses disguised as a ms security update either its accidental which you want to look for the Win32/NewMalware.gen cause thats what is being sent or its not which then you kinda want to be a little more inconspicious about it

Re: [PHP] Re: [PHP-DB] Graphs

2003-09-16 Thread Chris Sherwood
I found phpchartdirector to be a nice third party app http://www.hotscripts.com/Detailed/12237.html - Original Message - From: [EMAIL PROTECTED] To: Balaji H. Kasal [EMAIL PROTECTED]; [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 10:12 AM Subject:

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Chris Sherwood
Yea its not bad if you dont have a life outside of programming and/or computers if you have kids or other responsibilities then all of a sudden 500$ becomes a very large issue as thats a months groceries or what not... heh yea the average salary is 50K but then when the government takes 40% (if

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Chris Sherwood
Yea its not bad if you dont have a life outside of programming and/or computers Well most professionals who would go to this conference -- IMHO -- would be doing it because it would be worth while. For instance, I considered going because if it reduced the time it takes for me to develop

Re: [PHP] php editor

2003-09-11 Thread Chris Sherwood
Thanks for starting my day out with a chuckle.. this is one of the better tongue in cheek items I have seen in a little bit Chris I think the BEST php editor out there is Microsoft's Visual Studio. Here's some of the reasons I think Visual Studio is the BEST 1. None of that annoying syntax

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Chris Sherwood
try closing the value sections with single quotes that way the html processiing can see the value it was echo tdinput type=text name=value.$j.$i. size=20 value=.$myString./td; now is echo tdinput type=text name=value'.$j.$i.' size=20 value='.$myString.'/td; - Original Message - From:

Re: [PHP] mySQL overhead: Tweaking Scripts for Speed

2003-09-05 Thread Chris Sherwood
check this out dan It may help http://www.mysql.com/doc/en/EXPLAIN.html - Original Message - From: Dan Anderson [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Friday, September 05, 2003 8:38 AM Subject: [PHP] mySQL overhead: Tweaking Scripts for Speed I'm trying to figure

Re: [PHP] using fwrite to create PHP files

2003-09-05 Thread Chris Sherwood
. . if (\$_GET['preview'] == \y\) { \n -- ---John Holmes... -- snip -- Chris Sherwood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE:[PHP] HTML Template, PHP, Javascript PATH_INFO

2003-09-04 Thread Chris Sherwood
-- snip -- I can do - site.com/info/template.html and get two alerts - site.com/info/content1.html and see a new text under H1 - site.com/info/slick.php/content1.html and get neither alert nor new text. - instead I get 4 browser (IE) 'problem alerts', I presume - 1. for not finding js1.js -

[PHP] RE:[PHP] Can Objects be passed to another page?

2003-09-03 Thread Chris Sherwood
Webmaster. Yes they can, but you must pass the reference to the object and not simply the value per se. ie $newObject = New phpWeb.Class.Sql(); $returnvalue = PerformUserValidation($newObject);

Re: [PHP] Q on Class and EXTEND

2003-09-03 Thread Chris Sherwood
-- snip -- I dont know much about classes, but dont you want $a = new THECHILD('walter'); //so you can access $a-abc instead of $a = new THEPARENT ('walter'); No, I'm wanting to EXTEND the orginal class. meaning, my THECHILD class efines new methods/properties, and I want it

Re: [PHP] if else while statement speed

2003-09-03 Thread Chris Sherwood
have you thought about usiing a switch statement that way all the if or else if statements are not checked against? ie ?php while (something()) { switch($option) { case $option1: break; case $option2: break; case $... etc break; }//

Re: [PHP] Open-source browser-based POS system?

2003-09-02 Thread Chris Sherwood
a quick search on google revealed a few things http://www.google.ca/search?q=browser+based+POSie=UTF-8oe=UTF-8hl=enmeta= try that and see if any of those meet your requirements Chris - Original Message - From: John Almberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

Re: [PHP] New User Script Failing Unexpectedly.

2003-09-01 Thread Chris Sherwood
or another. also you dont have a break on your process case statement so it will carry out the default and include the apply.inc file again. only other thing is not having a ; at the end of your error suppressed echos dont cause a problem? Chris Sherwood --- SNIP --- Okay, this is a tricky one (i

Re: [PHP] open php from

2003-08-29 Thread Chris Sherwood
header('Location: ' . $newLocation); - Original Message - From: Alvaro Martinez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 29, 2003 9:13 AM Subject: [PHP] open php from Hi! I'm a beginner. I want to redirect from one php page to another php page and I dont know what

Re: [PHP] Form Parameters

2003-08-29 Thread Chris Sherwood
depends on whether or not you post or get then you use $_POST[varname] or $_GET[varname] hope this helps - Original Message - From: Seth Willits [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 29, 2003 11:00 AM Subject: [PHP] Form Parameters This might be staring

Re: [PHP] Approaches to Logging In

2003-08-29 Thread Chris Sherwood
Honestly if you have the users logging in use a session variable to contain a session id then verify against that sessionid as they browse the sensitive sections and use a class to verify that they are a valid user so yes Ideally sessions are the way to go Chris - Original Message -

Re: [PHP] IS THIS A BUG?

2003-08-28 Thread Chris Sherwood
No its not a bug basically what you did was assign a value to a value of a variable a $$ is how you access the value of a variable as a variable - Original Message - From: Steve Todd [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 1:27 PM Subject: [PHP] IS

Re: [PHP] back button and forms

2003-08-20 Thread Chris Sherwood
session.cache_expire is what your looking for I believe http://www.php.net/manual/en/ref.session.php - Original Message - From: Tim Winters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 9:26 AM Subject: [PHP] back button and forms Hello, I have a

Re: [PHP] back button and forms

2003-08-20 Thread Chris Sherwood
sorry its actually http://www.php.net/manual/en/function.session-cache-limiter.php - Original Message - From: Tim Winters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 9:26 AM Subject: [PHP] back button and forms Hello, I have a series of forms set

Re: [PHP] bug in code - can't find it!

2003-08-14 Thread Chris Sherwood
INPUT TYPE=checkbox NAME=? echo $search_result2['user_cd'];? VALUE=?if ($search_result2[a.retired_flag] == 1){?CHECKED?}? ?echo $search_result2[a.retired_flag]? } well for starters checkboxes dont have a size and maxlength you may want to try that and see if it works... - Original Message

Re: [PHP] Stop neurotic posting

2003-08-14 Thread Chris Sherwood
... keep it to yourself now how does that equate to being like or bringing back hitler? - Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Chris Sherwood [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 2:04 PM Subject: Re: [PHP] Stop neurotic

Re: [PHP] bug in code - can't find it!

2003-08-08 Thread Chris Sherwood
silly me upon further looking INPUT TYPE=checkbox NAME=? echo $search_result2['user_cd'];? VALUE=? echo $search_result2[a.retired_flag];? ?if ($search_result2[a.retired_flag] == 1) echo CHECKED; ? ?echo $search_result2[a.retired_flag]? - Original Message - From: Amanda McComb [EMAIL

Re: [PHP] Stop neurotic posting

2003-08-06 Thread Chris Sherwood
well I have been watching this post all morning and now into the afternoon.. personally I think there is differences in responses and well there are definite persons with an elitist attitude, some of these people are newbies... under immense amounts of pressure to pull something off... what does

Re: Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Chris Sherwood
I have seen this exact same header before in this list, so I am going to assume this is a troll Chris - Original Message - From: binc2 [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, July 31, 2003 8:26 AM Subject: Re: Re: [PHP] Possible My Website was hacked...

Re: [PHP] explode and escape character for string separator

2003-07-18 Thread Chris Sherwood
After reading your problem this is what I think you should do is dont let the user enter the string predelimited have them enter each individual string at which point you can safely search for the delimiter and replace it with the character of your choice _ is a favorite of mine. then rebuild

Re: [PHP] PHP and Mysql Limit

2003-07-02 Thread Chris Sherwood
It looks like your adding 10 to 8 thus getting 18... of course I maybe looking at this wrong - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:23 AM Subject: [PHP] PHP and Mysql Limit I've created a script that reads a sorted mysql

Re: [PHP] Concatenate

2003-06-30 Thread Chris Sherwood
you can do it by assigning them to a single string or by adding the second to the firsst $youroriginalfirststring .= $thestringyouwanttoadd; please note the . Chris - Original Message - From: Derick Rethans [EMAIL PROTECTED] To: Ryan Vennell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

Re: [PHP] mysql split?

2003-06-27 Thread Chris Sherwood
Andrew... I think most likely you will have to pull the information into a php page and parse it. you then will be able to get accurate results and I dont know if mysql has an explode function it doesnt look like it http://www.mysql.com/doc/en/Function_Index.html - Original Message -

Re: [PHP] PHP-programmers salary

2003-06-27 Thread Chris Sherwood
Alot of it depends on the demand and where you are... but averages here in Vancouver BC range from 40k a year all the way to 75k a year - Original Message - From: Gladk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 27, 2003 11:20 AM Subject: [PHP] PHP-programmers salary

Re: [PHP] Re: sessions and browser back

2003-06-27 Thread Chris Sherwood
there is a setting you need to make after the session start http://ca3.php.net/manual/en/function.session-cache-expire.php check that link out I think that it will resolve alot of problems for you.. however I have noticed forms are a little trickier... usually what I do with those is create the

Re: [PHP] Re: quotes

2003-06-26 Thread chris sherwood
echo input name='company' type='text' value='. htmlentities($company) .'; this doesnt work cause the engine doesnt like that try this echo input name='company' type='text' value='.( htmlentities($company)) .'; Anthony [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... tough to

Re: [PHP] quotes

2003-06-25 Thread Chris Sherwood
or you would escape the quote by putting a \ in front of it that way the engine knows to write the quote. ie input type=\text\ - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: Lso . [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 7:47 AM Subject: Re:

Re: [PHP] quotes

2003-06-25 Thread Chris Sherwood
well thats seems unlikely as I do it all the time.. how ever I am not going to argue p's and q's ... if it doesnt work for him it doesnt work - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: Chris Sherwood [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003

Re: [PHP] php.ini

2003-06-25 Thread Chris Sherwood
Steve have you tried to search the entire drive for the php.ini file? - Original Message - From: Steve Marquez [EMAIL PROTECTED] To: PHP eMail List [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 8:59 AM Subject: [PHP] php.ini I am running MacOSX and can not find my php.ini file.

Re: [PHP] quotes

2003-06-25 Thread Chris Sherwood
: Wednesday, June 25, 2003 9:58 AM Subject: Re: [PHP] quotes On Thursday 26 June 2003 00:02, Chris Sherwood wrote: well thats seems unlikely as I do it all the time.. how ever I am not going to argue p's and q's ... if it doesnt work for him it doesnt work - Original Message - From

Re: [PHP] Passing Array to object

2003-06-25 Thread Chris Sherwood
Have you tried to assign the array to a variable then pass the variable to the function ie $index = new main(); $yourvar = array('array values'); $index-SetLink ($yourvar); - Original Message - From: Daniel J. Rychlik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25,

Re: [PHP] Passing Array to object

2003-06-25 Thread Chris Sherwood
] To: Daniel J. Rychlik [EMAIL PROTECTED]; Chris Sherwood [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:17 AM Subject: Re: [PHP] Passing Array to object Its erroring at my display links function. This function is inside my main class. function DisplayLinks($links

Re: [PHP] image galleries

2003-06-25 Thread chris sherwood
I haven't found anything that would handle the problem you have... in my case I would create the galleries that I needed... maybe write some reiterate code that would display recreated thumbs from the images... this could be done when the upload is done and the new image created from the old one

Re: [PHP] Using variables from includes

2003-06-25 Thread chris sherwood
use globals to pass the information to other pages.. http://www.php.net/manual/en/language.variables.php Ben [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Ok, I'm sort of a beginner at this, so cut me some slack. :-) Ok, I have an if then statement that after you click a link

Re: [PHP] Berkeley db

2003-06-25 Thread chris sherwood
http://www.sleepycat.com/products/documentation.shtml try that it is the online documentation for the Berkeley db Logan McKinley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I have absolutely no experience with Berkeley db but have been told by my ISP that it is what I need to

Re: [PHP] Passing Array to object

2003-06-25 Thread Chris Sherwood
to the names array and links to the links array... I know this isnt pretty but it should work - Original Message - From: Daniel J. Rychlik [EMAIL PROTECTED] To: Chris Sherwood [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 12:59 PM Subject: Re: [PHP] Passing Array

Re: [PHP] quotes

2003-06-25 Thread Chris Sherwood
LOL my mistake jason I should have paid more attention - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 12:26 PM Subject: Re: [PHP] quotes On Thursday 26 June 2003 01:33, Chris Sherwood wrote: I dont know what you were

Re: [PHP] mysql update not working

2003-06-25 Thread Chris Sherwood
hmmm can you check to see if your field is exactly named desc in the table... also whether or not it can accept string ie char or varchar. - Original Message - From: Steven Efurd [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 2:03 PM Subject: [PHP] mysql update not

Re: [PHP] One more time - HTTP_HOST

2003-06-25 Thread Chris Sherwood
hmm I am not sure but check this link out it may answer your questions http://ca3.php.net/manual/en/features.http-auth.php - Original Message - From: Sparky Kopetzky [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 2:41 PM Subject: [PHP] One more time -

Re: [PHP] Command line php output redirection.

2003-06-25 Thread Chris Sherwood
try using fopen(); http://www.php.net/manual/en/function.fopen.php - Original Message - From: Joshua Moore-Oliva [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 3:37 PM Subject: [PHP] Command line php output redirection. This is really scaring me as file

Re: [PHP] calling functions in classes using text and graphic links

2003-06-24 Thread Chris Sherwood
I am not sure what you mean but if you are trying to call functions that exist within your class you need to do something like the following $fg = new YourClass.class.php; $fg-yourfunctionname($arguements); - Original Message - From: Daniel Rychlik [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Change image file size dynamically

2003-06-23 Thread Chris Sherwood
check out this link it should have the answers your looking for http://ca3.php.net/manual/en/function.imagecreatefromjpeg.php - Original Message - From: Hardik Doshi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 23, 2003 2:14 PM Subject: [PHP] Change image file size

Re: [PHP] Source/version control?

2003-06-23 Thread Chris Sherwood
CVS is a known versioning tool... it resides on a linuxx or unix server and is free (from gnu) if I remember correctly otherwise its a google search - Original Message - From: J J [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 23, 2003 3:31 PM Subject: [PHP] Source/version

Re: [PHP] bcmod()

2003-06-17 Thread Chris Sherwood
if I read it right it looks like it returns what is the remainder as per any normal mod function so fer instance you want to get the remainder when you divide 10 by 3 (which we both know is 1) $remainder = bcmod(10,3); for example I think - Original Message - From: Thomas Bolioli

Re: [PHP] php editor?

2003-06-17 Thread Chris Sherwood
PHPCoder Pro is a very nice development enviroment as well - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 8:22 PM Subject: Fw: [PHP] php editor? Try to these PHP development environment: * Nusphere Studio * Zend Studio * Maguma

Re: [PHP] Re: php editor?

2003-06-16 Thread Chris Sherwood
I use PHPCoder Pro and it works great... hook it into your php and apache engines and you can run and debug while coding - Original Message - From: Noel Wade [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 9:57 AM Subject: Re: [PHP] Re: php editor? My favorite

RE: [PHP] Redirects in PHP

2003-06-13 Thread chris sherwood
Build a JavaScript and have it execute as the document loads... i.e. in the body tag with an onLoad event... the header function in php will not do anything if you have sent output already -Original Message- From: Carl Furst [mailto:[EMAIL PROTECTED] Sent: June 13, 2003 9:23 AM To:

RE: [PHP] nl2br

2003-06-11 Thread chris sherwood
if they choose to limit to ie thats their choice ... -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 2:51 PM To: Miles Thompson Cc: [EMAIL PROTECTED] Php. Net Subject: Re: [PHP] nl2br That's plain wrong. This is the /world wide/ web, not the IE

RE: [PHP] nl2br

2003-06-11 Thread chris sherwood
That's true but how would you feel if you made some choices and then had people criticizing it when you have no choice due to resource and funding restrictions? -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 3:13 PM To: chris sherwood Cc: [EMAIL

RE: [PHP] nl2br

2003-06-11 Thread chris sherwood
and what consequences would that be.. its not law -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 3:27 PM To: chris sherwood Cc: [EMAIL PROTECTED] Subject: Re: [PHP] nl2br Standards-compliant HTML can be written just as cheaply and easily as IE

[PHP] cookies

2003-05-27 Thread chris sherwood
Hi all I have a cookie on the system and I know the name of the var set in it but I seem to be unable to retrieve the info in the cookie. any pointers? Chris Sherwood Nortia Learning Systems (604)717-4323 office [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net