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

2010-06-29 Thread Richard Quadling
On 28 June 2010 22:37, robert mena wrote: > Hi, > I'll have a look.  I am using Zend Framework's Zend_Soap_Client which in > turn uses SoapClient.  I'll try to use SoapClient directly. > I am not using https and I am not going through a proxy (using a non > standard port).  I've tested with anothe

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

2010-06-29 Thread Richard Quadling
On 28 June 2010 22:37, robert mena wrote: > Hi, > I'll have a look.  I am using Zend Framework's Zend_Soap_Client which in > turn uses SoapClient.  I'll try to use SoapClient directly. > I am not using https and I am not going through a proxy (using a non > standard port).  I've tested with anothe

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

2010-06-29 Thread robert mena
I was hoping for a "userland" soap library (like nuSoap if I understand correctly). I can't change the fact that the remote webservice requires http auth. Hopefully someone in this list uses either zend_soap or soapClient directly with auth to confirm or deny that the problem is in this part spe

[PHP] PHP & QPay

2010-06-29 Thread Jay Blanchard
Has anyone here ever done an integration with QPay? If so, can you share their API docs? Thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-06-29 Thread Richard Quadling
On 29 June 2010 13:58, robert mena wrote: > I was hoping for a "userland" soap library (like nuSoap if I understand > correctly).   I can't change the fact that the remote webservice requires > http auth. > Hopefully someone in this list uses either zend_soap or soapClient directly > with auth to

Re: [PHP] PHP & QPay

2010-06-29 Thread Richard Quadling
On 29 June 2010 14:32, Jay Blanchard wrote: > Has anyone here ever done an integration with QPay? If so, can you share > their API docs? > > Thanks in advance! > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I'd just ask QPay dire

RE: [PHP] PHP & QPay

2010-06-29 Thread Jay Blanchard
[snip] I'd just ask QPay directly. http://www.qpay.com.au/BusinessSolutions/ContactUs/tabid/127/Default.asp x [/snip] Thank you, I have asked them and have not gotten any response from them. That form is for an Australian company and I am looking for information here in the States. -- PHP Genera

Re: [PHP] PHP & QPay

2010-06-29 Thread Richard Quadling
On 29 June 2010 15:11, Jay Blanchard wrote: > [snip] > I'd just ask QPay directly. > > http://www.qpay.com.au/BusinessSolutions/ContactUs/tabid/127/Default.asp > x > [/snip] > > Thank you, I have asked them and have not gotten any response from them. > That form is for an Australian company and I

RE: [PHP] PHP & QPay

2010-06-29 Thread Jay Blanchard
[snip] As QPay seems to be an Aussie company, you may need to think a little bigger than just the small market in the USA. [/snip] QPay is a Miami, FL based company whose really lame web site is http://www.qpaynet.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] PHP & QPay

2010-06-29 Thread Richard Quadling
On 29 June 2010 15:41, Jay Blanchard wrote: > [snip] > As QPay seems to be an Aussie company, you may need to think a little > bigger than just the small market in the USA. > [/snip] > > QPay is a Miami, FL based company whose really lame web site is > http://www.qpaynet.com. > Authentication req

Re: [PHP] PHP & QPay

2010-06-29 Thread Daniel P. Brown
On Tue, Jun 29, 2010 at 10:41, Jay Blanchard wrote: > [snip] > As QPay seems to be an Aussie company, you may need to think a little > bigger than just the small market in the USA. > [/snip] > > QPay is a Miami, FL based company whose really lame web site is > http://www.qpaynet.com. Am I the

Re: [PHP] PHP & QPay

2010-06-29 Thread Richard Quadling
On 29 June 2010 15:50, Daniel P. Brown wrote: > On Tue, Jun 29, 2010 at 10:41, Jay Blanchard wrote: >> [snip] >> As QPay seems to be an Aussie company, you may need to think a little >> bigger than just the small market in the USA. >> [/snip] >> >> QPay is a Miami, FL based company whose really l

Re: [PHP] PHP & QPay

