View Single Post
  #1  
Old 11-15-2020, 03:29 PM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia!
 
Join Date: May 2020
Location: Tennessee
Posts: 130
Gender: Female
Credits: 27,285
Micolai is on a distinguished road
Question Stripslashes and server time zone?

So I have a couple questions. First one is needing help with stripslashes in users bios. I found one post that helped fix some of the other areas with this same issue but I'm still stuck with the bio one.
I keeps running into things with the ' into having slashes. So

I'm

becomes

I/'m.

I found in accountview.php a bio section:

Quote:
$profileForm->add(new Comment("Name: ", FALSE));
$profileForm->add(new TextField("nickname", $profile->getNickname()));
$profileForm->add(new Comment(""));
$profileForm->add(new Comment("Gender: ", FALSE));
$profileForm->add(new TextField("gender", $profile->getGender()));
$profileForm->add(new Comment(""));
$profileForm->add(new Comment("Bio: "));
$profileForm->add(new TextArea("bio", $profile->getBio()));
$profileForm->add(new Comment($lang->bio));
but I'm unsure if this is the area I need to use to fix it, or what code to even use.
________________

My next question is what is the time zone for the server? I'm trying to make a code that changes an image based on thy hour, and for some reason results are turning out weird lol like my time zone didn't match the server was my only guess.

Any help would be really appreciated,

thank you!
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote