the title hasn't explained @ well, let me clarify:
know basic html, , i'm wondering how this.
want able have search box on site allow visitors search photos hosted on site's server.
so, totally random example: if you've uploaded photo of cat photos folder on website's server entitled 'cat.jpg' want people visit site able type cat search box can find , view photo.
don't think it's super hard , don't think require database either you're doing searching 1 folder.
appreciated.
html can't itself; you'll need script runs on server can in photos directory , return results formatted html.
popular scripting language php. functions find useful include scandir() directory listing, foreach() iterate through each entry (file name) in directory listing, , stripos() determine if search string matches part of filename.
Forums Special Interests Web Design and Development
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment