|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Calendar needs stripslashes
Hi,
I just got the calendar that I downloaded from this site to work, but the variable *$eName* needs stripslashes. I entered something in there that had an apostrophe, but those evil slashes appeared. I tried *$eName = stripslashes($eName);* in a bunch of places in the *ltw_classes.php* and it just laughed at me. Where can I put this code? Thanks |
|
#2
|
|||
|
|||
|
RE: Calendar needs stripslashes
Hi,
Just curious if anyone has a way to get rid of the slashes that I described in the above posting. Thanks for your help. |
|
#3
|
|||
|
|||
|
RE: Calendar needs stripslashes
pssst dont let anyone know i told you ...
COUGH $ename = $_POST['ename']; $ename = stripslashes($ename); Just put them at the top END OF COUGH |
|
#4
|
|||
|
|||
|
RE: Calendar needs stripslashes
I always use this function so I never have to stripslashes.
First of all you have to ensure magic_quotes_gpc is turned of. you can use the ini_set() function for that task |
|
#5
|
|||
|
|||
|
RE: Calendar needs stripslashes
Hey Hatcher,
I tried what you said not to tell anyone you told me, but it came up empty. The slashes are still there. Any other ideas? I promise not to tell anyone. Thanks again. |
|
#6
|
|||
|
|||
|
RE: Calendar needs stripslashes
this would be easier with the whole code, hmmmcontact me on aim or email me(hatcher@hatcher.depot-network.com) and send me the whole code, ill see what i can do!
|
![]() |
| Viewing: Codewalkers Forums > Projects > ltwCalendar > Calendar needs stripslashes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|