Witam,
mam taki mały problem mianowicie kiedy wysyłam naggłówki do idei to dostaej komunikat bad request
takie wysyłam:
fputs($fp,"POST /sendsms.aspx HTTP/1.1nReferer: .Referer: http://213.218.116.131/default.aspx?SENDER...tnContent-type: application/x-www-form-urlencodednHost: sms.idea.plnContent-length: $sizenn$postn ");
i chyba powinny działać, ponieważ oryginalne są takie:
sendsms.aspx HTTP/1.
1..Accept: image
/gif, image/x-xb
itmap, image/jpe
g, image/pjpeg,
application/x-sh
ockwave-flash, a
pplication/vnd.m
s-powerpoint, ap
plication/vnd.ms
-excel, applicat
ion/msword, */*.
.Referer: http:/
/213.218.116.131
/default.aspx?SE
NDER=Misiek&RECI
PIENT=502111111&
SHORT_MESSAGE=as
dsadasd..Accept-
Language: pl..Co
ntent-Type: appl
ication/x-www-fo
rm-urlencoded..A
ccept-Encoding:
gzip, deflate..U
ser-Agent: Mozil
la/4.0 (compatib
le; MSIE 6.0; Wi
ndows NT 5.0)..H
ost: 213.218.116
.131..Content-Le
ngth: 240..Conne
ction: Keep-Aliv
e..Cache-Control
: no-cache..Cook
ie: inboxid=; al
lowload=....toke
n=ef108f2f-e805-
40fd-b9cd-9afcf0
fb5504&SENDER=Mi
siek&ILE_ZNAKOW=
554&RECIPIENT=50
2111111&ILE_SMSO
W=1&SHORT_MESSAG
E=asdsadasd&MESS
AGE_PREV=SMS+OD+
Misiek%3Aasdsada
sd**Teraz+mozesz
+odpowiedziec+na
+tego+SMSa+-+uzy
j+opcji+Odpowied
z&pass=szata..
Pozdrawiam