Bonjour,
je tente une redirection ainsi : header('Location:'. SITE_URL_HTTP.'/indexpagewithauth.php');,la constante étant définie ainsi :
Code php : Sélectionner tout - Visualiser dans une fenêtre à part 
2
comme ça ne fonctionne pas, j'ai rajouté cet echo : echo SITE_URL_HTTP.'/indexpagewithauth.php<br/>';et ça affiche C'est la bonne URL mais la redirection ne se fait pas ; pourquoi ?
et si je remplace le code par header('Location:http://localhost/eis/eis/indexpagewithauth.php');, là, ça fonctionne...

 

 
		
		 
         
 

 
			
			



 
			 
   
 


 Redirection PHP inopérante
 Redirection PHP inopérante
				 Répondre avec citation
  Répondre avec citation

 
 
 
			
 
						
Partager