cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Https problem .. Need help pls ..

From: Cyato Nicu <cytao7_at_yahoo.com>
Date: Wed, 2 Jul 2003 02:20:14 -0700 (PDT)

--- Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Tue, 1 Jul 2003, Cyato Nicu wrote:
>
> > Now i do that ..
>
> [snip]
>
> > And i get same resultat ..
> >
> > HTTP/1.1 500 Internal Server Error
>
> [snip]
>
> > Can't understand what's wrong ..
> > With browser all work fine ..
>
> So tell us how you do this with your browser, show
> us the exact <form> tag
> (and the <input> tags etc) and we might be able to
> diagnose this better.
>
> Give us all the details.
>

The certificat is here http://www.voxtext.md/ca.crt ..
The page where is the form is here
https://www.voxtext.md/home.nsf/smssend?OpenForm

The inputs ..

<form METHOD=post
ACTION="/home.nsf/smssend?OpenForm&Seq=1"
NAME="_smssend">
<input TYPE=hidden NAME="__Click" VALUE="0">
<input NAME="From" VALUE="VoxText" maxlength=10>
<input NAME="msisdn" VALUE="" maxlength=6>
<input NAME="rest" VALUE="135" size=3 readOnly
onFocus="this.blur()">

<textarea NAME="mesg" language=javascript
onKeyDown="CalcRest()";
onKeyPress="event.returnValue=CalcRest()";
onKeyUp="CalcRest()";
onrowsdelete="CalcRest()"></textarea>

<input TYPE=button VALUE="Ok" onClick="return
_doClick('b3eca1d8bb6a4371c2256b480049e625/$Body/0.D8E',
this, null)">

document._domino_target = "_self";
function _doClick(v, o, t, h) {
  var form = document._smssend;
  if (form.onsubmit) {
     var retVal = form.onsubmit();
     if (typeof retVal == "boolean" && retVal ==
false)
       return false;
  }
  var target = document._domino_target;
  if (o.href != null) {
    if (o.target != null)
       target = o.target;
  } else {
    if (t != null)
      target = t;
  }
  form.target = target;
  form.__Click.value = v;
  if (h != null)
    form.action += h;
  form.submit();
  return false;
}

function CalcRest()
{ var maxnum;
        var rest;
        var str1;
        maxnum = 135;
        if (document.forms[0].mesg.value != null)
        { str1=document.forms[0].mesg.value;
                rest =maxnum - str1.length;
                if (rest < 0 )
                {
document.forms[0].mesg.value=str1.substring(0,maxnum);
                        rest = 0;
                }
                document.forms[0].rest.value=rest;
        }
        return (rest>0)
}
From that result ..
__Click=b3eca1d8bb6a4371c2256b480049e625/$Body/0.D8E
And rest=135-len(mesg)

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
Received on 2003-07-02