Re: [PHP] Ini files for CLI only on non Win32 platform

2013-09-14 Thread Richard Quadling
On 13 September 2013 20:06, Kevin Kinsey k...@daleco.biz wrote: Date: Fri, 13 Sep 2013 11:40:27 +0100 From: Richard Quadling rquadl...@gmail.com To: PHP General list php-general@lists.php.net Subject: [PHP] Ini files for CLI only on non Win32 platform. I've got an instance of PHP

[PHP] Ini files for CLI only on non Win32 platform.

2013-09-13 Thread Richard Quadling
see the ini file. Is the -SAPI filtering performed on the additional files? It doesn't seem to and I can't really tell from the dox if it is supposed to. Regards, Richard. -- Richard Quadling

[PHP] Re: Stripe Connect in the UK + PHP Integration.

2013-08-06 Thread Richard Quadling
On 19 July 2013 16:22, Richard Quadling rquadl...@gmail.com wrote: Hi. Simple question. Has anyone got Stripe Connect, Stripe.js and Stripe PHP SDK operational in the UK. I'm struggling getting the UK Beta to accept a new account/customer set for a UK business or individual, accepting

[PHP] Quick Q.

2013-07-24 Thread Richard Quadling
back to PHP 5.4 to see if that's OK on the VM I have. -- Richard Quadling

Re: [PHP] COM - Assigning to method.

2013-07-24 Thread Richard Quadling
-typeinfo.php and the user notes. Not used it but bucket loads of info is a good thing to see normally. -- Richard Quadling Twitter : @RQuadling

Re: [PHP] Quick Q.

