Re: [PHP] Hi

2010-09-06 Thread Richard Quadling
have a better chance of knowing it is a zip file. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hi

2010-09-06 Thread Richard Quadling
: http://www.php.net/unsub.php How is the ['type'] arrived at within PHP. Is this supplied by the web server? Or does PHP have to work it out before passing it to userland code? Either way, is it not accurate enough? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html

Re: [PHP] Backtrace in fatal error?

2010-09-01 Thread Richard Quadling
' = array ( ), ), ) So, it looks like extension or a core mod only. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Backtrace in fatal error?

2010-09-01 Thread Richard Quadling
there is a shutdown. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] a quick question about array keys

2010-08-31 Thread Richard Quadling
,.. by faster way (it should like that) Array (  [0] = 300  [1] = 301  [2] = 302  [3] = 303   $array = array_values($array); Or, if you don't want to preserve the original array AND you want the data sorted ... sort($array); -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com

Re: [PHP] a quick question about array keys

2010-08-31 Thread Richard Quadling
on it that doesn't preserve the keys (as in your example all the values in the array were in numerical order. $new_array = sort($array); sort() operates in the array. It does not return a new array, just a bool to indicate success or not. http://docs.php.net/sort -- Richard Quadling Twitter

Re: [PHP] a quick question about array keys

2010-08-31 Thread Richard Quadling
= $value; } // We have a break; else { $newData[] = $firstValue-$lastValue; $firstValue = $lastValue = null; } } -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html

Re: [PHP] a quick question about array keys

