services-posters/poster.php

10 lines
266 B
PHP
Raw Normal View History

2007-08-04 09:29:43 +00:00
<?php
2007-07-25 14:12:17 +00:00
include('php/library.php');
2007-08-04 09:29:43 +00:00
if (!in_array(strlen($id), array(7, 34)))
die ('poster.php returns a poster for a given IMDb id<br />usage: poster.php?id=ID[&size=SIZE]<br />ID: IMDb id<br />SIZE: small [128px] or large [512px]');
2007-07-25 14:12:17 +00:00
returnPoster($id, $size);
?>