University Crest

[wlug] a very simple php question that just has my brain stumped.

 
wlug archive index About the wlug list Mailing lists home
To The University of Waikato HomepageWaikato Home > Waikato Mailing Lists > wlug Info > wlug archives
Perry Lorier perry@c...
Wed Mar 12 23:19:27 NZDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I could kiss you.. but i wont..
> 
> yeah.. i just found the array option of exec a few seconds before i got your 
> email.. thanks.. all is working... however it seems like a pain in the 
> butt... i only wanted a small amount of processing on the output of one small 
> program <sigh>
> just one of those weird situations i guess...

alternatively

<pre>
<? passthru("/sbin/route -n"); ?>
</pre>

or

<? $foo = nltobr(htmlspecialchars(`/sbin/route -n`)); ?>

(borland was actually right, although he didn't explain himself very
well)
 
- -- 
Don't kid yourself. Little is relevant, and nothing lasts forever.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Only when you are sure they have you, can you stop being paranoid

iD8DBQE+bwmvcAgRpy8z8UQRAkJaAJ92MG2xTO2ri6tODjwFKntQV4B7mgCgpltY
gcUPzBLjDrWz/Tdd8cAR/MA=
=PkA3
-----END PGP SIGNATURE-----


More information about the wlug mailing list
NOTICE: This is an archive of a public mailing list. The University of Waikato is not responsible for its contents.

The University of Waikato - Te Whare Wananga o Waikato