[PHP] var_dump($POST)

2006-04-13 Thread William Stokes
Hello, var_dump($POST) returns now always NULL. Before it returned the POST variables and their values like it should, right? Is there something that the operator could have done in the server that causes this? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] var_dump($POST)

2006-04-13 Thread Albert Padley
On Apr 13, 2006, at 12:16 AM, William Stokes wrote: Hello, var_dump($POST) returns now always NULL. Try var_dump($_POST); Note the underline between $ and P. Al Padley -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] var_dump($POST)

2006-04-13 Thread William Stokes
oooppps :) sorry about that one... Albert Padley [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED] On Apr 13, 2006, at 12:16 AM, William Stokes wrote: Hello, var_dump($POST) returns now always NULL. Try var_dump($_POST); Note the underline between $ and P. Al Padley -- PHP

Re: [PHP] var_dump($POST)

2006-04-13 Thread Chris
William Stokes wrote: Hello, var_dump($POST) returns now always NULL. Before it returned the POST variables and their values like it should, right? Is there something that the operator could have done in the server that causes this? try var_dump($_POST); The superglobals (except for

[PHP] preventing duplicate rows?

2006-04-13 Thread William Stokes
Hello, I'm updating a table with following SQL statement $sql = INSERT INTO x_ikaluokat (ryhma, ikaluokka) VALUES ('$ryhma','$ikaluokka'); What would be the best way to test that similar rows doesn't get created to the table? I can't make both columns unique. Thanks -Will -- PHP

Re: [PHP] Instalation Nightmares For Word Press Please Help

2006-04-13 Thread Jochem Maas
marvin hunkin wrote: Hi. yes did put the wp-Config.php file in the www folder in easy php 1-8, wp-config.php NOT wp-Config.php ?? but still get this error when trying to use the http://localhost/instal.php so how do i get round this one? ask the guys at wordpress I guess. we don't support

Re: [PHP] preventing duplicate rows?

2006-04-13 Thread Chris
William Stokes wrote: Hello, I'm updating a table with following SQL statement $sql = INSERT INTO x_ikaluokat (ryhma, ikaluokka) VALUES ('$ryhma','$ikaluokka'); What would be the best way to test that similar rows doesn't get created to the table? I can't make both columns unique. You

Re: [PHP] preventing duplicate rows?

2006-04-13 Thread nicolas figaro
William Stokes a écrit : Hello, I'm updating a table with following SQL statement $sql = INSERT INTO x_ikaluokat (ryhma, ikaluokka) VALUES ('$ryhma','$ikaluokka'); What would be the best way to test that similar rows doesn't get created to the table? I can't make both columns unique.

Re: [PHP] PHP Framework alternative ...

2006-04-13 Thread Jochem Maas
Chris Shiflett wrote: Jochem Maas wrote: a. php will actually implement static late binding b. Zend Framework's 'DataObject' class will make use of said late binding to do cool things like Person::findAll( $myFilter ) with out having to actually implement a findAll method in the Person class

Re: [PHP] PHP Framework alternative ...

2006-04-13 Thread Jochem Maas
Robert Cummings wrote: On Wed, 2006-04-12 at 19:23, Jochem Maas wrote: Robert Cummings wrote: I must say that I have questions regarding the 'real' reasons behind The most plausible real reason is to give Zend's name to a framework that will possibly rally interest behind a single

Re: [PHP] Instalation Nightmares For Word Press Please Help

2006-04-13 Thread Anthony Ettinger
wtf is your username = localhost, and your password = root? that's probably where you messed up ;-) On 4/12/06, Jochem Maas [EMAIL PROTECTED] wrote: marvin hunkin wrote: Hi. yes did put the wp-Config.php file in the www folder in easy php 1-8, wp-config.php NOT wp-Config.php ?? but

Re: [PHP] Re: double lines

2006-04-13 Thread Martin Zvarík
Barry wrote: clive wrote: Does the html textarea add in \r. Normally not. But the mailing function might do. Replace every \n with linbreak and every \r with linefeed with str_replace And probably you see where the problem is It's because of the operation system. Win32 and Linux works

Re: [PHP] preventing duplicate rows?

2006-04-13 Thread Georgi Ivanov
You have several opportunities here : 1.If you use mysql 4.1.x you can use insert into .. on duplicate key update (check the correct syntax) 2.You can make unique key from the two columns and check for error number 1062 (duplicate key) like this : myusql_query($qins) or $errno=mysql_errno();

[PHP] RADICORE ramework released

2006-04-13 Thread Tony Marston
Announcing the first public release of RADICORE, a Rapid Application Development toolkit for building administrative web applications which contains the following: a.. A true rapid application development framework which is based around Transaction Patterns. b.. A dynamic Menu system. c.. A

[PHP] Re: RADICORE ramework released

2006-04-13 Thread Barry
Tony Marston wrote: Announcing the first public release of RADICORE, a Rapid Application Development toolkit for building administrative web applications which contains the following: a.. A true rapid application development framework which is based around Transaction Patterns. b.. A

[PHP] Re: RADICORE ramework released

2006-04-13 Thread Tony Marston
What do you mean it doesn't work? Do you mean my online demo, or when you try to run it on your machine? What are your settings? What language have you got defined in your browser? Where did you see the message Locale is not defined in string '**UNDEFINED**' If you cannot provide more

Re: [PHP] RADICORE ramework released

2006-04-13 Thread Kevin Waterson
This one time, at band camp, Tony Marston [EMAIL PROTECTED] wrote: Announcing the first public release of RADICORE, a Rapid Application Development toolkit for building administrative web applications which **YAWN** -- Democracy is two wolves and a lamb voting on what to have for lunch.

[PHP] Re: RADICORE ramework released

2006-04-13 Thread Barry
Tony Marston wrote: What do you mean it doesn't work? Do you mean my online demo, or when you try to run it on your machine? What are your settings? What language have you got defined in your browser? Where did you see the message Locale is not defined in string '**UNDEFINED**' If you cannot

Re: [PHP] CURLOPT_BINARYTRANSFER

2006-04-13 Thread Ahmed Saad
Hi Richard, On 4/12/06, Richard Lynch [EMAIL PROTECTED] wrote: I need the cookies and all that... There's a PHP implementation of an HTTP client at http://www.phpclasses.org/browse/package/576.html Even if you needed to tweak something, it should be easier to modify and debug good luck /ahmed

Re: [PHP] internationalization of web site

2006-04-13 Thread kmh496
i put the files in one place for you. to do what you want. http://www.sirfsup.com/code/php/i18n_php/http_server_encoding 2006-04-12 (수), 16:24 -0300, Martin Alterisio El Hombre Gris 쓰시길: Ussually, the browsers send a header with information about the language preferences of the user. This

[PHP] Re: RADICORE ramework released

2006-04-13 Thread Tony Marston
Barry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tony Marston wrote: What do you mean it doesn't work? Do you mean my online demo, or when you try to run it on your machine? What are your settings? What language have you got defined in your browser? Where did you see the

Re: [PHP] RADICORE ramework released

2006-04-13 Thread Tony Marston
Kevin Waterson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This one time, at band camp, Tony Marston [EMAIL PROTECTED] wrote: Announcing the first public release of RADICORE, a Rapid Application Development toolkit for building administrative web applications which

Re: [PHP] Re: RADICORE ramework released

2006-04-13 Thread Hans Juergen von Lengerke
From: Tony Marston [EMAIL PROTECTED] Any problems with locale are cased by having the language code in your browser set to something which cannot be matched up with the contents of the server's locale file. If it cannot find a match my software is supposed to keep the current default

[PHP] Re: RADICORE ramework released

2006-04-13 Thread Barry
Tony Marston wrote: Barry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tony Marston wrote: What do you mean it doesn't work? Do you mean my online demo, or when you try to run it on your machine? What are your settings? What language have you got defined in your browser? Where

Re: [PHP] Re: RADICORE ramework released

2006-04-13 Thread Tony Marston
Hans Juergen von Lengerke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: Tony Marston [EMAIL PROTECTED] Any problems with locale are cased by having the language code in your browser set to something which cannot be matched up with the contents of the server's locale file.

Re: [PHP] MS SQL extension not loading

2006-04-13 Thread Laszlo Nagy
Tim Huntley írta: Maybe this was already asked, but are you running 64bit Windows Server 2003 on that box? I've heard there's some wonkiness getting PHP and the various extensions to work on 64bit Windows. I'll ask this. c:\windows\system32\logfiles\W3SVC848989038\ Don't ask me why. :-)

