Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $mappings = [];
- for($i=0; $i<sizeof($vuzes); $i++) {
- $url = "http://url.com/".$vuzes[$i]["Logo"];
- list($width, $height, $type, $attr) = getimagesize($url);
- $map = [
- "logo" => $vuzes[$i]["Logo"],
- "height" => $height,
- "width" => $width,
- ];
- print($i); var_dump($map);
- $mappings.push($map);
- }
Add Comment
Please, Sign In to add comment