I have myspace friend IDs in a php array and I would like to run a "foreach" script that sends a message (which I already have stored in a variable). In the array there are 300 friend ids. I know that after every 50 messages, myspace requires a user to enter a captcha code to continue. If you can write something to bypass this, that would be best, but then I'd need support for the script in case myspace changes. The alternative would be to have the script stop if it reaches a capchta page and have the end user enter the code manually (maybe the code pic pops up with a text box that submits back?) I'm open to suggestions here - whatever you think is best.