2013-07-24 Thread Richard Quadling
On 24 July 2013 21:54, Matijn Woudt tijn...@gmail.com wrote: On Wed, Jul 24, 2013 at 10:45 PM, Richard Quadling rquadl...@gmail.comwrote: PHP 5.5+ is (from news) - Windows XP and 2003 support dropped. Does that mean no longer executes (as is seemingly what I'm seeing) or just

[PHP] Stripe Connect in the UK + PHP Integration.

2013-07-19 Thread Richard Quadling
if preferred. Regards, Richard Quadling.

Re: [PHP] COM - Assigning to method.

2013-07-13 Thread Richard Quadling
. -- Richard Quadling Twitter : @RQuadling

Re: [PHP] Guaranteed Way to Get Error Message Wanted

2013-07-06 Thread Richard Quadling
PHP ... php -r echo 1; With your config. Just to see if there is anything ultra obvious missing. -- Richard Quadling Twitter : @RQuadling

Re: [PHP] Guaranteed Way to Get Error Message Wanted

2013-07-06 Thread Richard Quadling
in XDebug and get a trace going, what is the code doing prior to failure? -- Richard Quadling Twitter : @RQuadling

[PHP] Web dev, DB and proper db design.

2013-07-04 Thread Richard Quadling
Hi. I've just had a conversation regarding DB, foreign keys and their benefits. I was told I've never worked on a web application where foreign keys were used in the database. As someone who has spent 25 years working on accounting/epos systems on MS SQL Server (yep, windows) and now in a web

Re: [PHP] What is the name of the pattern that will ...

2013-06-14 Thread Richard Quadling
On 13 June 2013 18:38, David Harkness davi...@highgearmedia.com wrote: Hi Richard, On Thu, Jun 13, 2013 at 10:16 AM, Richard Quadling rquadl...@gmail.comwrote: I'm building a class which needs to have certain methods called by the subclass, but the subclass can extend but not obscure

[PHP] What is the name of the pattern that will ...

2013-06-13 Thread Richard Quadling
the public scope. 2 - The response is by ref, but I think having a AuthResponse class containing $i_State and $s_Message should be enough there, but no way to enforce return types in PHP. Any ideas? Thank you. -- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814.html Zend : http

Re: [PHP] Seemingly incorrect strict standard.

2013-06-04 Thread Richard Quadling
! -- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814.html Zend : http://bit.ly/9O8vFY

Re: [PHP] Seemingly incorrect strict standard.

2013-06-04 Thread Richard Quadling
On 4 June 2013 09:57, Richard Quadling rquadl...@gmail.com wrote: On 3 June 2013 20:37, shiplu shiplu@gmail.com wrote: Show a short reproducible code. And I can now see an interface is a much simpler mechanism! ?php interface baseInterface { static public function

Re: [PHP] Seemingly incorrect strict standard.

2013-06-03 Thread Richard Quadling
Aha! Don't make it abstract in my base class, but I can throw an exception (perfectly reasonable for me as the called class should implement the method). On 3 June 2013 18:36, Matijn Woudt tijn...@gmail.com wrote: On Mon, Jun 3, 2013 at 7:24 PM, Richard Quadling rquadl...@gmail.comwrote

Re: [PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-24 Thread Richard Quadling
On 23 May 2013 16:31, Stuart Dallas stu...@3ft9.com wrote: On 23 May 2013, at 15:54, Richard Quadling rquadl...@gmail.com wrote: I'm building an XML file. It is within an OOP structure and is pretty simple. The method is ... /** * Turn an error from the W2GlobalData

[PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-23 Thread Richard Quadling
of the local scope (so $o_XML and $this are all happy). I know I can write a template parser, but I'm just missing an obvious solution that isn't fat and doesn't require a massive learning for the other devs. Ideas? Thanks for reading. Richard. -- Richard Quadling Twitter : @RQuadling EE : http

[PHP] Trying to understand what I've broken to not allow mkdir() to work.

2013-05-16 Thread Richard Quadling
give me definite help here? I can manually create the directories, but that's just daft. Nothing LOOKS any different between the two repos, but I don't know how to tell beyond comparing ls outputs. Any help would be good. -- Richard Quadling Twitter : @RQuadling

Re: [PHP] Trying to understand what I've broken to not allow mkdir() to work.

2013-05-16 Thread Richard Quadling
On 16 May 2013 15:42, Karim Geiger gei...@b1-systems.de wrote: Hi Richard, On 05/16/2013 04:33 PM, Richard Quadling wrote: Hi. I'm running on a Mac with a Centos VM (via VirtualBox). Was running from from our SVN server. New repo, now running from GIT. The checkout is on my

Re: [PHP] Having a problem with clone.

2013-05-11 Thread Richard Quadling
On 11 May 2013 09:52, Marco Behnke ma...@behnke.biz wrote: Am 10.05.13 11:35, schrieb Richard Quadling: Trying to clone an uncloneable object of class Smarty_Variable Different PHP versions maybe? Look at this thread I found: http://wordpress.org/support/topic/fatal-error-trying-to-clone

[PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
instructions to run/wrap the code in any way needed. Any help would be GREATLY appreciated!!! Thanks in advance, Richard. -- Richard Quadling Twitter : @RQuadling

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
On 10 May 2013 12:08, Nick Whiting nwhit...@xstudiosinc.com wrote: Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword clone? On Friday, May 10, 2013, Richard Quadling wrote: Hi. I'm having an issue where I get ... Fatal error

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
On 10 May 2013 12:18, Richard Quadling rquadl...@gmail.com wrote: On 10 May 2013 12:08, Nick Whiting nwhit...@xstudiosinc.com wrote: Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword clone? On Friday, May 10, 2013, Richard

[PHP] pecl/gender bug in PHP V5.3

2013-05-10 Thread Richard Quadling
diagnose any further, sorry). If anyone can shed some light on this, then that would be useful. Regards, Richard. -- Richard Quadling Twitter : @RQuadling

Re: [PHP] [ask] convert unknown Korean's string to readable string

2013-05-01 Thread Richard Quadling
that it is not install yet. i just installed it and then i am able to view the Korean's font. Thanks anyway. Best regards, Marco On Tue, Apr 30, 2013 at 2:40 PM, Richard Quadling rquadl...@gmail.com wrote: On 29 April 2013 20:38, Morning Star morning.star.c...@gmail.com wrote: Thanks, Richard

Re: [PHP] [ask] convert unknown Korean's string to readable string

2013-04-30 Thread Richard Quadling
On 29 April 2013 20:38, Morning Star morning.star.c...@gmail.com wrote: Thanks, Richard. It works in xterm, but it doesn't work in KDE konsole. i don't know how to figure it out. help me Best regards, Marco On Mon, Apr 22, 2013 at 9:43 AM, Richard Quadling rquadl...@gmail.com wrote

Re: [PHP] mysql_connect noob question

2013-04-24 Thread Richard Quadling
-- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814.html Zend : http://bit.ly/9O8vFY

Re: [PHP] [ask] convert unknown Korean's string to readable string

2013-04-22 Thread Richard Quadling
'Original : ', $string1, PHP_EOL, 'Entities : ', $string2, PHP_EOL, 'Decoded : ', $string3, PHP_EOL, PHP_EOL; ? outputs (at least for me) ... 안녕하세요 Based upon http://stackoverflow.com/questions/7274183/php-convert-unicode-to-character. Hope this helps. -- Richard Quadling

[PHP] OAuth test server and help my slow brain understand what I'm doing.

2013-04-04 Thread Richard Quadling
Hi. I've been tasked to integrate some financial data into our site. The provider uses a 2 legged OAuth mechanism for the security. I have my consumer key and secret and the service end point, but I'm at a loss to even know if I'm doing anything right. Does anyone have a script that uses 2

Re: [PHP] Reflecting Constants.

2013-03-12 Thread Richard Quadling
to use ReflectionClass-getDocComment() It does require the constant name to be present @vanity CONSTANT_NAME LONG_NAME,SHORT_NAME,HUMAN_NAME I've implemented this and it is working. I've @todo'd it to refactor if PHP has a ReflectionConstant class at some stage in the future. Thanks. -- Richard

Re: [PHP] Very Large File Splatter

2013-03-04 Thread Richard Quadling
On 22 February 2013 21:04, Brian Smither bhsmit...@gmail.com wrote: PHP 5.4.4-TS-VC9 on Windows XP SP3 NTFS non-system drive with 18GB free. I dare not try to replicate this. As such, I cannot firmly place the blame on PHP. I have peppered a PHP application with a call to a function which

[PHP] Re: Holding datetimes in a DB.

2013-03-03 Thread Richard Quadling
On 1 March 2013 10:49, Richard Quadling rquadl...@gmail.com wrote: Hi. My heads trying to remember something I may or may not have known to start with. If I hold datetimes in a DB in UTC and can represent a date to a user based upon a user preference Timezone (not an offset, but a real

[PHP] Using a stream filter to do a search and replace on an XML file.

2012-03-19 Thread Richard Quadling
files without needing to hold onto anything. Ideas/suggestions/examples/code gratefully received. Regards, Richard. -- Richard Quadling Twitter : EE : Zend : Fantasy Shopper @RQuadling : http://e-e.com/M_248814.html : http://bit.ly/9O8vFY : http://fan.sh/106/5tw -- PHP General Mailing List

Re: [PHP] DOS CLI?

2011-12-08 Thread Richard Quadling
development - a DOS emulator for Windows. I use it to run REALLY old games. Richard. [1] http://www.dosbox.com/ -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea : fan.sh/6/370 -- PHP General Mailing List (http

Re: [PHP] PHP script won't run in the background

2011-11-21 Thread Richard Quadling
://www.php.net/unsub.php I've seen this ... php script.php 1nul 2nul Not sure how effective it is. But the code is tagged as a fire and forget mechanism. -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea : fan.sh

Re: [PHP] {} forms

2011-11-16 Thread Richard Quadling
. -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea : fan.sh/6/370 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using SimpleXMLIterator with a Iterator Filter.

2011-11-15 Thread Richard Quadling
the manual but the iterator documentation isn't great. I don't know who knows this stuff inside out, or how to describe things in a useful way for the documentation. So. Help! Regards, Richard Quadling. -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com

Re: [PHP] problem with sending AT command in php

2011-11-15 Thread Richard Quadling
On 15 November 2011 11:50, a dehqan dehqa...@gmail.com wrote: \n is for Linux \r is for Windows On 11/14/11, Richard Quadling rquadl...@gmail.com wrote: On 12 November 2011 20:02, a dehqan dehqa...@gmail.com wrote: dio_write($handle, 'AT') dio_write($handle, AT) make firefox times out

Re: [PHP] problem with sending AT command in php

2011-11-15 Thread Richard Quadling
On 15 November 2011 15:12, Mike Mackintosh mike.mackint...@angrystatic.com wrote: On Nov 15, 2011, at 8:25, Richard Quadling rquadl...@gmail.com wrote: On 15 November 2011 11:50, a dehqan dehqa...@gmail.com wrote: \n is for Linux \r is for Windows On 11/14/11, Richard Quadling rquadl

Re: [PHP] problem with sending AT command in php

2011-11-14 Thread Richard Quadling
, Negin Nickparsa nickpa...@gmail.comwrote: are you sure about ATD03518726535\n?  can you try if ( dio_write($handle, 'AT') )? Don't use \n, use \r. http://en.wikipedia.org/wiki/AT_commands#Example_session -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e

Re: [PHP] json_encode confusion

2011-11-11 Thread Richard Quadling
} -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea : fan.sh/6/370 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] pcre little problem

2011-11-07 Thread Richard Quadling
', $this-inf_complementar); QUESTION: Why the preg_filter causes a end of the application, with no error throwing (even in die don't appears nothing)? preg_filter() returns NULL if there are no matches and the subject is a string. And ... php -r die(null); outputs nothing. -- Richard Quadling Twitter

Re: [PHP] Regular Expression

2011-11-07 Thread Richard Quadling
-expressions.info The site's author also has a book which I would recommend : http://www.regular-expressions.info/cookbook.html -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea : fan.sh/6/370

Re: [PHP] Convert Hours to Decimal

2011-10-27 Thread Richard Quadling
( CAST(Out_1 AS Time), CAST(In_1 AS Time) ) AS Decimal(5,2) ) tHours FROM lm_tc_trans WHERE tc_trans_id = '42' Basically, CAST the result back to a decimal(5,2) -- Richard Quadling Twitter : EE

Re: [PHP] Friday Distraction

2011-10-27 Thread Richard Quadling
://www.takethislollipop.com/ Sweet? SWEET!? What sort of sicko are you??? I've got a deranged nutter hunting me down. He looks a LOT like you Cool though. -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea : fan.sh/6/370 -- PHP

Re: [PHP] Processing newlines in a text area field

2011-10-14 Thread Richard Quadling
to on the textarea? -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to know the path of `php.ini` used when call php.exe from CLI/command-line in Windows 7

2011-10-12 Thread Richard Quadling
: php --ini* The following documentation links are all relevant. http://docs.php.net/manual/en/install.windows.manual.php http://docs.php.net/manual/en/install.windows.commandline.php http://docs.php.net/manual/en/configuration.file.php -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling

Re: [PHP] CGI PHP vs. FastCGI vs. mod_php vs. application server?

2011-10-12 Thread Richard Quadling
/manual/en/features.commandline.webserver.php for more details. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newline and return issues in string

2011-10-11 Thread Richard Quadling
the string at all. You don't want to remove them. You want to replace them with a constant. $lines = explode(PHP_EOL, str_replace($filter, PHP_EOL, $string)); for example. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

Re: [PHP] Namespaced code with SabreDAV

2011-10-07 Thread Richard Quadling
\Sabre\DAV\INode.php [6] = D:\PHP\Includes\Sabre\DAV\ICollection.php [7] = D:\PHP\Includes\Sabre\DAV\IQuota.php ) Regards, Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http

