Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Chris
ok, the complete workflow is a little bit complicated. we are using a workflow engine and the newsletter generator is one step of three. the first cleans the statistics data, the second generates the new data and the third is the one which generates the mails. Put this in between each line

Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Chris
Arthur Erdös wrote: It can if you're trying to process a borked image... I've had imagecreatefromjpeg() eat memory up to almost 50x the size of the image before finally deciding it can't handle it and crapping out. That was *after* running it through getimagesize() with no problem at all.

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Stut
tedd wrote: this ain't the bad old days. That's debatable! -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-04-12 18:17:34 +0200: 3-4 seconds is dead slow if you ask me - a script like this should be capable of making the average mailserver go completely apeshit assuming you'd be mailing the newsletters out directly after creating them [rather than storing them in a

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Stut
tedd wrote: At 7:41 PM +0100 4/12/07, Stut wrote: Yes you'll need to put in a bit more work, but the result will be that much better. -Stut Sorry Stut -- I know you know this, but it's more work to NOT use css. Not when you have a pre-made table-based layout already. -Stut -- PHP

Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Arthur Erdös
Am Freitag, den 13.04.2007, 16:03 +1000 schrieb Chris: ok, the complete workflow is a little bit complicated. we are using a workflow engine and the newsletter generator is one step of three. the first cleans the statistics data, the second generates the new data and the third is the one

Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-04-13 07:49:43 +0200: Just post your source already. ok, the complete workflow is a little bit complicated. we are using a workflow engine and the newsletter generator is one step of three. the first cleans the statistics data, the second generates the new

Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Chris
Arthur Erdös wrote: Am Freitag, den 13.04.2007, 16:03 +1000 schrieb Chris: ok, the complete workflow is a little bit complicated. we are using a workflow engine and the newsletter generator is one step of three. the first cleans the statistics data, the second generates the new data and the

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Robert Cummings
Dear Tedd, Please put me down for one pint of asshole, because while you sit on that glass pedestal of CSS superiority I can't help but notice how http://ancientstones.com/ looks completely fucked up in Opera. Opera I might add is ACID2 compliant. Now please go shove your better than thou CSS up

Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Arthur Erdös
Reading in the template should only happen once and take roughly as much memory as the file is big. If the file is 20k, memory should go up roughly by that much. If it's going up a lot more, something is going wrong (either you're doing something wrong or you're not just reading the

Re: [PHP] Re: WYSIWYG vs. the 'power-user'

2007-04-13 Thread Sancar Saran
It depends what did you want... For example. My current project uses own template engine. It was so simple. you have to use {} marked nodes inside of generic html document. You have to use text editor to update template file... Then guess what... Our HTML designers cring for dreamweaver

[PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Micky Hulse
I think I just read that PHP is ran as CGI on Dreamhost... this does not sound good. Can anyone confirm? What do you all think? Good? Bad? I have dealt with one other server that did this (PHP as CGI) and I hated it! I just bought a years worth of hosting... I have a trial period so I

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Tijnema !
On 4/13/07, Micky Hulse [EMAIL PROTECTED] wrote: I think I just read that PHP is ran as CGI on Dreamhost... this does not sound good. Can anyone confirm? What do you all think? Good? Bad? I have dealt with one other server that did this (PHP as CGI) and I hated it! I just bought a years worth

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Micky Hulse
Micky Hulse wrote: I think I just read that PHP is ran as CGI on Dreamhost... this does not sound good. Can anyone confirm? Found this: http://php.dreamhosters.com/ I guess I am just wondering what your thoughts are when it comes to running PHP as CGI? Good/Bad? Maybe I should not worry

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Richard Davey
Micky Hulse wrote: I think I just read that PHP is ran as CGI on Dreamhost... this does not sound good. Can anyone confirm? If you've got access to your account with them, you can confirm it yourself. Check the output of a phpinfo(). What do you all think? Good? Bad? Not *that* terrible

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Micky Hulse
Hi Tijnema! Thanks for the quick reply, I really appreciate the help. :) Tijnema ! wrote: Google tells me that it is an optional feature to run PHP as CGI, default it is running under apache. Atleast that's what i found for dreamhost. Ah, from what I am reading, it sounds like that used to be

Re: [PHP] scandir and ftp wrapper

