[PHP] PHP ftp web client

2004-03-15 Thread Mario Ohnewald
Hello! Can someone recommend me a good/stable PHP-FTP Web client? I wasnt quite happy with the google search results :P Thanks a lot! Mario -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] shell_exec with pipes

2003-11-13 Thread Mario Ohnewald
Hello! I think we are almost there yet :) On Wednesday 12 November 2003 21:48, Mario Ohnewald wrote: ok, i am running the script like this now: [snip] This seems to suggest that shell_exec() does not like your command and is not executing it, so: Try tackling it logically, step

RE: [PHP] shell_exec with pipes

2003-11-12 Thread Mario Ohnewald
Hi, $var=shell_exec(/usr/local/bin/mplayer -identify -frames 0 /tmp/pitstop.mpeg 2/dev/null | grep ID_LENGTH | cut -d \=\ -f 2); $var=shell_exec(/usr/local/bin/mplayer -identify -frames 0 /tmp/pitstop.mpeg 2/dev/null | grep ID_LENGTH | cut -d \=\ -f 2); echo Output: $var; Still gives nothing

Re: [PHP] shell_exec with pipes

2003-11-12 Thread Mario Ohnewald
$length On Wednesday 12 November 2003 17:21, Mario Ohnewald wrote: $var=shell_exec(/usr/local/bin/mplayer -identify -frames 0 /tmp/pitstop.mpeg 2/dev/null | grep ID_LENGTH | cut -d \=\ -f 2); $var=shell_exec(/usr/local/bin/mplayer -identify -frames 0 /tmp/pitstop.mpeg 2/dev

[PHP] shell_exec with pipes

2003-11-11 Thread Mario Ohnewald
Hello List! I have tried to get this command working with php for about 2Weeks now, and i would like you to try to get this thing working. This shell command: /usr/local/bin/mplayer -identify -frames 0 /tmp/pitstop.mpeg 2/dev/null| grep ID_LENGTH | cut -d = -f 2 gives me the result 16 back, the

Re: [PHP] shell_exec with pipes

2003-11-11 Thread Mario Ohnewald
Have you tried escaping the pipes and quotes? Try this: $var=shell_exec(/usr/local/bin/mplayer -identify -frames 0 /tmp/pitstop.mpeg 2/dev/null\| grep ID_LENGTH \| cut -d \=\ -f 2); nope, still get nothing back. Mario Ohnewald wrote: $var=shell_exec(/usr/local/bin/mplayer -identify

[PHP] exec(echo ... issuse

2002-09-25 Thread Mario Ohnewald
Hello! I want to write a line into a file (called $script) wich goes like that: echo `date` 192.168.10.123 is down, lets call the admin. I was sleeping for 10 Minutes | smbclient -M Computer This is what i have tried: exec(echo echo `date` === $ip is down, lets call the admin.

RE: [PHP] Re: exec(echo ... issuse

2002-09-25 Thread Mario Ohnewald
PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... use \ instead of so that you don't actually end the string Henry Mario Ohnewald [EMAIL PROTECTED] wrote in message 001801c2647a$070aa100$350aa8c0@W2KDP">news:001801c2647a$070aa100$350aa8c0@W2KDP...

RE: [PHP] Re: exec(echo ... issuse

2002-09-25 Thread Mario Ohnewald
? this is quite important ;) Cheers, Mario Mario Ohnewald [EMAIL PROTECTED] wrote in message 001901c26480$5e280df0$350aa8c0@W2KDP">news:001901c26480$5e280df0$350aa8c0@W2KDP... Hi Henry, From: Henry [mailto:[EMAIL PROTECTED]] Have you tried using single quotes arround the mai

RE: [PHP] dropdown Newbie question

2002-09-10 Thread Mario Ohnewald
Hello, after a little break ( i really needed it ;P), i tried to get this thing wotkig again. I changed action to .$PHP_SELF. and i added the echo to test if it works: echo $_POST['test']; But still emtpy, what do i do wrong? ?php echo ' form name=test action='.$PHP_SELF.' method=POSTbr

[PHP] dropdown Newbie question

2002-09-05 Thread Mario Ohnewald
Hello! I am very new in php and i have a little dummy question ;D I have a dropdown box with a entry in it called Coctail Blue Now i want to put the selected string (Coctail Blue in this case) in to a variable when i press the button below. options.php is the page it should go after. // ..SNIP

RE: [PHP] dropdown Newbie question

2002-09-05 Thread Mario Ohnewald
']; Regards -|Scott -Original Message- From: Mario Ohnewald [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 1:11 PM To: [EMAIL PROTECTED] Subject: [PHP] dropdown Newbie question Hello! I am very new in php and i have a little dummy question ;D I have

RE: [PHP] dropdown Newbie question

2002-09-05 Thread Mario Ohnewald
Well, this is my original Code: -- // Theme echo ' form name=theme action=options.php target=right class=menu METHOD=POST nbsp;nbsp;select name=theme'; for($i=0;$isizeof($theme_name);$i++) { echo option value='.$i.'.$theme_name[$i]./option\n; } echo '/selectnbsp;nbsp;input

RE: [PHP] dropdown Newbie question

2002-09-05 Thread Mario Ohnewald
From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Did you put a closing form tag? /form you are right, the closeing tag was missing, well, it still doesnt work/stays emty ;/ // Theme echo ' form name=theme action=options.php target=right class=menu method=POST nbsp;nbsp;select name=theme';