snubbr.com

Att keeps telling me to enable Verisign SSL?

Get a Verisign SSL certificate for 30 days FREE. Click here to use coupon...

Get a free trial of Verisign SSL certificates. Click here for this special deal...
First off, Att keeps telling me to enable Verisign SSL? Hoping for any answer. Second question of mine... When adding a new product why doesn't php work in it?.

How can I go around this so that I can put PHP in there?..

Comments (98)

I'm stumped. I'm not so sure what is the right answer. I'll do some research and get back to you if I discover an useful answer. You should email the people at Verisign as they probably could help you..

Comment #1

I have BTS installed, would I add the exact code you posted to the product_info.tpl.php or do I replace something?.

Thanks in advance!..

Comment #2

You put this.

<?php eval (' ?> '$product_info['products_description']' <?php '); ?>.

In place of this.

$product_info['products_description'].

In products_info.php or product_info.tpl.php fot BTS..

Comment #3

Hi there;.

I cant use HTML tags on products description. For example; I wrote..

It returns.

When I go to the MySql on pruducts table. The product_description field again,.

I think there can be a problem at admin/catagories.php while adding the products..

Any suggestions?.

Thanks a lot and sory for my poor english....

Comment #4

You must have uploaded catalog/includes/functions/database.php into your admin catalog/admin/includes/functions/database.php.

This function is for admin it doesnt call tep_sanitize_string()..

 function tep_db_prepare_input($string) {.

   if (is_string($string)) {.

     return trim(stripslashes($string));.

   } elseif (is_array($string)) {.

     reset($string);.

     while (list($key, $value) = each($string)) {.

       $string[$key] = tep_db_prepare_input($value);.

     }.

     return $string;.

   } else {.

     return $string;.

   }.

 }..

Comment #5

Thanks a lot Dave..

I put correct database.php file and now it works great. Thanks again!..

Comment #6

Thanks Dave!.

Genius like you make our life easier!!..

Comment #7

I was referred to this thread by another for this fix...........however, I don't see the code that's posted in product_info.php........is this supposed to be inserted in /catalog/product_info.php??? or another file??..

Comment #8

Hi.

Another thanks to Dave. The eval function worked for me straight off..

There is another thread similar to this.

Here.

And as mentioned by Germ.

Offhand, I'd say to change this line:.

<p><?php echo stripslashes($product_info['products_description']); ?></p>.

To:.

<p><?php eval (' ?> '$product_info['products_description']' <?php '); ?></p>.

Thought I'd just clarify so if anyone else needs this, it's all in one post. You need to change the above code in the catalog/product_info.php file around line 120 on a default install of 2.2Rc2a.

Cheers.

Ian..

Comment #9

When adding a new product why doesn't php work in it?.

How can I go around this so that I can put PHP in there?..

Comment #10

You can use the eval function in products_info.php but be careful what your doin..

<?php $product_info['products_description'] = ".

<table border=0 width=100% cellspacing=0 cellpadding=0><tr><td width=100%>.

<?php include(DIR_WS_MODULESFILENAME_ALSO_PURCHASED_PRODUCTS); ?>.

</td></tr></table>.

"; ?>.

<?php eval (' ?> '$product_info['products_description']' <?php '); ?>.

This post has been edited by.

User99999999.

: 28 June 2005, 05:48..

Comment #11


This question was taken from a support group/message board and re-posted here so others can learn from it.

 

Categories: Home | Diet & Weight Management | Vitamins & Supplements | Herbs & Cleansing |

Sexual Health | Medifast Support | Nutrisystem Support | Medifast Questions |

Web Hosting | Web Hosts | Website Hosting | Hosting |

Web Hosting | GoDaddy | Digital Cameras | Best WebHosts |

Web Hosting FAQ | Web Hosts FAQ | Hosting FAQ | Hosting Group |

Hosting Questions | Camera Tips | Best Cameras To Buy | Best Cameras This Year |

Camera Q-A | Digital Cameras Q-A | Camera Forum | Nov 2010 - Cameras |

Oct 2010 - Cameras | Oct 2010 - DSLRs | Oct 2010 - Camera Tips | Sep 2010 - Cameras |

Sep 2010 - DSLRS | Sep 2010 - Camera Tips | Aug 2010 - Cameras | Aug 2010 - DSLR Tips |

Aug 2010 - Camera Tips | July 2010 - Cameras | July 2010 - Nikon Cameras | July 2010 - Canon Cameras |

July 2010 - Pentax Cameras | Medifast Recipes | Medifast Recipes Tips | Medifast Recipes Strategies |

Medifast Recipes Experiences | Medifast Recipes Group | Medifast Recipes Forum | Medifast Support Strategies |

Medifast Support Experiences |

 

(C) Copyright 2010 All rights reserved.