| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		chings -
 
  Joined: 19 Apr 2003 Posts: 6
 
  | 
		
			
				 Posted: Mon Apr 28, 2003 4:11 am    Post subject: what 's the problem of my php syntax | 
				      | 
			 
			
				
  | 
			 
			
				there is a file  called ,  front.php
 
 
when i try to type this URL in browswer
 
 
http://localhost/front.php?member=tc
 
 
------------syntax under front.php-------
 
 
<!  echo $member !>
 
 
_----------------------------------------------
 
 
 
it returns nothing .   what 's wrong . i  supposed to output  " tc " | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		chings -
 
  Joined: 19 Apr 2003 Posts: 6
 
  | 
		
			
				 Posted: Mon Apr 28, 2003 6:10 am    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				| <? not <! ,  i typed it wrongly here . | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		TheLinker -
 
  Joined: 05 Apr 2002 Posts: 165 Location: Oslo, Norway
  | 
		 | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		chings -
 
  Joined: 19 Apr 2003 Posts: 6
 
  | 
		
			
				 Posted: Mon Apr 28, 2003 8:14 am    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				the problem is on my server 
 
 
 
i run phpBB , phpNuke great 
 
 
but  sxxx.php?dfdf=dfdfsdfsdfdsf   doesn't work on my server 
 
 
but running great in another which is running apache . i 'm looking for the problem which is on php or aprelium | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		TheLinker -
 
  Joined: 05 Apr 2002 Posts: 165 Location: Oslo, Norway
  | 
		
			
				 Posted: Mon Apr 28, 2003 12:33 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				If you run your script, http://localhost/front.php?member=tc, you can print out the member variable like this:
 
 	  | Code: | 	 		  | <?php echo $_GET['member'] ?> | 	  
 
Also read more about how variables from outside PHP should be processed in the above link. | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		 |