Re: [PHP] php on my pc, no go, FUBAR, thank you Bill Gates?

2011-10-04 Thread Richard Quadling
. I would also pay attention to manual installation (http://docs.php.net/manual/en/install.windows.manual.php) and command line working (http://docs.php.net/manual/en/install.windows.commandline.php). -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly

Re: [PHP] Re: php.ini setting

2011-10-03 Thread Richard Quadling
a stripped key. $process[$key][stripslashes($k)] = stripslashes($v); } } } // All done, so remove $process also. unset($process); } ? -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP

Re: [PHP] Getting meta data (of any type) for an XML file being from it's URL.

2011-09-30 Thread Richard Quadling
On 29 September 2011 23:34, Tommy Pham tommy...@gmail.com wrote: On Thu, Sep 29, 2011 at 3:27 PM, Tommy Pham tommy...@gmail.com wrote: On Thu, Sep 29, 2011 at 9:09 AM, Richard Quadling rquadl...@gmail.com wrote: Hi. I'm looking to process very large XML files without the need of first

Re: [PHP] Input variable from form help request

2011-09-30 Thread Richard Quadling
On 29 September 2011 23:28, PHProg php...@speedemessenger.com wrote: Hello Richard, Your suggestion worked perfectly. ... it works beautifully. Now that's what I like to hear! Glad to be of help. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly

[PHP] [Friday] Tokyo / Kyoto.

2011-09-30 Thread Richard Quadling
Tokyo means Eastern Capital Kyoto means Western Capital -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Richard Quadling
as ? then it is an encoding issue. What encoding are you using? -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Richard Quadling
On 30 September 2011 18:22, Ron Piggott ron@actsministries.org wrote: -Original Message- From: Richard Quadling Sent: Friday, September 30, 2011 12:31 PM To: Ron Piggott Cc: php-general@lists.php.net Subject: Re: [PHP] RSS Feed Accented Characters On 30 September 2011 17:26

Re: [PHP] Input variable from form help request

2011-09-29 Thread Richard Quadling
to obey the rules of http. CURL or FTP will be the protocols of choice here, though you do have the option of using a stream context to wrap the file_put_contents() into a POST form to the site (similar to CURL in some ways). -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com

[PHP] Getting meta data (of any type) for an XML file being from it's URL.

2011-09-29 Thread Richard Quadling
as $s_Tag = $o_Item) { ... } will the XML file be cached somewhere? Or will that depend upon the originating server supporting some sort of rewind/chunk mechanism? Any suggestions/ideas? Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly

Re: [PHP] Sequential access of XML nodes.

2011-09-28 Thread Richard Quadling
have multiple namespaces. If they have do, then I'm not exactly sure what to do at this stage. Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Sequential access of XML nodes.