Re: [PHP] Re: RADICORE ramework released

2006-04-13 Thread Hans Juergen von Lengerke
From: Tony Marston [EMAIL PROTECTED] Hans Juergen von Lengerke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: Tony Marston [EMAIL PROTECTED] Any problems with locale are cased by having the language code in your browser set to something which cannot be matched up

Re: [PHP] Re: RADICORE ramework released

2006-04-13 Thread Jochem Maas
Tony Marston wrote: Hans Juergen von Lengerke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: Tony Marston [EMAIL PROTECTED] Any problems with locale are cased by having the language code in your browser set to something which cannot be matched up with the contents of the

Re: [PHP] RADICORE ramework released

2006-04-13 Thread Anas Mughal
A question for the folks who have tried it out: Is it better than Ruby on Rails? Thanks. -- Anas Mughal On 4/11/06, Tony Marston [EMAIL PROTECTED] wrote: Announcing the first public release of RADICORE, a Rapid Application Development toolkit for building administrative web applications

Re: [PHP] RADICORE ramework released

2006-04-13 Thread Jochem Maas
Tony Marston wrote: Kevin Waterson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This one time, at band camp, Tony Marston [EMAIL PROTECTED] wrote: Announcing the first public release of RADICORE, a Rapid Application Development toolkit for building administrative web