2007-04-13 Thread John Ewing
I can think of only one reason why your test might be invalid: If you have already logged in to the FTP server from the browser, and the user:pass in the URL aren't the ones actually authenticating you, but the ones saved in the browser are the ones that let you in, you'd get the behaviour you

Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Jochem Maas
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-04-12 18:17:34 +0200: 3-4 seconds is dead slow if you ask me - a script like this should be capable of making the average mailserver go completely apeshit assuming you'd be mailing the newsletters out directly after creating them [rather

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Tijnema !
On 4/13/07, Richard Davey [EMAIL PROTECTED] wrote: Micky Hulse wrote: I think I just read that PHP is ran as CGI on Dreamhost... this does not sound good. Can anyone confirm? If you've got access to your account with them, you can confirm it yourself. Check the output of a phpinfo(). What

[PHP] Re: PHP editor

2007-04-13 Thread David Robley
Jonathan Kahan wrote: Hi all, I beleive this is in the realm of php (I have learned my lesson from last time). Does anyone have recomendation for any free (I.E. permanently free not 30 day trial) of a good php editor. The ones i am seeing all only allow usage for a limited time. OMG - it

Re: [PHP] PHP editor

2007-04-13 Thread David Robley
Robert Cummings wrote: On Wed, 2007-04-11 at 10:30 -0500, Philip Thompson wrote: Obviously some people think this is NOT in the realm of php. Nonetheless, I think it's a relevant question and others have answered it well. Relevant sure... but the answers are in the frickin' archives

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Micky Hulse
Hi Richard! Thanks for the help, I really appreciate your time and advice. :) Richard Davey wrote: If you've got access to your account with them, you can confirm it yourself. Check the output of a phpinfo(). Ah, lol. Good call: Server API: CGI/FastCGI Virtual Directory Support: disabled

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Micky Hulse
Tijnema ! wrote: I'm using www.dapx.com for my www sites. Setup is a pain in the ass there, it can take a few days before you get a reply. But once you got it, it's a really nice host. Nice speed, really 99.9% uptime, and not much limited stuff :) safe_mode is even turned off :) Ah, thanks for

[PHP] Re: free allocated memory: HOW ?

2007-04-13 Thread Colin Guthrie
Jochem Maas wrote: yeah or exim, only I can't because it's one of the darn plesk servers - and changing out the mail server is not something I can do. I have recently escaped Pleskhog day. It's s refreshing - so happy to just be given an apache config and let loose!!! Col -- PHP

Re: [PHP] width and height of flash-files

2007-04-13 Thread David Robley
Heiko Sudar wrote: hi, is there a way to get the width and the height of a flash movie via php? heiko What is this thread - see how many times a thread can be hijacked and go off topic before the thread nazi steps in? Oh wait, I've stepped in :-) Cheers -- David Robley Everybody is

Re: [PHP] width and height of flash-files

2007-04-13 Thread Tijnema !
On 4/13/07, Heiko Sudar [EMAIL PROTECTED] wrote: hi, is there a way to get the width and the height of a flash movie via php? heiko Have a look at this class: http://www.phpclasses.org/browse/file/6443.html It parses the header of an SWF(Flash) file, and it does also get height and width :)

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Richard Davey
Micky Hulse wrote: Lol, funny you should mention that... Within a few days of getting an account, my server went down with a bunch of other folks... I guess it was a DOS attack or something. It will be the first of many :) Oh and hey... you'll soon experience the sporadic will it or won't

Re: [PHP] Re: free allocated memory: HOW ?

2007-04-13 Thread Jochem Maas
Colin Guthrie wrote: Jochem Maas wrote: yeah or exim, only I can't because it's one of the darn plesk servers - and changing out the mail server is not something I can do. I have recently escaped Pleskhog day. It's s refreshing - so ROFL. if it's all the same 'Pleskhogday' is

Re: [PHP] Download multiple sound files?

2007-04-13 Thread Jochem Maas
Richard Lynch wrote: On Thu, April 12, 2007 11:15 am, Skip Evans wrote: I have a need to allow a user to download multiple sound files (mp3s, typically) from a single link. I've been looking at various solutions via Google, but have not seen one yet to do this. Can anyone point me in the

[PHP] Re: width and height of flash-files