2011-09-26 Thread Richard Quadling
, as long as the iterator is only holding onto 1 array/fragment at a time and not caching the massive number of products per file. Thanks. Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http

Re: [PHP] Any free online tests to test my PHP knowledge?

2011-09-23 Thread Richard Quadling
-zend-php-5-certification-study-guide-2nd-edition/) I have the first edition, so a little out of date now but I do get a free PDF of the 2nd edition. Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing

Re: [PHP] PHP installations, usage, and popularity

2011-09-20 Thread Richard Quadling
-platform, architecture, OS, etc. - probably preaching to the converted here. I would also recommend the inclusion of a nosql module and MAYBE some Windows specific elements (I use IIS/MSSQL/PHP no problem. MS SQL driver for PHP is PDO and works very nicely). -- Richard Quadling Twitter : EE : Zend

Re: Re: [PHP] Round with money_format

2011-09-17 Thread Richard Quadling
+locale), the locale data doesn't seem to include the rounding rules. Sure, the number of DP, grouping, etc. Yes. But no rounding. So, does this just truncate? -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General

Re: [PHP] XML enabled but not working

2011-09-16 Thread Richard Quadling
] } } -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Round with money_format

2011-09-16 Thread Richard Quadling
. OOI. What do you get for 12.66999? I'm on windows and there's no money_format function (due to a lack of strfmon() function), -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net

Re: [PHP] XML enabled but not working

2011-09-16 Thread Richard Quadling
On 16 September 2011 23:18, Matthew Pounsett m...@conundrum.com wrote: On 2011/09/16, at 10:27, Richard Quadling wrote: On 15 September 2011 21:20, Matthew Pounsett m...@conundrum.com wrote: Anyone have any thoughts on what to look at? php -m php --rf xml_parser_create Thanks

Re: [PHP] lost return value during a static call

2011-09-15 Thread Richard Quadling
] = 1)parentclass::getArray 24parentclass::getChild 42parentclass::getChild 44Z:\ppp.php 110Z:\ppp.php 112 Using PHP 5.3.9-dev on Win32. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http

Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Richard Quadling
full screen editor. EDLIN is the way to go. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Richard Quadling
On 14 September 2011 13:18, Tim Streater t...@clothears.org.uk wrote: On 14 Sep 2011 at 12:40, Richard Quadling rquadl...@gmail.com wrote: On 14 September 2011 01:23, tamouse mailing lists tamouse.li...@gmail.com wrote: On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings rob...@interjinn.com