[PHP] how to convert 0.5 to 0.50

2006-04-13 Thread Merlin
Hi there, I am searching for a command on how to format 0.5 to 0.50 thanx for any help, merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Internal Server Error

2006-04-13 Thread Rahul S. Johari
Ave, This is something I don¹t understand. I have 3 php scripts that run fine on my localhost server, but when I upload the 3 files to my Internet Server (Hosting Account), I get the 500 Internal Server Error. I am able to access them fine on my machine here (Running Apache Web Server)... But on

[PHP] Re: how to convert 0.5 to 0.50

2006-04-13 Thread Barry
Merlin wrote: Hi there, I am searching for a command on how to format 0.5 to 0.50 thanx for any help, merlin sprintf(%.02f,$string); Or number_format() -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] how to convert 0.5 to 0.50

2006-04-13 Thread chris smith
On 4/13/06, Merlin [EMAIL PROTECTED] wrote: Hi there, I am searching for a command on how to format 0.5 to 0.50 number_format('0.5', 2); -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] how to convert 0.5 to 0.50

2006-04-13 Thread cajbecu
?php print number_format('0.5',2,'.',''); // 0.50 ? Merlin wrote: Hi there, I am searching for a command on how to format 0.5 to 0.50 thanx for any help, merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Internal Server Error : Resolved

2006-04-13 Thread Rahul S. Johari
Well I did figure out the problem. The folder I was uploading the files to had special permissions (yeah I know, Duuuhh!). I kept thinking the files I'm uploading are having a permissions issue, it just skipped my mind that the folder I was uploading to had Special Permissions, not the files. I

Re: [PHP] Internal Server Error

