cracker as in cookie.. its a long story.. Anyways, so glad I found this place.. should be fun!
trying to submit a form with php script. here is the form
[php]<form name="userdata_ template_form" method="post" onsubmit="this. submit1.disable d=true;" action="LZwEzgH FOthxE8iMdzKIX; _lv=3">
<input type="hidden" name="link" value="answer">
<input type="hidden" name="did" value="10827AbP hAg">
<input type="hidden" name=".crumb" value="sd3UDKut Z">
<input type="hidden" name="textarea" value="userdata input">
<input type="hidden" name="e" value="0">
<input type="submit" class="button" value="Submit" name="submit1">
[/php]
and here is my script.. so far I've put in to many hours on this.. Im more mainframe and unix scripting so php curl is new.. enjoy the laugh[php]
<?php
$ch = curl_init();
curl_setopt($ch , CURLOPT_RETURNT RANSFER,1);
curl_setopt($ch , CURLOPT_COOKIEF ILE, "/temp/cookie.txt");
curl_setopt($ch , CURLOPT_URL,"ht tp://10.80.2.115/userdata.html") ;
curl_setopt ($ch, CURLOPT_POSTFIE LDS, "link=answer&di d=10827AbPhAg&. crumb=sd3UDKutZ
&textarea=userd atainput&e=0&su bmit1=submit");
$result = curl_exec ($ch);
curl_close ($ch);
echo $result;
?>[/php]
what I get is when the page loads the text area is populated with "userdatain put" as it should be but the submit button is not "click" - if figured cURL was posting so the button would not require "clicking"
I have also tried it from the command line with no verbose errors
Many thanks..
Cracker
trying to submit a form with php script. here is the form
[php]<form name="userdata_ template_form" method="post" onsubmit="this. submit1.disable d=true;" action="LZwEzgH FOthxE8iMdzKIX; _lv=3">
<input type="hidden" name="link" value="answer">
<input type="hidden" name="did" value="10827AbP hAg">
<input type="hidden" name=".crumb" value="sd3UDKut Z">
<input type="hidden" name="textarea" value="userdata input">
<input type="hidden" name="e" value="0">
<input type="submit" class="button" value="Submit" name="submit1">
[/php]
and here is my script.. so far I've put in to many hours on this.. Im more mainframe and unix scripting so php curl is new.. enjoy the laugh[php]
<?php
$ch = curl_init();
curl_setopt($ch , CURLOPT_RETURNT RANSFER,1);
curl_setopt($ch , CURLOPT_COOKIEF ILE, "/temp/cookie.txt");
curl_setopt($ch , CURLOPT_URL,"ht tp://10.80.2.115/userdata.html") ;
curl_setopt ($ch, CURLOPT_POSTFIE LDS, "link=answer&di d=10827AbPhAg&. crumb=sd3UDKutZ
&textarea=userd atainput&e=0&su bmit1=submit");
$result = curl_exec ($ch);
curl_close ($ch);
echo $result;
?>[/php]
what I get is when the page loads the text area is populated with "userdatain put" as it should be but the submit button is not "click" - if figured cURL was posting so the button would not require "clicking"
I have also tried it from the command line with no verbose errors
Many thanks..
Cracker
Comment