The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 22, 2019, 06:25:20 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Magic_Quotes_GPC and another mark against PHP  (Read 2105 times)
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« on: October 08, 2007, 09:05:04 AM »

You can't turn this shit off from runtime?!?!
and...
You cant turn it off from the htaccess if the server you are on doesnt have allowoverrides (or something like that set).

DUMB

That magic quotes shit needs to be gotten rid of. Whoever thought that was a good idea should be punched in the nuts by every programmer having an issue with it, and that will be lots from what I have read.

If you are getting quoting problems, its probably magic quotes playing you for a sucker, and you should go read this section on PHP.net
http://us.php.net/manual/en/security.magicquotes.disabling.php

I have to do the stupid function method, but at least when I move my project to a server where I can control the .ini values, then it will fail gracefully.

<middlefinger>magic quotes</middlefinger>
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: October 08, 2007, 09:45:04 AM »

 ROFLMAO

Never knew what that was called but it sure did piss me off when I first started... that was about the first thing I wrote around.

Agree 100%
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #2 on: October 08, 2007, 11:16:16 AM »

thats the kind of shit in a language that pisses me off. Nothing should be ON BY DEFAULT serverside that can't be turned off in runtime. GHEY
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!