Subversion Repositories ALCASAR

Rev

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

Rev 346 Rev 356
Line 122... Line 122...
122
				if ($ouvre)
122
				if ($ouvre)
123
					{
123
					{
124
					while (!feof ($ouvre))
124
					while (!feof ($ouvre))
125
						{
125
						{
126
						$tampon = fgets($ouvre, 4096);
126
						$tampon = fgets($ouvre, 4096);
127
						$domain_list = substr($tampon,11,-1);
127
						$domain_list_l = substr($tampon,10);
-
 
128
						$domain_list = trim ($domain_list_l,"\"\n\t ");
128
						$tab_domains = explode (",", $domain_list);
129
						$tab_domains = explode (",", $domain_list);
129
						foreach ($tab_domains as $domain ){
130
						foreach ($tab_domains as $domain ){
130
							if ($domain) { echo $domain."\n";}
131
							if ($domain) { echo $domain."\n";}
131
							}
132
							}
132
		  				}
133
		  				}
Line 149... Line 150...
149
				if ($ouvre)
150
				if ($ouvre)
150
			       		{
151
			       		{
151
					while (!feof ($ouvre))
152
					while (!feof ($ouvre))
152
						{
153
						{
153
						$tampon = fgets($ouvre, 4096);
154
						$tampon = fgets($ouvre, 4096);
154
						$urls = substr($tampon,12,-1);
155
						$url_list_l = substr($tampon,11);
-
 
156
						$url_list = trim ($url_list_l,"\"\n\t ");
155
						$tab_urls = explode (",", $urls);
157
						$tab_urls = explode (",", $url_list);
156
						foreach ($tab_urls as $url ){
158
						foreach ($tab_urls as $url ){
157
							if ($url) echo $url."\n";
159
							if ($url) echo $url."\n";
158
							}
160
							}
159
						}
161
						}
160
					}
162
					}
Line 195... Line 197...
195
				if ($ouvre)
197
				if ($ouvre)
196
					{
198
					{
197
					while (!feof ($ouvre))
199
					while (!feof ($ouvre))
198
						{
200
						{
199
						$tampon = fgets($ouvre, 4096);
201
						$tampon = fgets($ouvre, 4096);
200
						$macs = substr($tampon,12,-1);
202
						$mac_list_l = substr($tampon,11);
-
 
203
						$mac_list = trim ($mac_list_l,"\"\n\t ");
201
						$tab_macs = explode (",", $macs);
204
						$tab_macs = explode (",", $mac_list);
202
						foreach ($tab_macs as $macs ){
205
						foreach ($tab_macs as $macs ){
203
							if ($macs) echo $macs."\n";
206
							if ($macs) echo $macs."\n";
204
							}
207
							}
205
		  				}
208
		  				}
206
					}
209
					}