Re: [PHP] Sessions

2003-07-09 Thread Dave Alger
Kirk, Thanks for the input. I've never been certain about the register_globals setting. From what I read I understood it that since I use the new method and have my dev site set to off that it wouldn't be a problem. As it turns out my dev site has globals OFF, test site ON and target site ON.

[PHP] Re: Sessions

2003-07-09 Thread Dave Alger
Thanks to all who posted. Well, I managed to track down the problem. The PHP system was set to use /tmp for its session.save_path but there was no /tmp directiory. Strange because on my test site I don't have a /tmp directory... I'm guessing my ISP has taken care of that separately. Anyway I

[PHP] Sessions

2003-07-08 Thread Dave Alger
Hi All, I'm struggling with a session problem and I'm not sure where I should be looking for the answer. Most of my pages begin like this: include_once('cfheader.php'); $feedback = cfHeader(Main Page); //Start of page code

[PHP] Classes within classes

2003-06-27 Thread Dave Alger
Hiya, It would be useful for me to be able to use a class within another class and I don't know if that's permissable in PHP. Here's an example of what I'm trying to do. Is it just simply not permitted or am I going about it the wrong way? Thanks in advance for any help, Dave Code follows:

Re: [PHP] Getting at $_POST values using a loop

2003-06-23 Thread Dave Alger
$fieldname:input name='FieldName[]' maxlength='25'; for ($i=0, $n=sizeof($_POST['FieldName']); $i$n; $i++){ // do whatever you need to do with each field echo $_POST['FieldName'][$i]; } -Original Message- From: Dave Alger [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2003 9:12 PM

[PHP] Getting at $_POST values using a loop

2003-06-22 Thread Dave Alger
Hi all, This one is causing me a few headaches. How should I be doing this? On my previous page I've created a series of fields using a loop so that a field is created like this: echo hr$fieldname:input name='Field$n' maxlength='25'; On my next page then I've got to try to read these values.