|
sending custome headers with HttpResponse
|
|
02-26-2010, 07:55 PM
Post: #1
|
|||
|
|||
|
sending custome headers with HttpResponse
Hey Guys.
I was trying to send a custom header to another page for accessing its api. I am using this HttpResponse::setHeader ( 'customname', 'myvalue' ); What class do I need to use for this? Does PHP5.1 and above have this inbuilt or do I need to include some particular class to use this? How do I create an instance of this class? Any help is appreciated. |
|||
|
02-26-2010, 08:13 PM
Post: #2
|
|||
|
|||
|
RE: sending custome headers with HttpResponse
try to use
<?php header("location: index.php"); exit(); ?> |
|||
|
« Next Oldest | Next Newest »
|




