Received: from relay.freestart.hu (mx.freestart.hu [213.197.64.3]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f45G7rA97326 for ; Sat, 5 May 2001 12:07:53 -0400 (EDT) (envelope-from pgerzson@freestart.hu) Received: from jaguar (line-71-70.dial.freestart.hu [213.197.71.70]) by relay.freestart.hu (Postfix) with SMTP id A4F552E1C; Sat, 5 May 2001 18:07:57 +0200 (MET DST) Message-ID: <039e01c0d57d$b8f70a80$4647c5d5@jaguar> From: "Gyozo Papp" To: "Christian Marschalek" Cc: "[PHP] PostgreSQL" References: <000001c0d579$c1874240$0200a8c0@server> Subject: Re: PHP calling PHP? Date: Sat, 5 May 2001 18:09:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f45G7sA97327 X-Archive-Number: 200105/24 X-Sequence-Number: 333 Hello, your last question is more than interesting. You can try the code below and just look what is happening! Seriously, If you use either $HTTP_POST_VARS or $HTTP_GET_VARS (respect to the action) 1: you can access the variable with its original name ($HTTP_POST_VARS['foo*bar'], in my example), 2: but you can't refer to it as a common global variable like : $foo*bar. 3: much more interesting with variable variables, try and see. I don't say annything ... :)
----- Original Message ----- From: "Christian Marschalek" To: "'Gyozo Papp'" Cc: "[PHP] PostgreSQL" Sent: 2001. május 5. 17:40 Subject: RE: [PHP] PHP calling PHP? That's excatly what I needed :) Thanks. Another one: If I have a html form an in it a text field with the a name like this: name="foo*bar" How would I refer to it in my php script? Normaly variable names have no * in them, do they?:) Chris > -----Original Message----- > From: Gyozo Papp [mailto:pgerzson@freestart.hu] > Sent: Saturday, May 05, 2001 3:33 PM > To: Christian Marschalek; [PHP] PostgreSQL > Subject: Re: [PHP] PHP calling PHP? > > > > if (! $ok ) > { > // register your variables with the current session > // in order that you are able to use it in the other page > (fillin.php) > Header("Location: fillin.php"); > exit; > } > > see header() function in the manual! > and I > > ----- Original Message ----- > From: "Christian Marschalek" > To: "[PHP] PostgreSQL" > Sent: 2001. május 5. 14:51 > Subject: [PHP] PHP calling PHP? > > > > Hi! > > > > Let's say I want to insert some data into my db and I want > to be sure > > that the user fills out alle the requiered fields. > > > > I'm thinking of that: I want to pass the data to a PHP > script and if > > there's something missing I want to call the input PHP script again > > but this time with the already inserted data. I can I call a link > > inside a PHP script without having the user to click on it? > > > > Tia Chris > > > > > > ---------------------------(end of > > broadcast)--------------------------- > > TIP 4: Don't 'kill -9' the postmaster >