Jump to content

siddscool19

Members
  • Posts

    133
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

siddscool19's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. Yup I got it already, thanks for the reply anyway
  2. I was reading a program code and I came across this line of code $result = 0x01111111; when I tried to echo the $result I got this output 17895697 I am not able to get what this operator "x" actually does.. If someone can help me understand. Thanks
  3. Thanks for the reply, I never used AJAX so don't have much idea about it, I will learn and try it
  4. I am connecting to a page using cURL in php and when transferring data to a string using CURLOPT_RETURNTRANSFER and then running my filters on the output. But since the page is very bulky it takes time to load and so i want a sort of progress meter which can show the last line the php is currently retreiving from the page it is fetching.
  5. I am getting 500 Internal server error again. I make a 40-50 connections using curl through my script and i don't know how many connection fails. anyway to prevent it from occurring.
  6. Is there a way to keep running the script even if the user exists the page ? I know about ignore_user_abort but it does stop after a fixed amount of time running in background. i want it to run till script is complete.
  7. how to use that if i already closed the script from my browser? and the script keeps running on server how to interfere the script :S
  8. I want to know how can we stop a script running with ignore_user_abort as true? Like if something goes wrong and i don't want the script to run anymore than how can i stop it in between?
  9. I am facing a weird problem if a page doesn't load like the server is not responding my curl script doesn't stop and keeps showing loading even though i have tried connecttimeout options and set them to the required value.
  10. Is it possible to get curl to only fetch the first few lines from a page rather than loading the whole page like we can set the file size to be fetched. Because loading the full page in my case makes my script damm slow as i have to fetch 100 pages at a time.
  11. Yes I did that. The data in $data1 is the data which I echoed using $data.
  12. I am facing a weird problem with sending data to a site via curl. If i send the value by this $data1="action=capt&tm=1256956853&tmhash=074144d43b5e2fcf34607221bd51b69dded08475&wait=30&waithash=7772647b09ec9995fc3c92d9f04be89029f80564"; curl_setopt($ch2, CURLOPT_POSTFIELDS,$data1); It works in the above case but however if I send the values like this $data="action=".$action."&tm=".$tm."&tmhash=".$tmhash."&wait=".$wait."&waithash=".$waithash; curl_setopt($ch2, CURLOPT_POSTFIELDS,$data); It won't work. Here I set $data1 from the value of $data only by getting its output on screen. So $data1 and $data are same. Just the difference is that $data is in form of variables which I get using preg_match. I use preg_match to get values of action,tm,tmhash and all that.
  13. How to change md5 hash of a file using php?
  14. I want to know how to make the script run in background like I send data to a script and its processing. Now what I want to do is close my browser and the script should still run. How to do this?
  15. Hey dude I found the problem it was due to antivirus. My antivirus was blocking it some way i don't know but when i switched off it worked and when i switched on it stopped. So it was due to antivirus.
×
×
  • 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.