| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Xavier -
 
  Joined: 17 Jan 2004 Posts: 50
 
  | 
		
			
				 Posted: Sun Jan 18, 2004 3:36 am    Post subject: PHP TROUBLE | 
				      | 
			 
			
				
  | 
			 
			
				| when i try to open a .php from http://my.ip/1.php it gives me a 200 error page. What is wrong and how can i fix it? | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		aprelium -
 
  Joined: 22 Mar 2002 Posts: 6800
 
  | 
		
			
				 Posted: Sun Jan 18, 2004 3:09 pm    Post subject: Re: PHP TROUBLE | 
				      | 
			 
			
				
  | 
			 
			
				Xavier,
 
 
This means that the script was executed but sent no output to the server. If its your script, check it.
 
If you've donwload it, try setting the register_globals parameter in php.ini set to on: 
 
 
 
 	  | Code: | 	 		  | register_globals=on  | 	   
 
 
This is know to solve the problem with many script that use the old PHP variables naming convention. _________________ Support Team
 
Aprelium - http://www.aprelium.com | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		Xavier -
 
  Joined: 17 Jan 2004 Posts: 50
 
  | 
		
			
				 Posted: Sun Jan 18, 2004 7:06 pm    Post subject: RE: | 
				      | 
			 
			
				
  | 
			 
			
				I cant find a php.ini file where is it supposed to be? 
 
 
never mind i found it in c:/windows
  Last edited by Xavier on Sun Jan 18, 2004 7:31 pm; edited 1 time in total | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		jtc970 -
 
  Joined: 24 Mar 2003 Posts: 172
 
  | 
		
			
				 Posted: Sun Jan 18, 2004 7:31 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				check your windows dir (c:\windows\php.ini
 
but i think if you have it in the same path as the php.exe that will be the default ini. | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		 |