Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Apostrophes in text fields fucking up

Name: Anonymous 2007-06-13 13:02 ID:11k7YwRK

I think this goes here more than in /comp/.

I have a simple html template with a few text fields to fill up. When I enter apostrophes ' in the text field, it gets converted to \' in the finished page. The pages seem to be utf-8 encoded, and I have no control over this (it's a template for an auction site). Apostrophes that are in the template itself are unaffected.

I tried pasting text there with various encodings, but neither helped. What am I doing wrong?

Name: Anonymous 2007-06-13 13:06 ID:Heaven

                       //`'''```,
             o        //LISP   `.,
       ,....OOo.   .c;.',,,.'``.,,.`
    .'      ____.,'.//
   / _____  \___/.'
  | / ||  \\---\|
  ||  ||   \\  ||
  co  co    co co

Use it; PHP is not Touring-complete.

Name: Anonymous 2007-06-13 13:12 ID:ej/yYpmn

>>2
shutup suave space toad lisp

Name: Anonymous 2007-06-13 13:24 ID:Heaven

>>1
You're using PHP.

Name: Anonymous 2007-06-13 13:26 ID:11k7YwRK

>>4
I'm not. The text fields are put into template by the auction site's custom <description> tag. If it's being PHP processed when generating the final page after filling the fields, I have no control over this.

Name: Anonymous 2007-06-13 13:29 ID:Heaven

What am I doing wrong?
using php.

Name: Anonymous 2007-06-13 13:30 ID:11k7YwRK

>>6
Fuck you.

Name: Anonymous 2007-06-13 13:43 ID:Heaven

>>1
Read the fucking documentation on "magic_quotes_gpc" and whatrelated. Then read SICP.

ONE WORD, FORCED ESCAPE OF SPECIAL CHARACTERS, THREAD OVER.

Name: Anonymous 2007-06-13 13:56 ID:IjDOmlxC

>>1
For PHP:
The following misfeatures are pure shit. Disable them immediately:
- Register globals
- Magic quotes
- Safe mode

Then fix your shit to work with this. If it says it needs any of these misfeatures, then delete it, it's bullshit.

Name: Anonymous 2007-06-13 14:16 ID:11k7YwRK

You're fucking useless.

Name: Anonymous 2007-06-13 14:22 ID:Heaven

You're all worthless. Thanks for the help. I've made more progress on my own. This is why I left forums in the first place, is because of 30-40+ yr old assholes that think it's funny to be fucking deuchbags. Nice guys nice. I hope I see you assholes bleeding on the street and when you say, Help me! I'll piss on your fucking face, and then shit in your mouth and watch you choke to death. Fuck you

Name: Anonymous 2007-06-13 14:23 ID:zXDH+43N

PHP, don't use it!

Name: Anonymous 2007-06-13 14:25 ID:Heaven

this board is called /prog/ for a reason.
if you come here asking for help and you don't know that php is shit, you should be prepared for the consequences.

Name: Anonymous 2007-06-13 14:35 ID:Heaven

Real EXPERT PROGRAMMERS don't let other EXPERT PROGRAMMERS use PHP.

Name: Anonymous 2007-06-13 19:05 ID:uBuvnU9h

>>13
so let us roll around in our "faggy" "shitty" programming languages then.

Name: ​​​​​​​​​​ 2010-10-24 6:18

Name: Anonymous 2010-11-16 3:00


Don't change these.
Name: Email:
Entire Thread Thread List