[PHP] Re: Combining sound files

2007-03-03 Thread Manuel Lemos
Hello, on 02/25/2007 12:22 PM tedd said the following: > However, I can't do the same with .WAV files. Does anyone know a way to > combine .WAV files similar to the way shown above? This class can do exactly what you want and more: http://www.phpclasses.org/wavedit -- Regards, Manuel Lemos M

[PHP] Re: PHP running as CGI? How to set x.php as index page?

2007-03-03 Thread Michael Weaver
Hi Micky, You could get around this using the HTML meta tag in the index.html page: http://www.yourdomain.com/ x.php"/> It's not a PHP trick, but it should work for you, even with restrictions. Best regards, Mike Weaver -- Michael Weaver Founder/Chief Facilitator Dynamic Insight

Re: [PHP] PHP running as CGI? How to set x.php as index page?

2007-03-03 Thread Micky Hulse
Micky Hulse wrote: PHP gurus I need your help! Hmm, looking on the web it appears as though CGI will not help me with my .htaccess probs... Sorry to bother you all with my silly questions. :) I will contact the host on Monday to see if they offer any work-arounds. Have a great day all.

[PHP] PHP running as CGI? How to set x.php as index page?

2007-03-03 Thread Micky Hulse
PHP gurus I need your help! I worked on a small site for a client who uses a host that I think has PHP running as or under CGI (not much experience with this type of setup personally.) Long story short, this host really sucks... they are very restrictive... I guess understandably so, but

Re: [PHP] question

2007-03-03 Thread Stut
Riyadh S. Alshaeiq wrote: Ok.. let me start by thanking you for replying to my question so soon. Secondly, this the first time that I have posted a question here and I have read some of the instructions and rules regarding posting a question that is probably not a big deal to most programmers. An

Re: [PHP] Re: how to display images stored in DB

2007-03-03 Thread steve
Also, when you hit the 1024 image limit you have to think about directory schema to store the images, as the linux filesystem (and also on other 32 bit systems) will start getting slow, until things like ls will just give you an error. We have a system (I didn't work on it, just maintaining it) t

[PHP] Re: [PEAR] Pager_Wrapper_MDB2 and PHP

2007-03-03 Thread Lorenzo Alberton
Alain Roger wrote: Hi, How to get the number of items stored in the Pager_Wrapper_MDB2 object ? $res = Pager_Wrapper_MDB2(...); //number of items to paginate $res['totalItems']; //number of items in the current page count($res['data']); -- Lorenzo Alberton http://pear.php.net/user/quipo ___

[PHP] Pager_Wrapper_MDB2 and PHP

2007-03-03 Thread Alain Roger
Hi, How to get the number of items stored in the Pager_Wrapper_MDB2 object ? thx. -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

Re: [PHP] Matching logins to an old htpasswd file

2007-03-03 Thread Holger Blasum
Hello Ryan, On 03-03, Ryan A wrote: > test:dGRkPurkuWmW2 (test:test) > test1:dGlAW3zdxeAG2 (test1:test1) $php -r "print crypt('test',base64_encode('test'));"; -> dGRkPurkuWmW2 $php -r "print crypt('test1',base64_encode('test1'));"; -> dGlAW3zdxeAG2 So compare the password string with the output

Re: [PHP] question

2007-03-03 Thread Stut
Riyadh S. Alshaeiq wrote: Kindly, don't neglect my email since I need your feedback desperately. Sure, but first a question... where did you get the impression that starting your email like a Nigerian scammer would convince us to help you any more than we would without it? 1. I have b

[PHP] question

2007-03-03 Thread Riyadh S. Alshaeiq
Dear sir, Kindly, don't neglect my email since I need your feedback desperately. 1. I have been trying to find a php function for getting a file size "not the size on disk".. Every script I have used comes back with the size on disk result.. That is not what I am looking for since I am

Re: [PHP] Re: how to display images stored in DB**

2007-03-03 Thread tedd
>> > At 10:01 AM -0500 3/1/07, markw@mohawksoft.com wrote: tedd said: >Well... it's not just me, but from what I've learned and read over the > years. > > Your claim is that in ALL cases using a file system to store images is preferable to using a database. As such, you claim that using a

Re: [PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Børge Holen
On Saturday 03 March 2007 14:57, Alain Roger wrote: > Hi Rob, > > thanks for information. > As you told me i use 2 files to do what i need. 1 for displaying th > thumbnail and the other just to display the picture. > That's works great. > > However, how can i resize the picture (in my thumbnail) if

[PHP] Matching logins to an old htpasswd file

2007-03-03 Thread Ryan A
Hey, I have a old htpasswd file with a lot of logins in this format: test:dGRkPurkuWmW2 (test:test) test1:dGlAW3zdxeAG2 (test1:test1) now I have a login form what takes a POST "user" and a POST "pw"... but if you look at my above first example login.. the username and pass are "test:test" but i

Re: [PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Robert Cummings
On Sat, 2007-03-03 at 14:57 +0100, Alain Roger wrote: > Hi Rob, > > thanks for information. > As you told me i use 2 files to do what i need. 1 for displaying th > thumbnail and the other just to display the picture. > That's works great. > > However, how can i resize the picture (in my thumbnail

RE: [PHP] Re: Question on virus/worms

2007-03-03 Thread Robert Cummings
On Sat, 2007-03-03 at 14:02 +0100, Tim wrote: > > Once you are comfortable with this, before you use a script downloaded from > the inet in a production environment, go through the code and make sure you > don't see any backdoor code (unecessary fsockopen(), exec() etc.. That isn't > related to the

Re: [PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Alain Roger
Hi Rob, thanks for information. As you told me i use 2 files to do what i need. 1 for displaying th thumbnail and the other just to display the picture. That's works great. However, how can i resize the picture (in my thumbnail) if my pictures are stored to DB ? i mean that my picture is stored

Re: [PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Martin Marques
Robert Cummings escribió: On Sat, 2007-03-03 at 11:02 +0100, Alain Roger wrote: I know how to do that for 1 picture. But i want to display the pictures as thumbnail... so several pictures on the same PHP pages, with some texts. therefore, your solution does not correspond to what i need. You n

RE: [PHP] Re: Question on virus/worms

2007-03-03 Thread Tim
> -Message d'origine- > De : Stut [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 2 mars 2007 20:23 > À : Seak, Teng-Fong > Cc : php-windows@lists.php.net; php-general@lists.php.net > Objet : Re: [PHP] Re: Question on virus/worms > > Seak, Teng-Fong wrote: > > But after I've spent some

Re: [PHP] Re: how to display images stored in DB*

2007-03-03 Thread Robert Cummings
On Sat, 2007-03-03 at 08:22 -0500, markw@mohawksoft.com wrote: > > On Fri, 2007-03-02 at 22:53 -0500, markw@mohawksoft.com wrote: > >> > On Fri, 2007-03-02 at 17:31 -0500, markw@mohawksoft.com wrote: > >> >> > Your claim is that in ALL cases using a file system to store images > >> >> > is preferab

Re: [PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Robert Cummings
On Sat, 2007-03-03 at 11:02 +0100, Alain Roger wrote: > I know how to do that for 1 picture. But i want to display the pictures as > thumbnail... so several pictures on the same PHP pages, with some texts. > therefore, your solution does not correspond to what i need. You need two scripts. One scr

Re: [PHP] Re: how to display images stored in DB*

2007-03-03 Thread markw
> On Fri, 2007-03-02 at 22:53 -0500, markw@mohawksoft.com wrote: >> > On Fri, 2007-03-02 at 17:31 -0500, markw@mohawksoft.com wrote: >> >> > Your claim is that in ALL cases using a file system to store images >> >> > is preferable to using a database. As such, you claim that using a >> dB >> >> > f

Re: [PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Martin Marques
Alain Roger wrote: Hi, It's amazing that my previous post has raised so much consideration about the fact to store or not pictures into DB. It was nice, wasn't it? :-D However, none of those posts answered to my question... How can i retrieve and display those pictures to my PHP pages ? ??

Re: [PHP] Re: how to display images stored in DB

2007-03-03 Thread Martin Marques
steve wrote: As a newbie, is storing an image in a dB a "good" thing or a "bad" thing? I tend to go with "depends". We actually store files in a DB in development, as those machines are separate from the grid. Since some are windows, linux, and MacOS, it is far easier to store in a DB than ha

Re: [PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Børge Holen
To fetch an image from a database you need to call a separate file witch "acts" as the image... it is this file who set the image header. the text is still fetched in the original file. On Saturday 03 March 2007 10:18, Alain Roger wrote: > Hi, > > It's amazing that my previous post has raised so

Re: [PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Alain Roger
I know how to do that for 1 picture. But i want to display the pictures as thumbnail... so several pictures on the same PHP pages, with some texts. therefore, your solution does not correspond to what i need. Sorry. AL. On 3/3/07, Matt Carlson <[EMAIL PROTECTED]> wrote: If I were you, I would

Re: [PHP] [X-POST] PHP script to make sure MySQL is up?

2007-03-03 Thread Haydar Tuna
Hello, Richard Lynch is right. mysql_pconnect is a good connection method. In this method, we use only open connections. We don't open a new connection. If you use mysql_pconnect , you don't need mysql_close because this is persistent connection. You can restart mysql with cro

[PHP] pictures stored in PostgreSQL DB

2007-03-03 Thread Alain Roger
Hi, It's amazing that my previous post has raised so much consideration about the fact to store or not pictures into DB. However, none of those posts answered to my question... How can i retrieve and display those pictures to my PHP pages ? Basically, on my PHP page I have some texts and I would

[PHP] Re: rich html emailer

2007-03-03 Thread Haydar Tuna
Hello, You can use AJAX technologies. In this technology, You can call the PHP functions with JavaScript and then you can use returning values of PHP functions with JavaScript. Returning values of PHP functions can be only one variable or array variables :) -- Haydar TUNA Republic Of

[PHP] Re: advise on consulting fees

2007-03-03 Thread Haydar Tuna
Hello, You can developed private web site template for your clients. This template can be personal page, company page and so on. if you try this, you can deal with only graphic design. Your development time for the web site will decrease. :) -- Haydar TUNA Republic Of Turkey - Minist

[PHP] php-4.4.* on x86_64

2007-03-03 Thread Michael Kress
hi there, I've got a dual xeon x86_64 and I got centos-4.4 installed on it (it's actually a XenU machine). Centos-4.4 comes with php-4.3 but for some reason I have to install php-4.4. Now my problem is that I can't get the thing compiled. I tried with this package: http://3es.atomicrocketturtle