2007-04-13 Thread Colin Guthrie
Tijnema ! wrote: On 4/13/07, Heiko Sudar [EMAIL PROTECTED] wrote: hi, is there a way to get the width and the height of a flash movie via php? heiko Have a look at this class: http://www.phpclasses.org/browse/file/6443.html It parses the header of an SWF(Flash) file, and it does also

Re: [PHP] Cheap Ping

2007-04-13 Thread Leonard Burton
HI I am trying to find a simple way to test to see if a web site is up or not. What about analyzing the results from exec(ping www.domain.ext); ? -- Leonard Burton, N9URK http://www.jiffyslides.com [EMAIL PROTECTED] [EMAIL PROTECTED] The prolonged evacuation would have dramatically

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Jarrel Cobb
Nice observation. On 4/13/07, Robert Cummings [EMAIL PROTECTED] wrote: Dear Tedd, Please put me down for one pint of asshole, because while you sit on that glass pedestal of CSS superiority I can't help but notice how http://ancientstones.com/ looks completely fucked up in Opera. Opera I

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Miles Thompson
On 4/13/07, Richard Davey [EMAIL PROTECTED] wrote: Micky Hulse wrote: Lol, funny you should mention that... Within a few days of getting an account, my server went down with a bunch of other folks... I guess it was a DOS attack or something. It will be the first of many :) Oh and hey...

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Tim
CSS is young, it will mature in time, meanwhile to each his own layout manner. I see what you are saying Rob, (yes the BUT) BUT table are orginally for formatting data in a litteral manner and css is for layout. Personally i have a heck of time getting embedded tables to do the job for me

[PHP] IE6 PHP

2007-04-13 Thread elk dolk
Hi all, I have a bunch of thumbnail images that link to larger versions of the images and want to line them up in rows across the screen , using CSS I put them into a separate DIV. To get them to line up horizontally across the window I use CSS to FLOAT each DIV to the left, CSS looks like

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread tedd
At 3:17 AM -0400 4/13/07, Robert Cummings wrote: Dear Tedd, Please put me down for one pint of asshole, because while you sit on that glass pedestal of CSS superiority I can't help but notice how http://ancientstones.com/ looks completely fucked up in Opera. Opera I might add is ACID2

[PHP] PHP RAD framework

2007-04-13 Thread Man-wai Chang
Any recommendation? Smarty Templates help a bit, but still need lots of coding... -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Ubuntu 6.10) Linux 2.6.20.6 ^ ^ 22:26:01 up 6 days 5:17 0

Re: [PHP] IE6 PHP

2007-04-13 Thread Richard Davey
elk dolk wrote: I have a bunch of thumbnail images that link to larger versions of the images and want to line them up in rows across the screen , using CSS I put them into a separate DIV. To get them to line up horizontally across the window I use CSS to FLOAT each DIV to the left, CSS

[PHP] Re: Re: WYSIWYG vs. the 'power-user'

2007-04-13 Thread Chetan Graham
Sancar said: It depends what did you want... For example. My current project uses own template engine. It was so simple. you have to use {} marked nodes inside of generic html document. You have to use text editor to update template file... Then guess what... Our HTML designers cring for

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread tedd
At 8:39 PM -0400 4/12/07, Jarrel Cobb wrote: If you're striving to be the best front end developer you can be then yes, by all means, use pure CSS for layout and never use tools like DW but thats not everyone's goal. Fair enough. My complaint here is not what anyone chooses to do/use but

RE: [PHP] IE6 PHP

2007-04-13 Thread Tim
-Message d'origine- De : elk dolk [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 16:16 À : [EMAIL PROTECTED] Objet : [PHP] IE6 PHP Hi all, I have a bunch of thumbnail images that link to larger versions of the images and want to line them up in rows across the

RE: [PHP] IE6 PHP

