[PHP] Re: Video uploading with PHP -> convert to flash on the fly?

2006-09-05 Thread Damien Bezborodow
Merlin wrote: Hi there, looks like video uploading goes mainstream. Loads of sites are adding video upload capabilities. That is what I would like to add to my webapp as well. Currently only picture upload is available via PHP and image functions. Can somebody please point me to a start on

[PHP] Re: Video uploading with PHP -> convert to flash on the fly?

2006-09-04 Thread Alex Turner
Merlin wrote: Hi there, looks like video uploading goes mainstream. Loads of sites are adding video upload capabilities. That is what I would like to add to my webapp as well. Currently only picture upload is available via PHP and image functions. Can somebody please point me to a start on

Re: [PHP] Video uploading with PHP -> convert to flash on the fly?

2006-09-04 Thread André Medeiros
ffmpeg _DOES_ convert to flash video (FLV). On 9/4/06, Paul Scott <[EMAIL PROTECTED]> wrote: On Mon, 2006-09-04 at 11:50 +0200, Merlin wrote: > thank you for the hint. ffmpeg seams to be a good way to create > thumbnails out of the video, but how to convert it on the fly to flash > video? PHP

Re: [PHP] Video uploading with PHP -> convert to flash on the fly?

2006-09-04 Thread Paul Scott
On Mon, 2006-09-04 at 11:50 +0200, Merlin wrote: > thank you for the hint. ffmpeg seams to be a good way to create > thumbnails out of the video, but how to convert it on the fly to flash > video? PHP extension called ming. Look for it somewhere on opaque.net I am not sure if ming is still sup

Re: [PHP] Video uploading with PHP -> convert to flash on the fly?

2006-09-04 Thread Merlin
Paul Scott schrieb: On Mon, 2006-09-04 at 10:59 +0200, Merlin wrote: Can somebody please point me to a start on how to convert the video files on the fly during upload into flash video? Similar to the image If you are using *NIX you can use ffmpeg and something like system() or passthrough()

Re: [PHP] Video uploading with PHP -> convert to flash on the fly?

2006-09-04 Thread Paul Scott
On Mon, 2006-09-04 at 10:59 +0200, Merlin wrote: > Can somebody please point me to a start on how to convert the video > files on the fly during upload into flash video? Similar to the image If you are using *NIX you can use ffmpeg and something like system() or passthrough(); to achieve some

[PHP] Video uploading with PHP -> convert to flash on the fly?

2006-09-04 Thread Merlin
Hi there, looks like video uploading goes mainstream. Loads of sites are adding video upload capabilities. That is what I would like to add to my webapp as well. Currently only picture upload is available via PHP and image functions. Can somebody please point me to a start on how to convert

Re: [PHP] convert "\" to "/"

2003-10-08 Thread Chris Shiflett
--- Diana Castillo <[EMAIL PROTECTED]> wrote: > http://www.anysite.com\page.htm > > I need to convert this string to > http://www.anysite.com/page.htm but str replace ("\","/",$var) doesnt > work. $windowsitis_free_var = str_replace('\\', '/', $var); Hope that helps. Chris = My Blog h

Re: [PHP] convert "\" to "/"

2003-10-08 Thread Robert Cummings
Maybe you could rewrite your URLs so that they don't appear as GET queries. Cheers, Rob. On Wed, 2003-10-08 at 04:46, Diana Castillo wrote: > I am receiving some data in which the sender has mistakenly sent urls with > "\" instead of "/" to separate directories. e.g. > http://www.anysite.com\page

Re: [PHP] convert "\" to "/"

2003-10-08 Thread Veniamin Goldin
"\" - is an escape symbol, so you should write it twice in order to escape it self. str_replace ("\\","/",$var) "Diana Castillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am receiving some data in which the sender has mistakenly sent urls with > "\" instead of "/" to separate

[PHP] convert "\" to "/"

2003-10-08 Thread Diana Castillo
I am receiving some data in which the sender has mistakenly sent urls with "\" instead of "/" to separate directories. e.g. http://www.anysite.com\page.htm I need to convert this string to http://www.anysite.com/page.htm but str replace ("\","/",$var) doesnt work. any ideas as to how to convert it

Re: [PHP] convert to lowercase

2002-03-03 Thread Websitecd
I'm sorry boss, I didn't know it was added to the manual. Regards, Joseph A. Bannon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] convert to lowercase

2002-03-03 Thread Jason Murray
> What is the code to make a string into lower case? Could you please check the manual before you ask like this? It's strToLower(). http://www.php.net/strtolower Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" -- PHP General Mailing List (http:/

RE: [PHP] convert to lowercase

2002-03-03 Thread Martin Towell
strtolower() -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 4:55 PM To: [EMAIL PROTECTED] Subject: [PHP] convert to lowercase What is the code to make a string into lower case? Regards, Joseph A. Bannon -- PHP General

[PHP] convert to lowercase

2002-03-03 Thread Websitecd
What is the code to make a string into lower case? Regards, Joseph A. Bannon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert to int...?

2001-08-22 Thread Andrey Hristov
- Original Message - From: "Andrey Hristov" <[EMAIL PROTECTED]> To: "Seb Frost" <[EMAIL PROTECTED]> Sent: Wednesday, August 22, 2001 6:20 PM Subject: Re: [PHP] Convert to int...? > Try > $a=7.50; > $a=(int) floor($a); > var_dump($a)

RE: [PHP] Convert to int...?

2001-08-22 Thread Michael Geier, CDM Systems Admin
:[EMAIL PROTECTED]] Sent: Wednesday, August 22, 2001 10:07 AM To: [EMAIL PROTECTED] Subject: [PHP] Convert to int...? I didn't think php was this fussy, but the following code seems to not work because the numbers are floats. round() doesn't seem to help either: $siz=(72/160)*GetImageWid

[PHP] Convert to int...?

2001-08-22 Thread Seb Frost
I didn't think php was this fussy, but the following code seems to not work because the numbers are floats. round() doesn't seem to help either: $siz=(72/160)*GetImageWidth($fileID); $offx=(8/160)*GetImageWidth($fileID); $offy=(1/2)*GetImageHeight($fileID); ImageTTFText ($im, $siz, 0, $offx, $o