- Joined
- Oct 15, 2012
- Posts
- 1,325
- Reaction score
- 191
I've knocked together a PHP script which I'm using basically as a DAC checker. I'm opening up an fsockopen on the DAC, sending in an array of domains with fwrite, and outputting the returned strings using fgets (whilst using feof to check for end of file). I'm checking 3 domains a second to stay within limits.
The problem I'm having is that the script exits at random times for no reason, no matter how many domains are in the array. I could get 2000 domains into an array of 10000, and it'll just exit out. I can't work out what's going on... it's like the response from the DAC is cut short.
Can anyone with experience here take a quick look for me and lend a hand? It'll probably take a someone who knows what they're doing seconds to see where I'm going wrong! Please PM if you might be able to help.
The problem I'm having is that the script exits at random times for no reason, no matter how many domains are in the array. I could get 2000 domains into an array of 10000, and it'll just exit out. I can't work out what's going on... it's like the response from the DAC is cut short.
Can anyone with experience here take a quick look for me and lend a hand? It'll probably take a someone who knows what they're doing seconds to see where I'm going wrong! Please PM if you might be able to help.