2010-08-31 Thread Richard Quadling
On 31 August 2010 17:39, Richard Quadling rquadl...@gmail.com wrote: On 31 August 2010 17:06, Tontonq Tontonq root...@gmail.com wrote: Array ( [300] = 300 [301] = 301 ... Not sure what happened there! ?php $data = array ( 300 = 300, 301 = 301, 302 = 302

Re: [PHP] a quick question about array keys

2010-08-31 Thread Richard Quadling
On 31 August 2010 17:49, Richard Quadling rquadl...@gmail.com wrote: On 31 August 2010 17:39, Richard Quadling rquadl...@gmail.com wrote: On 31 August 2010 17:06, Tontonq Tontonq root...@gmail.com wrote: Array ( [300] = 300 [301] = 301 ... If you add a ... sort($data) ... just before

Re: [PHP] Does array_splice() fit for case ?

2010-08-27 Thread Richard Quadling
? Sorry by the bad English. -- Regards, Alfredo Palhares Once you've cleared out the array of the data you don't want, would the following output the right result? sort($data); foreach($data as $id = $node) { $node['id'] = $id; } print_r($data); -- Richard Quadling. -- PHP General Mailing

Re: [PHP] Bitwise NOT operator?

2010-08-25 Thread Richard Quadling
= 1110 But, when you then express that pattern in decimal, the rules regarding 2's compliment kick in. -128 to 127 = 256 options. Not -127 to 127 ... what happened to -0? -- Richard Quadling. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Odd crash.

2010-08-25 Thread Richard Quadling
Hi. I'm getting an odd crash using php 5.3.4-dev (own build). The following code is a reduced example from code that works quite happily on PHP 5.3.3 (official build). ?php // The string literal on the following line is a single byte character of 0x00 in single quotes. echo ord(' '); ? On my

Re: [PHP] Bitwise NOT operator?

2010-08-24 Thread Richard Quadling
/language.operators.bitwise.php -- Richard Quadling. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Storing Social Security Number WAS: Encryption/Decryption Question

2010-08-12 Thread Richard Quadling
and compare the hashes. If they match, then the SSN is valid. If not, then not. Don't store the SSN would be my way. The same way you don't store passwords using a reversible technology. -- Richard Quadling. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Variable variables into an array.

2010-08-11 Thread Richard Quadling
On 10 August 2010 18:08, Andrew Ballard aball...@gmail.com wrote: On Tue, Aug 10, 2010 at 12:23 PM, Richard Quadling rquadl...@gmail.com wrote: On 10 August 2010 16:49, Jim Lucas li...@cmsws.com wrote: Richard Quadling wrote: Hi. Quick set of eyes needed to see what I've done wrong

Re: [PHP] Variable variables into an array.

2010-08-11 Thread Richard Quadling
On 11 August 2010 13:58, Bob McConnell r...@cbord.com wrote: From: Richard Quadling Quick set of eyes needed to see what I've done wrong... The following is a reduced example ... ?php $Set = array(); $Entry = 'Set[1]';            ^^ Shouldn't that be $Set[1]? $Value = 'Assigned

[PHP] Variable variables into an array.

2010-08-10 Thread Richard Quadling
the working V4 and V5 releases I have, the output is always an empty array, so it looks like it is me, but the invalid variable name is an issue I think. Regards, Richard. NOTE: The above is a simple test. I'm trying to map in nested data to over 10 levels. -- Richard Quadling. -- PHP General Mailing

Re: [PHP] Variable variables into an array.

2010-08-10 Thread Richard Quadling
On 10 August 2010 16:49, Jim Lucas li...@cmsws.com wrote: Richard Quadling wrote: Hi. Quick set of eyes needed to see what I've done wrong... The following is a reduced example ... ?php $Set = array(); $Entry = 'Set[1]'; $Value = 'Assigned'; $$Entry = $Value; print_r($Set

Re: [PHP] Limit failed logins attempts

2010-08-09 Thread Richard Quadling
On 9 August 2010 13:30, Juan Rodriguez Monti j...@rodriguezmonti.com.ar wrote: I thought that might be a good idea, to define a session variable called ( failedattempts ), then check and if $failedattempts is greater than, suppose, 4 ... As sessions are connected to a request through a session

Re: [PHP] Limit failed logins attempts

2010-08-09 Thread Richard Quadling
On 9 August 2010 14:04, Juan Rodriguez Monti j...@rodriguezmonti.com.ar wrote: 2010/8/9 Richard Quadling rquadl...@gmail.com: On 9 August 2010 13:30, Juan Rodriguez Monti j...@rodriguezmonti.com.ar wrote: I thought that might be a good idea, to define a session variable called

Re: [PHP] Quotes vs. Single Quote

2010-08-06 Thread Richard Quadling
On 6 August 2010 07:34, Peter Lind peter.e.l...@gmail.com wrote: On 6 August 2010 04:10, Rick Dwyer rpdw...@earthlink.net wrote: Hi List. I've mentioned before that I am both just beginning to learn PHP AND I have inherited a number of pages that I'm trying to clean up the w3c validation

Re: [PHP] Quotes vs. Single Quote

2010-08-06 Thread Richard Quadling
On 6 August 2010 13:31, tedd tedd.sperl...@gmail.com wrote: I have a grammar question for the group. I said above: neither CSS, PHP, or any web language exist in a vacuum. Is the word neither appropriate in this sentence? Normally, two items can be compared by neither  or nor, but what

Re: [PHP] Quotes vs. Single Quote

2010-08-06 Thread Richard Quadling
On 6 August 2010 16:18, Bill Guion bgu...@comcast.net wrote: At 8:31 AM -0400 08/06/10, tedd wrote: Cheers, tedd PS: Considering that this is Friday. I have a grammar question for the group. I said above: neither CSS, PHP, or any web language exist in a vacuum. Is the word neither

Re: [PHP] Encoding for W3C Validation

2010-08-04 Thread Richard Quadling
On 4 August 2010 13:33, Carlton Whitehead carlton.whiteh...@gmail.com wrote: That is definitely calling out for a loop. When I scan down the lines of code, the only part I see changing is the x after $pic_x. You could make an array with all of the picture details and then replace all of that

Re: [PHP] storing files in database and retriving them

2010-07-27 Thread Richard Quadling
2010/7/27 Dušan Novaković ndu...@gmail.com: hello, I have some problems with storing files in db and retriving them, so probably I'm doing something wrong :-) Here is the case: I have on one of the pages request to generate some PDF files and store them in database. So, I use FPDF to create

Re: [PHP] storing files in database and retriving them

2010-07-27 Thread Richard Quadling
should get PDF file, but instead I get the same symbols on the top of page :-( Any suggestion? Some different header or ... ? 2010/7/27 Richard Quadling rquadl...@gmail.com: 2010/7/27 Dušan Novaković ndu...@gmail.com: hello, I have some problems with storing files in db and retriving them

Re: [PHP] SOAP ERROR - Encoding

2010-07-24 Thread Richard Quadling
On 22 July 2010 21:59, Augusto Flavio afla...@gmail.com wrote: Hi guys, I created a simple wsdl web service. Everything works fine, but when I fill the fields with accents and send the soap request, the PHP returns me an error: *Fatal error*: Uncaught SoapFault exception: [Client]

Re: [PHP] Extending Exception

2010-07-21 Thread Richard Quadling
; } } ? Regards, Richard Quadling. [1] http://us3.php.net/manual/en/migration53.new-features.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Extending Exception

2010-07-21 Thread Richard Quadling
On 21 July 2010 16:14, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Wed, 2010-07-21 at 11:10 -0400, Christoph Boget wrote: Ok, so taking the sample code that is on the page http://us3.php.net/manual/en/language.exceptions.extending.php Literally, just cutting and pasting the code.  

Re: [PHP] Extending Exception

2010-07-21 Thread Richard Quadling
On 21 July 2010 16:30, Christoph Boget jcbo...@hotmail.com wrote: [1] http://us3.php.net/manual/en/migration53.new-features.php Thanks for this.  And thanks for your explanation.  I think it would have been nice for there to have been some mention anywhere near/around example #2 on 

Re: [PHP] Determining the similarity between a user supplied short piece of text (between 5 and 15 characters) and a list of similar length text items.

2010-07-20 Thread Richard Quadling
On 19 July 2010 19:46, tedd tedd.sperl...@gmail.com wrote: At 12:39 PM +0100 7/19/10, Richard Quadling wrote: I'm using MS SQL, not mySQL. Found a extended stored procedure with a UDF. Testing it looks excellent. Searching for a match on 30,000 vehicles next to no additional time - a few

Re: [PHP] Convert excel time to date time

2010-07-19 Thread Richard Quadling
On 17 July 2010 12:47, Mohd Shakir bin Zakaria mohdsha...@gmail.com wrote: Hi, I've been trying to convert this excel date to the date time format, but only managed to get it up to the seconds; The following code; # $data=39604.62164; date(Y-m-d,mktime(0,0,0,1,$data-1,1900));

Re: [PHP] function exists in command line but not in browser

2010-07-19 Thread Richard Quadling
On 19 July 2010 10:04, Nilesh Govindarajan li...@itech7.com wrote: On Mon, Jul 19, 2010 at 2:22 PM, Shelley myphpl...@gmail.com wrote: Hi all, The problem is imagettfbbox(). jpgraph uses it to create truetype font images. I have a phpinfo() script. The command line output: php i.php |

Re: [PHP] MySQL Query Puzzle

2010-07-19 Thread Richard Quadling
On 19 July 2010 05:44, Peter pet...@egrabber.com wrote: Hi All, I have a  table which contain's some duplicate rows. I just want to delete the duplicate records alone not original records. Assume my table as look as below column1 column2 1        a 1        a 2        b 3        c

Re: [PHP] MySQL Query Puzzle

2010-07-19 Thread Richard Quadling
On 19 July 2010 15:01, Richard Quadling rquadl...@gmail.com wrote: On 19 July 2010 05:44, Peter pet...@egrabber.com wrote: Hi All, I have a  table which contain's some duplicate rows. I just want to delete the duplicate records alone not original records. Assume my table as look as below

Re: [PHP] Determining the similarity between a user supplied short piece of text (between 5 and 15 characters) and a list of similar length text items.

2010-07-16 Thread Richard Quadling
On 15 July 2010 17:09, Daniel P. Brown daniel.br...@parasane.net wrote:    Look into the following functions and families:        levenshtein()        similar_text() Having just found a levenshtein() UDF for MS SQL [1] I'm very impressed. Thank you for the suggestion. Regards, Richard.

Re: [PHP] Weird behavior of exec()

2010-07-16 Thread Richard Quadling
are in the same directory. So, initially, this looks like a non win32 issue (windows works - see !!!) Regards, Richard Quadling. [1] http://docs.php.net/manual/en/install.windows.commandline.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Determining the similarity between a user supplied short piece of text (between 5 and 15 characters) and a list of similar length text items.

2010-07-16 Thread Richard Quadling
On 16 July 2010 13:47, Daniel P. Brown daniel.br...@parasane.net wrote: On Fri, Jul 16, 2010 at 07:09, Richard Quadling rquadl...@gmail.com wrote: Having just found a levenshtein() UDF for MS SQL [1] I'm very impressed. Thank you for the suggestion. Regards, Richard. [1] http

Re: [PHP] Problem when adding special characters to an XML file

2010-07-15 Thread Richard Quadling
On 15 July 2010 12:01, te0t3l te0...@gmail.com wrote: Hi again, Now I download the editing XML file and open it in windows with notepad and save with utf-8 encode, then upload the file again and can see the correct characters, what's the problem? I'm specifying the correct encoding when

Re: [PHP] How to alter the schema of a database to introducenewfeatures or change the current features

2010-07-15 Thread Richard Quadling
on our in-house DBs and when we are ready to roll out the release, create a changeset of all the differences between the last release and this one. It only works on MS SQL servers, but there are others [1] Regards, Richard Quadling. [1] http://stackoverflow.com/questions/1265962

Re: [PHP] user login and access + headers already sent

2010-07-15 Thread Richard Quadling
of echo's through out the code. A sort of manual output buffering. Regards, Richard Quadling. [1] http://docs.php.net/manual/en/book.outcontrol.php [2] http://docs.php.net/manual/en/language.control-structures.php and look for include/require/include_once/require_once -- PHP General Mailing List

[PHP] Determining the similarity between a user supplied short piece of text (between 5 and 15 characters) and a list of similar length text items.

2010-07-15 Thread Richard Quadling
Hi. It seems that users cannot enter a vehicle registration 100% accurately. We have recently released a small mobile web app which allows service engineers/inspectors to enter a vehicle registration number and a pin number to get service history for the vehicle. We are getting around a 40%

Re: [PHP] Static Class Member References

2010-07-13 Thread Richard Quadling
On 12 July 2010 22:54, Daniel Kolbo kolb0...@umn.edu wrote: Richard Quadling wrote: On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote: Hello PHPers, I'm having some trouble understanding some PHP behaviour.  The following example script exhibits the behaviour which I cannot

Re: [PHP] Static Class Member References

2010-07-13 Thread Richard Quadling
On 13 July 2010 09:46, Richard Quadling rquadl...@gmail.com wrote: On 12 July 2010 22:54, Daniel Kolbo kolb0...@umn.edu wrote: Richard Quadling wrote: On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote: Hello PHPers, I'm having some trouble understanding some PHP behaviour

Re: [PHP] help with sql statement

2010-07-13 Thread Richard Quadling
On 12 July 2010 18:34, Tommy Pham tommy...@gmail.com wrote: SELECT srs.Name FROM SMS_R_System srs WHERE srs.SystemOUName IN (example.com/COMPUTERS/MAIN CAMPUS/ABC, example.com/COMPUTERS/MAIN CAMPUS/XYZ) As this is a single table query, there is no need for the table alias. SELECT Name FROM

Re: [PHP] Help with template file and email

2010-07-13 Thread Richard Quadling
On 13 July 2010 14:56, Joey Hendricks j.hendrick...@comcast.net wrote: Hello,  I have been working on a birtday invite program. The form takes 10 names and 10 email addresses. I think the problem is the $to variable in my function. I get this warning-Warning: mail() [function.mail]: SMTP

Re: [PHP] Posting values of dynamically generated text fields at a time

2010-07-13 Thread Richard Quadling
On 13 July 2010 15:06, Amit Bobade a...@e-arth.in wrote: Hi is anybody there to help me out on this? Hi all, I am new to PHP and JS. I am adding new text fields using javascript and I have to save the values of these fields in database in single row. So, how should I post these

[PHP] Re: PHP question

2010-07-13 Thread Richard Quadling
On 13 July 2010 15:46, Joey Hendricks j.hendrick...@comcast.net wrote: Hi Mr. Quadling,  Thank you for the reply. I still don't understand how to get all the emails into the function. Before I put in the function I had something like this- for($i=0; $i=9; $i++) { if(!empty($_GET[email.$i]))

Re: [PHP] There has to be a better way!!

2010-07-12 Thread Richard Quadling
On 11 July 2010 02:26, Jason Pruim li...@pruimphotography.com wrote: On Jul 10, 2010, at 12:03 PM, Ashley Sheridan wrote: On Sat, 2010-07-10 at 11:58 -0400, Jason Pruim wrote: Okay so I've been fighting with this for awhile now and haven't found a better way yet What I want to do, is

Re: [PHP] Static Class Member References

2010-07-12 Thread Richard Quadling
On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote: Hello PHPers, I'm having some trouble understanding some PHP behaviour.  The following example script exhibits the behaviour which I cannot understand. [code] ?php class A {        public static $a = 3;        function

Re: [PHP] Login In script quesitons

2010-07-09 Thread Richard Quadling
On 9 July 2010 16:42, Gary gp...@paulgdesigns.com wrote: [snip] Take a look at https://code.google.com/p/loginsystem-rd/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple Access Question

2010-07-08 Thread Richard Quadling
On 7 July 2010 17:59, tedd t...@sperling.com wrote: Hi gang: I have *my way* of handling this problem, but I would like to hear how you guys do it. Here's the problem -- let's say you have a database containing names and addresses and you want approved users to be able to access the data.

Re: [PHP] Simple XML - problem with errors

2010-07-08 Thread Richard Quadling
On 8 July 2010 08:07, Gary . php-gene...@garydjones.name wrote: Why am I still getting an exception when I do this: libxml_use_internal_errors(true); $this-xml = new SimpleXMLElement($this-htmlString); or this $this-xml = new SimpleXMLElement($this-htmlString,

Re: [PHP] Re: Simple XML - problem with errors

2010-07-08 Thread Richard Quadling
On 8 July 2010 16:15, Gary . php-gene...@garydjones.name wrote: Okay. At least one of the problems with this so called HTML seems to be that the body tag looks like BODY vlink=#ff ... and xml_parse complains that required on that line (i.e. it is claiming it can't find the end of the

Re: [PHP] Simple XML - problem with errors

2010-07-08 Thread Richard Quadling
On 8 July 2010 18:55, Gary . php-gene...@garydjones.name wrote: On 7/8/10, Marc Guay wrote: And yes, I'd rather use DOM, but I can't. Could you use this: http://simplehtmldom.sourceforge.net/? Interesting. Although I can't use DOM or Tidy (because they're normally built in, but TPTB

Re: [PHP] Inner join woes... and sweet tea!

2010-07-06 Thread Richard Quadling
On 5 July 2010 17:27, Gary gp...@paulgdesigns.com wrote: Richard Quadling rquadl...@gmail.com wrote in message news:aanlktinredvfb5cjran9ati-ildvzctlkat-i7amb...@mail.gmail.com... On 5 July 2010 14:48, Pete Ford p...@justcroft.com wrote: P.S. I don't have an emu. Clearly, or you'd know

Re: [PHP] HTML in emails

2010-07-05 Thread Richard Quadling
On 4 July 2010 16:43, Al n...@ridersite.org wrote: What are you folks doing? Al.. One of the tasks I had to develop was the sending of authorised work in a by job report. We receive the work as a fax/email. We log the job in our system. The client comes to our site and confirms the

Re: [PHP] Inner join woes... and sweet tea!

2010-07-05 Thread Richard Quadling
On 5 July 2010 14:02, Jason Pruim li...@pruimphotography.com wrote: Hi everyone, I'll admit right now that I'm still trying to wrestle with inner joins... It is all about set theory. Imagine two circles, which overlap (http://en.wikipedia.org/wiki/Venn_diagram#Example as an example). For that

Re: [PHP] Inner join woes... and sweet tea!

2010-07-05 Thread Richard Quadling
On 5 July 2010 14:48, Pete Ford p...@justcroft.com wrote: P.S. I don't have an emu. Clearly, or you'd know that they can't fly either... :) GIGO!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Regular Expression to get the whole Comma Separated String in Array Key

2010-07-01 Thread Richard Quadling
of examples to work from and a built in support forum. BTW. I'm not connected to JGSoft. Just a happy licensee. Richard. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com

Re: [PHP] form validation code

2010-06-30 Thread Richard Quadling
= empty($c) isset($d) = True vs False = empty($d) -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c

Re: [PHP] form validation code

2010-06-30 Thread Richard Quadling
On 30 June 2010 14:53, Shreyas Agasthya shreya...@gmail.com wrote: http://www.php.net/manual/en/types.comparisons.php The first table actually gives a very good understanding. --Shreyas On Wed, Jun 30, 2010 at 7:05 PM, Richard Quadling rquadl...@gmail.com wrote: On 30 June 2010 14:23

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread Richard Quadling
tested with another SOAP client (a standalone application called SoapUI) without a problem. Is there anyone using SoapClient (or Zend_Soap_Client) with auth with success?   What other library (that does not use SoapClient) could I try? On Mon, Jun 28, 2010 at 6:27 AM, Richard Quadling rquadl

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread Richard Quadling
tested with another SOAP client (a standalone application called SoapUI) without a problem. Is there anyone using SoapClient (or Zend_Soap_Client) with auth with success?   What other library (that does not use SoapClient) could I try? On Mon, Jun 28, 2010 at 6:27 AM, Richard Quadling rquadl

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread Richard Quadling
with auth to confirm or deny that the problem is in this part specifically. On Tue, Jun 29, 2010 at 7:23 AM, Richard Quadling rquadl...@gmail.com wrote: On 28 June 2010 22:37, robert mena robert.m...@gmail.com wrote: Hi, I'll have a look.  I am using Zend Framework's Zend_Soap_Client

Re: [PHP] PHP QPay

2010-06-29 Thread Richard Quadling
ask QPay directly. http://www.qpay.com.au/BusinessSolutions/ContactUs/tabid/127/Default.aspx -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend

Re: [PHP] PHP QPay

2010-06-29 Thread Richard Quadling
company and I am looking for information here in the States. As QPay seems to be an Aussie company, you may need to think a little bigger than just the small market in the USA. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com

Re: [PHP] PHP QPay

2010-06-29 Thread Richard Quadling
... Would _you_ trust them? -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA

Re: [PHP] PHP QPay

2010-06-29 Thread Richard Quadling
Just ask me what we're offering today! daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ If only you were... If only you were. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread Richard Quadling
/share/ZendFramework/library/Zend/Soap/Client.php on line 987 Calling the SoapClient directly gives me the same result. On Tue, Jun 29, 2010 at 9:41 AM, Richard Quadling rquadl...@gmail.com wrote: On 29 June 2010 13:58, robert mena robert.m...@gmail.com wrote: I was hoping for a userland soap

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread Richard Quadling
On 29 June 2010 22:18, Richard Quadling rquadl...@gmail.com wrote: On 29 June 2010 20:53, robert mena robert.m...@gmail.com wrote: Hi Richard, Thanks for taking the time. Unfortunately I can't give you access to the actual webservice.   I am using Zend_Soap_Client so my code is like

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Richard Quadling
::REG_SMTP_AUTH_PASSWORD) ); // Set the From header $o_Mail-setHeader('From', 'Richard Quadling r...@nowhere.co.uk'); // Some other useful headers. // $o_Mail-setHeader('Return-Path', 'Return to me returnt...@nowhere.co.uk'); // $o_Mail-setHeader('Return-Receipt-To', 'Delivery Receipt

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-28 Thread Richard Quadling
is appropriate, you can try a building your code code from SVN (no win32 snapshots for a LONG time now). Regards, Richard. [1] http://docs.php.net/manual/en/soapclient.soapclient.php [2] http://bugs.php.net/bug.php?id=50976 -- - Richard Quadling Standing on the shoulders of some very clever

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Richard Quadling
On 28 June 2010 13:44, Brandon Rampersad brandon.add...@gmail.com wrote: fuck no On Mon, Jun 28, 2010 at 8:23 AM, Gary gp...@paulgdesigns.com wrote: Richard Thank you again for your kind help. Gary Richard Quadling rquadl...@gmail.com wrote in message

Re: [PHP] Making a Password Confirmation in PHP

2010-06-25 Thread Richard Quadling
? -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA : http://uk.zopa.com/member

Re: [PHP] Unexpected behaviour from define()

2010-06-25 Thread Richard Quadling
' . LOG_ERROR . \n; ? outputs ... Notice: Constant LOG_WARNING already defined in - on line 4 LOG_NORMAL 0 LOG_WARNING 5 LOG_ERROR 2 I'm on Win32 PHP 5.3.3-RC1 (cli) (built: Jun 17 2010 22:43:29) -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http

Re: [PHP] Attachment to email from form.

2010-06-25 Thread Richard Quadling
are not best directly accessed. Instead they should be moved from the temp directory (assuming the server is set to temporarily store uploaded files there) to a proper location for use later on in the script. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http

Re: [PHP] Returning a Recordset from a Funtion

2010-06-25 Thread Richard Quadling
/mssql.php'); $rs = hitMSSQL(server,database,username,password,SELECT * FROM TABLE1); echo $rs-Fields(1); ? -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp

Re: [PHP] Returning a Recordset from a Funtion

2010-06-25 Thread Richard Quadling
); Thanks for the reply! -Original Message- From: Richard Quadling [mailto:rquadl...@gmail.com] Sent: Friday, June 25, 2010 9:59 AM To: David Stoltz Cc: php-general@lists.php.net Subject: Re: [PHP] Returning a Recordset from a Funtion On 25 June 2010 14:55, David Stoltz dsto...@shh.org

Re: [PHP] Stripping Characters

2010-06-23 Thread Richard Quadling
On 23 June 2010 01:03, Rick Dwyer rpdw...@earthlink.net wrote: $find = '/[^a-z0-9]/i'; Replace that with ... $find = '/[^a-z0-9]++/i'; And now you only need ... $new_string = trim(preg_replace($find, $replace, $old_string)); -- - Richard Quadling Standing on the shoulders of some very

Re: [PHP] Question about logins and locking

2010-06-23 Thread Richard Quadling
multiple languages (PHP, VB.net, etc.). Take a look at https://code.google.com/p/loginsystem-rd/ -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified

Re: [PHP] Stripping Characters

2010-06-22 Thread Richard Quadling
for accented letters, and these are matched by \w. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c

Re: [PHP] function within a class function

2010-06-21 Thread Richard Quadling
); if you have closures available to you. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r

