I know everybody has seen this question over and over.
BUT......
This is a bit different.
Here is the set-up -
I have a script called [security_image_upload.php]
-->this script uploads the image to the database - and has been tested - WORKS
I have a Mysql database table called [security_images]
-->this table operates correctly - WORKS
I have a page that displays the image called [db_secure_image.php]
-->this script works and displays the image correctly.
I have a class called [_guestbook.php]
--> this class has a method (function) to display a sign guestbook form.
I have a page called [sign_guestbook.php]
-->this page includes the _guestbook.php class file
How it all works -
The sign_guestbook.php page creates a guestbook object.
The sign_guestbook.php page calls the displayEntryForm() function found in the guestbook class that prints out the guestbook form - which contains the following line -
<img src = 'db_secure_image.php'>
According to everything I have read, this should definitely produce an image.
Problem
All I get is a red box with an X in it. - I click properties, and it says the image is not available. This is getting on my nerves because when go to the db_secure_image.php page itself - it displays the bloody image!
Is there a reason why this would happen?
Any help would be appreciated.