php-general Digest 17 Jul 2012 20:44:18 -0000 Issue 7892

Topics (messages 318493 through 318496):

Re: SOAP and Php question about authentication
        318493 by: Matijn Woudt
        318495 by: Curtis Maurand
        318496 by: James Newman

Re: Creating drop-down menus
        318494 by: Ramiro Barrantes

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
Op 17 jul. 2012 05:23 schreef "James Newman" <james.new...@primalmedia.co.nz>
het volgende:
>
> I'm having a few authentication issues and I'm not sure if it's my code or
> the web service I'm connecting to.  The code below shows what I'm working
> with not sire if I'm going about it the right way.
>
> This is the error I get!
>
> Fatal error: Uncaught SoapFault exception: [soap:Client]
> System.Web.Services.Protocols.SoapException: Authentication error.
Username
> and/or Password are incorrect at

Really.. have you had a look at your error before mailing it to this list?
This error looks pretty clear to me..

- Matijn

--- End Message ---
--- Begin Message ---


That's not a helpful answer.  I'd be curious at a real answer
for this, too.  I'm sure that there is something going on with
session management on the client side as authentication has probably
already happened, but the author doesn't know how to handle the response
to the authentication correctly.

--Curtis

Matijn
Woudt wrote:
> Op 17 jul. 2012 05:23 schreef "James
Newman"
> <james.new...@primalmedia.co.nz>
>
het volgende:
>>
>> I'm having a few authentication
issues and I'm not sure if it's my code
>> or
>> the
web service I'm connecting to.  The code below shows what I'm
>> working
>> with not sire if I'm going about it the
right way.
>>
>> This is the error I get!
>>
>> Fatal error: Uncaught SoapFault exception:
[soap:Client]
>> System.Web.Services.Protocols.SoapException:
Authentication error.
> Username
>> and/or Password are
incorrect at
> 
> Really.. have you had a look at your
error before mailing it to this list?
> This error looks pretty
clear to me..
> 
> - Matijn
>

--- End Message ---
--- Begin Message ---
I agree with your response, the payment gateway insists that the
authentication I have been given is correct.  My question was more around
"was I using the function correctly".  It says authentication failed but
I've followed he documentation to the letter. Is there a way I can output
what the server is saying when a request is sent?

On Wed, Jul 18, 2012 at 2:32 AM, Curtis Maurand <cur...@maurand.com> wrote:

>
>
>
> That's not a helpful answer.  I'd be curious at a real answer
> for this, too.  I'm sure that there is something going on with
> session management on the client side as authentication has probably
> already happened, but the author doesn't know how to handle the response
> to the authentication correctly.
>
> --Curtis
>
> Matijn
> Woudt wrote:
> > Op 17 jul. 2012 05:23 schreef "James
> Newman"
> > <james.new...@primalmedia.co.nz>
> >
> het volgende:
> >>
> >> I'm having a few authentication
> issues and I'm not sure if it's my code
> >> or
> >> the
> web service I'm connecting to.  The code below shows what I'm
> >> working
> >> with not sire if I'm going about it the
> right way.
> >>
> >> This is the error I get!
> >>
> >> Fatal error: Uncaught SoapFault exception:
> [soap:Client]
> >> System.Web.Services.Protocols.SoapException:
> Authentication error.
> > Username
> >> and/or Password are
> incorrect at
> >
> > Really.. have you had a look at your
> error before mailing it to this list?
> > This error looks pretty
> clear to me..
> >
> > - Matijn
> >
>

--- End Message ---
--- Begin Message ---
Thanks to everyone for their help, AJAX is the way to go.

Daevid, it's interesting you welcome me to the year 2000, I actually graduated 
from CS in 1999 and haven't really done much more than simple web-programming 
since (have done scientific programming instead), so I am definitely behind the 
times!!!

________________________________________
From: Jen Rasmussen [j...@cetaceasound.com]
Sent: Monday, July 16, 2012 4:19 PM
To: Ramiro Barrantes; php-gene...@lists.php.net
Subject: RE: [PHP] Creating drop-down menus

-----Original Message-----
From: Ramiro Barrantes [mailto:ram...@precisionbioassay.com]
Sent: Monday, July 16, 2012 3:17 PM
To: php-gene...@lists.php.net
Subject: [PHP] Creating drop-down menus

Hello,

I am making an application using PHP/Javascript/mysql and had a question.

Sometimes I need to use javascript to fill a drop down box based on the
value of a previous drop down box.  However, the information to fill the
latter is stored in mysql and can be a lot, what I have been doing is that,
using PHP, I create hidden fields with all the possible information that
might be needed to fill the second drop down.

For example, the user chooses a bank from a drop down, and then a list of
clients is displayed on the following drop down.  I use PHP to read all
clients from all the banks and put that as hidden fields on the html page.
It is very cumbersome.

I do not want to read the database (which changes dynamically) from
javascript directly due to confidentiality and because a lot of care has
been taken to create the appropriate  queries with checks and protect misuse
of the information using PHP.

My questions are:
1) Do people just normally use hidden fields to store possible information
to fill the drop downs?
2) any suggestions?

Thanks in advance,
Ramiro

**

You could also store the information as a session variable.

Jen




--- End Message ---

Reply via email to