Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Guestbook for osC v1.0 released


VJ

Recommended Posts

  • 1 month later...

this is a great, simple guestbook. i can almost count on one hand how many files are used it. i really like that. i was wondering if there were any plans to add to it? the book i used before wasnt osc based, but it let posters select from a drop down where they were from, and also let them put a url in their information, also rotated between 2 color scheme's for every other post. either way, nice job on the contrib.

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 months later...

Let me share a weird problem.

I finished tweaking a game website. And yes, I used osCommerce to build a site. You would be surprised how useful osC is.

Anyway, I installed the Guestbook contrib early on and it has worked great the entire time.

But recently, after site has been running a while, someone posted and now I get a Divide by zero problem

Warning: Division by zero in /htdocs/includes/classes/split_page_results.php on line 59

I have not edited split_page_results.php at all.

I have a feeling that it may be trying to use a function that was in application top.

I removed many of the things that were in app top because we didn't need them.

But the weirdest, is that it quit working and no modifications had been done.

Anyway...while it worked, I have to say it worked much better than the others I tested...=)

Nice contrib nonetheless. It still works great on my other sites.

Link to comment
Share on other sites

  • 7 months later...

Hello,

 

i have installed the newest Version (Guestbook for osC MS2 v2.0) of this good Contribution.

 

 

I have now in the Adminarea the following Error Message when i edit a Guestbook entry.

 

Warning: Wrong parameter count for array_merge() in /home/y/yourdomain/public_html/files/catalog/admin/guestbook.php on line 91

Warning: Variable passed to reset() is not an array or object in /home/y/yourdomain/public_html/files/catalog/admin/includes/classes/object_info.php on line 17

Warning: Variable passed to each() is not an array or object in /home/y/yourdomain/public_html/files/catalog/admin/includes/classes/object_info.php on line 18

 

Can you help me at this problem?

 

LG Fallout

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

i have installed the newest Version Guestbook for osC MS2 v2.0

 

I don't have any links or options in admin to edit/remove entries, but when I go to admin/guestbook.php i get this error.

 

Fatal error: Call to undefined function: tep_get_visitors_name() in /hsphere/local/home/mysite.com/admin/guestbook.php on line 287

 

If anyone can help me, i would appreciate it...

Link to comment
Share on other sites

  • 1 month later...
i have installed the newest Version Guestbook for osC MS2 v2.0

 

I don't have any links or options in admin to edit/remove entries, but when I go to admin/guestbook.php i get this error.

 

Fatal error: Call to undefined function: tep_get_visitors_name() in /hsphere/local/home/mysite.com/admin/guestbook.php on line 287

 

If anyone can help me, i would appreciate it...

 

/catalog/admin/includes/functions/general.php

------------------------------------

 

Add this code,

 

 

 

//Guestbook for OSC v2.0 begin
function tep_get_visitors_name($entry_id) {
  
   $guestbook_query = tep_db_query("select visitors_name from " . TABLE_GUESTBOOK . " where entry_id = '" . (int)$entry_id . "'");
   $guestbook = tep_db_fetch_array($guestbook_query);

   return $guestbook['visitors_name'];
 }


function tep_set_entry_status($entry_id, $status) {
   if ($status == '1') {
     return tep_db_query("update " . TABLE_GUESTBOOK . " set entry_status = '1', last_modified = now() where entry_id = '" . (int)$entry_id . "'");
   } elseif ($status == '0') {
     return tep_db_query("update " . TABLE_GUESTBOOK . " set entry_status = '0', last_modified = now() where entry_id = '" . (int)$entry_id . "'");
   } else {
     return -1;
   }
 }
//Guestbook for OSC v2.0 end

Edited by 241

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

  • 2 months later...

Warning: Division by zero in /home/virtual/siteXX/fst/var/www/html/catalog/includes/classes/split_page_results.php on line 59

1064 - You have an error in your SQL syntax near 'GUESTBOOK_MAX_DISPLAY_ENTRIES' at line 1

 

select g.entry_id, gd.entry_text as guestbook_text, g.entry_rating, g.date_added, g.visitors_name, g.visitors_location from guestbook g, guestbook_description gd where g.entry_id = gd.entry_id and gd.languages_id = '1' and g.entry_status = '1' order by g.entry_id desc limit -0, GUESTBOOK_MAX_DISPLAY_ENTRIES

 

 

