Re: [PHP] Program Execution and reading results

2007-06-21 Thread makhan
Thanks Paul for your response. my issue is not just reading from the output text file. But my issue is what I would do in the php script while the program is execting( i.e after issueing shell_exec() command) and how would i know that file has been written so that i can read it using php. Thanks

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Paul Scott
On Thu, 2007-06-21 at 01:13 -0700, makhan wrote: Thanks Paul for your response. my issue is not just reading from the output text file. But my issue is what I would do in the php script while the program is execting( i.e after issueing shell_exec() command) and how would i know that file has

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Zoltán Németh
2007. 06. 21, csütörtök keltezéssel 01.13-kor makhan ezt írta: Thanks Paul for your response. my issue is not just reading from the output text file. But my issue is what I would do in the php script while the program is execting( i.e after issueing shell_exec() command) and how would i know

Re: [PHP] Counting Capital Letters

2007-06-21 Thread Robin Vickery
On 21/06/07, Richard Davey [EMAIL PROTECTED] wrote: Hi, I've written a short regexp which will *count* how many capital letters are in a given string (the woefully simple: '/[A-Z]/') Although it's an English language web site, I'm curious how you'd count capital letters that span beyond just

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Richard Heyes
makhan wrote: Thanks Paul for your response. my issue is not just reading from the output text file. But my issue is what I would do in the php script while the program is execting( i.e after issueing shell_exec() command) and how would i know that file has been written so that i can read it

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Richard Heyes
use exec() instead of shell_exec() Why? -- Richard Heyes 0844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Zoltán Németh
2007. 06. 21, csütörtök keltezéssel 10.08-kor Richard Heyes ezt írta: use exec() instead of shell_exec() Why? hmm I thought the OP's question was about how can he get output/return value from the external program (the file name for example) - maybe it was my misunderstanding greets Zoltán

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Richard Heyes
hmm I thought the OP's question was about how can he get output/return value from the external program (the file name for example) - maybe it was my misunderstanding In which case I would still use shell_exec(): ?php $output = shell_exec('ls -l'); ? -- Richard Heyes 0844 801 1072

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Zoltán Németh
2007. 06. 21, csütörtök keltezéssel 10.46-kor Richard Heyes ezt írta: hmm I thought the OP's question was about how can he get output/return value from the external program (the file name for example) - maybe it was my misunderstanding In which case I would still use shell_exec(): ?php

[PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Graham Shaw
Hi, I'm probably missing something really obvious here but how would I go about opening a file or multiple files in a folder without knowing the filename ahead of time? Loading a file in and sending the contents to a databse I can do but everywhere i've looked all require the filename to be

Re: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Paul Scott
On Thu, 2007-06-21 at 01:49 +0100, Graham Shaw wrote: I'm probably missing something really obvious here but how would I go about opening a file or multiple files in a folder without knowing the filename ahead of time? You can use the glob function http://www.php.net/glob to build an array

RE: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Edward Kay
-Original Message- From: Graham Shaw [mailto:[EMAIL PROTECTED] I'm probably missing something really obvious here but how would I go about opening a file or multiple files in a folder without knowing the filename ahead of time? Read the files in the directory and place the names of

Re: [PHP] phpinfo displays blank page

2007-06-21 Thread Daniel Brown
On 6/20/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Jeff Schwartz [EMAIL PROTECTED] wrote: You're right, that works. So why doesn't my script work? All it contains is: ?php phpinfo(); ? Hard to say, as this just *should* work. What you can try is to hook up the processor with some

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Daniel Brown
On 6/21/07, Zoltán Németh [EMAIL PROTECTED] wrote: 2007. 06. 21, csütörtök keltezéssel 10.46-kor Richard Heyes ezt írta: hmm I thought the OP's question was about how can he get output/return value from the external program (the file name for example) - maybe it was my misunderstanding

Re: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Daniel Brown
On 6/21/07, Edward Kay [EMAIL PROTECTED] wrote: -Original Message- From: Graham Shaw [mailto:[EMAIL PROTECTED] I'm probably missing something really obvious here but how would I go about opening a file or multiple files in a folder without knowing the filename ahead of time? Read

Re: [PHP] Interesting article about PHP security exploit by GIF files

2007-06-21 Thread tedd
At 9:27 PM +0200 6/20/07, Tijnema wrote: On 6/20/07, tedd [EMAIL PROTECTED] wrote: If you are worried about evil code being in the image, you could always resample the image (larger or smaller). Not that I have personal experience, but I would think that any piece of code that is resampled is

Re: [PHP] Re: php framework, large site

2007-06-21 Thread Crayon Shin Chan
On Wednesday 20 June 2007 03:27, Robert Cummings wrote: 1) study a selection of frameworks and learn from their strengths and weaknesses then go on to create a kickass framework based on what you've learnt Now, now, let's not pretend that you even nearly suggested that in your original

Re: [PHP] Counting Capital Letters

2007-06-21 Thread tedd
At 12:32 AM +0100 6/21/07, Richard Davey wrote: Hi, I've written a short regexp which will *count* how many capital letters are in a given string (the woefully simple: '/[A-Z]/') Although it's an English language web site, I'm curious how you'd count capital letters that span beyond just the

Re: [PHP] Re: php framework, large site

2007-06-21 Thread Robert Cummings
On Thu, 2007-06-21 at 22:41 +0800, Crayon Shin Chan wrote: On Wednesday 20 June 2007 03:27, Robert Cummings wrote: 1) study a selection of frameworks and learn from their strengths and weaknesses then go on to create a kickass framework based on what you've learnt Now, now, let's

Re: [PHP] Program Execution and reading results

2007-06-21 Thread makhan
Thanks guys for your response. I think this output from reply can solve my problem. Becuase I can return some value like ' fileready == true' as the output from the executable program. And when fileready is true I can read the output text file. Can you please explain a little bit what kind of

[PHP] Integer Overflow Error

2007-06-21 Thread Suhas Pharkute
Hi, I tried to search on this mailing list and I saw the bug was reported and fixed. I am using PHP 4.4.7 and GD 2 The error that I am getting is at statement $img_t = imagecreatetruecolor(100,100);* Fatal error*: Possible integer overflow in memory allocation (4 * -91750400 + 0) in

Re: [PHP] Re: php framework, large site

2007-06-21 Thread Jim Lucas
Since this has really nothing to do with helping the OP with his original question, and honestly sounds like a bitch fest from hell. Why don't you take your disagreement of list Please. The one thing I hate is when I see emails from one person telling them that their opinion is more

Re: [PHP] Integer Overflow Error

2007-06-21 Thread Tijnema
On 6/21/07, Suhas Pharkute [EMAIL PROTECTED] wrote: Hi, I tried to search on this mailing list and I saw the bug was reported and fixed. I am using PHP 4.4.7 and GD 2 The error that I am getting is at statement $img_t = imagecreatetruecolor(100,100);* Fatal error*: Possible integer overflow

Re: [PHP] phpinfo displays blank page

2007-06-21 Thread Tijnema
On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/20/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Jeff Schwartz [EMAIL PROTECTED] wrote: You're right, that works. So why doesn't my script work? All it contains is: ?php phpinfo(); ? Hard to say, as this just *should* work.

Re: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Tijnema
On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Edward Kay [EMAIL PROTECTED] wrote: -Original Message- From: Graham Shaw [mailto:[EMAIL PROTECTED] I'm probably missing something really obvious here but how would I go about opening a file or multiple files in a

Re: [PHP] Integer Overflow Error

2007-06-21 Thread Jochem Maas
Suhas Pharkute wrote: Hi, I tried to search on this mailing list and I saw the bug was reported and fixed. I am using PHP 4.4.7 and GD 2 you make it sound like there is only one bug. The error that I am getting is at statement $img_t = imagecreatetruecolor(100,100);*

Re: [PHP] Re: php framework, large site

2007-06-21 Thread Robert Cummings
On Thu, 2007-06-21 at 09:15 -0700, Jim Lucas wrote: Since this has really nothing to do with helping the OP with his original question, and honestly sounds like a bitch fest from hell. Why don't you take your disagreement of list Please. The one thing I hate is when I see emails

Re: [PHP] Integer Overflow Error

2007-06-21 Thread Robert Cummings
On Thu, 2007-06-21 at 18:16 +0200, Tijnema wrote: On 6/21/07, Suhas Pharkute [EMAIL PROTECTED] wrote: Hi, I tried to search on this mailing list and I saw the bug was reported and fixed. I am using PHP 4.4.7 and GD 2 The error that I am getting is at statement $img_t =

Re: [PHP] phpinfo displays blank page

2007-06-21 Thread Daniel Brown
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: Good point, but that doesn't affect the PHP CLI ;) Tijnema Yes, I'm aware of that but if the CGI/module displays the correct stuff, then it can narrow the problems down to the CLI itself. With regard to the CLI, try a few things from

Re: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Daniel Brown
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: I like that disclaimer :) I write a lot of code for this list in my mail.. Yeah, I think I use the Gmail PHP IDE more than I use ViM! ;-P -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing

Re: [PHP] Integer Overflow Error

2007-06-21 Thread Suhas Pharkute
Ok, I am sorry, but not sure what do you mean here? Is there any error? If so it will not even run the code Suhas On 6/21/07, Jochem Maas [EMAIL PROTECTED] wrote: Suhas Pharkute wrote: Hi, I tried to search on this mailing list and I saw the bug was reported and fixed. I am using PHP

Re: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Tijnema
On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: I like that disclaimer :) I write a lot of code for this list in my mail.. Yeah, I think I use the Gmail PHP IDE more than I use ViM! ;-P -- Daniel P. Brown Let's send a future request to

