Re: PHP calling PHP? - Mailing list pgsql-php

From Roberto Mello
Subject Re: PHP calling PHP?
Date
Msg-id 20010509230348.A8136@cc.usu.edu
Whole thread Raw
In response to Re: PHP calling PHP?  (Grant <grant@conprojan.com.au>)
Responses Re: PHP calling PHP?
List pgsql-php
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.

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org




pgsql-php by date:

Previous
From: Grant
Date:
Subject: Re: PHP calling PHP?
Next
From: Grant
Date:
Subject: Re: PHP calling PHP?