| 
				Chi Kien Uong Geranienstraße 30
 71034 Böblingen
 Deutschland / Germany
 | 
	
		| 
				
					| 
							If you are not registered or logged in, you may still use these forums but with limited features.
							Show recent topics |  |  |  
		| 
	
		| 
				
				
					| Author | Message |  
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 15/02/2007 22:19:06
	 |  
						
						| Kakadou Newbie
 
 Joined: 15/02/2007 22:04:12
 Messages: 1
 Offline
 
 | Hello,Who can help me 
 I have made a test here http://www.bretagne-gites.net/default.php
 
 With the following script:
 include_once "/home/bretagneo/www/Poll/booth.php";
 echo $php_poll->poll_process(3);
 
 This poll script works but only in local. I would like to put it also in a different server of my SQL or in other website) I can not!
 despite the script modification as follow:
 
 include_once http://www.bretagne-gites.net/Poll/booth.php";
 echo $php_poll->poll_process(3);
 
 
 Fatal error: Call to a member function on a non-object in
 /home/bretagneo/www/default.php on line 12
 
 My config is :
 $POLLDB["dbName"] = "bretagneoker01";
 $POLLDB["host"]   = "mysql5-5";
 $POLLDB["user"]   = "bretagneoker01";
 $POLLDB["pass"]   = "XXXXX";
 $POLLDB["class"]  = "class_mysql.php";
 |   
						|  |  
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 29/03/2007 23:28:07
	 |  
						
						| amber222 Graduate
 
 Joined: 07/05/2004 21:13:07
 Messages: 586
 Offline
 
 | Try adding a poll list on the server where the poll script is installed: 
 Link to poll archives
 
 Then, following the guidelines in item 2 of that post, place the second doc, with absolute links, on the other server. Using this method, the actual poll would probably still be on a page by itself, though.
 |   
						|  |  
					|  |  |  |  
		|  |  
	
		Based on the open source JForum
	
 |