You are not logged in.
Pages: 1
ArchVer tiny php script to grab latest "Arch Linux" iso info.
Also shows very basic way how to scrape html page ^_^
Code: https://github.com/GoTux/PHP/blob/master/archver.php
License: GPLv3 (open-source)
Result:
php archver.php
Array
(
[linux] => Arch Linux
[version] => 2013.09.01
[kernel] => 3.10.10
[isosize] => 525.0 MB
[md5sum] => f87e89a502fb2d1f30ca0f9a927c9a91
[sha1sum] => 3b087acd273656c55244baa7b7f1a147be7da990
[pgpsig] => https://www.archlinux.org/iso/2013.09.01/archlinux-2013.09.01-dual.iso.sig
)
Hope this would be useful to some one. Enjoy! Comments are welcome!
Last edited by TuxLyn (2013-09-30 02:43:38)
::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::
Offline
Pages: 1