ive got a html document with the following string in it:
<INPUT TYPE=HIDDEN NAME="SPIDERSESSION" VALUE="\oiXESASZC?~adQXZDQ?_">

what i want to do is get the string which corresponds to value. so that is
\oiXESASZC?~adQXZDQ?_

ive used
preg_match_all ('<INPUT TYPE=HIDDEN NAME="SPIDERSESSION" VALUE="(.*)">',
$contents,$out, PREG_PATTERN_ORDER);

but it returns the whole document :(

a little help? cheers



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to