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
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
> executin
ll| grep ID_LENGTH
| cut -d \"=\" -f 2`"
echo $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 | c
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 g
> 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 wrot
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,
\"$command\"");
> ?>
Nope, hasnt worked either ;(
any other idea?
this is quite important ;)
Cheers, Mario
>
>
> "Mario Ohnewald" <[EMAIL PROTECTED]> wrote in message
> 001901c26480$5e280df0$350aa8c0@W2KDP">news:001901c26480$5e280df0$350aa8
work it out ;(
>
> Henry
>
> "Henry" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > use \" instead of " so that you don't actually end the string
> >
> > Henry
> >
> >
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 adm
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?
Background Color
Blue
Red
Green
Black
';
echo $_
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
>
>
> Did you put a closing form tag?
you are right, the closeing tag was missing, well, it still doesnt
work/stays emty ;/
// Theme
echo '
';
for($i=0;$i".$theme_name[$i]."\n";
}
echo ' ';
echo ''; //i tried it here
$var_from_dropdown = $_
Well, this is my original Code:
--
// Theme
echo '
';
for($i=0;$i".$theme_name[$i]."\n";
}
echo ' ';
$var_from_dropdown = $_POST['theme'];
exec("echo $var_from_dropdown > /tmp/varfromdropdown");
The file /tmp/varfromdropdown is still emty. (the dropdown f
to submit
> the form.
>
> Assuming you use POST, you can access the selected value like this:
>
> $var_from_dropdown = $_POST['theme'];
>
> Regards
>
> -|Scott
>
>
> > -Original Message-
> > From: Mario Ohnewald [mailto:[EMAIL PROTECTED
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.
// ..SN
14 matches
Mail list logo