How to get the hidden value without submiting the form? <input type="hidden" name="ses" value="31e1e6a5bd37483a62f04d73d4ff5ac2"> Code (markup): That value is random, and on each refresh is changing. With pregmatch will be possible? If so, how?
What if I'll do this: <?php $site="link.com"; $content=file_get_contents($site); echo $content; echo "<a href='document.form.submit()'><b>Click</b></a>"; ?> PHP: On click will submit the data, right?
so you're basically fetching a 3rd party webpage right? In that case you can't do much. try appending a javascript code which fetches the input's value. but then, what do you want to do with it?
well, I wanted to do some things automatic using cron jobs, but didn't work because that website is checking for referral. Atleast I got the concept on how works, thanks allot for help.
I'am not sure how that value get on page... usually that hidden field and that kind of values (md5) is used to protect forms of some attack... the right question is... why do you need that value?
I wanted to generate the page myself, from my server. Anyway, the thing doesn't work as I've planned, so I can't do what I wanted.