Salut tout le monde,
Je me trouve dans: le path: test/admin/index.php
Je veux passer au path: test/index.php
Comment puis-je la fiare en utilisant: header('Location: ....'); ??
Merci bcp
Version imprimable
Salut tout le monde,
Je me trouve dans: le path: test/admin/index.php
Je veux passer au path: test/index.php
Comment puis-je la fiare en utilisant: header('Location: ....'); ??
Merci bcp
salut essaye :
Code:
1
2 header('Location: ./index.php');
Erreur: The requested URL /test/admin/index.php was not found on this server.
Je reste toujours dans le meme directoire.
ca marche avec: header('Location: ../index.php');
Merci bcp!