If I exec a command like ifconfig, I'd like to be able to parse. What is
the best way to go about thihs? An example output from ifconfig is:
[EMAIL PROTECTED]:/var/log> ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:4F:AB:F9:59
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:2
When I submit a form with a text area containing the test "//server/share"
and try to echo the variable it echos "server//share". Is there any way
to prevent the extra /'s? Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;t
> render newlines, only . If you're seeing something different, then
> show your code and explain this more.
>
> ---John W. Holmes...
>
> PHP Architect - A monthly magazine for PHP Professionals. Get your copy
> today. http://www.phparch.com/
>
> > -
That would work, only I need to copy this text to a file without the
in it.
-Greg
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > I need to be able to preserve line breaks when a user types in
> multiple
> > lines in a multitple line test area. Right now if I ec
Make that a multitple line TEXT area, not a test area :)
-Greg
"Gregory Chagnon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I need to be able to preserve line breaks when a user types in multiple
> lines in a multitple line test area. Right now if I echo
I need to be able to preserve line breaks when a user types in multiple
lines in a multitple line test area. Right now if I echo $_POST['textarea']
I get everything on one line. Is there any way to do this? Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
The problem is I have 2 seelect boxes...it's for creating a user and adding
them to a list of available groups...so I have one select box that is
initially empty called memberOf and another box that has all of the
available groups listed in it called availableGroups. I have a script that
can move
Hi-
Is there any way to get all of the elements in a SELECT MULTIPLE box, not
just the ones that are selected? Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
8 matches
Mail list logo