| Author | 
					Message | 
				
				 
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 17/09/2004 02:37:58
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									Hello. Well, i am running a site with frames. And, when i click the vote button, instead of refreshing the whole page and displaying the results, it opens the WHOLE PAGE inside the MAIN frame. This only happens when i click the vote button. I configured it with the 'view results' link so that it loads the link in the "_parent" frame. Does anyone know how to do this with the vote button. I want it to load in the "_parent" frame rather than my "main" frame.
  
  Thanks in advance.
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 09/09/2005 22:52:33
	  
	
	
 						 | 
					
					
						
						
zentz
 
	Beginner
	 
  
	Joined: 09/09/2005 22:47:08 
	Messages: 5
 
		Offline 
 						 | 
		
						
						
							
									nobody knows the answer ?
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 09/09/2005 22:53:31
	  
	
	
 						 | 
					
					
						
						
Carbonize
 
	Master
	 
		![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)  
  
	Joined: 12/06/2003 19:26:08 
	Messages: 4292
 
	Location: Bristol, UK
	 
		Offline 
 						 | 
		
						
						
							
									<form action="blah.php" method="post" target="_parent">
							
							
						 | 
					
						
							 Carbonize
 I am not the maker of the Advanced Guestbook
 
 get Lazarus | 
						
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 09/09/2005 22:58:30
	  
	
	
 						 | 
					
					
						
						
zentz
 
	Beginner
	 
  
	Joined: 09/09/2005 22:47:08 
	Messages: 5
 
		Offline 
 						 | 
		
						
						
							
									
			
				Carbonize wrote:<form action="blah.php" method="post" target="_parent"> 
		 
  
  i added a parent here <form method="post" action="$this->form_forward" target="_parent">
  
  but now i get this error:
  
  Warning: Cannot modify header information - headers already sent by (output started at /usr/home/zentz/lust.com/public_html/index3.php:2) in /usr/home/zentz/lust.com/public_html/~poll/pollphp/textfile/poll_cookie.php on line 21
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 09/09/2005 23:07:34
	  
	
	
 						 | 
					
					
						
						
Carbonize
 
	Master
	 
		![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)  
  
	Joined: 12/06/2003 19:26:08 
	Messages: 4292
 
	Location: Bristol, UK
	 
		Offline 
 						 | 
		
						
						
							
									Did you edit either of the mentioned files and if so what did you use? Things like cPanels filemanager have a nasty habit of putting extra lines onto the end of files when you save them.
							
							
						 | 
					
						
							 Carbonize
 I am not the maker of the Advanced Guestbook
 
 get Lazarus | 
						
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 09/09/2005 23:11:54
	  
	
	
 						 | 
					
					
						
						
zentz
 
	Beginner
	 
  
	Joined: 09/09/2005 22:47:08 
	Messages: 5
 
		Offline 
 						 | 
		
						
						
							
									
			
				Carbonize wrote:Did you edit either of the mentioned files and if so what did you use? Things like cPanels filemanager have a nasty habit of putting extra lines onto the end of files when you save them. 
		 
  
  nope. nothing.. i just checked in the poll_cookie.php file and this is the 21th line: setcookie($cookie_name, "1", $endtime);
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 09/09/2005 23:16:06
	  
	
	
 						 | 
					
					
						
						
Carbonize
 
	Master
	 
		![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)  
  
	Joined: 12/06/2003 19:26:08 
	Messages: 4292
 
	Location: Bristol, UK
	 
		Offline 
 						 | 
		
						
						
							
									I was thinking more of line 2 of index3.php
			output started at /usr/home/zentz/lust.com/public_html/index3.php:2 
		 
							
							
						 | 
					
						
							 Carbonize
 I am not the maker of the Advanced Guestbook
 
 get Lazarus | 
						
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 09/09/2005 23:19:41
	  
	
	
 						 | 
					
					
						
						
zentz
 
	Beginner
	 
  
	Joined: 09/09/2005 22:47:08 
	Messages: 5
 
		Offline 
 						 | 
		
						
						
							
									
			
				Carbonize wrote:I was thinking more of line 2 of index3.php 
			output started at /usr/home/zentz/lust.com/public_html/index3.php:2 
		  
		 
  
  this is the line 2 of the source file <head><?php virtual ("/cgi-bin/atx/in.cgi"); ?>
  
  after the page is loaded the 2nd line will change and maybe that is the problem ?
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 09/09/2005 23:25:06
	  
	
	
 						 | 
					
					
						
						
Auron
 
	Expert
	 
		![[Avatar]](/forum/images/avatar/13803940053f323eaa510a6.jpg)  
  
	Joined: 23/06/2003 22:02:17 
	Messages: 1053
 
		Offline 
 						 | 
		
						
						
							
									make sure poll_cookie.php is the top most line in index3.php
  white space counts as starting the headers, so remove any.
  
  ps. as in top most, i mean something like...
  
  <?php
  include....
							
							
						 | 
					
						
							 Visit my site @ www.ragnaru.com
 Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) | 
						
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 09/09/2005 23:28:21
	  
	
	
 						 | 
					
					
						
						
zentz
 
	Beginner
	 
  
	Joined: 09/09/2005 22:47:08 
	Messages: 5
 
		Offline 
 						 | 
		
						
						
							
									
			
				Auron wrote:make sure poll_cookie.php is the top most line in index3.php
  white space counts as starting the headers, so remove any.
  
  ps. as in top most, i mean something like...
  
  <?php
  include.... 
		 
  
  ok that helped. 
  
  thanks guys!
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 10/09/2005 16:14:43
	  
	
	
 						 | 
					
					
						
						
Auron
 
	Expert
	 
		![[Avatar]](/forum/images/avatar/13803940053f323eaa510a6.jpg)  
  
	Joined: 23/06/2003 22:02:17 
	Messages: 1053
 
		Offline 
 						 | 
		
						
						
							
									No problem : )
  
  Auron
							
							
						 | 
					
						
							 Visit my site @ www.ragnaru.com
 Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) | 
						
		
					 
						| 
						 | 
					
				
		
				
					| 
						
					 |