Re: PHP calling PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxx





[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux