Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2014-12-03 06:18:08

New member
Registered: 2014-11-21
Posts: 1

A free PHP script that allows me to upload images on my server

I have a free PHP script from  that allows me to upload images on my server. it will rename the image and saves the image names and some texts on the database.

I just need to know how I can pull those images and texts related to each image and make an slideshow on a PHP page?
here is my current code for display.php

// Connects to your Database
mysql_connect("localhost", "databaseusernam", "password") or die(mysql_error()) ;
mysql_select_db("database") or die(mysql_error()) ;

//Retrieves data from MySQL
$data = mysql_query("SELECT * FROM employees LIMIT 3") or die(mysql_error());

//Puts it into an array
while($info = mysql_fetch_array( $data ))

//Outputs the image and other data Echo "<img src=images22/".$info['uploaded'] ."> <br>";
Echo "<b>Name:</b> ".$info['name'] . "<br> ";
Echo "<b>Email:</b> ".$info['email'] . " <br>";
Echo "<b>Phone:</b> ".$info['phone'] . " <hr>";
the page above will show the images but its not a slideshow.
Looking forward to your replies.


#2 2014-12-03 10:02:59

From: England, United Kingdom
Registered: 2013-05-31
Posts: 1,292

Re: A free PHP script that allows me to upload images on my server

STOP using deprecated and insecure MySQL_functions!!!!!

The PHP Manual wrote:

This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information.


Board footer

Powered by FluxBB