note 71382 rejected from function.echo by nlopess
| From: | nlopess@php.net | Date: | Sat, 25 Nov 2006 20:10:13 +0000 |
| Subject: | note 71382 rejected from function.echo by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-120077@lists.php.net to get a copy of this message | ||
Note Submitter: dash dot titan at gmail dot com
----
Hi!
If I was to echo out variables like so:
<?php
//script here
echo $variable1 . "\n" . $variable2;
?>
and I call upon this script from a java-application like so:
URL theURL = new URL("http://www.mysite.com/myscript.php");
URLConnection conn = theURL.openConnection();
conn.setDoInput(true);
conn.connect();
BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String var1 = in.readLine();
String var2 = in.readLine();
--> How SAFE would that be?
(please email me)