Random Image not showing up w/ Gbook...

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Vorlon
Posts: 3
Joined: Sat Jan 14, 2006 6:02 pm

Random Image not showing up w/ Gbook...

Post by Vorlon »

Script URL: http://www.game-gate.com/content/gbook/gbook.php
Version of script: 1.34
Version of PHP: (don't really know, sorry, probably 3 or 4...)
Hosting company: http://www.hostonce.com
Have you searched THIS FORUM for your problem: you betcha
(if not please do before posting)
If so, what terms did you try: perl (and read the topic of every topic, and none looked like they'd address my unique concern)

Write your message below:

Just a side note, thank you PHPJunkyard.com for the click counter =)

Okay, I believe I have a unique issue here, the guestbook seems to be working GREAT, but an image is failing to load. But it's not what you think, it's not a simple '<img' tag

Explanation:
The image that fails to load is at the very top of my GuestBook page behind the 'empty' grey box.

First it may help you to download the 2 files that I am going to talk about so you can *see* what I'll probably do a poor job of explaining. (no it's not a virus, scan it if you'd like, it's just 2 folders and 2 files)

I use a very simple java script that creates my site navigation (so I only have to change one file for the entire site). See the GuestBook page source and search for 'nav.js'

Within this 'nav.js' (about 4 lines down) I call the Random Image Generating perl script 'random_nav_image.pl'

In all the files I don't do any local referencing (just full URL's) and this script works just fine when included offsite (sort-of a PROOF of no local referencing)

So my guess is the reason it's failing is because PHP is executing a javascript which calls a perl file, but then, I've included the 'nav.js' in the header on my forum w/o any problems.

I would appreciate your help, I don't know anything about php, perl, or java script, but I know some coding to I can find my way through it.

And I will elaborate or be more specific if you need me to.

Thanks!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Unfortunately I don't provide support for 3rd party scripts or codes here, just for scripts from phpjunkyard.com
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply