Re: [PHP] Bizarre array create error

2007-07-31 Thread Richard Lynch
On Sun, July 29, 2007 5:49 pm, Ken Tozier wrote: I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query with two dummy fields to be filled in later select

Re: [PHP] $HTTP_POST_FILES always produces empty value.

2007-07-31 Thread Patrik Hasibuan
Thank you very much for your help, Richard. It's solved. On Tue, 31 Jul 2007 00:47:51 -0500 (CDT) Richard Lynch [EMAIL PROTECTED] wrote: Try this: echo _FILES:br /\n; var_dump($_FILES); echo br /\nHTTP_POST_FILESbr /\n; var_dump($HTTP_POST_FILES); On Mon, July 30, 2007 7:00 am,

Re: [PHP] Objects

2007-07-31 Thread Richard Lynch
On Sun, July 29, 2007 12:45 pm, Nathan Nobbe wrote: one of the hardest parts about using design patterns in reality is you have to be able to recognize a certain problem and then you can begin to understand how to apply a particular pattern or set of patterns to your solution. Or, in my

Re: [PHP] Dealing with ImageMagick from PHP

2007-07-31 Thread Richard Lynch
On Sun, July 29, 2007 12:49 am, Eric Holt (PHP List) wrote: Right now, I call ImageMagick from a exec call in PHP. When I first Now, after that long rambling... My question is this: Would I see a big speed improvement by using the ImageMagick extension built into PHP (MagicWand, is it

Re: [PHP] PHP Rating system

2007-07-31 Thread Richard Lynch
On Sun, July 29, 2007 1:41 pm, Chris Carter wrote: I am trying for a php rating code that can utilized for a restaurant requirement. First of all I am not sure if there is database that is obvious with rating system. In case it is or even if its not, is there some site and code available

Re: [PHP] Bizarre array create error

2007-07-31 Thread Tom Ray [Lists]
Paul Novitski wrote: At 7/29/2007 09:59 PM, Ken Tozier wrote: /*--*/ /* Next two lines are where the problem starts */ /* If I comment either of them out the script runs */ /*

[PHP] Blooging Portal

2007-07-31 Thread Christian Hänsel
Good morning group, this is not generally a PHP question, but either way I'm gonna ask :oP Does any of you know a decent Blooging Portal software? Of course, it should be OpenSource ;o) What I wanna do is: I want to give people the ability to create their own blogs on my server under one

Re: [PHP] Blooging Portal

2007-07-31 Thread Paul Scott
On Tue, 2007-07-31 at 10:27 +0200, Christian Hänsel wrote: Does any of you know a decent Blooging Portal software? Of course, it should be OpenSource ;o) What I wanna do is: I want to give people the ability to create their own blogs on my server under one domain name... so

Re: [PHP] Blooging Portal

2007-07-31 Thread Jad madi
also take a look at WordPress MU http://mu.wordpress.org/ On 31/07/07, Paul Scott [EMAIL PROTECTED] wrote: On Tue, 2007-07-31 at 10:27 +0200, Christian Hänsel wrote: Does any of you know a decent Blooging Portal software? Of course, it should be OpenSource ;o) What I wanna do is: I want to

[PHP] Includes eating up my time

2007-07-31 Thread Dave M G
PHP general list, This is probably obvious to people who are good at PHP, but I'm I have a PHP based CMS (content management system) built, which has grown and become quite robust. It's now spread out over about 30 files, and each file represents one class within the object oriented design.

[PHP] Flash 8 UI controls

2007-07-31 Thread Man-wai Chang
From a Flash 8 ActionScript book I glanced this afternoon, I couldn't find a table input type, nor a grid class. How does Flash name them? -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 7.04) Linux 2.6.22.1 ^

RE: [PHP] Blooging Portal

2007-07-31 Thread Oliver Clarke
Christian Hänsel wrote: this is not generally a PHP question, but either way I'm gonna ask :oP Does any of you know a decent Blooging Portal software? Sorry you must have the wrong list. This one is dedicated to futile discussions about Copyright Infringement vs Theft. :) Regards,

Re: [PHP] Includes eating up my time

2007-07-31 Thread David Restall - System Administrator
Hi Dave, PHP general list, This is probably obvious to people who are good at PHP, but I'm I have a PHP based CMS (content management system) built, which has grown and become quite robust. It's now spread out over about 30 files, and each file represents one class within the object

Re: [PHP] PHP and Java: accessing Java classes from PHP

2007-07-31 Thread Holografix
Hi If you mean you tried this: http://php.net/java It was the first thing I tried. I will post a bug in http://bugs.php.net Then I read about php-java-bridge but the examples were using older versions of php-jb. That said, I don't see how you could possibly access Java without running

[PHP] if inside an echo.

2007-07-31 Thread Hulf
I am outputting a selectbox and want to do the follwoing. How can I add the IF statement inside the the echo? for ($value = 0; $value = 2000; $value += 100) { echo option value=\$value\ if ($min_rent==$value) {echo selected=selected } $value/option; } -- PHP General Mailing List

Re: [PHP] Includes eating up my time

2007-07-31 Thread Chad Robinson
Dave M G wrote: Currently, my processes are taking under a second, but they can be around half a second or more. Although it all happens too fast for me to really notice as a person, it seems to me that a half second of processing time might be kind of long and lead to scalability problems.

RE: [PHP] if inside an echo.

2007-07-31 Thread Edward Kay
-Original Message- From: Hulf [mailto:[EMAIL PROTECTED] Sent: 31 July 2007 12:11 To: php-general@lists.php.net Subject: [PHP] if inside an echo. I am outputting a selectbox and want to do the follwoing. How can I add the IF statement inside the the echo? for ($value =

[PHP] Re: Includes eating up my time

2007-07-31 Thread Emil Ivanov
Consider using the __autoload() function in php. (also the SPL autoloading features). It's a way to tell php to load a file when it cannot find a definition for a CLASS (only for classes). I don't know how you have set-uped your project, but in mine the only place in the project where I use

Re: [PHP] if inside an echo.

2007-07-31 Thread Alan Milnes
On 31/07/07, Hulf [EMAIL PROTECTED] wrote: I am outputting a selectbox and want to do the follwoing. How can I add the IF statement inside the the echo? Something like this:- for ($value = 0; $value = 2000; $value += 100) { echo option value=\$value\; if ($min_rent==$value) { echo

Re: [PHP] if inside an echo.

2007-07-31 Thread M. Sokolewicz
Edward Kay wrote: -Original Message- From: Hulf [mailto:[EMAIL PROTECTED] Sent: 31 July 2007 12:11 To: php-general@lists.php.net Subject: [PHP] if inside an echo. I am outputting a selectbox and want to do the follwoing. How can I add the IF statement inside the the echo? for

Re: [PHP] Blooging Portal

2007-07-31 Thread Christian Hänsel
Oliver Clarke [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Christian Hänsel wrote: this is not generally a PHP question, but either way I'm gonna ask :oP Does any of you know a decent Blooging Portal software? Sorry you must have the wrong list. This one is dedicated to

RE: [PHP] if inside an echo.

2007-07-31 Thread Edward Kay
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alan Milnes Sent: 31 July 2007 12:41 To: php-general@lists.php.net Subject: Re: [PHP] if inside an echo. On 31/07/07, Hulf [EMAIL PROTECTED] wrote: I am outputting a selectbox and want to do the

Re: [PHP] Authentication

2007-07-31 Thread Dan Shirah
Correct Stut, I want transparent authentication, but I also want to have the currently logged in user name pulled so I can use it for tracking purposes. My application deals with very sensitive company information and I want to pull the username for tracking purposes. I have everything running

Re: [PHP] Authentication

2007-07-31 Thread Stut
Dan Shirah wrote: Correct Stut, I want transparent authentication, but I also want to have the currently logged in user name pulled so I can use it for tracking purposes. My application deals with very sensitive company information and I want to pull the username for tracking purposes. I have

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread tedd
At 3:44 PM -0400 7/30/07, Robert Cummings wrote: On Mon, 2007-07-30 at 15:33 -0400, tedd wrote: At 8:23 PM +0100 7/30/07, Stut wrote: tedd wrote: At 2:30 PM -0400 7/30/07, Robert Cummings wrote: Ownership is an illusion... What you have may be taken away at anytime by the state (be it your

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread tedd
At 8:53 PM +0100 7/30/07, Stut wrote: tedd wrote: Don't expect that only one living entity can envision such a permutation. Don't expect anyone with our limitations to be capable to determine the truth of that statement. The phone was independently envisioned by two distinct humans at

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Stut
tedd wrote: At 8:53 PM +0100 7/30/07, Stut wrote: tedd wrote: Don't expect that only one living entity can envision such a permutation. Don't expect anyone with our limitations to be capable to determine the truth of that statement. The phone was independently envisioned by two

Re: [PHP] Objects

2007-07-31 Thread Nathan Nobbe
On 7/31/07, Richard Lynch [EMAIL PROTECTED] wrote: Or, in my experience with pattern zealots, mis-recognize a problem as a pattern it isn't, mis-apply the solution and then spend years dealing with a square peg in a round hole... The funny thing about that is w/ OOP and design patterns you

[PHP] Array difficulty

2007-07-31 Thread Carlton Whitehead
Hi all, I have an array like this: $chance = array(lowercase = 27, uppercase = 62, integer = 46); The values for each of the keys are randomly generated. I want to find the key name of the one which has the highest value. Currently, I'm doing this as follows: arsort($chance); foreach

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread tedd
At 7:28 PM -0500 7/30/07, Larry Garfield wrote: On Monday 30 July 2007, tedd wrote: What about descendants of the author? When anyone dies, their descendants have a rightful claim on their parent's assets -- it been that way since the dawn of mankind. Do you think you know better than the

Re: [PHP] Objects

2007-07-31 Thread Eric Butera
On 7/31/07, Nathan Nobbe [EMAIL PROTECTED] wrote: On 7/31/07, Richard Lynch [EMAIL PROTECTED] wrote: Or, in my experience with pattern zealots, mis-recognize a problem as a pattern it isn't, mis-apply the solution and then spend years dealing with a square peg in a round hole... The

Re: [PHP] Bizarre array create error

2007-07-31 Thread Ken Tozier
On Jul 31, 2007, at 2:00 AM, Richard Lynch wrote: On Sun, July 29, 2007 5:49 pm, Ken Tozier wrote: I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query

Re: [PHP] Array difficulty

2007-07-31 Thread Richard Davey
Hi Carlton, Tuesday, July 31, 2007, 2:27:46 PM, you wrote: I have an array like this: $chance = array(lowercase = 27, uppercase = 62, integer = 46); The values for each of the keys are randomly generated. I want to find the key name of the one which has the highest value. Currently, I'm

RE: [PHP] Array difficulty

2007-07-31 Thread Chris Boget
At this point, $result would be equal to uppercase. I feel like this is a really kludgey way to accomplish this. Is there a better way? Couldn't you just do arsort($chance); $lastItem = chance[( count( $chance ) - 1 )]; ? Why iterate through the array when all you need is the last

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Robert Cummings
On Tue, 2007-07-31 at 08:42 -0400, tedd wrote: At 3:44 PM -0400 7/30/07, Robert Cummings wrote: On Mon, 2007-07-30 at 15:33 -0400, tedd wrote: At 8:23 PM +0100 7/30/07, Stut wrote: tedd wrote: At 2:30 PM -0400 7/30/07, Robert Cummings wrote: Ownership is an illusion... What you have

Re: [PHP] Array difficulty

2007-07-31 Thread Carlton Whitehead
I tried that earlier, but the problem is: count( $chance ) - 1 ); returns an integer, so I would be asking for something like $chance[1] or $chance[0], neither of which exist in the array. Keep in mind $chance only has keys with string names: The array looks like this: $chance =

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread tedd
At 1:50 PM +0100 7/31/07, Stut wrote: tedd wrote: Yes, but that's why it's called faith. My point was that it makes no sense to try and prove or demonstrate anything using God because the existance of God itself cannot be proven or demonstrated. -Stut I wasn't trying to prove anything

Re: [PHP] Array difficulty

2007-07-31 Thread Chris Boget
At this point, $result would be equal to uppercase. I feel like this is a really kludgey way to accomplish this. Is there a better way? Not tested it, but max() should work as the first parameter can be an array: http://uk3.php.net/max Except he's looking for the key and not the value, which

Re: [PHP] Array difficulty

2007-07-31 Thread Robin Vickery
On 31/07/07, Carlton Whitehead [EMAIL PROTECTED] wrote: Hi all, I have an array like this: $chance = array(lowercase = 27, uppercase = 62, integer = 46); The values for each of the keys are randomly generated. I want to find the key name of the one which has the highest value. Currently,

RE: [PHP] Array difficulty

2007-07-31 Thread Robert Cummings
On Tue, 2007-07-31 at 14:43 +0100, Chris Boget wrote: At this point, $result would be equal to uppercase. I feel like this is a really kludgey way to accomplish this. Is there a better way? Couldn't you just do arsort($chance); $lastItem = chance[( count( $chance ) - 1 )];

Re: [PHP] Includes eating up my time

2007-07-31 Thread Larry Garfield
On Tuesday 31 July 2007, Dave M G wrote: PHP general list, This is probably obvious to people who are good at PHP, but I'm I have a PHP based CMS (content management system) built, which has grown and become quite robust. It's now spread out over about 30 files, and each file represents one

RE: [PHP] Array difficulty

2007-07-31 Thread Chris Boget
Couldn't you just do arsort($chance); $lastItem = chance[( count( $chance ) - 1 )]; $lastItem = end( $chance ); end() returns the value as well. You would also need to use key(). thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Senior PHP Role

2007-07-31 Thread Matthew Yates
Hi All, Apologies for cross posting. I'm recruiting on behalf of a superb e-commerce set up who is investing heavily in the next stage of their tech development. We are looking for an ambitious individual to join the senior management team who has a good PHP background who will be

Re: [PHP] Array difficulty

2007-07-31 Thread Alister Bulman
On 31/07/07, Carlton Whitehead [EMAIL PROTECTED] wrote: Couldn't you just do arsort($chance); $lastItem = chance[( count( $chance ) - 1 )]; I tried that earlier, but the problem is: count( $chance ) - 1 ); returns an integer, so I would be asking for something like $chance[1] or

[PHP] Re: if inside an echo.

2007-07-31 Thread Al
foreach(range(0, 2000, 100) as $value){ $str= option value=\$value\; $str .= ($value== $min_rent)? selected=\selected\ : NULL; echo $str . $value/option; } Hulf wrote: I am outputting a selectbox and want to do the follwoing. How can I add the IF statement

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Larry Garfield
On Tuesday 31 July 2007, tedd wrote: At 7:28 PM -0500 7/30/07, Larry Garfield wrote: On Monday 30 July 2007, tedd wrote: What about descendants of the author? When anyone dies, their descendants have a rightful claim on their parent's assets -- it been that way since the dawn of

[PHP] magic quotes

2007-07-31 Thread KVIGOR
If magic quotes is on and I dont have access to the php.ini. Is there any way I can strip quotes from the form field with out using AJAX? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Objects

2007-07-31 Thread tedd
At 1:25 AM -0500 7/31/07, Richard Lynch wrote: On Sun, July 29, 2007 12:45 pm, Nathan Nobbe wrote: one of the hardest parts about using design patterns in reality is you have to be able to recognize a certain problem and then you can begin to understand how to apply a particular pattern or

Re: [PHP] Objects

2007-07-31 Thread Nathan Nobbe
well im not trying to convince everyone to start doing oop, just because i dont have time. maybe if i get rich and have time ill go on a dedicated mission or something. anyway i think its obvious that objects are powerful. look at the big php projects out there; wikipedia, facebook, many of the

[PHP] Unexpected values in PHP array

2007-07-31 Thread Ken Tozier
Hi I think this is probably just a misunderstanding on my part, but I'm creating associative arrays with string keys from MySQL query results and when I put a value in the array, I get the expected key association along with an index key that has a different value. For example: If I have

[PHP] Unexpected values in an associative array

2007-07-31 Thread Ken Tozier
Hi I think this is probably just a misunderstanding on my part, but I'm creating associative arrays with string keys from MySQL query results and when I put a value in the array, I get the expected key association along with an index key that has a different value. For example: If I have

Re: [PHP] Array difficulty

2007-07-31 Thread Robin Vickery
On 31/07/07, Alister Bulman [EMAIL PROTECTED] wrote: On 31/07/07, Carlton Whitehead [EMAIL PROTECTED] wrote: Couldn't you just do arsort($chance); $lastItem = chance[( count( $chance ) - 1 )]; I tried that earlier, but the problem is: count( $chance ) - 1 ); returns an integer, so I

[PHP] Re: magic quotes

2007-07-31 Thread KVIGOR
Never Mind I figured it out. KVIGOR [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If magic quotes is on and I dont have access to the php.ini. Is there any way I can strip quotes from the form field with out using AJAX? -- PHP General Mailing List (http://www.php.net/) To

[PHP] US Salary Averages for Developers

2007-07-31 Thread Daniel Brown
Good morning, afternoon, evening, or whatever the case may be, folks. I'm just looking for responses from some of you on salary averages for those who work with LAMP on a full-time basis. My job consists of much more than that, including full *nix server administration and security; web

Re: [PHP] Unexpected values in an associative array[Solved]

2007-07-31 Thread Ken Tozier
Turns out that objects returned from SQL queries contain two parts for every field, one with a string key and one with an index key. Adding an is_numeric test on the keys allows you to filter out the numeric keys if you want to. For example: foreach ($row as $key = $value) { if

[PHP] Re: magic quotes

2007-07-31 Thread M. Sokolewicz
KVIGOR wrote: Never Mind I figured it out. KVIGOR [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If magic quotes is on and I dont have access to the php.ini. Is there any way I can strip quotes from the form field with out using AJAX? I have no idea how you would do it _WITH_

Re: [PHP] Unexpected values in an associative array

2007-07-31 Thread Jim Lucas
Ken Tozier wrote: foreach ($this-db-query($query) as $row) Well, this is what I was going to say, is that probably query is using *_fetch_array() instead of *_fetch_assoc() or *_fetch_row() -- Jim Lucas Some men are born to greatness, some achieve greatness, and some

Re: [PHP] Unexpected values in an associative array[Solved]

2007-07-31 Thread Robin Vickery
On 31/07/07, Ken Tozier [EMAIL PROTECTED] wrote: Turns out that objects returned from SQL queries contain two parts for every field, one with a string key and one with an index key. Adding an is_numeric test on the keys allows you to filter out the numeric keys if you want to. For example: Or

Re: [PHP] Unexpected values in an associative array[Solved]

2007-07-31 Thread Zoltán Németh
2007. 07. 31, kedd keltezéssel 11.29-kor Ken Tozier ezt írta: Turns out that objects returned from SQL queries contain two parts for every field, one with a string key and one with an index key. Adding an is_numeric test on the keys allows you to filter out the numeric keys if you want

Re: [PHP] US Salary Averages for Developers

2007-07-31 Thread Nathan Nobbe
Daniel, unfortunately php isnt fetching the fat salaries java and .net are. especially for strictly development. administration is another story and that seems to be a typical supplement to a well paid php programmer. by my estimation avg. salary for php developer (strictly) in the us is around

Re: [PHP] Unexpected values in an associative array[Solved]

2007-07-31 Thread Ken Tozier
On Jul 31, 2007, at 11:40 AM, Robin Vickery wrote: Or don't get numeric keys in the first place: foreach ($this-db-query($query, PDO::FETCH_ASSOC) as $row) Robin: Bingo! That did the trick. I knew my solution was hokey but I haven't used PDO before this project so wasn't aware of what it

RE: [PHP] Unexpected values in an associative array

2007-07-31 Thread Instruct ICC
From: Ken Tozier [EMAIL PROTECTED] Hi I think this is probably just a misunderstanding on my part, but I'm creating associative arrays with string keys from MySQL query results and when I put a value in the array, I get the expected key association along with an index key that has a

Re: [PHP] Authentication

2007-07-31 Thread Nathan Nobbe
Dan, i realize i misunderstood the original question. am i to understand you have php running on all of the client machines ? thanks, -nathan On 7/31/07, Dan Shirah [EMAIL PROTECTED] wrote: Correct Stut, I want transparent authentication, but I also want to have the currently logged in

Re: [PHP] if inside an echo.

2007-07-31 Thread Neil Freeman
Or another way... for ($value = 0; $value = 2000; $value += 100) { echo sprintf(option value=\%s\%s%s/option, $value, (($min_rent==$value) ? selected=\selected\ : NULL), $value); } Hulf wrote: ** This Email Has Been Virus Swept ** I

Re: [PHP] Unexpected values in an associative array[Solved]

2007-07-31 Thread Robert Cummings
On Tue, 2007-07-31 at 11:29 -0400, Ken Tozier wrote: Turns out that objects returned from SQL queries contain two parts for every field, one with a string key and one with an index key. Adding an is_numeric test on the keys allows you to filter out the numeric keys if you want to. For

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Crayon Shin Chan
On Tuesday 31 July 2007 21:37, tedd wrote: Extortion? Are you saying that anyone who owes a copyright is obtaining money through force or threats? That sounds strange. Wow, it seems you haven't heard of the RIAA and their racketeering. -- Crayon -- PHP General Mailing List

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Crayon Shin Chan
On Tuesday 31 July 2007 22:21, Larry Garfield wrote: Commercial publication didn't exist as a concept until after the invention of the printing press, which is when copyright was invented in order to protect the business of the publishers. Presumably you're talking about Europe, because in

Re: [PHP] Unexpected values in an associative array

2007-07-31 Thread Ken Tozier
On Jul 31, 2007, at 12:06 PM, Instruct ICC wrote: array(6) { [task_id]= int(22) [0]= string(2) 22 [container_id]= int(3784) [1]= string(4) 3784 [name]= string(12) 108-6972.XTG [2]= string(24) 3130382D363937322E585447 } What is $coersions or $inQuery['coersions']?

[PHP] Job Opportunity: PHP Developer

2007-07-31 Thread Denice Fitzgerald
Dear Eric, I am an IT Recruiter looking for PHP Developers for an exciting opportunity in the Las Vegas NV area. I am looking for people really passionate about PHP technology! The company is a technology innovator and are known for being the top technology company in Las Vegas. If you have any

Re: [PHP] Job Opportunity: PHP Developer

2007-07-31 Thread Daniel Brown
Do we have an Eric here? On 7/31/07, Denice Fitzgerald [EMAIL PROTECTED] wrote: Dear Eric, I am an IT Recruiter looking for PHP Developers for an exciting opportunity in the Las Vegas NV area. I am looking for people really passionate about PHP technology! The company is a technology

Re: [PHP] Job Opportunity: PHP Developer

2007-07-31 Thread Robert Cummings
On Tue, 2007-07-31 at 12:35 -0400, Daniel Brown wrote: Do we have an Eric here? Eric Butera? Though I don't see him anywhere in the thread :) Cheers, Rob. -- ... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power

Re: [PHP] Job Opportunity: PHP Developer

2007-07-31 Thread Robert Cummings
On Tue, 2007-07-31 at 12:11 -0400, Denice Fitzgerald wrote: Dear Eric, I am an IT Recruiter looking for PHP Developers for an exciting opportunity in the Las Vegas NV area. I am looking for people really passionate about PHP technology! The company is a technology innovator and are known

[PHP] Looking for PHP 5.0.1 for Mac OS X 10.3.9

2007-07-31 Thread Rahul Sitaram Johari
Ave, Does anyone have the old PHP installers for Mac OS X 10.3.9 ?? Entropy.ch only has the latest installer for 10.4 ­ I¹m looking for any PHP 5 Installer that will install work on a Mac OS X 10.3.9 ... Can¹t seem to find it anywhere!!! Help! ~~~ Rahul

[PHP] Re: PHP list as a blog

2007-07-31 Thread Michelle Konzack
Sorry for the late fdrop in... Am 2007-07-28 21:31:01, schrieb Børge Holen: On Thursday 14 June 2007 00:41, Philip Thompson wrote: On Jun 13, 2007, at 1:15 PM, Richard Lynch wrote: On Wed, June 13, 2007 12:21 am, Crayon Shin Chan wrote: snip Do students and interns still have quotas on

[PHP] headers-excel file-bad data

2007-07-31 Thread blackwater dev
Hello, I have an excel file that I am generating. If I copy over the generated file and then open it in excel, it works fine, if I try to let the user download it using the headers below, when I then open it excel complains that it is an unrecognizable format and the info is garbled...any

[PHP] Re: headers-excel file-bad data

2007-07-31 Thread blackwater dev
Looks like I have an empty space somewhere...this code is called down in a class and if I just cut this out and copy into it's own file and call that file from the browser, it works fine. It is someone getting garbled down in the class. On 7/31/07, blackwater dev [EMAIL PROTECTED] wrote:

Re: [PHP] Job Opportunity: PHP Developer

2007-07-31 Thread Eric Butera
On 7/31/07, Robert Cummings [EMAIL PROTECTED] wrote: On Tue, 2007-07-31 at 12:35 -0400, Daniel Brown wrote: Do we have an Eric here? Eric Butera? Though I don't see him anywhere in the thread :) Cheers, Rob. -- ... SwarmBuy.com

[PHP] Re: PHP list as a blog

2007-07-31 Thread M. Sokolewicz
Michelle Konzack wrote: Sorry for the late fdrop in... Am 2007-07-28 21:31:01, schrieb Børge Holen: On Thursday 14 June 2007 00:41, Philip Thompson wrote: On Jun 13, 2007, at 1:15 PM, Richard Lynch wrote: On Wed, June 13, 2007 12:21 am, Crayon Shin Chan wrote: snip Do students and interns

Re: Re[2]: [PHP] Reading registry values

2007-07-31 Thread John A DAVIS
2 simple VBA/VB functions that write to specific place in the registry. Here is my library of code on this: GetSetting(App.EXEName, "Properties", strPropertyName) SaveSetting(App.EXEName, "Properties", strPropertyName, Trim(CStr(varValue))) Specific place: HKEY_CURRENT_USER\Software\VB

Re: [PHP] Reading registry values

2007-07-31 Thread John A DAVIS
Hope this isn't overkill but it is a module (read "COM", or "VBA module") to manipulate the registry: Option Compare DatabaseOption Explicit '' Created by E.Spencer - This code is public domain.''Security Mask constantsPublic Const READ_CONTROL = H2Public Const SYNCHRONIZE =

Re: [PHP] Job Opportunity: PHP Developer

2007-07-31 Thread Blackbird
Robert Cummings wrote: This being 2007 and all I get quite curious why so many businesses are still trying to follow the archaic physical location infrastructure. I mean sure, I can see it if you need to set up machines, or make the boss some coffee, but for programming, running DB queries,

Re: [PHP] Rules of Engagement

2007-07-31 Thread Ryan A
PS I never have figured out why one would want to notify a zillion strangers that you're on vacation... I mean, duh, talk about a security risk... Hey, stranger, I'm on vacation!!! Nice big house of computer geek full of stuff sitting unwatched!!! I'm really not sure who thought

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Ryan A
--- Crayon Shin Chan [EMAIL PROTECTED] wrote: On Monday 30 July 2007 23:49, tedd wrote: The opposite of BUYING is STEALING I think you meant SELLING. Actually to make things easier just lets add a NOT eg: The opposite of BUYING is NOT BUYING Ok, I admit it, am bored and came back

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Ryan A
Yes, but that's why it's called faith. My point was that it makes no sense to try and prove or demonstrate anything using God because the existance of God itself cannot be proven or demonstrated. Stut, There will be a demonstration of god's existance in a little while, please look

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Ryan A
You have a right to your belief, but that doesn't make your belief right. This works both ways. Oh yeah, well my dad can beat up your dad. Well, get both your dads together coz my dad can beat both of them up. Reasoning, I'm pretty young compared to most of you guys so my dad is younger

[PHP] Problem with filemtime

2007-07-31 Thread Kevin Murphy
I'm running the following script (simplified for discussion) to create a CSV file. My problem here is that the first filemtime and the last filemtime always equal each other. What I am trying to get is the filemtime ($new_last_modified) of the file that was just executed 3 lines earlier.

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Stut
Ryan A wrote: Yes, but that's why it's called faith. My point was that it makes no sense to try and prove or demonstrate anything using God because the existance of God itself cannot be proven or demonstrated. Stut, There will be a demonstration of god's existance in a little while,

Re: [PHP] Problem with filemtime

2007-07-31 Thread Stut
Kevin Murphy wrote: I'm running the following script (simplified for discussion) to create a CSV file. My problem here is that the first filemtime and the last filemtime always equal each other. What I am trying to get is the filemtime ($new_last_modified) of the file that was just executed 3

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Ryan A
Hey! Sorry, couldnt resist, no offense meant ;) None taken. My beliefs are my beliefs and yours are yours Yep, and what I said was in jest, and you took it in jest.End of discussion between us :) Am just replying to anyone else who's reading this, please lets not fork this into a god

Re: [PHP] Problem with filemtime

2007-07-31 Thread Eddie Dunckley
On Tue 31 Jul 07 22:57, Kevin Murphy wrote: $csv_file = myFile.csv; $last_modified_csv = filemtime($csv_file); $fh = fopen($csv_file, 'w') or die(can't open file); fwrite($fh, Data Goes Here); fclose($fh); add a clearstatcache() in here. (and sometimes just for because you might want to

Re: [PHP] Reading registry values

2007-07-31 Thread \Crash\ Dummy
Hope this isn't overkill but it is a module (read COM, or VBA module) to manipulate the registry: Overkill is a massive understatement. :-) As noted elsewhere in this thread, I got what I wanted by using the PHP exec command to execute a VB script, which has all the registry access I need.

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread David Powers
Larry Garfield wrote: If a plumber fixes your toilet, he gets paid once. A plumber came recently to fix our hot water system. It took him less than one hour. He got paid about $100. If a writer writes a book, he gets paid n times, where n is a (hopefully for him) ever-increasing number.

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Tijnema
On 8/1/07, David Powers [EMAIL PROTECTED] wrote: Larry Garfield wrote: If a plumber fixes your toilet, he gets paid once. A plumber came recently to fix our hot water system. It took him less than one hour. He got paid about $100. If a writer writes a book, he gets paid n times, where n

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread tedd
At 9:21 AM -0500 7/31/07, Larry Garfield wrote: Disclaimer: Yes, I was raised by a pair of college history professors. :-) Ahhh, that explains it. Cheers, tedd PS: I'm done. -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

Re: [PHP] headers-excel file-bad data

2007-07-31 Thread tedd
At 1:32 PM -0400 7/31/07, blackwater dev wrote: Hello, I have an excel file that I am generating. If I copy over the generated file and then open it in excel, it works fine, if I try to let the user download it using the headers below, when I then open it excel complains that it is an

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Robert Cummings
On Tue, 2007-07-31 at 14:29 -0700, Ryan A wrote: Hey! Sorry, couldnt resist, no offense meant ;) None taken. My beliefs are my beliefs and yours are yours Yep, and what I said was in jest, and you took it in jest.End of discussion between us :) Am just replying to anyone else

Re: [PHP] Job Opportunity: PHP Developer

2007-07-31 Thread tedd
At 12:11 PM -0400 7/31/07, Denice Fitzgerald wrote: The company is a technology innovator and are known for being the top technology company in Las Vegas. And this technology innovator requires people on-site to program? Sounds like typical technology to me. Why can't one of these

Re: [PHP] Profile / Debug w/o server modification?

2007-07-31 Thread Instruct ICC
From: Richard Lynch [EMAIL PROTECTED] Your dev box should only match in software versions (okay, and any really funky specialized hardware like a hardware random number generator MAYBE). Don't ask them for a Gigaplex Mu-on 16-cpu 64 Gig RAM 4 Terabyte hard drive box. Take an old box out of your

Re: [PHP] Job Opportunity: PHP Developer

2007-07-31 Thread Michael Preslar
Dont know if this would be of any use to anyone but.. meh.. I interviewed with a company called The Selling Source, based out of Las Vegas, for a PHP position.. Was told They are always hiring PHP developers.. The recruiter I had been working with made it sound like TSS had a huge turn over rate.