You are here: Re: Random Thumbnail Script « All PHP « IT news, forums, messages
Re: Random Thumbnail Script

Posted by Fred Atkinson on 03/02/07 21:58

You are everything that is bad about USENET.


On Fri, 2 Mar 2007 13:37:18 -0600, "Steve" <no.one@example.com> wrote:

>| To expand upon my needs ...
>
>hmmm...the need to google and rtfm?
>
>| main pages public_html
>|
>| subpages apple banana coconut
>|
>| sub-subpages aa bb cc dd ee ff gg
>|
>| Each of the aa-gg subdirectories will contain thumbnail .jpg
>| files. I'd like to be able to invoke the script quite a few times
>| within the same PHP page.
>|
>| Example:
>|
>| From the page in /banana, use <?php random_image $dir=aa> to
>| return a thumbnail that it randomly took from sub page /banana/aa. I
>| would invoke a thumbnail from another directory by changing aa to bb,
>| cc, dd, ee, ff, or gg.
>
>i call upon the almighty zeus, mythros, jesus christ, and budah. i summon
>your powers and invoke the thumbnail!
>
>how the fuck do you invoke a thumbnail?!!!
>
>anyway, that's a rediculous way to do it...but, ok.
>
>| So far, every script I've looked at I haven't quite been able
>| to make work.
>
>and the problem is the script? and you hope the script we give you will
>likewise, "not work"?
>
>| Though I have written a few PHP scripts, I am a PHP novice and
>| I need to 'keep it simple' so I can repeatedly use the script in the
>| page.
>
>look up the functions those scripts used. then go and do something
>remarkable...think. then find the manual. read it. 'fix' the script(s) you
>have and your problems are gone, AND you have learned something in the
>process.
>
>| If the script is above the <html> tag and can be called from
>| within the actual page, that should work fine for my purposes.
>
>uh...you need to get a beginners book. just like javascript, you can execute
>php code anywhere you wish. unlike javascript, php will be processed on the
>server before the client ever gets it.
>
>| Thanks for any help you can provide.
>
>i'd mail you a manual, but it's already available online at php.net.
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация