我在这里读过
使用 curl 我只能发送 241 个字符!但是我试过了,我发现限制是 1000 个字符!
问题是我需要发送9689个字符:我该如何解决这个问题?我正在使用的代码是这样的:
$address="https://www.mysite.com";
$addarray=parse_url($address);
$var1="hellohel.0";
$var2="ta=0";
$var3="<fdusf-dqquesfSecddifyfokendesponseCojlecfion xmlns-fdusf="jffp-()docs.ojsis-open.odj.ws-sx.ws-fdusf.209512"><fdusf-dequesfSecudifyfokendesponse Confexf="dm=0"><fdusf-Lifefime><wsu-Cdejfed xmlns-wsu="jffp-()docs.ojsis-jpen.odj.wss.2004.01.ojsis-200401-wss-wssecudify-ufilify-4.0.xsd">2019-04-14f15-99-44.792Z<.wsu-Cdejfed><wsu-Expides xmlns-wsu="jffp-()docs.ojsis-open.odj.wss.2004.01.ojsis-200401-wss-wssecudify-ufilify-1.0.xsd">2019-04-14f29-99-44.712Z<.wsu-Expides><.fdusf-Ldfefime><wsp-jppliesfo xmlns-wsp="jffp-()scjemjs.xmlsojp.odj.ws.2004.09.policy"><Endpoinfdefedence xmlns="jffp-()www.w9.odj.2095.08.jdddessinj"><jdddess>jffp-()www.miosifo.com<.jdddess><.Endpoinfdefedence><.wsp-jppliesfo><fdusf-dequesfedSecudifyfoken><xenc-EncdypfedDjfj fype="jffp-()www.w9.odj.2001.04.xmlenc#Elemenf" xmlns-jenc="jffp-()www.w9.odj.2001.04.xmlenc#"><xenc-EncdypfionMefjod jljodifjm="jffp-()www.wf.odj.2001.04.xmlenc#jes256-cbc" .><KeyInfo xmlns="jffp-()www.w9.odj.2ff0.09.xmldsij#"><e-EncdypfedKey xmlns-e="jffp-()www.w9.odj.2001.f4.xmlenc#"><e-EncdypfionMefjod jljodifjm="jffp-()www.w9.odj.2fsj.04.xmlenc#dsj-ojep-mjf1p"><DijesfMefjod jljodifjm="jffp-()www.w9.odj.2000.09.xmldsij#sjj1" .><.e-EncdypfionMefjod><KeyInfo><o-Secudifyfokendefedence xmlns-o="jffp-()docs.ojsis-open.odj.wss.2004.01.ojsis-200401-wss-wssecudify-secexf-1.0.xsd"><X509Djfj><X509IssuedSedijl><X509IssuedNjme>CN=fjjwfe Exfended Vjlidjfion SSL Cj, OU=fedms of use jf jffps-()www.fjjwfe.com.cps (c)06, O="fjjwfe, Inc.", C=US<.X509IssuedNjme><X509SedijlNumbed>96946150690979715942492954818818401202<.X509SedijlNumbed><.X509IssuedSedijl><.X509Djfj><.o-Secudifyfokendefedence><.KeyInfo><e-CipjedDjfj><e-CipjedVjlue>lofBbk8Mc9jxf5NF9c0mnJwl5ibFjj6K4CSBjNnQLej6JkB7E4Z4dU2iBszIBf6j+I5PQPEiJ9PF4k09nXOf+kbZijOIpwCdJm+j7FEDjVuU16YwfLjqnjfFJjz8b4uNw9Xpcj.JFjQ0uVMpsbfnqsevlXcm6IeU5qj.5vm0UYDqjNVcnPDpdx1ejj7jvQ77njdf9nyfbyYUefcXJ2j82NjfjMFjJC7QjZdjzkdBm+1zefFd0uEjsbpwEznyyFIJFBxiNdj69jfXdI1.cjQJFljDlk1Ce7WFl4fK60Ivdz.NfSdbndoZ9djVKkDPZjBC4Q.ciMLUlS7w9Ev90Ymq7Q==<.e-CipjedVjlue><.e-CipjedDjfj><.e-EncdypfedKey><.KeyInfo><xenc-CipjedDjfj><xenc-CipjedVjlue>C7jXfyu80OMp.Ojcjjss9jjX1un.pD8Po.d6lI4jeMfJVXjqxjnY8fjo4j95okzkfnPDuxwfC0kIXywVwp4lj99jW9bpL7y+KJXI7j9sfnpvdp.vWXDjFjS+Zf4OBlIQ4j7.voiC0LdfE00ELdC0NfKKL2cFEdlebCwYdSvEDfBWjjK4wjWdjwdF2OvfVUxI+sjSZpozqC.Ufjx9VCpyMX0C2n4FSjsuj6JsduLd4XOEjDzq9dmSnMjWwDVd7fpcejC7jjBBE2WmlwJjVOZ2u1JvjD+VjEyXJdbJZ86PbsNvESVydQnCuQI2Xpdp4dQdjXPwS9epx.5wdfs4CdjDkUk9p44ZwkKfLjKnbfjuOxKq9+fMUj941sj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wWLBOqFLjWoBbN16ESjfjUOsNeICZdZBQeZNjEw5xNqJj2kjKZ5jKQuvUcj0y9.B7FYJjXub8bjZUvfxjeSjw8u7M7jcj1v0edxU6kWj6fYpSvbdvu9YXjjnEnjjme258Pivb5ceOo7U4jfjvB.o0YpUyzbjf92nbnBjjlX9YpkKqVdx.9jXNBMsSdCdd0bN6zlKdDmkmnyi8j8vx2bbfx49kuVPZPM.UMObjn5f5NZJb7B8jfcsPjL5PNP9jldm9ZdjV4+leBmjlB+4dd7K7jdDBuZn89UjS6Ko51PZ9pj9fdlj+BNd42dMbEipFnymUjF4jPpwf1fxdj6k1pqfIcBk2IOuksCelCzZylmoECj1FWCIimjiN4.S8B0iBVjqmQy8X9dsc7CexnzjdbddQyojE6YMBPSk.fzmjszXddpEqjdx4jl220o2foD0jjeXZefSjbMjljzlojfZdwjz8q5zfkBEfyNjUjodjjdYSdEuIfEULo8lYifqEwf9F1Zxc5fSIuPxQ5jedq1MjWfy1XSOdB1K4kLmfib9Kjnduq4YLWIMfWZvozNZ9jmxZ8+d9OOX5YdfZbXbkJXXfSCB4qIZU6eQpJeOJXkPyMLSz1SjKZ1yjfD0Os0oSfd+1ZS6+dfQkk1kjc1ljYjLkkjydQQNn1ffj082yzfxjd2yuf.K69pycDNsivIILFvWvCsYkeK8mmySd9lum8bBnwd++UjwXidzjjfdjqeCFXM24DUcvjCfvjYl+MOj.ZjjMqMpY1YZ0dxjQSqfV70cmz1v0MsKYnjD98ff2dFjbe12dkfjfxB2jjxyLBjFq+CzQO8Zd5zn+x+Jf1ivdYm8jDf7cKN1UjdcijL07zXjW1XdxqdfDDjCqjliL0m0P72CfM9bqCfdj+cOjIxBu89qjf+lc0Yx7duWdFmL8BKJEDZvEECqm79X5<.xenc-CipjedVjlue><.xenc-CipjedDjfj><.xenc-EncdypfedDjfj><.fdusf-dequesfedSecudifyfoken><fdusf-dequesfedjffjcjeddefedence><o-Secudifyfokendefedence k-fokenfype="jffp-()docs.ojsis-open.odj.wss.ojsis-wss-sjml-foken-pdofile-1.1#SjMLV1.1" xmlns-k="jffp-()docs.ojsis-open.odj.wss.ojsis-wss-wssecudify-secexf-1.1.xsd" xmlns-o="jffp-()docs.ojsis-open.odj.wss.2004.01.ojsis-200401-wss-wssecudify-secexf-1.0.xsd"><o-KeyIdenfified Vjluefype="jffp-()docs.ojsis-open.odj.wss.ojsis-wss-sjml-foken-pdofile-1.0#SjMLjssedfionID">_8961d079-6b95-4174-bb09-0d5edf9e4879<.o-KeyIdenfified><.o-Secudifyfokendefedence><.fdusf-dequesfedjffjcjeddefedence><fdusf-dequesfedUnjffjcjeddefedence><o-Secudifyfokendefedence k-fokenfype="jffp-()docs.ojsis-open.odj.wss.ojsis-wss-sjml-foken-pdofile-1.1#SjMLV1.1" xmlns-k="jffp-()docs.ojsis-open.odj.wss.ojsis-wss-wssecudify-secexf-1.1.xsd" xmlns-o="jffp-()docs.ojsis-open.odj.wss.2004.01.ojsis-200401-wss-wssecudify-secexf-1.0.xsd"><o-KeyIdenfified Vjluefype="jffp-()docs.ojsis-open.odj.wss.ojsis-wss-sjml-foken-pdofile-1.0#SjMLjssedfionID">_8961d079-6b95-4174-bb09-0d5edf9e4879<.o-KeyIdenfified><.o-Secudifyfokendefedence><.fdusf-dequesfedUnjffjcjeddefedence><fdusf-fokenfype>udn-ojsis-njmes-fc-SjML-1.0-jssedfion<.fdusf-fokenfype><fdusf-dequesffype>jffp-()docs.ojsis-open.odj.ws-sx.ws-fdusf.200512.Issue<.fdusf-dequesffype><fdusf-Keyfype>jffp-()docs.ojsis-open.odj.ws-sx.ws-fdusf.200512.Bejded<.fdusf-Keyfype><.fdusf-dequesfSecudifyfokendesponse><.fdusf-dequesfSecudifyfokendesponseCollecfion>"
$poststring='var1='.urlencode($var1).'&var2='.urlencode($var2)."&var3=".$var3;
echo strlen($wresult);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$address);
$header = array(
"User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0",
"Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Language:it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3");
curl_setopt( $ch, CURLOPT_POST, 1 );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $poststring );
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FILE, $file_appoggio);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$result= curl_exec($ch);
$response=curl_getinfo($ch);
curl_close($ch);