I am trying to pass values for Array through PHP but i cant get to make work!
Some one please help
here is the code i tried

<?php
$masterkeylist11 = file_get_contents('http://domain.com.com/full/forbidden/finalkeys.txt');
$myvar = array($masterkeylist11);
echo $myvar[3];
?>

The in file contents of finalkeys.txt

googlecom,yahoocom,bingcom,rediffcom,ebaycom,googleus,googleca,

Some one please tell me whats the error here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.