pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roberto Mello <rmello@cc.usu.edu>
To: Grant <grant@conprojan.com.au>
Cc: Steve Werby <steve-lists@befriend.com>
Cc: pgsql-php@postgresql.org
Subject: Re: PHP calling PHP?
Date: Wed, 9 May 2001 23:03:48 -0600
Message-ID: <20010509230348.A8136@cc.usu.edu> (raw)
In-Reply-To: <Pine.LNX.4.21.0105101445030.11225-100000@webster.conprojan.com.au>
References: <035001c0d90a$d27c3670$6501a8c0@workstation7>
	<Pine.LNX.4.21.0105101445030.11225-100000@webster.conprojan.com.au>

On Thu, May 10, 2001 at 02:54:58PM +1000, Grant wrote:
> 
> echo "Username is <B>" . $$username . "</B><BR>\n";
> echo "Password is <B>" . $$password . "</B><BR><BR>\n";

	Weird. When I tried using "$$varname" it wouldn't work, so I resorted
to un ugly use of eval to do the trick. I'll have to try again sometime.

> $time = date("U");
> echo "<FORM ACTION=\"$PHP_SELF\" METHOD=\"POST\">\n";

	Ack! You could do this for much better readability instead:

	echo "<FORM ACTION='$PHP_SELF' METHOD='POST'>\n";

	-Roberto
-- 
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net 
       http://www.sdl.usu.edu - Space Dynamics Lab, Developer    
The pizza at the neigbors table has always MORE chesse.



view thread (17+ messages)  latest in thread

Message-ID: <20010509230348.A8136@cc.usu.edu>
Permalink:  ../20010509230348.A8136@cc.usu.edu/
Also on:    postgresql.org/message-id/20010509230348.A8136@cc.usu.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: rmello@cc.usu.edu, grant@conprojan.com.au, steve-lists@befriend.com
  Subject: Re: PHP calling PHP?
  In-Reply-To: <20010509230348.A8136@cc.usu.edu>
  References: <035001c0d90a$d27c3670$6501a8c0@workstation7> <Pine.LNX.4.21.0105101445030.11225-100000@webster.conprojan.com.au> <20010509230348.A8136@cc.usu.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox