reading from dir and displaying thumbs

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-16-2003
Ryan A
 
Posts: n/a
Default reading from dir and displaying thumbs

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

Reply With Quote
  #2 (permalink)  
Old 07-17-2003
Jason Wong
 
Posts: n/a
Default Re: [PHP] reading from dir and displaying thumbs

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
*/

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0