[PHP] Dereferencing an array.

2011-09-14 Thread Richard Quadling
= 'Sally'; $age = 37; //$records[] = $boundParams; $records[] = array_combine($columns, array_map(function($m_Value){return $m_Value;}, $boundParams)); print_r($records); ? Is there a more efficient way? -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Richard Quadling
but not me. Thanks in advance. Paul How do you handle multiple logins? If I login using my laptop and get Session A for my account and then I login using my desktop and get Session B for my account, does Session A get killed? Do you allow multiple, simultaneous logins per account? -- Richard

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Richard Quadling
retrieved). Is the potential for cached pages to be returned for a user NOT logged in? -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Code should be selv-maintaining!

2011-09-01 Thread Richard Quadling
On 30 August 2011 23:25, Richard Quadling rquadl...@gmail.com wrote: On 30 August 2011 20:09, Robert Cummings rob...@interjinn.com wrote: You're just saying that so Tedd will be your friend!! Come now, let's be honest with everyone... Whitesmith's is -GLEE! ;) Beauty is in the eye

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread Richard Quadling
On 1 September 2011 13:27, richard gray r...@richgray.com wrote: On 01/09/2011 14:16, Richard Quadling wrote: Can you give me the URL for the WSDL file? Either online or by direct email. Thanks for the quick response Richard -- I have just posted the WSDL in my earlier resply to Louis

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread Richard Quadling
On 1 September 2011 13:35, Richard Quadling rquadl...@gmail.com wrote: On 1 September 2011 13:27, richard gray r...@richgray.com wrote: On 01/09/2011 14:16, Richard Quadling wrote: Can you give me the URL for the WSDL file? Either online or by direct email. Thanks for the quick response

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread Richard Quadling
you give me the URL for the WSDL file? Either online or by direct email. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread Richard Quadling
. Without that, we don't know what is happening. The WSDL content you've supplied is not tied to a real server. It just uses the example.com domain as a way of showing you a placeholder where your real URLs would exist. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html

Re: [PHP] Code should be selv-maintaining!

2011-08-30 Thread Richard Quadling
demand). Cheers, tedd At last Someone's code I could read without having to reformat it every bloody time!!! http://en.wikipedia.org/wiki/Indent_style#Whitesmiths_style -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

Re: [PHP] Code should be selv-maintaining!

2011-08-30 Thread Richard Quadling
On 30 August 2011 20:09, Robert Cummings rob...@interjinn.com wrote: You're just saying that so Tedd will be your friend!! Come now, let's be honest with everyone... Whitesmith's is -GLEE! ;) Beauty is in the eye of the beholder. -- Richard Quadling Twitter : EE : Zend : PHPDoc

Re: [PHP] SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute

2011-08-19 Thread Richard Quadling
2011/8/19 Ignacio Marín Hernández nah...@gmail.com: $web_service=http://url_of_the_webservice.asmx?WSDLhttp://url_of_the_webservice.asmx/?WSDL ; Surely, that should be ... $web_service=http://url_of_the_webservice.asmx?WSDL;; And sorry for calling you Surely. Richard. -- Richard Quadling

Re: [PHP] SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute

2011-08-19 Thread Richard Quadling
part between ($web_service=http://url_of_the_webservice.asmx?WSDLhttp://url_of_the_webservice.asmx/?WSDL) was Gmail who wrote it  (not me) when I forward the email. LoL By the way, Thanx fro the answer! El 19 de agosto de 2011 12:18, Richard Quadling rquadl...@gmail.com escribió: 2011

[PHP] Re: [PHP-WEBMASTER] Sir i really need help immediatelly!

2011-08-18 Thread Richard Quadling
for the image. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] (Kinda sorta) PHP related: recovering lost passwords

2011-08-16 Thread Richard Quadling
). -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie question. What is the best structure of a php-app?

2011-08-16 Thread Richard Quadling
a new changeset for those changes. No need to amend the previous changeset. Does this mean that sometimes I'm rolling back changes? Yes, but I'm doing so in a controlled and reportable/repeatable manner. No different to any other VCS. I hope these points help. Richard. -- Richard Quadling

