[thelist] doing http requests using php (without curl?)

Bigpant thelist at lists.evolt.org
Wed May 22 15:15:01 2002


>i am trying to carry out an http POST request in the middle of a php
>script

You can send http headers using the php 'header' function. Bear in mind
that you cannot echo or print anything (or add any HTML) before the
header command. Any output will force http headers. Check it out in the
manual. http://www.php.net/download-docs.php if you don't have it.

HTH
Phil Parker