Current location: Hot Scripts Forums » Programming Languages » PHP » Could I recreate this with PHP?


Could I recreate this with PHP?

Reply
  #1 (permalink)  
Old 10-09-05, 03:40 PM
juicemousezero juicemousezero is offline
New Member
 
Join Date: Sep 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Could I recreate this with PHP?

I need to know if there's a way to recreate the Flash program on this site: http://www.curbingcolorado.com/photos.htm using PHP and HTML and whatnot. Doesn't have to have all the effects, just needs to have the thumbnails, the description and of course the main photo.

Could someone point me in the right direction on how I could do this kind of project?
Reply With Quote
  #2 (permalink)  
Old 10-09-05, 04:17 PM
Richard's Avatar
Richard Richard is offline
Wannabe Coder
 
Join Date: Sep 2005
Location: Oxford, UK
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
I would recommend using a MySQL database to hold all the information for the photos, such as "Description" and the "URL" of the photo etc. Then I would suggest having a look at JavaScript for the actual loading/viewing page.

JavaScript is client side, which means its based and ran from the viewers (users) computer, meaning the page won't have to reload to change the main photo. If you use PHP, because its server side (on the hosts machine), it will mean reloading the page to change the main photo.
Reply With Quote
  #3 (permalink)  
Old 10-09-05, 07:26 PM
XUhybrid XUhybrid is offline
Newbie Coder
 
Join Date: Oct 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
You dont really need to have a mysql database if all you need if the image side of thing. I agree that JavaScript is your best way to go on this one.

You should also preload all of your images, you can find a script for that easy enuff.
Reply With Quote
  #4 (permalink)  
Old 10-09-05, 10:46 PM
juicemousezero juicemousezero is offline
New Member
 
Join Date: Sep 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, I'll definately proload the images. I thought of using Javascript for this entire thing actually, but I dont really know it at all is the problem. I do know PHP, or at least enough to where I know I can do this with a little time.
Reply With Quote
  #5 (permalink)  
Old 10-10-05, 05:19 AM
Richard's Avatar
Richard Richard is offline
Wannabe Coder
 
Join Date: Sep 2005
Location: Oxford, UK
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by XUhybrid
You dont really need to have a mysql database if all you need if the image side of thing.
oh yeah, I agree. I was just thinking if he/she wanted to easily update pictures in the future, it might be easiar to use a MySQL database...just an option.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 profitable script sites for sale cms-master.com General Advertisements 3 07-03-07 10:17 AM
PHP Downside--Solutions? Amulet PHP 10 07-15-05 08:26 AM
PHP multi-dimensional array sorting issue aqw PHP 2 06-24-05 11:09 PM
PHP / Graphic Developers someotherguy582 Job Offers & Assistance 1 06-05-05 07:40 PM
100 Web Templates & 10 PHP Scripts for sale! HostersUK.co.uk General Advertisements 0 01-10-04 12:31 AM


All times are GMT -5. The time now is 06:14 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.