Re: [PHP] Re: php framework, large site

2007-06-21 Thread Jim Lucas
Robert Cummings wrote: On Thu, 2007-06-21 at 09:15 -0700, Jim Lucas wrote: Since this has really nothing to do with helping the OP with his original question, and honestly sounds like a bitch fest from hell. Why don't you take your disagreement of list Please. The one thing I hate is

Re: [PHP] Integer Overflow Error

2007-06-21 Thread Jochem Maas
Suhas Pharkute wrote: Ok, I am sorry, but not sure what do you mean here? the feeling is mutual. it's rather like I asked you what color the sky is ... and you answered 'yes'. Is there any error? If so it will not even run the code Suhas On 6/21/07, Jochem Maas [EMAIL PROTECTED]

Re: [PHP] Re: php framework, large site

2007-06-21 Thread Robert Cummings
On Thu, 2007-06-21 at 10:21 -0700, Jim Lucas wrote: Robert Cummings wrote: I bothered to jump into the thread in the first place because I dislike when someone jumps on a question with an answer that belittles the attempt to do something for which a person is requesting help. Since then

Re: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Dan
Seconded :D Tijnema [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: I like that disclaimer :) I write a lot of code for this list in my mail.. Yeah, I think I use the Gmail PHP IDE

Re: [PHP] If statement duplicating mysql records?