Is what I am getting also there are no configuration options in the admin section.

 

HELP!

 

TIA,

 

John

--

 

John Cannon

Link to comment
Share on other sites

Warning: Division by zero in /home/virtual/siteXX/fst/var/www/html/catalog/includes/classes/split_page_results.php on line 59

1064 - You have an error in your SQL syntax near 'GUESTBOOK_MAX_DISPLAY_ENTRIES' at line 1

 

select g.entry_id, gd.entry_text as guestbook_text, g.entry_rating, g.date_added, g.visitors_name, g.visitors_location from guestbook g, guestbook_description gd where g.entry_id = gd.entry_id and gd.languages_id = '1' and g.entry_status = '1' order by g.entry_id desc limit -0, GUESTBOOK_MAX_DISPLAY_ENTRIES

Is what I am getting also there are no configuration options in the admin section.

 

HELP!

 

TIA,

 

John

 

Got it fixed guess the config didn't take when I first did it

 

Another Question:

 

Can I disable the comments as a default instead of having them posted...

 

I would rather have them not show and manually enable them. Will sniff the code now...

 

Thanks,

 

John

--

 

John Cannon

Link to comment
Share on other sites

  • 1 year later...

Hi i installedVVCode Mod FULL PACK joma 21 Nov 2006 :

 

1) i think in the install instruction there is a mistake , what i put in black is not to past , it s already in the file :

 

3rd Step - Open catalog/guestbook_sign.php

 

find

 

-------------

$messageStack->add('guestbook', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
  }
}

-------------

 

Under that ADD

 

-------------

//VISUAL VERIFY CODE start
 require(DIR_WS_FUNCTIONS . 'visual_verify_code.php');
$code_query = tep_db_query("select code from visual_verify_code where oscsid = '" . $HTTP_GET_VARS['osCsid'] . "'"); 
$code_array = tep_db_fetch_array($code_query);
$code = $code_array['code'];
tep_db_query("DELETE FROM " . TABLE_VISUAL_VERIFY_CODE . " WHERE oscsid='" . $vvcode_oscsid . "'"); //remove the visual verify code associated with this session to clean database and ensure new results 
$user_entered_code = $HTTP_POST_VARS['visual_verify_code'];
if (!(strnatcmp($user_entered_code, $code) == 0)) {	//make the check case sensitive
// if (!(strnatcasecmp($user_entered_code, $code) == 0)) {	//make the check case insensitive 
	$error = true;
	$messageStack->add('guestbook', VISUAL_VERIFY_CODE_ENTRY_ERROR);
}
//VISUAL VERIFY CODE stop

// AZER THINKS THIS PART IS NOT TO ADD AS WRITTEN IN INSTALL INSTRUCTION  ********: 
if( substr_count($gb_text, 'href'))
	{
 $error = true;
  $messageStack->add('guestbook', 'Please edit your message and remove html hyperlinks ** Take out "href" tag **'); 
}
if( substr_count($gb_text, 'http'))
	{
 $error = true;
  $messageStack->add('guestbook', 'Please edit your message and remove html hyperlinks ** Take out "http" tag **'); 
}

 

 

2) i got nothing showing at the vcc code location and the url when i right click is :

 

http://localhost/ms2fr/shop/vvc_display.php?vvc=

 

so something missing

 

 

 

3) maybe joma could make a new package , and also give his modified files so that we could make a comparaison to our files

 

4) what is the version of vcc contreibution he use ?

Edited by azer

MS2

Link to comment
Share on other sites

for my error i got heis debug message :

 

Undefined variable: vvcode_oscsid

At \ms2fr\shop\guestbook_sign.php:198

 

and the 198 line is :

 

 <td class="main" align="right"><?php echo '<img src="' . FILENAME_VISUAL_VERIFY_CODE_DISPLAY . '?vvc=' . $vvcode_oscsid . '"'; ?></td>

MS2

Link to comment
Share on other sites

hey guys, sorry bout this, this is really freakin me out...i tried to install this in another osc store and am having your issues....WHAT THE ?? how is it working on the other site has me frigged, just hold off for a bit and i will try figure this bloody thing out.

Link to comment
Share on other sites

hey buddy dont worry , we work on it together

when i look at the cvv contribution , in contact us.php i can see that there is a whole function that is maybe missing form you install:

 

<?php

//can replace the following loop with $visual_verify_code = substr(str_shuffle (VISUAL_VERIFY_CODE_CHARACTER_POOL), 0, rand(3,6)); if you have PHP 4.3

$visual_verify_code = "";

for ($i = 1; $i <= rand(3,6); $i++){

$visual_verify_code = $visual_verify_code . substr(VISUAL_VERIFY_CODE_CHARACTER_POOL, rand(0, strlen(VISUAL_VERIFY_CODE_CHARACTER_POOL)-1), 1);

}

$vvcode_oscsid = tep_session_id($HTTP_GET_VARS[tep_session_name()]);

tep_db_query("DELETE FROM " . TABLE_VISUAL_VERIFY_CODE . " WHERE oscsid='" . $vvcode_oscsid . "'");

$sql_data_array = array('oscsid' => $vvcode_oscsid, 'code' => $visual_verify_code);

tep_db_perform(TABLE_VISUAL_VERIFY_CODE, $sql_data_array);

$visual_verify_code = "";

echo('<img src="' . FILENAME_VISUAL_VERIFY_CODE_DISPLAY . '?vvc=' . $vvcode_oscsid . '"');

?>

 

 

when i use this code , then there is full path where before i add the incomplete path n but still no image shown

MS2

Link to comment
Share on other sites

yeah, i used one of the contributions with the contact us and the tell a friend, i used the snippets from tell a friend to intergrade into the guestbook, i really dont understand why this is like this, i might try installing a new store on the same server as the working mod and see if there is a config difference on the server or something,because it just does not make sence, i have even put all the same files in the other server and nothing, maybe im missing a change i made somewhere, but i looked through the vv code mod aswell but only came up with the same problems didn't seem like i was missing anything...hmmm....*scratching his eyes out*

Link to comment
Share on other sites

  • 4 weeks later...

hey thanks i got it working using that code example you shown.

 

here it is my whole guestbook_sign.php it works!! :)

 

 

