fsockopen can probably help you with that http://www.php.net/fsockopen Best regards, Peter Lauri www.dwsasia.com - company web site www.lauri.se - personal web site www.carbonfree.org.uk - become Carbon Free -----Original Message----- From: blackwater dev [mailto:blackwaterdev@xxxxxxxxx] Sent: Tuesday, February 20, 2007 9:45 PM To: php-general@xxxxxxxxxxxxx Subject: php forcing a post?? I currently have an html page that posts to a cgi function. I need to interject some php in the middle. So, the form will post to itself, the php page will catch the post, check on thing and then pass along to the cgi page but the cgi page only handles posts. How can I still php in the middle and still have it 'post' to the cgi page? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php