php-general Digest 23 Oct 2010 05:50:06 -0000 Issue 7002

2010-10-22 Thread php-general-digest-help
php-general Digest 23 Oct 2010 05:50:06 - Issue 7002 Topics (messages 309015 through 309035): Re: Reminder On Mailing List Rules 309015 by: Jay Blanchard 309016 by: Bastien Koert Re: Entity 'reg' not defined 309017 by: Adam Richardson 309018 by: Ashley

Re: [PHP] Convert hex string to hex value?

2010-10-22 Thread Adam Richardson
On Fri, Oct 22, 2010 at 1:05 AM, Micky Hulse mickyhulse.li...@gmail.comwrote: Hi, I must be tired because I can't figure this out... I am sure it is something obvious. I need to pass a hex value to a method, but I can't figure out how to convert a hex string to a hex value. For exmaple:

Re: [PHP] Convert hex string to hex value?

2010-10-22 Thread Micky Hulse
Hi Adam! Many thanks for you quick reply and for the help. :) On Thu, Oct 21, 2010 at 11:31 PM, Adam Richardson In your second example, you're directly inputing a hex number, so there's no issue. Interesting... I wish I could just input the hex directly, unfortunately I don't have that option.

Re: [PHP] Convert hex string to hex value?

2010-10-22 Thread Micky Hulse
On Thu, Oct 21, 2010 at 11:45 PM, Micky Hulse rgmi...@gmail.com wrote: Hmmm, I wonder if I am going about this all wrong. OMG, too easy: my_method(hexdec('0x' . $base)) How did I miss that!?! I could swear I tried that earlier. Sorry to bug ya'll! Cheers, Micky -- PHP General Mailing List

Re: [PHP] Re: Independent Contractor Suggestions

2010-10-22 Thread Ricardo Martinez
On Thu, Oct 21, 2010 at 4:39 PM, Paul M Foster pa...@quillandmouse.comwrote: On Wed, Oct 20, 2010 at 05:47:12PM -0700, Kris Craig wrote: Hi musicdev, There are a couple issues I think need to be addressed with what youd described. First and foremost, $20/hr is considerably below the

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Thijs Lensselink
On Thu, 21 Oct 2010 16:30:03 +0100, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2010-10-21 at 10:25 -0400, Daniel Brown wrote: Hey, Folks; Just a gentle reminder after watching things get worse by the day: it is one of the rules of this and all official php.net mailing

[PHP] Model View Concepts

2010-10-22 Thread Sebastian Detert
Hi all, I'm currently searching for any code snippets, tutorials, howtos, concepts which explain different ways to collect all type of data/input (i.e. inside a class, xml, json string whatever) and create independent html files (i.e. different designs), xml files, pdf files, etc. out of

[PHP] Fw: Dbase database - reg

2010-10-22 Thread kumar
22.10.2010 Dear sir Please help me the following code and how to rectify the same . ?php $filename='mas1.dbf'; $db = dbase_open($filename, 0); ? Fatal error: Call to undefined function: dbase_open() please help me sir, regards Kumar . L SLST / ARNI / Tamilnadu / India

Re: [PHP] Fw: Dbase database - reg

2010-10-22 Thread Alexis
sounds like you have not compiled php with the --enable-dbase option. check the output of ?php phpinfo(); ? and see if there is any mention of dbase..if not, then that is probably your problem. Alexis On 22/10/10 02:51, kumar wrote: 22.10.2010 Dear sir Please help me the following code

RE: [PHP] Re: My truth comes out [1]

2010-10-22 Thread Ford, Mike
-Original Message- From: Jason [mailto:networkad...@emarket2.com] Sent: 21 October 2010 11:45 What about something simple and readable like: ($string==true) ? true : false; ... and wasteful. The above gives exactly the same result as ($string==true) Cheers! Mike -- Mike

[PHP] CMS plugin support

