Jump to content

siddscool19

Members
  • Posts

    133
  • Joined

  • Last visited

    Never

Everything posted by siddscool19

  1. No i don't mean that I am sending the data and in the data there is this character é and it stops my script from functioning
  2. How to send latin words in a url? When I try to send them with their ascii character the script doesn't work For example é If I send in this format %E9 The script doesn't work Why
  3. Why is it not showing value for %90? And also when I run the code on my PC it was showing ? for all values... Why?
  4. Can anyone please tell me the value of these ascii characters I searched at lots of places but couldn't find it... So if anyone knows them it would be grateful %90 %91 %92 %93 %94 %95 %96 %97 %98 %99 All are in HEX
  5. Also if i try to encode a large data few characters are encoded in different way and if i try them with small data they are in different way? How to solve this problem? Example: ' Its in this format if i encode a large data %92 Whereas it should be in this format %27
  6. How can we encode only few characters and not all?
  7. Hey people when I encode data using urlencode it encodes ' in this form %92 Whereas if I send data using a form it is in this format %E2%80%99 So I want to be it encoded in the below format so that my script can work So is there any other function I can use? or anything else?
  8. But when I look in html page source the characters are in separate lines ? And also what encoding does PHP uses while sending data from it Say i builted a form in php file and send data using it it uses different encoding where if i send from a HTML form it uses different encoding
  9. How to replace line like this say $data="My name is Rohan"; Now what I want to get the line in this format $data="My name is - Rohan" That is I want to replace newline character with " - ". How to do it?
  10. Hey people I want to encode a certain normal data while sending via curl in this format [center]%0D%0A[img]http%3A%2F%2Fi269.photobucket.com%2Falbums%2Fjj44%2Fdownarchive2%2Fkeosoft%2FDeluxe.jpg+hiii Rather than this 5Bcenter%5D%0D%0A%5Bimg%5Dhttp%3A%2F%2Fi269.photobucket.com%2Falbums%2Fjj44%2Fdownarchive2%2Fkeosoft%2FDeluxe.jpg%20hiii Can we do it?
  11. Hey people I want to post on my forum using phpbb3 script? Is there any such script? And also I have created the codings for posting and its working but the problem is that I can't send large data using it only like 5-6 lines I mean the phpbb3 forum is accepting only 5-6 lines: <?php $content=$_POST["content"]; echo $content; $url = "http://localhost/phpbb3/ucp.php?mode=login"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_POST, 4); curl_setopt($ch, CURLOPT_POSTFIELDS,"username=username&password=pass&redirect=&login=Login"); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch,CURLOPT_COOKIEJAR,"cookie.txt"); $result= curl_exec ($ch); curl_close ($ch); $data="hiiiiiiii"; $valuesubmit=array( "icon"=>0, "subject"=>"hiii", "message"=>$data, "lastclick"=>1224168250, "post"=>"Submit", "form_token"=>"cc7ee8be585ac8a58c1dc356c56d36ac623dd717", "creation_time"=>"1224168251" ); $ch2 = curl_init(); curl_setopt($ch2,CURLOPT_URL,"http://localhost/phpbb3/posting.php?mode=post&f=2"); curl_setopt($ch2,CURLOPT_REFERER, "http://localhost/phpbb3/posting.php?mode=post&f=2"); curl_setopt($ch2, CURLOPT_POST, 4); curl_setopt($ch2, CURLOPT_POSTFIELDS,$valuesubmit); curl_setopt($ch2,CURLOPT_RETURNTRANSFER, true); curl_setopt($ch2,CURLOPT_CONNECTTIMEOUT,"120"); curl_setopt ($ch2, CURLOPT_HEADER, false ); curl_setopt($ch2,CURLOPT_COOKIEFILE,"cookie.txt"); $souvik123 = curl_exec($ch2); $error=curl_error($ch2); curl_close($ch2); echo $error; echo $souvik123; ?>
  12. Hey people I am having problem in posting data on this url using curl? See the data I send to is in this format https://www.sitename.com/newname?new=hiii&name=asdadhd I am submitting data to this page using form and its working.. However if I send using curl it tells it as the page doesn't exist What might be the problem I am doing this on my site so please this time don't tell I have spamming intention I can't change the url because it is used for bookmarking purpose also
  13. Can we send post data to a page using XMLHTTPREQUEST like we do with curl is it possible? Like I want to send name,address,city to a php file using xmhttprequest can I do that? Can someone please tell me how to do it and also I want to send data in background
  14. Well ya sort of like how much time it took to execute the script And ya by second statement can you please suggest a program which automatically rearranges the codings? I think there is a program
  15. Hey people I just wanted to know if its possible to increase or decrease a script speed? Like I wanted to put a speedometer for it on my script Is it possible to put the speedometer in the script?
  16. See the site I am sending the data to is not in my control...... That is the problem So how can I redirect to another site with header function
  17. U didn't get me..... I want to do this.. Submit data to this site www.sitename.com But it should load this site www.newsite.com
  18. See the forum is this: <form action=http://www.sitename.com method=post> <input type=text name=data> <input type=submit value=Submit> </form> Now after someone click on submit button it redirect to this page www.newsite.com rather than to www.sitename.com How to do that?
  19. Hey people I want to redirect to another page after submitting data in a form I mean after I click submit button I am not taken to the (action="") page I want it to redirect it to a page of my choice can I do that? I wana setup it on my site..... I can't include redirect thing in my action="" page since I use that page sometimes for other purposes
  20. Well I am sending hidden inputs also I am sending everything not a single thing left....... Then also it doesn't work
  21. Here are the codings: $ch2 = curl_init(); curl_setopt($ch2, CURLOPT_URL,(url where the info is to submit here); curl_setopt($ch2,CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch2,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch2,CURLOPT_COOKIE,1); curl_setopt($ch2,CURLOPT_COOKIEFILE,"cookie.txt"); curl_setopt($ch2,CURLOPT_AUTOREFERER,1); curl_setopt($ch2,CURLOPT_USERAGENT,"ArabyBot (compatible; Mozilla/5.0; GoogleBot; FAST Crawler 6.4; http://www.araby.com;)"); curl_setopt($ch2, CURLOPT_POST, 1); curl_setopt($ch2, CURLOPT_POSTFIELDS,$valuesubmit); curl_setopt($ch2,CURLOPT_SSL_VERIFYPEER,0); curl_setopt($ch2,CURLOPT_CONNECTTIMEOUT,"120"); $result1= curl_exec ($ch2); echo $result1; curl_close ($ch2); $valuesubmit contains all the value to be submited I sends all the values correctly but the page load with a new captcha that the value u entered was wrong
  22. I am sending the value of captcha using curl to the page to register on the site I get the captcha using curl and then type in the value of the captcha and send to the page But it doesn't works...... I am sending each and every value with it.............. But it says captcha entered is wrong and changes the captcha
  23. 401 Authorization using curl? how can we do that? I mean how to send data to a 401 Authorization?
  24. Hmm like how should i procede on it? Any hints?
  25. ohk thanks..... And also one more question Can we send captcha to a page? I mean we get captcha image to the user from a page and then the user type the text seen and we send that value to for is it possible?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.