Sign in to follow this  
Followers 0

Pb affichage

4 posts in this topic

Posted · Report post

Bonjour

Version premium 3

Quand je cree mes fiches produits , j'ai un petit soucis, j'ai un caractère non désiré qui s'affiche

ex:

je tape cartouche d'encre et il s'affiche cartouche d\'encre

comment faire pour supprimer ce pb

slts

Share this post


: post
Share on other sites

Posted · Report post

Bonjour inkonline,

Concernant ce problème d'antislash devant les guillemets, il faut tout d abord déterminer, si, sur votre hébergement, la directive de configuration magic_quotes_gpc est activée ou non.

Cette directive échappe tous les caractères ' , " , \ avec un antislash.

Puis, il faut regarder dans le code du fichier qui vous concerne les fonctions appelées : mysql_real_escape_string, addslashes, etc...

De manière générale, l'idéal est d'avoir magic_quotes_gpc à off et une protection à base de mysql_real_escape_string.

Cordialeement,

Share this post


: post
Share on other sites

Posted · Report post

Bonjour et merci de votre réponse

Donc il faut modifier ces deux fichiers , mais où se trouve t il ?

Salutations

Share this post


: post
Share on other sites

Posted · Report post

Bonjour inkonline,

Le fichier qui permet de créer les produits est administrer/produits.php

Recherchez la chaîne : "INSERT INTO peel_produits".

Cordialement,

Share this post


: post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

Twitter Advisto ecommerce

Facebook PEEL Shopping