Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.
Find all posts by this user
Quote this message in a reply
02-26-2010, 08:13 PM
Post: #2
RE: sending custome headers with HttpResponse
try to use
<?php
header("location: index.php");
exit();
?>
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:

Contact UsDeveloper SolutionReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication