renb Posted December 1, 2006 Posted December 1, 2006 Hi All. I know just enough php and html to get myself into trouble and not out.. I've been able to create an infobox and have it "show" some basic text but can't seem to get it to show an image. Basically I just want to display the SSL logo and also pass a visitors's IP addr to it as well. Here is what I have so far: --------------------------------------------------------------- <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- sslbox //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SECURESEAL); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<strong>128 BIT SSL: Enabled</strong>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- sslbox_eof //--> --------------------------------------------------------------- Hopefully it's an easy thing to do. Thanks for any help. Ren
user99999999 Posted December 1, 2006 Posted December 1, 2006 You can show the IP address like this. echo tep_get_ip_address(); Usually the ssl provider will have a logo script for you to put on your site. I think there is some in contribs.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.