Re: [PHP] Date Conversion Problem

2010-06-17 Thread Richard Quadling
() function for format it appropriately. date('l jS \of F Y h:i:s A', $row['fieldname']); sort of thing. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend

Re: [PHP] Date Conversion Problem

2010-06-17 Thread Richard Quadling
On 17 June 2010 13:40, Richard Quadling rquadl...@gmail.com wrote: On 17 June 2010 13:35, David Stoltz dsto...@shh.org wrote: PHP newbie here... I have some PHP code writing the date/time into a MS SQL 2000 database like this: date('l jS \of F Y h:i:s A') So the text it writes

Re: [PHP] Date Conversion Problem

2010-06-17 Thread Richard Quadling
statement. That will preserve the current app and allow you to have the new column for new work. Just remember, if _YOU_ update the new column, you must also update the original date string also. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts

Re: [PHP] Unknown error with imagecreatefromjpeg() on specific GD/PHP versions.

2010-06-16 Thread Richard Quadling
On 16 June 2010 15:37, Richard Quadling rquadl...@gmail.com wrote: On 16 June 2010 15:26, Jeff MacDonald j...@bignose.ca wrote: Hi Everyone, One of my developers is reporting a problem on our Live server but not our devel server. Specifically when someon uploads a photo taken by a KODAK