2010-10-22 Thread Emil Guy
Hi! I have a bit of a vague question. I have always used different selfmade basic CMS for web pages. That works fine, and I like having my own structure and light code weight. But the big pro with using a standard CMS like drupal is the plugin support. Are there any php plugin standards or is

RE: [PHP] Possible foreach bug; seeking advice to isolate the problem

2010-10-22 Thread Ford, Mike
-Original Message- From: Jonathan Sachs [mailto:081...@jhsachs.com] Sent: 20 October 2010 04:48 To: php-general@lists.php.net Subject: [PHP] Possible foreach bug; seeking advice to isolate the problem I've got a script which originally contained the following piece of code:

Re: [PHP] Model View Concepts

2010-10-22 Thread Ashley Sheridan
On Fri, 2010-10-22 at 10:16 +0200, Sebastian Detert wrote: Hi all, I'm currently searching for any code snippets, tutorials, howtos, concepts which explain different ways to collect all type of data/input (i.e. inside a class, xml, json string whatever) and create independent html files

Re: [PHP] CMS plugin support

2010-10-22 Thread Ashley Sheridan
On Fri, 2010-10-22 at 11:30 +0200, Emil Guy wrote: Hi! I have a bit of a vague question. I have always used different selfmade basic CMS for web pages. That works fine, and I like having my own structure and light code weight. But the big pro with using a standard CMS like drupal is the

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Andy McKenzie
PHP is basically the only language I deal with any more - and it's the only language I -want- to deal with. I hate to see basic semantics such as top post you asshole scare off fresh blood and create a hostile or otherwise discriminatory environment. Keep PHP alive and well, at least until I

RE: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Jay Blanchard
[snip] really makes me question remaining a member...it's been a close thing a few times in the last week. [/snip] $door = new door(large, heavy, swift); $door-open(); $door-hitArse(); $door-close(); C'mon, the rudeness out weighs the good of this list? -- PHP General Mailing List

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Bastien Koert
On Fri, Oct 22, 2010 at 9:22 AM, Jay Blanchard jblanch...@pocket.com wrote: [snip] really makes me question remaining a member...it's been a close thing a few times in the last week. [/snip] $door = new door(large, heavy, swift); $door-open(); $door-hitArse(); $door-close(); C'mon, the

Re: [PHP] CMS plugin support

2010-10-22 Thread Larry Garfield
On Friday, October 22, 2010 4:30:06 am Emil Guy wrote: Hi! I have a bit of a vague question. I have always used different selfmade basic CMS for web pages. That works fine, and I like having my own structure and light code weight. But the big pro with using a standard CMS like drupal is the

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Andy McKenzie
On Fri, Oct 22, 2010 at 9:22 AM, Jay Blanchard jblanch...@pocket.com wrote: [snip] really makes me question remaining a member...it's been a close thing a few times in the last week. [/snip] $door = new door(large, heavy, swift); $door-open(); $door-hitArse(); $door-close(); C'mon, the

[PHP] Entity 'reg' not defined

2010-10-22 Thread TR Shaw
Anyone have an idea how to work around this? I tried: define ('reg', '®'); define ('reg;', '®'); can't figure how to override the entity table. Errors follw: Warning: simplexml_load_string(): o.cc/46/e53d68e007fd45c2fccb502f2e7ccad5.php?user_id=47amp;sub_id=61862469reg; in checkifup.php on

Re: [PHP] Entity 'reg' not defined

