This is a discussion on reading from dir and displaying thumbs within the PHP General forums, part of the PHP Programming Forums category; Hi guys, I want to convert my old java greetings programs into php scripts but am stuck on one little ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi guys,
I want to convert my old java greetings programs into php scripts but am stuck on one little thing. I have a bunch of thumbnails in a 3 directories, the problem is the number of thumbnails in each directory is differient...how do i first make the script look into the directory, display (maybe 15 per page?) thumbnails with a link to the main program which will take one parameter depending on the thumbnail name. eg: thumbnail name is 1.jpg so that thumbnail should have a link such as <a href /somescript.php?name=1> Anybody have any ideas or links please tell me. Cheers! -Ryan |
|
|||
|
On Thursday 17 July 2003 02:44, Ryan A wrote:
> I want to convert my old java greetings programs into php scripts but am > stuck on one little thing. > I have a bunch of thumbnails in a 3 directories, the problem is the number > of thumbnails in each directory is differient...how do i first make the > script look into the directory, display (maybe 15 per page?) thumbnails > with a link to the main program which will take one parameter depending on > the thumbnail name. > eg: > thumbnail name is 1.jpg so that thumbnail should have a link such as <a > href /somescript.php?name=1> What exactly is your problem? "reading from dir"? manual > Directory functions manual > Filesystem functions "displaying thumbs"? manual > Image functions -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Digital circuits are made from analog parts. -- Don Vonada */ |