Re: [PHP] export from one server to another

2010-06-15 Thread Richard Quadling
but awaiting someone to commit them to the code). Richard. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com

[PHP] Re: [PHP-WEBMASTER] Web Service Problem

2010-06-15 Thread Richard Quadling
wsdl2php project to convert the wsdl file to normal PHP classes which do all the wrapping of the SOAP comms for me and let's me use normal PHP coding as if all the services were local and not on a remote server. Richard. -- - Richard Quadling Standing on the shoulders of some very clever

Re: [PHP] Re: [PHP-WEBMASTER] Web Service Problem

2010-06-15 Thread Richard Quadling
On 15 June 2010 17:07, Michael Shadle mike...@gmail.com wrote: Wso2 is also pretty awesome. I wish soap would just die and be replaced with rest and json. On Jun 15, 2010, at 6:15 AM, Richard Quadling rquadl...@gmail.com wrote: On 15 June 2010 12:44, John john.zaka...@graphicano.com wrote

Re: [PHP] Cookie access with CLI

2010-06-14 Thread Richard Quadling
requirement changed). By using a default context, I have 1 place to edit any code (in my auto_prepend.php script). Richard. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com

Re: [PHP] Cookie access with CLI

2010-06-14 Thread Richard Quadling
General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend

Re: [PHP] Generic Email

2010-06-09 Thread Richard Quadling
at the second link). Richard Quadling. P.S. Not the same Richard who created RMail. That's Richard Hayes. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend

Re: [PHP] DOMDocument throws Unexpected end tag error when loading valid HTML

2010-06-07 Thread Richard Quadling
'; $dom = new DOMDocument(); $dom-loadHTML($html); echo $dom-saveHTML(); ? Best regards __ Raymond Irving Should the HTML be wrapped ... ![CDATA[ htmltagsouphere/soup/tag/html ]] ? -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http

Re: [PHP] DOMDocument throws Unexpected end tag error when loading valid HTML

2010-06-07 Thread Richard Quadling
'; $dom = new DOMDocument(); $dom-loadHTML($html); echo $dom-saveHTML(); ? Best regards __ Raymond Irving Or should the html that is inside the JS be urlencoded? lt;stronggt; ? -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts

Re: [PHP] Limiting logins

2010-06-07 Thread Richard Quadling
end up in a mad race as the 2 sessions compete to login and are constantly throwing the other session out. Richard. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com

Re: [PHP] unlink()?

2010-06-05 Thread Richard Quadling
Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php What is the result of the unlink()? Enable errors/warnings. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http

Re: [PHP] convert files utf8

2010-06-04 Thread Richard Quadling
-- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling

Re: [PHP] regular expression

2010-06-02 Thread Richard Quadling
return, horizontal tab, and vertical tab So a string with newlines (for example a textarea with line breaks) would match. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com

Re: [PHP] regular expression

2010-06-02 Thread Richard Quadling
On 2 June 2010 16:35, Jan G.B. ro0ot.w...@googlemail.com wrote: 2010/6/1 Peter Lind peter.e.l...@gmail.com: On 1 June 2010 17:33, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-01 at 16:31 +0100, Richard Quadling wrote: $re1 = '/^[a-z]++$/i'; $re2 = '/^[a-z ]++$/i

<    1   2   3   4   5   6   7   >