Re: [PHP] Keeping session info in $_SESSION or in database?

2011-08-15 Thread Richard Quadling
have replication based upon geography (I assume that this is the most likely way to use replication beyond simply scaling/processing power), then as long as you tune your users to the right server, they will always have the latest version of their cached data. -- Richard Quadling Twitter : EE

Re: [PHP] form validation

2011-08-12 Thread Richard Quadling
for the variable - implies more than 1 market). -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] pass text variables to next page

2011-08-09 Thread Richard Quadling
of SQL is what things start out as. But it is a language just like any other and as such, indenting has proven advantages. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP Security: Best Practices

2011-08-08 Thread Richard Quadling
and it is forced to a specific machine. All this sort of thing is setup once and done. It makes it very difficult for anyone to be able to fake the credentials, gain access to the DB tables or inject data outside of the constraints provided by the stored procedures. -- Richard Quadling Twitter

Re: [PHP] Keyword Constructor

2011-08-02 Thread Richard Quadling
anyone finds it interesting and/or useful. I use a similar technique when I need to populate a SOAP class on the server to coerce data from the DB into the appropriate type as defined in the docblock of the class. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814

Re: [PHP] put code into a function then the code dead,very strange.

2011-08-02 Thread Richard Quadling
/manual/en/language.variables.scope.php / http://uk.php.net/manual/zh/language.variables.scope.php -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] put code into a function then the code dead,very strange.

2011-08-02 Thread Richard Quadling
On 2 August 2011 13:45, Sharl.Jimh.Tsin amoiz.sh...@gmail.com wrote: 在 2011-08-02二的 13:33 +0100,Richard Quadling写道: It is to do with variable scope. http://uk.php.net/manual/en/language.variables.scope.php / http://uk.php.net/manual/zh/language.variables.scope.php Thanks for your useful

Re: [PHP] $_POST value disappearing?

2011-08-02 Thread Richard Quadling
someone enlighten me? Check out $_FILES for the file upload information. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_POST value disappearing?

2011-08-02 Thread Richard Quadling
On 2 August 2011 16:11, Richard Quadling rquadl...@gmail.com wrote: On 2 August 2011 16:04, Donovan Brooke li...@euca.us wrote: Hello!, I must not be understanding something as I would expect 'f_file' to show up in the print_r below.: ---form-- form action=index.php method=post enctype

[PHP] What is valid for a named parameter in a prepared query using PDO_SQLSRV.

2011-08-01 Thread Richard Quadling
also going to be converting an old style coding mysql to mysqli prepared statements (I know very little mysql, so 2 lots of learning going on here). Would mysqli have the same behaviour? Is it driver specific? Regards, Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e

Re: [PHP] Path question.

2011-07-28 Thread Richard Quadling
such problems. Windows may have, because it uses backward slashes instead of forward which are used in *nix (incl mac) For PHP on Windows, the / is fine. Obviously, if you are going to be calling OS based tools from PHP, you'll need to realpath() or use \\ or DIRECTORY_SEPARATOR. -- Richard

[PHP] SimpleXMLElement, adding nodes that are SimpleXMLElement.

2011-07-25 Thread Richard Quadling
manipulation (and that's what I've done), but I'd like to use a more appropriate mechanism (part learning and part keeping the code tidy). I suspect SimpleXMLElement may not be the right tool. Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly

[PHP] Re: SimpleXMLElement, adding nodes that are SimpleXMLElement.

2011-07-25 Thread Richard Quadling
On 25 July 2011 13:47, Richard Quadling rquadl...@gmail.com wrote: Hello all. I've got 2 XML documents (one from a URL and another via MS SQL Server). The structure of these documents is the same, with just a difference in attribute to identify things (the 'data' is different

Re: [PHP] How to install pecl_http into a web hosting service

2011-07-25 Thread Richard Quadling
use the builtin streams mechanisms. I've used them to force all PHP requests through a NTLM authentication proxy server (network required NTLM authentication which was not handled by PHP). http://uk.php.net/manual/en/book.stream.php -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e

  1   2   3   4   5   6   7   >