2006-04-13 Thread chris smith
I have 3 php scripts that run fine on my localhost server, but when I upload the 3 files to my Internet Server (Hosting Account), I get the 500 Internal Server Error. I am able to access them fine on my machine here (Running Apache Web Server)... But on my internet server, it just keeps giving

Re: [PHP] how to convert 0.5 to 0.50

2006-04-13 Thread tedd
At 3:59 PM +0200 4/13/06, Merlin wrote: Hi there, I am searching for a command on how to format 0.5 to 0.50 thanx for any help, merlin Check out: http://www.weberdev.com/sprintf tedd -- http://sperling.com

Re: [PHP] Internal Server Error

2006-04-13 Thread Georgi Ivanov
Do you have access to server logs ? If yes, what they say ? PHP as module or as CGI/FastCGI ? When the error occurs ? immediately or after some time ? On Thursday April 13 2006 17:00, Rahul S. Johari wrote: Ave, This is something I don¹t understand. I have 3 php scripts that run fine on my

[PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Bing Du
Hello, We have a website which pulls data from its MS Access backend database and publishes the data using Cold Fusion. The Cold Fusion code has '#DateFormat(end_date, Mmmm d, )#'. 'end_date' is a table column of type DATETIME in the Access DB. Now, we need to use PHP instead of Cold

Re: [PHP] RADICORE ramework released

2006-04-13 Thread Jochem Maas
Anas Mughal wrote: A question for the folks who have tried it out: Is it better than Ruby on Rails? is blue better than red? anyone care for a holy war? am I having a bad day? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Jochem Maas
Bing Du wrote: Hello, We have a website which pulls data from its MS Access backend database and publishes the data using Cold Fusion. The Cold Fusion code has '#DateFormat(end_date, Mmmm d, )#'. 'end_date' is a table column of type DATETIME in the Access DB. Now, we need to use PHP

Re: [PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Bing Du
apparently $rec[0] is a php object - try the following lines to find out what's inside: echo 'pre'; print_r($rec[0]); echo 'pre'; that will probably give you a clue as to how to extract some useful info from the object. Excellent! Yes, it now does give me a clue to see what's actually

Re: [PHP] RADICORE ramework released

2006-04-13 Thread John Nichel
Tony Marston wrote: Kevin Waterson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This one time, at band camp, Tony Marston [EMAIL PROTECTED] wrote: Announcing the first public release of RADICORE, a Rapid Application Development toolkit for building administrative web

Re: [PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Jochem Maas
Bing Du wrote: apparently $rec[0] is a php object - try the following lines to find out what's inside: echo 'pre'; print_r($rec[0]); echo 'pre'; that will probably give you a clue as to how to extract some useful info from the object. Excellent! Yes, it now does give me a clue to see

Re: [PHP] RADICORE ramework released

2006-04-13 Thread John Nichel
Jochem Maas wrote: Anas Mughal wrote: A question for the folks who have tried it out: Is it better than Ruby on Rails? is blue better than red? anyone care for a holy war? am I having a bad day? Is it a work day? -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of

[PHP] interview

2006-04-13 Thread Mad Unix
can you please send some interview questions for php i have in few days to inteview some people. -- madunix Communications Engineering (RWTH Aachen University) Systems and Network Engineer MCSE, IBM AIX System Specialist, CCNP, CCSP(SECUR,CSVPN)

RE: [PHP] interview

2006-04-13 Thread Jay Blanchard
[snip] can you please send some interview questions for php i have in few days to inteview some people. [/snip] 1. How's you mum? 2. What is PHP? 3. Have you met any of the folks on that list? 4. Can you ask them questions about PHP? -- PHP General Mailing List (http://www.php.net/) To

[PHP] SQL result

2006-04-13 Thread Mohsen Pahlevanzadeh
Dear all, I remember that i use a func that it return an array what it consist of result of my sql query. Please name me that. Yours,Mohsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] interview

2006-04-13 Thread Stut
Mad Unix wrote: can you please send some interview questions for php i have in few days to inteview some people. 1) If I use PHP, and you use PHP, and everyone on this list uses PHP... what colour is my car? 2) How do I avoid the number 42? 3) What time is it Eccles? HTH! -Stut -- PHP

