Where do you define and fill $res?
That variable is never defined or filled and therefore is undefined.
Maybe you should consider to use strict and warnings.
Addendum:I had another look at your script and think, there are more flaws than the one I previously mentioned.
In reply to Re: Remote web form post
by linuxer
in thread Remote web form post
by c0ldfire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |