home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


send_redirect

 $

c


->send_redirect 
( 

url

, [

code

, [

entity_body

]] )

Sends a redirect response to the client, with the location url , an absolute or a relative URL. The optional code argument should be one of the redirect status codes; the default is 301 Moved Permanently . An entity_body string can be sent as HTML that informs the user of the redirection.


Previous: Reference: send_response Perl in a Nutshell Next: Reference: send_error
Reference: send_response Book Index Reference: send_error

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.