2010-06-29 Thread Andrew Ballard
On Tue, Jun 29, 2010 at 10:50 AM, Daniel P. Brown wrote: > On Tue, Jun 29, 2010 at 10:41, Jay Blanchard wrote: >> [snip] >> As QPay seems to be an Aussie company, you may need to think a little >> bigger than just the small market in the USA. >> [/snip] >> >> QPay is a Miami, FL based company who

Re: [PHP] PHP & QPay

2010-06-29 Thread Peter Lind
On 29 June 2010 16:51, Richard Quadling wrote: > On 29 June 2010 15:50, Daniel P. Brown wrote: >> On Tue, Jun 29, 2010 at 10:41, Jay Blanchard wrote: >>> [snip] >>> As QPay seems to be an Aussie company, you may need to think a little >>> bigger than just the small market in the USA. >>> [/snip]

Re: [PHP] PHP & QPay

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 15:49 +0100, Richard Quadling wrote: > On 29 June 2010 15:41, Jay Blanchard wrote: > > [snip] > > As QPay seems to be an Aussie company, you may need to think a little > > bigger than just the small market in the USA. > > [/snip] > > > > QPay is a Miami, FL based company who

RE: [PHP] PHP & QPay

2010-06-29 Thread Jay Blanchard
[snip] Authentication required for every page request. #fail. https certificate for them shows ... www.qpaynet.com uses an invalid security certificate. The certificate is only valid for *.hosting-advantage.com. So having seen all of that _AND_ assuming that they are responsible for handling pa

Re: [PHP] PHP & QPay

2010-06-29 Thread Lester Caine
Richard Quadling wrote: On 29 June 2010 15:41, Jay Blanchard wrote: [snip] As QPay seems to be an Aussie company, you may need to think a little bigger than just the small market in the USA. [/snip] QPay is a Miami, FL based company whose really lame web site is http://www.qpaynet.com. Auth

Re: [PHP] PHP & QPay

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 16:56 +0200, Peter Lind wrote: > On 29 June 2010 16:51, Richard Quadling wrote: > > On 29 June 2010 15:50, Daniel P. Brown wrote: > >> On Tue, Jun 29, 2010 at 10:41, Jay Blanchard wrote: > >>> [snip] > >>> As QPay seems to be an Aussie company, you may need to think a litt

RE: [PHP] PHP & QPay

2010-06-29 Thread Jay Blanchard
[snip] Someone, please forward to http://thedailywtf.com [/snip] Done. Complete with screenshot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP & QPay

2010-06-29 Thread Daniel P. Brown
On Tue, Jun 29, 2010 at 10:59, Lester Caine wrote: > > Well their financial reports quote www.qpay.com ... which is home to a UK > payroll company ... but http://www.qpaynet.com/tmobile/contact.html probably > sums the business model up ;) Their WHOIS info shows that they don't want you to kn

RE: [PHP] PHP & QPay

2010-06-29 Thread Jay Blanchard
[snip] Their WHOIS info shows that they don't want you to know who they really are, as well. They use a Portugal-based domain privacy service named Domain Discreet. Their web host is at http://hosting-advantage.com/ and http://www.web-hsoting.com/ (sic). The parent company, NetFronts, ad

RE: [PHP] PHP & QPay

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 11:07 -0500, Jay Blanchard wrote: > [snip] > Their WHOIS info shows that they don't want you to know who they > really are, as well. They use a Portugal-based domain privacy service > named Domain Discreet. > > Their web host is at http://hosting-advantage.com/ and

Re: [PHP] PHP & QPay

2010-06-29 Thread Daniel P. Brown
On Tue, Jun 29, 2010 at 12:07, Jay Blanchard wrote: > > I am. It is confounding to me that the exec team will not listen to me > on this one but I suppose that is not unusual. It's an unfortunate reality. Just make sure you have documentation to CYA and nothing in contract saying that you'd

[PHP] Info : Regular Expressions Website.

2010-06-29 Thread Shreyas Agasthya
Team, I came across this website which can be very helpful to all of us when we are struggling to get the Regex right. I just started using it and seems very helpful. http://www.gskinner.com/RegExr/ Regards, Shreyas Agasthya

[PHP] mail command failing

2010-06-29 Thread Mike Wright
Hi all, I'm very puzzled by this. I've been using the php mail command for years but now I can't get it to work and can't figure out how to diagnose the problem. The code below was copied from the manual (addresses changed, etc); php.ini has safe_mode off; binary is at /usr/sbin/sendmail.

[PHP] Open Source SEO tool

2010-06-29 Thread Jack
Hello All, Does anyone know of an open source tool for SEO that would check your positioning in the search engines and then email a result? Probably something that runs in cron and executes daily weekly etc? Thanks! Jack -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] mail command failing

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 10:00 -0700, Mike Wright wrote: > Hi all, > > I'm very puzzled by this. I've been using the php mail command for > years but now I can't get it to work and can't figure out how to > diagnose the problem. > > The code below was copied from the manual (addresses changed, e

Re: [PHP] Open Source SEO tool

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 13:02 -0400, Jack wrote: > Hello All, > > > Does anyone know of an open source tool for SEO that would check your > positioning in the search engines and then email a result? > > Probably something that runs in cron and executes daily weekly etc? > > > > Thanks! > > J

Re: [PHP] mail command failing

2010-06-29 Thread Mike Wright
Ashley Sheridan wrote: On Tue, 2010-06-29 at 10:00 -0700, Mike Wright wrote: Hi all, I'm very puzzled by this. I've been using the php mail command for years but now I can't get it to work and can't figure out how to diagnose the problem. php-5.2.29 on fedora10 with apache 2.2.14. Can t

RE: [PHP] mail command failing

2010-06-29 Thread Bob McConnell
From: Ashley Sheridan > On Tue, 2010-06-29 at 10:00 -0700, Mike Wright wrote: > >> Hi all, >> >> I'm very puzzled by this. I've been using the php mail command for >> years but now I can't get it to work and can't figure out how to >> diagnose the problem. >> >> The code below was copied fro

Re: [PHP] mail command failing

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 10:27 -0700, Mike Wright wrote: > Ashley Sheridan wrote: > > On Tue, 2010-06-29 at 10:00 -0700, Mike Wright wrote: > > > >> Hi all, > >> > >> I'm very puzzled by this. I've been using the php mail command for > >> years but now I can't get it to work and can't figure out h

Re: [PHP] [SOLVED]mail command failing

2010-06-29 Thread Mike Wright
Mike Wright wrote: Hi all, I'm very puzzled by this. I've been using the php mail command for years but now I can't get it to work and can't figure out how to diagnose the problem. I can access the mail server with "/usr/bin/mailx" and by telnet "localhost 25". I can also send mail using

Re: [PHP] Open Source SEO tool

2010-06-29 Thread Peter Lind
On 29 June 2010 19:02, Jack wrote: > Hello All, > > > Does anyone know of an open source tool for SEO that would check your > positioning in the search engines and then email a result? > > Probably something that runs in cron and executes daily weekly etc? > I've been working on http://github.com

Re: [PHP] last modified on a page

2010-06-29 Thread tedd
At 12:11 AM -0400 6/14/10, David Mehler wrote: Hello, I've got what is probably a simple question. I've got a site with a footer include file. I want to have a section that displays the last time the page was modified. So for example say the index.php was last modified today and another page was

[PHP] Login form + User level access

2010-06-29 Thread Carlos Sura
Hello everyone. I have this question: I'm developing a login system but what I need is to do is access levels I mean, in my database I have this users: Admin Superusers sales purchase etc So, What I do basically need is, when a user from sales log in.. I want him to see just the menu from

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

2010-06-29 Thread robert mena
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 this $soapOptions = array( "login" => 'xxx', "password" => 'y'); $client = new Zend_Soap_Client('http://myproviders.com

Re: [PHP] Login form + User level access

2010-06-29 Thread tedd
At 7:46 PM + 6/29/10, Carlos Sura wrote: Hello everyone. I have this question: I'm developing a login system but what I need is to do is access levels I mean, in my database I have this users: Admin Superusers sales purchase etc So, What I do basically need is, when a user from sales lo

Re: [PHP] file_get_contents limit

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 16:53 -0300, Jo?o C?ndido de Souza Neto wrote: > Ive got a file with only one line 21917 characters long but when I read > this file using $varData = file_get_contents("file.txt") it gets only 21504 > characters. > > Anyone would know why does it happen? > > Thanks in adv

Re: [PHP] file_get_contents limit

2010-06-29 Thread Jo�o C�ndido de Souza Neto
The characters are stripped off of the end of the file after that point. -- João Cândido de Souza Neto "Ashley Sheridan" escreveu na mensagem news:1277841481.2253.39.ca...@localhost... > On Tue, 2010-06-29 at 16:53 -0300, Jo?o C?ndido de Souza Neto wrote: > >> Ive got a file with only one li

Re: [PHP] Login form + User level access

2010-06-29 Thread Andre Polykanine
Hello Carlos, Something like this (assuming that the field with the type of the user - admin, sales, etc. - is called `Status`, and the table is called `Users`): $f=mysql_fetch_assoc(mysql_query("SELECT `Status`, COUNT(*) AS `UserExists` FROM `Users` WHERE `Name`='".$_POST['name']."' AND `Password

RE: [PHP] Login form + User level access

2010-06-29 Thread Carlos Sura
Thank you for your answer Ted, You are right, well, I do have my login form, but what I do not understand is how to implement switch statement. switch ($level){ case 0: include ("admin.php"); break; case 1: include ("sales.php"); break; case 2: include ("superuser.php"); break; }

Re[2]: [PHP] Login form + User level access

2010-06-29 Thread Andre Polykanine
Hello Carlos, What I forgot to add is the following: I'd suggest you to put in the integers and not the strings (1 instead of PURCHASER, 2 instead of SALES etc.). It will quicken the process. -- With best regards from Ukraine, Andre Skype: Francophi

RE: Re[2]: [PHP] Login form + User level access

2010-06-29 Thread Carlos Sura
Hello Andre, Thank you so much, Now I really get the idea. Oh, can I replace that adding inthe table of access_level a field called: 'level_numbers' ?? would it be the same thing?? Carlos Sura. > Date: Tue, 29 Jun 2010 23:08:51 +0300 > From: an...@oire.org > To: an...@oire.org > CC: carlos_

Re: [PHP] file_get_contents limit

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 17:02 -0300, Jo?o C?ndido de Souza Neto wrote: > The characters are stripped off of the end of the file after that point. > > -- > Joo Cndido de Souza Neto > > "Ashley Sheridan" escreveu na mensagem > news:1277841481.2253.39.ca...@localhost... > > On Tue, 2010-06-29 at 1

Re: [PHP] In what scenario an extension of a class is useful?

2010-06-29 Thread Camilo Sperberg
On Wed, Jun 23, 2010 at 02:58, Rene Veerman wrote: > inheritance of this kind is useful if you have common descendants for > specific types of object > Nice thought. I imagine something like a DB wrapper, and implementing things such as multiqueries and others on an extension based on the basic

[PHP] Books about RESTFul Web Services & APIs

2010-06-29 Thread Juan Marcelo Rodriguez Monti
Hi guys, Do you know some good books about RESTful Web Services / API's using PHP?. Also, if you know some website where I could find papers, pdf's and articles about this topic would be useful, too. I saw the documentation about this topics is not so easy to find. Best, Juan -- PHP General

Re[4]: [PHP] Login form + User level access

2010-06-29 Thread Andre Polykanine
Hello Carlos, Yes, it would be the same. You'll have some double info in your DB, though. -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Orig

Re: [PHP] file_get_contents limit

2010-06-29 Thread Andrew Ballard
On Tue, Jun 29, 2010 at 4:21 PM, Ashley Sheridan wrote: > On Tue, 2010-06-29 at 17:02 -0300, Jo?o C?ndido de Souza Neto wrote: > >> The characters are stripped off of the end of the file after that point. >> >> -- >> Joo Cndido de Souza Neto >> >> "Ashley Sheridan" escreveu na mensagem >> news:12

Re: [PHP] file_get_contents limit

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 16:37 -0400, Andrew Ballard wrote: > On Tue, Jun 29, 2010 at 4:21 PM, Ashley Sheridan > wrote: > > On Tue, 2010-06-29 at 17:02 -0300, Jo?o C?ndido de Souza Neto wrote: > > > >> The characters are stripped off of the end of the file after that point. > >> > >> -- > >> Joo Cnd

Re: [PHP] last modified on a page

2010-06-29 Thread Paul M Foster
On Tue, Jun 29, 2010 at 03:44:37PM -0400, tedd wrote: > At 12:11 AM -0400 6/14/10, David Mehler wrote: >> Hello, >> I've got what is probably a simple question. I've got a site with a >> footer include file. I want to have a section that displays the last >> time the page was modified. So for exam

[PHP] Array form processing

2010-06-29 Thread Ron Piggott
I am trying to process a form where the user uses checkboxes: Sharp Stabbing Jabbing When I do: foreach($_REQUEST as $key => $val) { $$key = $val; echo $key . ": " . $val . ""; } The output is: painDesc: Array I need to know the values of the array (IE to know what the user is

Re: [PHP] file_get_contents limit

2010-06-29 Thread Andrew Ballard
On Tue, Jun 29, 2010 at 4:39 PM, Ashley Sheridan wrote: > > On Tue, 2010-06-29 at 16:37 -0400, Andrew Ballard wrote: > > > On Tue, Jun 29, 2010 at 4:21 PM, Ashley Sheridan > > wrote: > > > > > > Have you looked at the memory settings in php.ini? > > > > > > > I doubt that is the cause, at least n

Re: [PHP] Array form processing

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 16:54 -0400, Ron Piggott wrote: > I am trying to process a form where the user uses checkboxes: > > Sharp > Stabbing > Jabbing > > When I do: > > foreach($_REQUEST as $key => $val) { > $$key = $val; >echo $key . ": " . $val . ""; > } > > The output is: > > p

Re: [PHP] Array form processing

2010-06-29 Thread Shreyas Agasthya
The painDesc array is what that should be iterated. --Shreyas On Wed, Jun 30, 2010 at 2:27 AM, Ashley Sheridan wrote: > On Tue, 2010-06-29 at 16:54 -0400, Ron Piggott wrote: > > > I am trying to process a form where the user uses checkboxes: > > > > Sharp > > Stabbing > > Jabbing > > > > When I

RE: [PHP] file_get_contents limit

2010-06-29 Thread Daevid Vincent
> -Original Message- > From: Andrew Ballard [mailto:aball...@gmail.com] > Sent: Tuesday, June 29, 2010 1:56 PM > To: a...@ashleysheridan.co.uk > Cc: Jo?o C?ndido de Souza Neto; php-general@lists.php.net > Subject: Re: [PHP] file_get_contents limit > > On Tue, Jun 29, 2010 at 4:39 PM, Ashl

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

2010-06-29 Thread Richard Quadling
On 29 June 2010 20:53, robert mena 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 this > $soapOptions = array( >       "login"      => 'xxx', >       "password"   => 'y');

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 wrote: > On 29 June 2010 20:53, robert mena 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 this >> $soapOptions = array( >>     

Re: [PHP] Array form processing

2010-06-29 Thread Ron Piggott
Am I on the right track? I don't know what to do with the second "FOREACH" $val) { $$key = $val; echo $key . ": " . $val . ""; if ( $val == "Array" ) { $i=0; foreach ($val) { echo "$val[$i]";

Re: [PHP] Array form processing

2010-06-29 Thread Jim Lucas
Ron Piggott wrote: > I am trying to process a form where the user uses checkboxes: > > Sharp > Stabbing > Jabbing > > When I do: > > foreach($_REQUEST as $key => $val) { > $$key = $val; >echo $key . ": " . $val . ""; > } > > The output is: > > painDesc: Array > > I need to know t

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

2010-06-29 Thread robert mena
Hi, I am using soapUI which is a client soap tester (that works with this webservice) to compare what is being generated. In the header I see Authorization: Basic =XYS So the default (using SoapClient) should also work... I've captured the tcpdump file and will try to load using wireshark.

[PHP] Re: Open Source SEO tool

2010-06-29 Thread Manuel Lemos
Hello, on 06/29/2010 02:02 PM Jack said the following: > Does anyone know of an open source tool for SEO that would check your > positioning in the search engines and then email a result? > > Probably something that runs in cron and executes daily weekly etc? There are a few PHP classes here for