<?php
/*
 $Id: guestbook_sign.php,v 1.0 2003/07/15 Exp $

 Guestbook for osC(2.2MS2) v1.0

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 require('includes/application_top.php');

 if (GUESTBOOK_SHOW == 'false') {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'SSL'));
 }

 require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_GUESTBOOK_SIGN);

 if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) {
$gb_name = tep_db_prepare_input($HTTP_POST_VARS['gb_name']);
$gb_email = tep_db_prepare_input($HTTP_POST_VARS['gb_email']);
$gb_location = tep_db_prepare_input($HTTP_POST_VARS['gb_location']);
$gb_text = tep_db_prepare_input($HTTP_POST_VARS['gb_text']);

$error = false;
if (strlen($gb_name) < GUESTBOOK_NAME_MIN_LENGTH) {
  $error = true;

  $messageStack->add('guestbook', JS_GUESTBOOK_NAME);
}
if (strlen($gb_text) < GUESTBOOK_TEXT_MIN_LENGTH) {
  $error = true;

  $messageStack->add('guestbook', JS_GUESTBOOK_TEXT);
}

if (!empty($gb_email)) {
  if (tep_validate_email($gb_email)) {
	//mail to store owner
	tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_OWNER_SUBJECT, $gb_text, $gb_name, $gb_email);

	//mail to visitor
	$email_text = sprintf(EMAIL_VISITOR_GREET, $gb_name);
	$email_text .= EMAIL_VISITOR_MESSAGE;
	tep_mail($gb_name, $gb_email, EMAIL_VISITOR_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
  } else {
	$error = true;

	$messageStack->add('guestbook', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
  }
}
//VISUAL VERIFY CODE start
 require(DIR_WS_FUNCTIONS . 'visual_verify_code.php');
$code_query = tep_db_query("select code from visual_verify_code where oscsid = '" . $HTTP_GET_VARS['osCsid'] . "'");
$code_array = tep_db_fetch_array($code_query);
$code = $code_array['code'];
tep_db_query("DELETE FROM " . TABLE_VISUAL_VERIFY_CODE . " WHERE oscsid='" . $vvcode_oscsid . "'"); //remove the visual verify code associated with this session to clean database and ensure new results
$user_entered_code = $HTTP_POST_VARS['visual_verify_code'];
if (!(strnatcmp($user_entered_code, $code) == 0)) {	//make the check case sensitive
// if (!(strnatcasecmp($user_entered_code, $code) == 0)) {	//make the check case insensitive
	$error = true;
	$messageStack->add('guestbook', VISUAL_VERIFY_CODE_ENTRY_ERROR);
}
//VISUAL VERIFY CODE stop

		if( substr_count($gb_text, 'href'))
{
  $error = true;
  $messageStack->add('guestbook', 'Please edit your message and remove html hyperlinks');
}

if ($error == false) {
  tep_db_query("insert into " . TABLE_GUESTBOOK . " (visitors_name, visitors_email, visitors_location, date_added) values ('" . tep_db_input($gb_name) . "', '" . tep_db_input($gb_email) . "', '" . tep_db_input($gb_location) . "', now())");
  $insert_id = tep_db_insert_id();

  tep_db_query("insert into " . TABLE_GUESTBOOK_DESCRIPTION . " (entry_id, languages_id, entry_text) values ('" . (int)$insert_id . "', '" . (int)$languages_id . "', '" . tep_db_input($gb_text) . "')");

  tep_redirect(tep_href_link(FILENAME_GUESTBOOK, tep_get_all_get_params(array('action'))));
}
 } elseif (tep_session_is_registered('customer_id')) {
$account_query_one = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'");
$account_one = tep_db_fetch_array($account_query_one);

	$account_query_two = tep_db_query("select a.entry_country_id, b.countries_id, b.countries_name from " . TABLE_ADDRESS_BOOK . " a, " . TABLE_COUNTRIES ." b where a.customers_id = '" . (int)$customer_id . "' and a.entry_country_id = b.countries_id");
$account_two = tep_db_fetch_array($account_query_two);

$gb_name = $account_one['customers_firstname'] . ' ' . $account_one['customers_lastname'];
$gb_email = $account_one['customers_email_address'];
	$gb_location = $account_two['countries_name'];
 }

 $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_GUESTBOOK, tep_get_all_get_params()));
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="<? echo THEMA_STYLE;?>">
<script language="javascript"><!--
function checkForm() {
 var error = 0;
 var error_message = "<?php echo JS_ERROR; ?>";

 var gb_name = document.guestbook_sign.gb_name.value;
 var gb_text = document.guestbook_sign.gb_text.value;

 if (gb_name.length < <?php echo GUESTBOOK_NAME_MIN_LENGTH; ?>) {
error_message = error_message + "<?php echo JS_GUESTBOOK_NAME; ?>";
error = 1;
 }

 if (gb_text.length < <?php echo GUESTBOOK_TEXT_MIN_LENGTH; ?>) {
error_message = error_message + "<?php echo JS_GUESTBOOK_TEXT; ?>";
error = 1;
 }

 if (error == 1) {
alert(error_message);
return false;
 } else {
return true;
 }
}
//--></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<td width="100%" valign="top"><?php echo tep_draw_form('guestbook_sign', tep_href_link(FILENAME_GUESTBOOK_SIGN, 'action=process'), 'post', 'onSubmit="return checkForm();"'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
<?php
 if ($messageStack->size('guestbook') > 0) {
?>
  <tr>
	<td><?php echo $messageStack->output('guestbook'); ?></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
<?php
 }
?>
  <tr>
	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	  <tr class="infoBoxContents">
		<td><table border="0" width="100%" cellspacing="2" cellpadding="2">
		  <tr>
			<td class="main" width="30%"><?php echo ENTRY_NAME; ?></td>
			<td class="main"><?php echo tep_draw_input_field('gb_name'); ?></td>
			<td class="main" align="right"></td>

		  </tr>
		  <tr>
			<td class="main"><?php echo ENTRY_EMAIL; ?></td>
			<td class="main"><?php echo tep_draw_input_field('gb_email') . ENTRY_HELP_OPTIONAL; ?></td>
<td class="main" align="right"></td>

		  </tr>
		  <tr>
			<td class="main"><?php echo ENTRY_LOCATION; ?></td>
			<td class="main"><?php echo tep_draw_input_field('gb_location') . ENTRY_HELP_OPTIONAL; ?></td>
			<!-- VISUAL VERIFY CODE-- START-->
  <tr>
	<td class="main"><?php echo VISUAL_VERIFY_CODE_TEXT_INSTRUCTIONS; ?></td>
	<td class="main"><?php   //can replace the following loop with $visual_verify_code = substr(str_shuffle (VISUAL_VERIFY_CODE_CHARACTER_POOL), 0, rand(3,6)); if you have PHP 4.3
				$visual_verify_code = "";
				for ($i = 1; $i <= rand(3,6); $i++){
					  $visual_verify_code = $visual_verify_code . substr(VISUAL_VERIFY_CODE_CHARACTER_POOL, rand(0, strlen(VISUAL_VERIFY_CODE_CHARACTER_POOL)-1), 1);
				 }
				 $vvcode_oscsid = $HTTP_GET_VARS['osCsid'];
				 tep_db_query("DELETE FROM " . TABLE_VISUAL_VERIFY_CODE . " WHERE oscsid='" . $vvcode_oscsid . "'");
				 $sql_data_array = array('oscsid' => $vvcode_oscsid, 'code' => $visual_verify_code);
				 tep_db_perform(TABLE_VISUAL_VERIFY_CODE, $sql_data_array);
				 $visual_verify_code = "";
	 echo tep_draw_input_field('visual_verify_code') . ENTRY_CASE_SENSATIVE; 
	 echo('<br>');
	 echo('<img src="' . FILENAME_VISUAL_VERIFY_CODE_DISPLAY . '?vvc=' . $vvcode_oscsid . '"');?>
	 </td>

  </tr>

<!-- VISUAL VERIFY CODE-- STOP -->

		  </tr>
		  <tr>
			<td class="main"><?php echo ENTRY_ENQUIRY; ?></td>
		  </tr>
		  <tr>
			<td colspan="2"><?php echo tep_draw_textarea_field('gb_text', 'soft', 60, 15); ?></td>
		  </tr>
		  <tr>
			<td colspan="2" class="smallText" align="right"><?php echo TEXT_NO_HTML; ?></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
  <tr>
	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	  <tr class="infoBoxContents">
		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
		  <tr>
			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
			<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_GUESTBOOK, tep_get_all_get_params(array('entry_id', 'action'))) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td>
			<td class="main" align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>
			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
  </tr>

</table></form></td>
<!-- body_text_eof //-->
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td>
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

wow yo

 

 

 

 

hey buddy dont worry , we work on it together

when i look at the cvv contribution , in contact us.php i can see that there is a whole function that is maybe missing form you install:

 

<?php

//can replace the following loop with $visual_verify_code = substr(str_shuffle (VISUAL_VERIFY_CODE_CHARACTER_POOL), 0, rand(3,6)); if you have PHP 4.3

$visual_verify_code = "";

for ($i = 1; $i <= rand(3,6); $i++){

$visual_verify_code = $visual_verify_code . substr(VISUAL_VERIFY_CODE_CHARACTER_POOL, rand(0, strlen(VISUAL_VERIFY_CODE_CHARACTER_POOL)-1), 1);

}

$vvcode_oscsid = tep_session_id($HTTP_GET_VARS[tep_session_name()]);

tep_db_query("DELETE FROM " . TABLE_VISUAL_VERIFY_CODE . " WHERE oscsid='" . $vvcode_oscsid . "'");

$sql_data_array = array('oscsid' => $vvcode_oscsid, 'code' => $visual_verify_code);

tep_db_perform(TABLE_VISUAL_VERIFY_CODE, $sql_data_array);

$visual_verify_code = "";

echo('<img src="' . FILENAME_VISUAL_VERIFY_CODE_DISPLAY . '?vvc=' . $vvcode_oscsid . '"');

?>

when i use this code , then there is full path where before i add the incomplete path n but still no image shown

Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...