2007-04-13 Thread Tim
Oh and if it really is a pure css problem try a css list ;) -Message d'origine- De : elk dolk [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 16:16 À : [EMAIL PROTECTED] Objet : [PHP] IE6 PHP Hi all, I have a bunch of thumbnail images that link to larger versions

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Jochem Maas
Tim wrote: ... Oh and guys, since when is their ONE good way of doing things??? The only thing i regret here is the violence some of these posts take :) Isn't the world full of it already? Can't we tone it down in here where their is some resemblance of peace? ;) oh, the world is

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Tim
-Message d'origine- De : Jochem Maas [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 16:32 À : Tim Cc : 'Jarrel Cobb'; 'Robert Cummings'; 'tedd'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Objet : Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer! Tim wrote:

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread tedd
At 4:05 PM +0200 4/13/07, Tim wrote: The only thing i regret here is the violence some of these posts take :) Isn't the world full of it already? Can't we tone it down in here where their is some resemblance of peace? ;) Tim Tim: Don't worry about it. This manner is common for this list --

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Tim
-Message d'origine- De : tedd [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 16:37 À : Tim; 'Jarrel Cobb'; 'Robert Cummings' Cc : 'tedd'; [EMAIL PROTECTED]; 'Jochem Maas'; [EMAIL PROTECTED] Objet : RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer! At

Re: [PHP] PHP editor

2007-04-13 Thread Timothy Murphy
Just showing my ignorance, probably, but what exactly is meant by a PHP editor? Does it mean an editor for editing PHP scripts, or an editor written in PHP? -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics,

[PHP] Re: WYSIWYG vs. the 'power-user'

2007-04-13 Thread tedd
At 7:18 PM +0300 4/12/07, Chetan Graham wrote: To set the record straight for both camps, It's good to know both sides of everything. But that's part of the problem because usually those who use only one, don't understand the other. If you are proficient in both, then you have the

RE: [PHP] PHP editor

2007-04-13 Thread Jay Blanchard
[snip] Just showing my ignorance, probably, but what exactly is meant by a PHP editor? Does it mean an editor for editing PHP scripts, or an editor written in PHP? [/snip] Something to edit PHP with...unless you're trying to be funny -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP editor

2007-04-13 Thread Philip Thompson
On Apr 13, 2007, at 10:26 AM, Jay Blanchard wrote: [snip] Just showing my ignorance, probably, but what exactly is meant by a PHP editor? Does it mean an editor for editing PHP scripts, or an editor written in PHP? [/snip] Something to edit PHP with...unless you're trying to be funny LOL!

Re: [PHP] PHP editor

2007-04-13 Thread M.Sokolewicz
Philip Thompson wrote: On Apr 13, 2007, at 10:26 AM, Jay Blanchard wrote: [snip] Just showing my ignorance, probably, but what exactly is meant by a PHP editor? Does it mean an editor for editing PHP scripts, or an editor written in PHP? [/snip] Something to edit PHP with...unless you're

Re: [PHP] PHP editor

2007-04-13 Thread Stut
M.Sokolewicz wrote: Philip Thompson wrote: On Apr 13, 2007, at 10:26 AM, Jay Blanchard wrote: [snip] Just showing my ignorance, probably, but what exactly is meant by a PHP editor? Does it mean an editor for editing PHP scripts, or an editor written in PHP? [/snip] Something to edit PHP

Re: [PHP] PHP editor

2007-04-13 Thread Tijnema !
On 4/13/07, M.Sokolewicz [EMAIL PROTECTED] wrote: Philip Thompson wrote: On Apr 13, 2007, at 10:26 AM, Jay Blanchard wrote: [snip] Just showing my ignorance, probably, but what exactly is meant by a PHP editor? Does it mean an editor for editing PHP scripts, or an editor written in PHP?

Re: [PHP] Cheap Ping

2007-04-13 Thread tedd
At 11:16 PM -0600 4/12/07, [EMAIL PROTECTED] wrote: Hello, I am trying to find a simple way to test to see if a web site is up or not. I tried using $file = file_get_contents(http://www.example.com/page.html;); but when the site is down it takes too long and seems to time out terminating the

[PHP] Re: WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Chetan Graham
Tim wrote: ... Oh and guys, since when is their ONE good way of doing things??? The only thing i regret here is the violence some of these posts take :) Isn't the world full of it already? Can't we tone it down in here where their is some resemblance of peace? ;) Tim I sympathise with you on

Re: [PHP] PHP editor

2007-04-13 Thread Jarrel Cobb
No, C is not a scripting language. There probably are some editors written in python though...which is a scripting language. On 4/13/07, Tijnema ! [EMAIL PROTECTED] wrote: On 4/13/07, M.Sokolewicz [EMAIL PROTECTED] wrote: Philip Thompson wrote: On Apr 13, 2007, at 10:26 AM, Jay Blanchard

RE: [PHP] PHP editor

