PDA

View Full Version : Getting a Random Image script to work


Citizen
10-22-2001, 06:35 PM
Hi there. This is my first post :)

I'd like to get a random image script to work with vB, and you can check it out at the bottom of this page - "PHP Version of Lozinski's Random Picture CGI-Script" (http://www.davelozinski.com/scripts/random.html).

The problem is, I don't know where to insert the code :eek:

Can anyone help me out?

BradC
10-22-2001, 10:53 PM
that is a cgi script and would need to be heavely.. modified to work..

go to hotscripts.com

and see if you can find one for php.. and look at it..

I have created a photo ranking script myself.. which displays a random picture.. but I had to do it all by my wittle self.. which was just created some pages like.. index.php (displayer) and a config.php file for hosting the functions.

Citizen
10-23-2001, 01:50 AM
Thanks for trying Brad, but in case you didn't realise this, there are three versions of the script on the page. One CGI, one VB/ASP, and one PHP. The PHP version is at the end of the page.

The only problem I have now is that I don't know where to insert the PHP code.

Anyone can help?