---
title: "redirect"
type: "forum-thread"
url: "https://www.webforum.nu/amne/php/147247-redirect"
topic: "PHP"
topic_url: "https://www.webforum.nu/amne/php"
author: "urban_hahne"
published: "2006-05-23T12:57:28.000Z"
updated: "2006-05-23T13:25:16.000Z"
replies: 1
views: 365
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/php/147247-redirect"
---

# redirect

## #1 — urban_hahne, 2006-05-23T12:57Z

Hej. I ASP kan man skriva tex :
\<% Response.Redirect("http://www.blablabla.htm") %\> för att gå till en annan sida.
Hur ser motsvarande kod ut i PHP?

Permalänk: https://www.webforum.nu/p/147247

## #2 — nitro2k01, 2006-05-23T13:25Z

```php
header("Location: http://www.foo.com/");
```

Permalänk: https://www.webforum.nu/p/1819826

---

Tråden på webben: https://www.webforum.nu/amne/php/147247-redirect