2007-04-13 Thread Buesching, Logan J
Komodo, written in python and XUL (yes, the firefox extention engine). -Original Message- From: Jarrel Cobb [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 12:08 PM To: Tijnema ! Cc: M. Sokolewicz; Philip Thompson; php General List Subject: Re: [PHP] PHP editor No, C is not a

RE: [PHP] PHP editor

2007-04-13 Thread Tim
-Message d'origine- De : Philip Thompson [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 17:35 À : php General List Objet : Re: [PHP] PHP editor On Apr 13, 2007, at 10:26 AM, Jay Blanchard wrote: [snip] Just showing my ignorance, probably, but what exactly is

[PHP] PDO SQLite driving me mad!

2007-04-13 Thread Richard Davey
Hi all, I really don't know what is going on here. Can anyone shed some light on this please? I'm trying to store an image in a SQLite database using PDO. The code given on http://uk2.php.net/manual/en/ref.pdo.php under Example 1669 is basically wrong - you can't beginTransaction() on a

[PHP] Protecting individual files/dirs from access

2007-04-13 Thread Skip Evans
Hey all, I hope this isn't too off-topic for this list, but I have a need to protect dynamically created directories in an Apache environment and not sure the best way to go about it. It's yer basic LAMP environment, and what will happen is that the client will be uploading a musician's

RE: [PHP] PHP editor

2007-04-13 Thread Tim
-Message d'origine- De : Tim [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 18:19 À : 'Philip Thompson'; 'php General List' Objet : RE: [PHP] PHP editor -Message d'origine- De : Philip Thompson [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril

Re: [PHP] PHP RAD framework

2007-04-13 Thread Paul Scott
On Fri, 2007-04-13 at 22:26 +0800, Man-wai Chang wrote: Any recommendation? Smarty Templates help a bit, but still need lots of coding... http://avoir.uwc.ac.za All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm --

Re: [PHP] Cheap Ping

2007-04-13 Thread Paul Novitski
At 11:16 PM -0600 4/12/07, [EMAIL PROTECTED] wrote: I am trying to find a simple way to test to see if a web site is up or not. At 4/13/2007 08:56 AM, tedd wrote: Try: if ($unix) { system (ping -c$count -w$count $host); system(killall ping); } else { system(ping -n $count

Re: [PHP] Cheap Ping

2007-04-13 Thread Gabriel Millerd
At 4/13/2007 08:56 AM, tedd wrote: Try: if ($unix) { system (ping -c$count -w$count $host); system(killall ping); } slaying all the pings that the user has can bring odd results. obviously this will kill all the webserver's userid that has pings running. -- Gabriel Millerd --

[PHP] sendmail loop

2007-04-13 Thread John Pillion
I have a sendmail script that loops through an array of email addresses. the problem is, the list can sometimes be fairly long, and the page does not finish loading until the loop has completed. Currently, I have the majority of the page loading, including text that says messages sending, please

Re: [PHP] Protecting individual files/dirs from access

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 11:43 am, Skip Evans wrote: So the directory for the artist, which will be one level below the docroot, like Don't do that. You have to work WAY too hard to make sure you have a gate-keeper to force people to pay. Put the files outside the webtree, and have a PHP script

Re: [PHP] IE6 PHP

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 9:15 am, elk dolk wrote: I have a bunch of thumbnail images that link to larger versions of the images and want to line them up in rows across the screen , using CSS I put them into a separate DIV. To get them to line up horizontally across the window I use CSS to FLOAT

Re: [PHP] PHP editor

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 10:11 am, Timothy Murphy wrote: Just showing my ignorance, probably, but what exactly is meant by a PHP editor? Does it mean an editor for editing PHP scripts, Usually means this, and that's been answered a few zillion times. or an editor written in PHP? Seldom means

Re: [PHP] Cheap Ping

2007-04-13 Thread tedd
At 12:37 PM -0700 4/13/07, Paul Novitski wrote: At 11:16 PM -0600 4/12/07, [EMAIL PROTECTED] wrote: I am trying to find a simple way to test to see if a web site is up or not. At 4/13/2007 08:56 AM, tedd wrote: Try: if ($unix) { system (ping -c$count -w$count $host); system(killall

Re: [PHP] PHP editor

2007-04-13 Thread Timothy Murphy
On Fri 13 Apr 2007, Jay Blanchard wrote: [snip] Just showing my ignorance, probably, but what exactly is meant by a PHP editor? Does it mean an editor for editing PHP scripts, or an editor written in PHP? [/snip] Something to edit PHP with...unless you're trying to be funny I wasn't

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 3:46 am, Micky Hulse wrote: I think I just read that PHP is ran as CGI on Dreamhost... this does not sound good. Can anyone confirm? You could confirm what you have on YOUR setup with: ?php phpinfo();? faster and with more assurance of correctness than any mailing list

Re: [PHP] sendmail loop

2007-04-13 Thread Tijnema !
On 4/13/07, John Pillion [EMAIL PROTECTED] wrote: I have a sendmail script that loops through an array of email addresses. the problem is, the list can sometimes be fairly long, and the page does not finish loading until the loop has completed. Currently, I have the majority of the page

Re: [PHP] Cheap Ping

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 12:16 am, [EMAIL PROTECTED] wrote: Hello, I am trying to find a simple way to test to see if a web site is up or not. I tried using $file = file_get_contents(http://www.example.com/page.html;); but when the site is down it takes too long and seems to time out

Re: [PHP] Cheap Ping

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 12:20 am, Jim Lucas wrote: Is there some way I can set a shorter limit? http://us.php.net/manual/en/function.stream-set-timeout.php Bzzzt. That's for an already-opened stream. :-) -- Some people have a gift link here. Know what I want? I want you to buy a CD from

Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 12:54 am, Arthur Erdös wrote: It can if you're trying to process a borked image... I've had imagecreatefromjpeg() eat memory up to almost 50x the size of the image before finally deciding it can't handle it and crapping out. That was *after* running it through

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Sebe
Richard Lynch wrote: On Fri, April 13, 2007 3:46 am, Micky Hulse wrote: I think I just read that PHP is ran as CGI on Dreamhost... this does not sound good. Can anyone confirm? You could confirm what you have on YOUR setup with: ?php phpinfo();? faster and with more assurance of

Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 12:49 am, Arthur Erdös wrote: $abonents = $personAction-findAbonents($start, $offset); $size = $personAction-countFoundRows(); $this-logger-debug(Found . $size . abonents);

Re: [PHP] Download multiple sound files?

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 6:09 am, Jochem Maas wrote: Richard Lynch wrote: On Thu, April 12, 2007 11:15 am, Skip Evans wrote: I have a need to allow a user to download multiple sound files (mp3s, typically) from a single link. I've been looking at various solutions via Google, but have not seen

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 1:20 am, Stut wrote: tedd wrote: this ain't the bad old days. That's debatable! Damnit! Now I've got that These are the good ol' days song stuck in my head, and it's your fault! :-) -- Some people have a gift link here. Know what I want? I want you to buy a CD from

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 1:24 am, Stut wrote: tedd wrote: At 7:41 PM +0100 4/12/07, Stut wrote: Yes you'll need to put in a bit more work, but the result will be that much better. -Stut Sorry Stut -- I know you know this, but it's more work to NOT use css. Not when you have a pre-made

Re: [PHP] Cheap Ping

2007-04-13 Thread Jim Lucas
Richard Lynch wrote: On Fri, April 13, 2007 12:20 am, Jim Lucas wrote: Is there some way I can set a shorter limit? http://us.php.net/manual/en/function.stream-set-timeout.php Bzzzt. That's for an already-opened stream. :-) I figured that the op would figure that part out and possibly

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Micky Hulse
Richard Davey wrote: It will be the first of many :) Yikes! Definitely gonna make the switch. Cheap it may be, but I need reliable too! Oh and hey... you'll soon experience the sporadic will it or won't it nature of their Control Panel loading too. I always loved that one. Doh! Yeah. Not

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Micky Hulse
Miles Thompson wrote: Have a look at www.hub.org. They host PostgreSQL world wide, you get a virtual machine, not a virtual host, and they are v. helpful in setting up software. Ahhh, nice! Thanks for the tip. Looking at what they offer now. It is going to be a close call between several.

Re: [PHP] IE6 PHP

2007-04-13 Thread Jim Lucas
elk dolk wrote: Hi all, I have a bunch of thumbnail images that link to larger versions of the images and want to line them up in rows across the screen , using CSS I put them into a separate DIV. To get them to line up horizontally across the window I use CSS to FLOAT each DIV to the left,

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 5:27 pm, Sebe wrote: by the way, isn't PHP w/FastCGI faster than using apache module? Probably depends. Might as well ask if a car is faster than a speedboat... And whatever troubles the OP had with CGI may not apply in FCGI, or might be made worse. -- Some people have

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Micky Hulse
Richard Lynch wrote: You could confirm what you have on YOUR setup with: ?php phpinfo();? faster and with more assurance of correctness than any mailing list answer. Yeah! Hehe. I feel like such a noob. I can not believe I did not think of that first. Lol. Here is what phpinfo() had to say:

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Micky Hulse
Hi Sebe, thanks for help. Sebe wrote: yeah or `php -v` via cmdline. Great! Thanks for tip on that one. ;) by the way, isn't PHP w/FastCGI faster than using apache module? A, really? DH does offer FastCGI support. Hrmmm. So many things to consider! Lol. Thanks again Sebe! Cheers, M

RE: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Buesching, Logan J
You can't really do `php -v` on the command line, unless you know which php you are using. If you have several installations of PHP, then doing `php -v` will just get you the version of PHP for which is loaded first from your path. I'd do a `which php` to make sure you are using php 5 first

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Stut
Richard Lynch wrote: On Fri, April 13, 2007 1:20 am, Stut wrote: tedd wrote: this ain't the bad old days. That's debatable! Damnit! Now I've got that These are the good ol' days song stuck in my head, and it's your fault! :-) Hey, don't forget that you should always look on the bright

Re: [PHP] Re: WYSIWYG vs. the 'power-user'

2007-04-13 Thread Børge Holen
On Thursday 12 April 2007 18:18, Chetan Graham wrote: To set the record straight for both camps, in the web apps that come to me I simply do the PHP, javascript, etc. The files come to me already PhotoShopped and Dreamweaed. Yup,,, just filling in the blanks where its needed. I tell

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Robert Cummings
On Fri, 2007-04-13 at 10:30 -0400, tedd wrote: At 8:39 PM -0400 4/12/07, Jarrel Cobb wrote: If you're striving to be the best front end developer you can be then yes, by all means, use pure CSS for layout and never use tools like DW but thats not everyone's goal. Fair enough. My

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Robert Cummings
On Fri, 2007-04-13 at 16:37 +0200, Tim wrote: -Message d'origine- De : Jochem Maas [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 16:32 À : Tim Cc : 'Jarrel Cobb'; 'Robert Cummings'; 'tedd'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Objet : Re: [PHP] WWE in

Re: [PHP] Cheap Ping

2007-04-13 Thread Jürgen Wind
Jim Lucas-2 wrote: Richard Lynch wrote: On Fri, April 13, 2007 12:20 am, Jim Lucas wrote: Is there some way I can set a shorter limit? http://us.php.net/manual/en/function.stream-set-timeout.php Bzzzt. That's for an already-opened stream. :-) I figured that the op would figure

[PHP] how to get var name and value from function?

2007-04-13 Thread Afan Pasalic
hi, this one I can't figure out: I have to assign value of an array to variable named after key of the array several times in my project to , e.g. after I submit a form with personal info I have $_POST['name'] = 'john doe'; $_POST['address'] = '123 main st.'; $_POST['city'] = 'urbandale';

[PHP] Images again

2007-04-13 Thread Børge Holen
Before mr lynch starts beating up those already dead and probably long since burried horses... Images in a database! See I was just wondering, and that at times leads to late nights I used to read the images from two different files; one watermarked the image and one let it throught without

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Robert Cummings
On Fri, 2007-04-13 at 10:16 -0400, tedd wrote: At 3:17 AM -0400 4/13/07, Robert Cummings wrote: Dear Tedd, Please put me down for one pint of asshole, because while you sit on that glass pedestal of CSS superiority I can't help but notice how http://ancientstones.com/ looks completely

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Robert Cummings
On Fri, 2007-04-13 at 09:24 -0400, Jarrel Cobb wrote: Nice observation. It was a timely cheapshot :) Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com |

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Robert Cummings
On Fri, 2007-04-13 at 16:05 +0200, Tim wrote: CSS is young, it will mature in time, meanwhile to each his own layout manner. I see what you are saying Rob, (yes the BUT) BUT table are orginally for formatting data in a litteral manner and css is for layout. I'm sure by formatting you mean