2010-10-22 Thread Adam Richardson
On Fri, Oct 22, 2010 at 11:47 AM, TR Shaw ts...@oitc.com wrote: Anyone have an idea how to work around this? I tried: define ('reg', '®'); define ('reg;', '®'); can't figure how to override the entity table. Errors follw: Warning: simplexml_load_string():

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread tedd
At 10:47 AM -0400 10/21/10, Daniel Brown wrote: On Thu, Oct 21, 2010 at 10:41, Robert Cummings rob...@interjinn.com wrote: I can't speak for everyone here (or who is no longer here)... but my posts have dwindled significantly due to work and family time constraints :| Same here, but

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread tedd
At 12:24 PM -0400 10/21/10, Paul M Foster wrote: I dropped off a bit because I (rightfully) got boxed around when I made some incorrect statements regarding obscure HTML/PHP points. I thought, maybe I should shut up and just listen until I know more. Paul Paul: IMO, that's not a good reason

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread tedd
At 6:05 PM +0100 10/21/10, Ashley Sheridan wrote: And thanks for remembering I'm a guy, been called a girl on this list more than once! :p Thanks, Ash You're not! :-) Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread tedd
At 3:01 PM -0500 10/21/10, Jay Blanchard wrote: [snip] Orwellian! [/snip] Nazi's did it! Why? Top posting is bad! I read some place that the first one to mention Nazi's lose the argument. Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread tedd
At 4:54 PM -0400 10/21/10, Marc Guay wrote: Toilet seat. Up or down. Same thing? Sort of. No, everything down (seat and top) is the rule in my house. You should see how women often react when I tell them to put the top down -- it's like my dog hearing a high note. Cheers, tedd --

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Richard Quadling
On 22 October 2010 13:59, Andy McKenzie amckenz...@gmail.com wrote: There are already a few people on the list whose posts I just glance at to see if there's code, and skip if there's not. ?php echo 'Have I been skipped?', PHP_EOL; ? -- Richard Quadling Twitter : EE : Zend @RQuadling :

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Richard Quadling
On 22 October 2010 17:35, tedd tedd.sperl...@gmail.com wrote: At 3:01 PM -0500 10/21/10, Jay Blanchard wrote: [snip] Orwellian! [/snip] Nazi's did it! Why? Top posting is bad! I read some place that the first one to mention Nazi's lose the argument.

