php - Get 10 lines from remote url to function -


i have api gives me clear 10 ip's of proxy, want use in pac file in extension firefox.

this file looks like:

1.1.1.1:8080 2.2.2.2:8080 etc. (10 lines = 10 ip's) 

and have pac file, should this:

function findproxyforurl(url, host) {     return "proxy 4.5.6.7:8080; proxy 7.8.9.10:8080"; } 

how print ip external rule function, this:

function findproxyforurl(url, host) {     return "proxy 1.1.1.1:8080; proxy 2.2.2.2:8080; proxy 'line3', proxy etc...."; } 


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -