Subversion Repositories ALCASAR

Rev

Rev 833 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 833 Rev 834
Line 17... Line 17...
17
 *   along with this program; if not, write to the                         *
17
 *   along with this program; if not, write to the                         *
18
 *   Free Software Foundation, Inc.,                                       *
18
 *   Free Software Foundation, Inc.,                                       *
19
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
20
 ***************************************************************************/
20
 ***************************************************************************/
21
 
21
 
22
// $Id: portail.php 833 2012-03-10 23:29:08Z franck $
22
// $Id: portail.php 834 2012-03-11 09:25:30Z franck $
23
 
23
 
24
// xml_utilisateur()
24
// xml_utilisateur()
25
 
25
 
26
function request ($texte) {
26
function request ($texte) {
27
		$strResult = 0;
27
		$strResult = 0;
Line 68... Line 68...
68
		}
68
		}
69
	else 	{   
69
	else 	{   
70
		fclose($sock);
70
		fclose($sock);
71
		$sock = fsockopen($host2, $port, $num, $error, 2);
71
		$sock = fsockopen($host2, $port, $num, $error, 2);
72
		if ($sock){
72
		if ($sock){
73
                	fputs($sock,"GET http://$host2/images/M_images/weblink$INSTALLEDVERSION.png HTTP/1.0\n\n");
73
                	fputs($sock,"GET http://$host2/images/M_images/weblink-$INSTALLEDVERSION.png HTTP/1.0\n\n");
74
			fclose($sock); }
74
			fclose($sock); }
75
		return true;
75
		return true;
76
		}
76
		}
77
}
77
}
78
// Fonction de test du filtrage
78
// Fonction de test du filtrage