2007-06-21 Thread Roberto Mansfield
Jason Pruim wrote: The code I had worked out, originally was something along the lines of: if($row[5] ==Level1) ( echo TRTD bgcolor=.$Level1.$row[0] /td; echo td bgcolor=.$Level1.$row[1] /td; echo td bgcolor=.$Level1.A href='$row[2]'Instructions/A/td; echo TD

[PHP] Re: Interesting article about PHP security exploit by GIF files

2007-06-21 Thread Dan
What's with all this checking of mime types, etc? As long as you check that it doesn't have .php at the end of it's filename then you're fine. Unless you have PHP set to run on every filetype or something strange. Isn't it obvious not to allow anything.anything.php as an upload? - Dan

Re: [PHP] If statement duplicating mysql records?

2007-06-21 Thread Jason Pruim
On Jun 21, 2007, at 1:42 PM, Roberto Mansfield wrote: Jason Pruim wrote: The code I had worked out, originally was something along the lines of: if($row[5] ==Level1) ( echo TRTD bgcolor=.$Level1.$row[0] /td; echo td bgcolor=.$Level1.$row[1] /td; echo td bgcolor=.$Level1.A

[PHP] Strange Fatal Error Possibly Memory

2007-06-21 Thread Dan
I keep geting this fatal error at the bottom of a php application Fatal error: Exception thrown without a stack frame in Unknown on line 0 It sounds like it would be a problem with the memory stack, but all I'm doing is uploading a file, writing, and reading it. Any ideas on what this error

Re: [PHP] If statement duplicating mysql records?

2007-06-21 Thread Roberto Mansfield
Jason Pruim wrote: It's not quite making sense to me though... My understanding of IF statements is if the condition is met it ignores all the other if's. Is that not correct? At this point it's just me trying to figure things out for my knowledge :) No, that's not how it works. If the

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-21 Thread Tijnema
On 6/21/07, Dan [EMAIL PROTECTED] wrote: I keep geting this fatal error at the bottom of a php application Fatal error: Exception thrown without a stack frame in Unknown on line 0 It sounds like it would be a problem with the memory stack, but all I'm doing is uploading a file, writing, and

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-21 Thread Dan
I cleared all my logs, then ran the app having problems a few times. There were no error messages in the Apache logs. Does PHP have error logs somewhere? - Dan Tijnema [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 6/21/07, Dan [EMAIL PROTECTED] wrote: I keep geting this

Re: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Tijnema
On 6/21/07, Dan [EMAIL PROTECTED] wrote: Seconded :D Cool, please go to the following url and clickthe button: http://gpcc.tijnema.info/ Tijnema Tijnema [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Tijnema [EMAIL

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-21 Thread Tijnema
On 6/21/07, Dan [EMAIL PROTECTED] wrote: I cleared all my logs, then ran the app having problems a few times. There were no error messages in the Apache logs. Does PHP have error logs somewhere? - Dan Hmm, do you have some code? Can you narrow down the problem? Google returns problems with

[PHP] Is There a Function to yada .... /yada to [yada] ..... [/yada]?

2007-06-21 Thread Stephen
I can't find one. Thanks Stephen

RE: [PHP] Is There a Function to yada .... /yada to [yada] ..... [/yada]?

2007-06-21 Thread Vo, Lance
str-replace? http://us.php.net/manual/en/function.str-replace.php -Original Message- From: Stephen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21, 2007 1:17 PM To: php-general@lists.php.net Subject: [PHP] Is There a Function to yada /yada to [yada] . [/yada]? I can't find

Re: [PHP] Is There a Function to yada .... /yada to [yada] ..... [/yada]?

2007-06-21 Thread Tijnema
On 6/21/07, Stephen [EMAIL PROTECTED] wrote: I can't find one. Thanks Stephen preg_replace? http://www.php.net/preg_replace Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is There a Function to yada .... /yada to [yada] ..... [/yada]?

2007-06-21 Thread Richard Heyes
Stephen wrote: I can't find one. Thanks Stephen Ahh yes, you want the yada() function. Alternatively if you're after something to turn yada into [yada] you could try the regex functions (PCRE). -- Richard Heyes 0844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and

[PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Dan [EMAIL PROTECTED] wrote: Seconded :D Cool, please go to the following url and clickthe button: http://gpcc.tijnema.info/ Tijnema Go, go, go people :) 5 users have clicked yet :) Tijnema Tijnema [EMAIL PROTECTED] wrote in

Re: [PHP] If statement duplicating mysql records?

2007-06-21 Thread Jason Pruim
On Jun 21, 2007, at 1:58 PM, Roberto Mansfield wrote: Jason Pruim wrote: It's not quite making sense to me though... My understanding of IF statements is if the condition is met it ignores all the other if's. Is that not correct? At this point it's just me trying to figure things out

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-21 Thread Dan
I'm using Delphi4PHP so a lot of the code is prewritten components, libraries, etc. Here's some code that I can post without giving away too much. As you can see it's not your typical PHP, it is using a ton of specific functions. ?php $reopenFirst; $reopenSecond; $reopenThird; $reopenFourth;

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Jason Pruim
On Jun 21, 2007, at 2:25 PM, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Dan [EMAIL PROTECTED] wrote: Seconded :D Cool, please go to the following url and clickthe button: http://gpcc.tijnema.info/ Tijnema Go, go, go people :) 5 users have clicked yet :)

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Jason Pruim [EMAIL PROTECTED] wrote: On Jun 21, 2007, at 2:25 PM, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Dan [EMAIL PROTECTED] wrote: Seconded :D Cool, please go to the following url and clickthe button: http://gpcc.tijnema.info/ Tijnema

RE: [PHP] Is There a Function to yada .... /yada to [yada] ..... [/yada]?

2007-06-21 Thread Stephen
Vo, Lance [EMAIL PROTECTED] wrote:str-replace? http://us.php.net/manual/en/function.str-replace.php I am hoping for something that checks for matching open and closing markup, and will leave and unchanged, otherwise. And also a function to convert back. Thanks Stephen

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-21 Thread Tijnema
On 6/21/07, Dan [EMAIL PROTECTED] wrote: I'm using Delphi4PHP so a lot of the code is prewritten components, libraries, etc. Here's some code that I can post without giving away too much. As you can see it's not your typical PHP, it is using a ton of specific functions. snip Nah, the code is

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Daniel Brown
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Jason Pruim [EMAIL PROTECTED] wrote: On Jun 21, 2007, at 2:25 PM, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Dan [EMAIL PROTECTED] wrote: Seconded :D Cool, please go to the following url and

[PHP] Reoccuring task manager feature enhancement

2007-06-21 Thread Jason Pruim
Okay, so I don't even have the whole system up and working quite yet that Dan Brown typed out for me in another e-mail and I have people wanting new features... They would like to be able to schedule things to happen every other week, once a month on a certain day, quarterly, etc. etc...

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Robert Cummings
On Thu, 2007-06-21 at 20:25 +0200, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Dan [EMAIL PROTECTED] wrote: Seconded :D Cool, please go to the following url and clickthe button: http://gpcc.tijnema.info/ Tijnema Go, go, go people :) 5 users have

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Mohamed Yusuf
cool idea, but me thinks gmail will not implement it. On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Jason Pruim [EMAIL PROTECTED] wrote: On Jun 21, 2007, at 2:25 PM, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED]

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Jason Pruim [EMAIL PROTECTED] wrote: On Jun 21, 2007, at 2:25 PM, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Dan [EMAIL PROTECTED] wrote:

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Daniel Brown
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Jason Pruim [EMAIL PROTECTED] wrote: On Jun 21, 2007, at 2:25 PM, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote:

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 20:25 +0200, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Dan [EMAIL PROTECTED] wrote: Seconded :D Cool, please go to the following url and clickthe button:

Re: [PHP] Re: php framework, large site

2007-06-21 Thread Daniel Brown
My Spam filter got sick from over-eating. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Robert Cummings
On Thu, 2007-06-21 at 20:47 +0200, Tijnema wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 20:25 +0200, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Dan [EMAIL PROTECTED] wrote: Seconded :D Cool, please go to the

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Daniel Brown
On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: Someone else is doing it too... ;) snip! curl_setopt( $ch, CURLOPT_HEADER, 0 ); curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 ); curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, false ); curl_setopt( $ch,

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 20:47 +0200, Tijnema wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 20:25 +0200, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Dan [EMAIL PROTECTED]

[PHP] Latest PHP for Mac OS X 10.3.9 (Panther)

2007-06-21 Thread Rahul Sitaram Johari
Ave, I¹m looking for the latest PHP releases (5.2.2 or higher) for Mac OS X 10.3.9 (Panther). Entropy.ch is only providing releases for Mac OS X 10.4 (Tiger), in fact there stable PHP 5.2.2 release won¹t even install on 10.4 Mac¹s. Is there any other way to get latest PHP releases for Mac OS

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Daniel Brown
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 20:25 +0200, Tijnema wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Dan [EMAIL PROTECTED] wrote: Seconded :D Cool, please go to the following

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Robert Cummings
On Thu, 2007-06-21 at 14:50 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: Someone else is doing it too... ;) snip! curl_setopt( $ch, CURLOPT_HEADER, 0 ); curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 ); curl_setopt( $ch,

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 14:50 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: Someone else is doing it too... ;) snip! curl_setopt( $ch, CURLOPT_HEADER, 0 ); curl_setopt( $ch,

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Daniel Brown
On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 14:50 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: Someone else is doing it too... ;) snip! curl_setopt( $ch, CURLOPT_HEADER, 0 ); curl_setopt( $ch,

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 14:50 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: Someone else is doing it too... ;) snip! curl_setopt( $ch,

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 14:50 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: Someone else is doing it too... ;) snip! curl_setopt( $ch,

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Robert Cummings
On Thu, 2007-06-21 at 15:04 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 14:50 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: Someone else is doing it too... ;) snip! curl_setopt(

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 15:04 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 14:50 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: Someone else is

Re: [PHP] Latest PHP for Mac OS X 10.3.9 (Panther)

2007-06-21 Thread Eric Butera
On 6/21/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: Ave, I¹m looking for the latest PHP releases (5.2.2 or higher) for Mac OS X 10.3.9 (Panther). Entropy.ch is only providing releases for Mac OS X 10.4 (Tiger), in fact there stable PHP 5.2.2 release won¹t even install on 10.4 Mac¹s. Is

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Daniel Brown
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 15:04 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 14:50 -0400, Daniel Brown wrote: On 6/21/07, Robert

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 15:04 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 14:50

[PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
Ok, done all my googling and experimenting, now I'm tossing it to you guys. Can anyone recommend a small, no frills, LAMP-centric linux package/distro? What I'm doing is setting up a test/development environment in a VMWare virtual machine to keep things all nice and comparmentalized. It's

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Daniel Brown
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: On 6/21/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-21 at 15:04 -0400, Daniel Brown wrote: On 6/21/07, Robert Cummings [EMAIL

Re: [PHP] If statement duplicating mysql records?

2007-06-21 Thread Jim Lucas
Jason Pruim wrote: On Jun 21, 2007, at 1:58 PM, Roberto Mansfield wrote: Jason Pruim wrote: It's not quite making sense to me though... My understanding of IF statements is if the condition is met it ignores all the other if's. Is that not correct? At this point it's just me trying to

Re: [PHP] Small LAMP install/distro

2007-06-21 Thread Daniel Brown
On 6/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok, done all my googling and experimenting, now I'm tossing it to you guys. Can anyone recommend a small, no frills, LAMP-centric linux package/distro? What I'm doing is setting up a test/development environment in a VMWare virtual

Re: [PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
Yeah, I took a quick look at Damn Small Linux. And have been playing around with Puppy Linux (which is pretty cool too). I may end up using one of those. Wanted to see if there was a distro with everything built into it already (Damn Small seems to have a lot of average user apps and not

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Justin P. Goldberg
Matt Cutts blogged about color-coding messages in his inbox like Mutt does, http://www.mattcutts.com/blog/keep-it-coming-gmail/ and the solution he found, http://www.mattcutts.com/blog/other-googlers-you-should-read/ This doesn't do what you want though. I think a firefox addon or greasemonkey

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Tijnema
On 6/21/07, Justin P. Goldberg [EMAIL PROTECTED] wrote: Matt Cutts blogged about color-coding messages in his inbox like Mutt does, http://www.mattcutts.com/blog/keep-it-coming-gmail/ and the solution he found, http://www.mattcutts.com/blog/other-googlers-you-should-read/ This doesn't do what

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Greg Donald
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: Cool, please go to the following url and clickthe button: http://gpcc.tijnema.info/ Where's the 'no' option ? I call shenanigans. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Small LAMP install/distro

2007-06-21 Thread Warren Vail
Did you know that VM-ware actually runs under RH linux? Warren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21, 2007 1:16 PM To: php-general@lists.php.net Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Small LAMP install/distro Yeah, I took a

Re: [PHP] Is There a Function to yada .... /yada to [yada] ..... [/yada]?

2007-06-21 Thread Greg Donald
On 6/21/07, Stephen [EMAIL PROTECTED] wrote: I am hoping for something that checks for matching open and closing markup, and will leave and unchanged, otherwise. You'll get much more help by posting your own (broken) attempt at coding this than just hoping for someone to do it for you.

Re: [PHP] strtotime returns 00:00 for 7am

2007-06-21 Thread Greg Donald
On 6/20/07, Phil Princely [EMAIL PROTECTED] wrote: using this code: function test_time($time_string) { echo strftime(%X %A, %b %e\n, strtotime($time_string)); You should be testing the strtotime() call's return value, it returns false on failure. if (($timestamp = strtotime($str)) ===

Re: [PHP] Latest PHP for Mac OS X 10.3.9 (Panther)

2007-06-21 Thread Greg Donald
On 6/21/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: Is there any other way to get latest PHP releases for Mac OS X 10.3.9? In my opinion building from source is the best option. You'll not be depending on someone else to provide it for your specific OS version nor will you be tied to

Re: [PHP] Reoccuring task manager feature enhancement

2007-06-21 Thread Chris
Jason Pruim wrote: Okay, so I don't even have the whole system up and working quite yet that Dan Brown typed out for me in another e-mail and I have people wanting new features... They would like to be able to schedule things to happen every other week, once a month on a certain day,

RE: [PHP] Small LAMP install/distro

2007-06-21 Thread Robert Cummings
On Thu, 2007-06-21 at 16:05 -0700, Warren Vail wrote: Did you know that VM-ware actually runs under RH linux? Doesn't it run under pretty much every OS? Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com |

RE: [PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
Yeah.. I'm aware. As I stated in my original email: Ideally I'd like to keep using my traditional Windows apps to do development... I'm comfortable moving around in linux, but the tools and OS I choose to use are all Windows-centric. But instead of installing Apache and PHP and MySQL on my