RE: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Jay Blanchard
[snip] I read some place that the first one to mention Nazi's lose the argument. [/snip] Nah, it is just proof of, as mentioned before, Godwin's Law (http://en.wikipedia.org/wiki/Godwin%27s_law) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Reminder On Mailing List Rules

2010-10-22 Thread Bastien Koert
On Fri, Oct 22, 2010 at 12:46 PM, Jay Blanchard jblanch...@pocket.com wrote: [snip] I read some place that the first one to mention Nazi's lose the argument. [/snip] Nah, it is just proof of, as mentioned before, Godwin's Law (http://en.wikipedia.org/wiki/Godwin%27s_law) -- PHP General

Re: [PHP] Entity 'reg' not defined

2010-10-22 Thread Adam Richardson
On Fri, Oct 22, 2010 at 1:19 PM, TR Shaw ts...@oitc.com wrote: On Oct 22, 2010, at 12:03 PM, Adam Richardson wrote: On Fri, Oct 22, 2010 at 11:47 AM, TR Shaw ts...@oitc.com wrote: Anyone have an idea how to work around this? I tried: define ('reg', '®'); define ('reg;', '®');

Re: [PHP] Entity 'reg' not defined

2010-10-22 Thread Ashley Sheridan
On Fri, 2010-10-22 at 12:03 -0400, Adam Richardson wrote: On Fri, Oct 22, 2010 at 11:47 AM, TR Shaw ts...@oitc.com wrote: Anyone have an idea how to work around this? I tried: define ('reg', '®'); define ('reg;', '®'); can't figure how to override the entity table. Errors follw:

Re: [PHP] Entity 'reg' not defined

2010-10-22 Thread TR Shaw
On Oct 22, 2010, at 1:56 PM, Ashley Sheridan wrote: On Fri, 2010-10-22 at 12:03 -0400, Adam Richardson wrote: On Fri, Oct 22, 2010 at 11:47 AM, TR Shaw ts...@oitc.com wrote: Anyone have an idea how to work around this? I tried: define ('reg', '®'); define ('reg;', '®'); can't

Re: [PHP] Entity 'reg' not defined

2010-10-22 Thread Richard Quadling
On 22 October 2010 19:01, TR Shaw ts...@oitc.com wrote: On Oct 22, 2010, at 1:56 PM, Ashley Sheridan wrote: On Fri, 2010-10-22 at 12:03 -0400, Adam Richardson wrote: On Fri, Oct 22, 2010 at 11:47 AM, TR Shaw ts...@oitc.com wrote: Anyone have an idea how to work around this? I tried:

Re: [PHP] Entity 'reg' not defined

2010-10-22 Thread Bastien Koert
On Fri, Oct 22, 2010 at 2:28 PM, Richard Quadling rquadl...@gmail.com wrote: On 22 October 2010 19:01, TR Shaw ts...@oitc.com wrote: On Oct 22, 2010, at 1:56 PM, Ashley Sheridan wrote: On Fri, 2010-10-22 at 12:03 -0400, Adam Richardson wrote: On Fri, Oct 22, 2010 at 11:47 AM, TR Shaw

[PHP] Printing....

2010-10-22 Thread Steve Staples
Ok, here is an interesting one... I am building an application, that basically listens for input on 2 ip addresses (not a problem there)... then it does a bunch of stuff, puts info to a terminal window (again, i dont think this will be an issue)... but then once the user says yep... print i need

Re: [PHP] Printing....

2010-10-22 Thread Daniel P. Brown
On Fri, Oct 22, 2010 at 16:43, Steve Staples sstap...@mnsi.net wrote: Ok, here is an interesting one... I am building an application, that basically listens for input on 2 ip addresses (not a problem there)... then it does a bunch of stuff, puts info to a terminal window (again, i dont think

[PHP] php imap_search fails for subject strings which have apostrophe

2010-10-22 Thread nitesh nandy
I've to search for messages from Gmail Inbox over IMAP using search by SUBJECT . The php-imap imap_search() works fine when the subject is pure alphanumeric. If the subject string has an apostrophe or a dash then the search fails. imap_seach($mbox, 'ALL SUBJECT search string');

Re: [PHP] php imap_search fails for subject strings which have apostrophe

2010-10-22 Thread Govinda
I've to search for messages from Gmail Inbox over IMAP using search by SUBJECT . The php-imap imap_search() works fine when the subject is pure alphanumeric. If the subject string has an apostrophe or a dash then the search fails. imap_seach($mbox, 'ALL SUBJECT search string');

[PHP] Is there a way to write to the php error log from a php script?

2010-10-22 Thread Tamara Temple
I'm trying to log some data for debugging and don't have use of the standard output to do so. I'd like to write the info to the php error log. Can this be done from within PHP? I've searched the web site for logging functions, but cannot find any. -- PHP General Mailing List

Re: [PHP] Is there a way to write to the php error log from a php script?

2010-10-22 Thread Daniel P. Brown
On Fri, Oct 22, 2010 at 20:24, Tamara Temple tamouse.li...@gmail.com wrote: I'm trying to log some data for debugging and don't have use of the standard output to do so. I'd like to write the info to the php error log. Can this be done from within PHP? I've searched the web site for logging

Re: [PHP] Is there a way to write to the php error log from a php script?

2010-10-22 Thread Tamara Temple
On Oct 22, 2010, at 7:31 PM, Daniel P. Brown wrote: On Fri, Oct 22, 2010 at 20:24, Tamara Temple tamouse.li...@gmail.com wrote: I'm trying to log some data for debugging and don't have use of the standard output to do so. I'd like to write the info to the php error log. Can this be done

Re: [PHP] Re: Independent Contractor Suggestions

2010-10-22 Thread Kris Craig
Alrighty, thanks for waiting. I've posted the files here: http://freelancetools.sourceforge.net/ Currently, there are two documents there: A general contract and a statement of work (SOW) contract. Typically, the general contract would be signed first, essentially laying out the overall