Re: [PHP] interview

2006-04-13 Thread Jochem Maas
Jay Blanchard wrote: [snip] can you please send some interview questions for php i have in few days to inteview some people. [/snip] 1. How's you mum? 2. What is PHP? 3. Have you met any of the folks on that list? 4. Can you ask them questions about PHP? 5. is blue better than red? -- PHP

RE: [PHP] SQL result

2006-04-13 Thread Jay Blanchard
[snip] I remember that i use a func that it return an array what it consist of result of my sql query. Please name me that. [/snip] RTFM. You are now named mysql_fetch_array. http://www.php.net/mysql_fetch_array -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Andreas Korthaus
Hi! Bing Du wrote: Excellent! Yes, it now does give me a clue to see what's actually in the object. print_r($rec[0]) shows: stdClass Object ( [year] = 2005 [month] = 8 [day] = 31 [hour] = 0 [minute] = 0 [second] = 0 [fraction] = 0 ) I've never dealt with object in PHP. Something new learnt

Re: [PHP] interview

2006-04-13 Thread Angelo Zanetti
Stut wrote: Mad Unix wrote: can you please send some interview questions for php i have in few days to inteview some people. 1) If I use PHP, and you use PHP, and everyone on this list uses PHP... what colour is my car? 2) How do I avoid the number 42? 3) What time is it Eccles? HTH!

RE: [PHP] interview

2006-04-13 Thread Chris Boget
can you please send some interview questions for php i have in few days to inteview some people. 1) If I use PHP, and you use PHP, and everyone on this list uses PHP... what colour is my car? Hamburger. Oh, wait... 2) How do I avoid the number 42? Trip over the number 41 and apologize

Re: [PHP] interview

2006-04-13 Thread John Nichel
Mad Unix wrote: can you please send some interview questions for php i have in few days to inteview some people. Will PHP help me save money on my car insurance? -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General

[PHP] Bar codes

2006-04-13 Thread Emil Edeholt
Hi, I've never used bar codes before. And now I need to print out bar codes, and I've been told it should be in the format K39 Normal (I could have misunderstood since I can't find that on google. Maybe Code 39 Normal?). Any idea how to find that bar code font or what it's called? And what

RE: [PHP] interview

2006-04-13 Thread Jay Blanchard
[snip] Will PHP help me save money on my car insurance? [/snip] No, but a fifteen minute call to Geico will. Wait. That is an answer. I so suck at this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Bing Du
I hate list. each to his own :-) try this (untested): list($year,$month,$day,$hour,$minute,$second,$fraction) = array_values(get_object_vars($rec[0])); Magic! That works. In this case, I'd like to use list because I can use the vars directly (e.g. $year) rather than $arr['year']. I need

Re: [PHP] Bar codes

2006-04-13 Thread Leonard Burton
HI, Any idea how to find that bar code font or what it's called? And what shall I use to print it out? Is it just as a regulat font, or do I need some special bar code lib? I have been using this lib for quite some time. http://www.mribti.com/barcode/ You will have to either set register

Re: [PHP] interview

2006-04-13 Thread John Nichel
Jay Blanchard wrote: [snip] Will PHP help me save money on my car insurance? [/snip] No, but a fifteen minute call to Geico will. Wait. That is an answer. I so suck at this. Great, now the interviewee will be able to cheat. Way to go Jay. -- John C. Nichel IV Programmer/System Admin

Re: [PHP] RADICORE ramework released

