> Hey.. > > yeah I might.. > > > I don't know if I am right or just blabbering crap > > but try to add these param's to your regex statement.. > > > preg_split("/\0/i", $buffer); > > > note the i.. It should let it read past newlines.. although you're prob is > with null (\0) chars.. > > > as I said.. Don't know if I am on the right track.. but it's > worth a go eh??
Unfortunatly I get the message "Warning: No ending delimiter '/' found in ...." when I try this. It appears that PHP is interpreting the \0 as a string terminator for the pattern match :( Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php