header ("location: .../.../index.php");
Enligt HTTP/1.1 får man egentligen inte göra så, det får inte vara relativa adresser, men de flesta webläsare godkänner det ändå.
Not: HTTP/1.1 requires an absolute URI as argument to Location: including the scheme, hostname and absolute path, but some clients accept relative URIs. You can usually use $_SERVER['HTTP_HOST'], $_SERVER['PHP_SELF'] and dirname() to make an absolute URI from a relative one yourself: ...
254 ms totalt · 4 externa anrop · v20260731065814-full.51f67c91