2006-04-13 Thread Ryan A
is blue better than red? anyone care for a holy war? am I having a bad day? Yes, yes, guess so My $0.2 Cheers! Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Bing Du
Hi! Bing Du wrote: Excellent! Yes, it now does give me a clue to see what's actually in the object. print_r($rec[0]) shows: stdClass Object ( [year] = 2005 [month] = 8 [day] = 31 [hour] = 0 [minute] = 0 [second] = 0 [fraction] = 0 ) I've never dealt with object in PHP. Something new

RE: [PHP] interview

2006-04-13 Thread Jay Blanchard
[snip] Great, now the interviewee will be able to cheat. Way to go Jay. [/snip] *blush* I know. I wonder where we could apply, that way we can skew the results so that the cheating doesn't matter. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: RADICORE ramework released

2006-04-13 Thread Tony Marston
Hans Juergen von Lengerke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: Tony Marston [EMAIL PROTECTED] Hans Juergen von Lengerke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: Tony Marston [EMAIL PROTECTED] Any problems with locale are cased by having

Re: [PHP] RADICORE ramework released

2006-04-13 Thread Tony Marston
You can't tell just by looking at it. You've actually got to use it to develop an application. -- Tony Marston http://www.tonymarston.net http://www.radicore.org Anas Mughal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] A question for the folks who have tried it out: Is it better

Re: [PHP] RADICORE ramework released

2006-04-13 Thread Tony Marston
Jochem Maas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tony Marston wrote: Kevin Waterson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This one time, at band camp, Tony Marston [EMAIL PROTECTED] wrote: Announcing the first public release of RADICORE, a Rapid

Re: [PHP] RADICORE ramework released

2006-04-13 Thread Tony Marston
Jochem Maas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Anas Mughal wrote: A question for the folks who have tried it out: Is it better than Ruby on Rails? is blue better than red? anyone care for a holy war? am I having a bad day? Are brains better than brawn? Is PHP

RE: [PHP] RADICORE ramework released

2006-04-13 Thread Chrome
better than Java? Is anything better than .NET? -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ NOD32 1.1487 (20060413) Information __ This message

Re: [PHP] interview

2006-04-13 Thread Jeffrey Pearson
How about the Presidential election?!! On Apr 13, 2006, at 9:23 AM, Jay Blanchard wrote: [snip] Great, now the interviewee will be able to cheat. Way to go Jay. [/snip] *blush* I know. I wonder where we could apply, that way we can skew the results so that the cheating doesn't matter.

Re: [PHP] interview

2006-04-13 Thread Anas Mughal
These are all very good questions. And, to top it all, here is a question that was recently posted to the list: How does apache improves PHP? Good luck!!! On 4/13/06, Jeffrey Pearson [EMAIL PROTECTED] wrote: How about the Presidential election?!! On Apr 13, 2006, at 9:23 AM, Jay

Re: [PHP] interview

2006-04-13 Thread Wolf
How much wood would a wood chuck chuck if a wood chuck could chuck wood?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] interview

2006-04-13 Thread Jay Blanchard
[snip] How much wood would a wood chuck chuck if a wood chuck could chuck wood?? [/snip] Sub-question A; using a regular wood chuck? Sub-question B; using a PHP wood chuck? (Never mind the expense) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Ford, Mike
On 13 April 2006 17:08, Bing Du wrote: Hi! Bing Du wrote: Excellent! Yes, it now does give me a clue to see what's actually in the object. print_r($rec[0]) shows: stdClass Object ( [year] = 2005 [month] = 8 [day] = 31 [hour] = 0 [minute] = 0 [second] = 0 [fraction] = 0 )

Re: [PHP] interview

2006-04-13 Thread Robert Cummings
On Thu, 2006-04-13 at 12:56, Wolf wrote: How much wood would a wood chuck chuck if a wood chuck could chuck wood?? Canadian, American, or Other woodchuck? Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com

Re: [PHP] interview

2006-04-13 Thread Joe Henry
On Thursday 13 April 2006 11:13 am, Robert Cummings wrote: On Thu, 2006-04-13 at 12:56, Wolf wrote: How much wood would a wood chuck chuck if a wood chuck could chuck wood?? Canadian, American, or Other woodchuck? monty python Leave or we shall taunt you a second time! /monty python --

RE: [PHP] interview

2006-04-13 Thread Bobby Matthis
How about questions they want to hear?: 1) Would you mind receiving a very large paycheck? 2) Do company cars offend you? 3) Would you like a scholarship offered for every one of your children? Ask those three questions, and you have hired them.that's all I know :) -Original

Re: [PHP] SQL result

2006-04-13 Thread Anthony Ettinger
http://us3.php.net/manual/en/function.mysqli-fetch-row.php On 4/25/06, Mohsen Pahlevanzadeh [EMAIL PROTECTED] wrote: Dear all, I remember that i use a func that it return an array what it consist of result of my sql query. Please name me that. Yours,Mohsen -- PHP General Mailing List

Re: [PHP] interview

2006-04-13 Thread tedd
At 5:21 PM +0200 4/13/06, Mad Unix wrote: can you please send some interview questions for php i have in few days to inteview some people. -- madunix no offense meant If you know php, why are you asking us do your work for you? else What are you doing interviewing someone for a php

RE: [PHP] interview

2006-04-13 Thread Ryan A
If a coal cart could cart coal, how much coal would a coal cart cart... if a coal cart could cart coal? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] interview

2006-04-13 Thread Anthony Ettinger
if PHP could PHP a PHP page, how much PHP would a PHP page take to PHP a PHP page? On 4/13/06, Ryan A [EMAIL PROTECTED] wrote: If a coal cart could cart coal, how much coal would a coal cart cart... if a coal cart could cart coal? -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] interview

2006-04-13 Thread Jochem Maas
Anthony Ettinger wrote: if PHP could PHP a PHP page, how much PHP would a PHP page take to PHP a PHP page? dunno. but it's sounds like a Pretty Hard Problem to solve. :-) I just envisaging the guy to be interviewed reading this list right now ... we should run a sweepstake on whether he

RE: [PHP] interview

2006-04-13 Thread Chrome
be looking for another position. /no offense meant tedd -- http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ NOD32 1.1488 (20060413

Re: [PHP] interview

2006-04-13 Thread John Nichel
Chrome wrote: [snip] How would you like it if someone who didn't have a clue as to your expertise, interviewed you and then judged you as to what you know? [/snip] Like upper management? ;) *ding ding ding* We have a winner! I love the 'deer in headlights' look our CEO gets when I explain

RE: [PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Bing Du
I expect there's actually several ways, although I'm thinking it's likely that none of them is blindingly obvious. Personally, I think I'd be inclined to do it like this: $mth = 9; echo date('F', mktime(12,0,0, $mth)); Interesting. Thanks a bunch for the tip, Mike. Appreciate it.

[PHP] Re: interview

2006-04-13 Thread Ahmed Saad
On 4/13/06, Mad Unix [EMAIL PROTECTED] wrote: can you please send some interview questions for php i have in few days to inteview some people. Well, a simple google search could have saved you all this http://www.google.com/search?q=php+interview+questions and do NOT try PHP at home! It's

[PHP] Beginner Help - Array

2006-04-13 Thread P. Guethlein
This seems like it should work, but the option statement is just filling in one line of datahm... the names have multiple territories (ID's), so I want to have one name associated with one territory ID ( other stuff happens elseware...). //building list of names and their territory

[PHP] serialize() function

2006-04-13 Thread Nicholas Couloute
Are there any tutorials and uses for serialize() ? I went to php.net and it isn't well documented as I would hope! ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] serialize() function

2006-04-13 Thread Jochem Maas
Nicholas Couloute wrote: Are there any tutorials and uses for serialize() ? I went to php.net and it isn't well documented as I would hope! ?php $o = new StdObject; $a = array(); $i = 1; $b = false; echo serialize($o),\n, serialize($a),\n, serialize($i),\n, serialize($b),\n,

Re: [PHP] serialize() function

2006-04-13 Thread Jochem Maas
Nicholas Couloute wrote: I was thinking of a news system with comments. fine. but what's that got to do with serialize() per se? or put another don't look at a function decide it might be useful and then force yourself to build an application with it cart before the horse and all that.

Re: [PHP] interview

2006-04-13 Thread Richard Lynch
On Thu, April 13, 2006 2:46 pm, John Nichel wrote: Chrome wrote: [snip] How would you like it if someone who didn't have a clue as to your expertise, interviewed you and then judged you as to what you know? [/snip] Like upper management? ;) *ding ding ding* We have a winner! I love

Re: [PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Richard Lynch
On Thu, April 13, 2006 9:30 am, Bing Du wrote: $qry = odbtp_query(SELECT end_date,title,projectID FROM projects ORDER BY end_date DESC); While all the data-munging in PHP is very interesting... Might I suggest that you just use MySQL's date_format() function to ask MySQL to give you the data

[PHP] Join - Two Columns with the same name

2006-04-13 Thread Kevin Murphy
This is probably basic, but I can't seem to find the answer. Is there a way to specify in a join a specific column when the two tables have columns with the same name? Something like: $row['table1.id'] vs $row['table2.id'] -- Kevin Murphy Webmaster: Information and Marketing Services

Re: [PHP] interview

2006-04-13 Thread Richard Lynch
On Thu, April 13, 2006 10:21 am, Mad Unix wrote: can you please send some interview questions for php i have in few days to inteview some people. -- madunix Communications Engineering (RWTH Aachen University) Systems and Network Engineer MCSE, IBM AIX System Specialist, CCNP,

Re: [PHP] interview

2006-04-13 Thread Richard Lynch
On Thu, April 13, 2006 2:25 pm, Jochem Maas wrote: Anthony Ettinger wrote: if PHP could PHP a PHP page, how much PHP would a PHP page take to PHP a PHP page? One line: ?php require 'page.php';? -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Join - Two Columns with the same name

2006-04-13 Thread Jochem Maas
Kevin Murphy wrote: This is probably basic, but I can't seem to find the answer. Is there a way to specify in a join a specific column when the two tables have columns with the same name? Something like: $row['table1.id'] vs $row['table2.id'] yes. http://dev.mysql.com/doc/ is a good

Re: [PHP] CURLOPT_BINARYTRANSFER [SOLVED]

2006-04-13 Thread Richard Lynch
On Tue, April 11, 2006 3:56 pm, Richard Lynch wrote: First, I want to publicly THANK Pierre and Tony2001 for squashing not one, but *TWO* bugs I managed to stumble across in my latest endeavor. Their patience with my bumbling through bogus hypotheses and red herrings in my bug reports should be

Re: [PHP] Join - Two Columns with the same name

2006-04-13 Thread Warren Vail
Several methods are supported by mysql, here is the one I like, select * from table1 a, table2 b where a.col1 = b.col1 In this case the a and b are aliases of table1 and table2 respectively and the notation a.col1 and b.col1 refers to column col1 in table1 and table2 respectively. You can

Re: [PHP] serialize() function

2006-04-13 Thread tedd
At 12:04 AM +0200 4/14/06, Jochem Maas wrote: Nicholas Couloute wrote: Are there any tutorials and uses for serialize() ? I went to php.net and it isn't well documented as I would hope! ?php $o = new StdObject; $a = array(); $i = 1; $b = false; echo serialize($o),\n, serialize($a),\n,

[PHP] Text database instead of MySql (Recommendations / Advise also welcome)

2006-04-13 Thread Ryan A
Hey, I have been asked to make a site that would be pretty high traffic... problem is, no MySql. Although i have messed around with php's file and directory commands I have never really made anything really big using them, I always used MySql, here I dont have that choice as the server itself

  1   2   >