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

Re: [PHP] Ambiguous?

2013-08-09 Thread richard gray
On 09/08/2013 14:00, Karl-Arne Gjersøyen wrote: 1) query foreach($varenr_inn_pa_lager as $vnr){ include('../../tilkobling.php'); $sql = SELECT * FROM exan,dynamit WHERE varenr = '$vnr' LIMIT 1; $resultat = mysql_query($sql, $tilkobling) or

[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

Re: [PHP] How to extract php source code from joomla

2013-07-23 Thread richard gray
On 23/07/2013 16:54, Yoinier Hernandez Nieves wrote: El 22/07/13 15:49, elk dolk escribió: Thank you for the quick response ! What I am trying to do : I have to complete two university projects for my professor ! project One : Make an online shop and must use the following components in

[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
on one!). No definitive answers, and I hope I get some wide experiences here. Thanks for looking. Richard.

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

Re: AW: [PHP] PHP is Zero

2013-06-13 Thread richard gray
On 13/06/2013 11:44, BUSCHKE Daniel wrote: Hi, thanks for your answer. Especially the answer 42 made me laughing :) My Why questions should be understand as Why must it be like that questions. On 13/06/13 08:59, BUSCHKE Daniel wrote: 5. Thats a bug I have opend:

[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
On 30 April 2013 18:56, Morning Star morning.star.c...@gmail.com wrote: Hi Richard, i am sure my KDE konsole is set to UTF-8. fortunately, i got a answer from the Debian mailing list. someone told me to verify if i had installed the ttf-baekmuk (Korean's font) or not. i see

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
legged OAuth I can use to make sure I'm doing it right and to be able to just substitute my keys and end point as a test to the service I need. Alternatively, if any one has done a 2 legged OAuth using pecl/oauth, then please can you give me a few pointers! Any help would be great! Regards, Richard.

Re: [PHP] variable type - conversion/checking

2013-03-15 Thread richard gray
On 15/03/2013 22:00, Ashley Sheridan wrote: On Fri, 2013-03-15 at 04:57 -0500, tamouse mailing lists wrote: For my money, `is_numeric()` does just what I want. The thing is, is_numeric() will not check if a string is a valid int, but any valid number, including a float. For something like

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] XML to Array

2013-03-10 Thread richard gray
On 10/03/2013 11:47, Karl DeSaulniers wrote: Hi Guys, I am hoping someone can guide me or help me fix this issue. I have been lost in the code for some time now. I am trying to get the attributes of an xml node. I have this code: [snip] this may help -

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

Re: [PHP] Wrong time being displayed by PHP!

2012-10-22 Thread Richard S. Crawford
On Thu, Oct 18, 2012 at 2:12 AM, Ford, Mike m.f...@leedsmet.ac.uk wrote: From: underp...@gmail.com [mailto:underp...@gmail.com] On Behalf Of Richard S. Crawford Sent: 17 October 2012 19:29 To: PHP-General You can see the current output of the above code here: http

Re: [PHP] Wrong time being displayed by PHP!

2012-10-17 Thread Richard S. Crawford
that even make sense? -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

[PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
The value of date.timezone in php.ini is set to America/Los_Angeles. The local time is 11:02 a.m. Yet the output of date(h:i a e) is: 02:02 pm America/Los_Angeles which is three hours ahead of the real time. Why is this? What's going on? -- Sláinte, Richard S. Crawford (rich...@underpope.com

Re: [PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
I double checked the server time. It is set to America/Los_Angeles as well. On Tue, Oct 16, 2012 at 11:07 AM, Adam Richardson simples...@gmail.comwrote: On Tue, Oct 16, 2012 at 2:02 PM, Richard S. Crawford rich...@underpope.com wrote: The value of date.timezone in php.ini is set to America

Re: [PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
http://www.php.net/manual/en/timezones.others.php. Hope it helps :) Hi Enrico, Thanks for the suggestion. Unfortunately the problem seems to be that PHP thinks the America/Los_Angeles timezone is the same as EDT. I'm not sure how to approach this issue. Richard On Tue, Oct 16, 2012 at 3:56

Re: [PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
On Tue, Oct 16, 2012 at 2:05 PM, Daniel Brown danbr...@php.net wrote: On Tue, Oct 16, 2012 at 4:19 PM, Richard S. Crawford rscrawf...@mossroot.com wrote: Thanks for the suggestion. Unfortunately the problem seems to be that PHP thinks the America/Los_Angeles timezone is the same as EDT

Re: [PHP] Friday - Return of Brain Teasers

2012-10-05 Thread Richard S. Crawford
/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

[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] Re: MySQL and PHP weirdness - RESOLVED

2012-02-15 Thread Richard S. Crawford
This has been resolved. A previous programmer had snuck in a function that would convert the value of the description field to a date value if it contained the word Date. This has been fixed. On Tue, Feb 14, 2012 at 5:44 PM, David Robley robl...@aapt.net.au wrote: Richard S. Crawford wrote

[PHP] MySQL and PHP weirdness

2012-02-14 Thread Richard S. Crawford
mediumtext to text but this didn't work. If anyone has any ideas as to why this might be happening -- or if I just wasn't clear -- please let me know. -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Twitter: http://twitter.com/underpope Facebook: http

Re: [PHP] How to find where class is used?

2012-01-06 Thread richard gray
On 06/01/2012 12:11, Dotan Cohen wrote: In a large application that I am tasked with maintaining (vBulletin) there is a particular class that is used: vB_ProfileBlock_VisitorMessaging. I know the file that it is defined in, but I cannot find the file that actually creates a

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-30 Thread richard gray
On 29/11/2011 17:16, Daniel Brown wrote: On Sat, Nov 19, 2011 at 09:33, richard grayr...@richgray.com wrote: This happens because PHP is writing to STDOUT, of course, and then the command line redirection grabs that information and puts it into the file. Unfortunately, by itself, this won't

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

2011-11-30 Thread richard gray
On 23/11/2011 18:49, Alain Williams wrote: On Wed, Nov 23, 2011 at 06:14:07PM +0100, richard gray wrote: Reading symbols for shared libraries + done 0x000101d057ee in __ioctl () Any clues? To me it looks like PHP cli is trying to do some I/O but I'm just a dumb developer... :) ioctl

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

2011-11-23 Thread richard gray
On 23/11/2011 11:05, Laruence wrote: Hi: I mean, do you built your php with readline support, or do you load readline.so into PHP? if so, remove it, then try again. and you also can use: gdb --pid={the pid of the stopped php} then you will find where the php hangs. thanks I

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

2011-11-22 Thread richard gray
On 22/11/2011 05:51, Laruence wrote: did you run php with readline? try run the script without php-readline. thanks No - the script was just a basic string echo - no readline was involved. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2011-11-21 Thread Richard Quadling
On 19 November 2011 14:33, richard gray r...@richgray.com wrote: Hi all Hope someone can help me with a weird issue I have... I am trying to run a php CLI script in the background and it just won't run - it has a status of Stopped SIGTOU (Trying to write output) - Here are the details OS

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

2011-11-19 Thread richard gray
Hi all Hope someone can help me with a weird issue I have... I am trying to run a php CLI script in the background and it just won't run - it has a status of Stopped SIGTOU (Trying to write output) - Here are the details OS Mac OS X Lion 10.7.2 PHP PHP 5.3.6 with Suhosin-Patch (cli)

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

2011-11-19 Thread richard gray
On 19/11/2011 16:09, Laruence wrote: $ stty -tostop makes no difference # stty -tostop # php -f test.php test.log 21 # jobs # [1]+ Stopped(SIGTTOU)php -f test.php test.log 21 Any other ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

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

2011-11-19 Thread richard gray
, especially as it's not a PHP thing, it's a Unix command thing. Richard, some more info on the command Laruence mentioned can be found at http://docstore.mik.ua/orelly/unix/upt/ch12_07.htm which explains it in more detail. not sure this is relevant as my script is not trying to write to the terminal

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
foreach(...) loop Richard spec's. You just loop over reading the XML and checking the node type, watching the state of your stream to see how to handle each iteration. e.g. (assuming $xml is an open XMLReader, $db is PDO in example) $text = ''; $haveRecord = FALSE; $records = 0; // prepare

[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
Hi. Based upon ... ?php $name = Null; $age = Null; $boundParams = array('name' = $name, 'age' = $age); $records = array(); $name = 'Richard'; $age = 43; $records[] = $boundParams; $name = 'Sally'; $age = 37; $records[] = $boundParams; print_r($records); ? outputs Sally twice. Whilst

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

[PHP] PHP/ Soap issue

2011-09-01 Thread richard gray
I am hoping there's a SOAP expert on the list as this is driving me mad and Google doesn't come up with much help ... I am trying to build a fairly simple web service in SOAP -- the client sends a string SKU to query a product catalogue database and receives product pricing data - I am using

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread richard gray
On 01/09/2011 14:07, Louis Huppenbauer wrote: I think it would be best if you could provide us with the .wsdl (and possibly with the server-code). Thanks for the quick response Louis.. WSDL ?xml version=1.0 encoding=UTF-8? definitions name=CatalogueService

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread richard gray
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... -- PHP General Mailing List (http://www.php.net/) To unsubscribe

  1   2   3   4   5   6   7   8   9   10   >