I dont understand what making error:
Plz fix for me
List.txt
script:
#include <Array.au3>
Func readfile($fname)
Local $file = FileOpen($fname, 0)
If $file = -1 Then
MsgBox(0, "Error", "Unable to open " & $fname)
Exit
EndIf
Local $data = ""
While 1
Local $chars = FileRead($file, 1)
If @error = -1 Then ExitLoop
$data &= $chars
WEnd
Return $data
EndFunc
Func getDomain($url)
Local $urlArr = StringSplit($url,"/",2)
If UBoun