curl-and-php
Re: How i can use curl option instead php fputs function?
Date: Mon, 10 Mar 2003 19:31:43 +0300 (MSK)
Hi, again.
I try both method, but i haven't success :(
Really, i think this happen, because i try send
variable=value pairs, but i don't know how called this
variable, and i am not sure that this variable name exist.
I try connect to server api by putty (SSH clients) with
server API and port and select raw protocol (not telnet or
ssh or rlogin).
As soon as i have connect to servers, server api output to
Putty window greetings in the xml format, then if i answer
to server greetings with the server api comands formatted
under xml standard (i just copy it from notepad and paste in
the putty window, without any action from me:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp>
<command>
<creds>
<clID>135617</clID>
<options>
<version>1.0</version>
<lang>en</lang>
</options>
</creds>
<clTRID>L147481028182940_0</clTRID>
<login><chksum>9c4175211a307ee384bc2a13fbe0e4af</chksum></log
in>
</command>
</epp>
I have successfull answer from server API.
As you may see, here is not exist any variable and if i try
send any post data fields i have error.
By the way i try send above xml command as value without
declaring variable, but in this case i just loss connect to
server api.
I also try use get method instead post, but also just loss
connection.
I think, that post method may not use in this case, but i
don't know, how i can use another method.
Azer
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-03-10