About

hallo

Archives

01 Sep - 30 Sep 2007
01 Mar - 31 Mar 2010
01 Jul - 31 Jul 2010

Links

Dawn

Search!

Last Comments

Martin Fluegge (It's dawning): And I am keen on hearing …
James Roome (It's dawning): I look forward to trying …
Martin Fluegge (It's dawning): Hi Scott, yeah, I know …
Scott Lewis (It's dawning): Hi Martin. Hopefully yo…
Acai Berry (EMF rocks!): Heya..thanks for the post…
Eike Stepper (EMF rocks!): Hi Martin, Nice blog, n…
charlotte (Eclipse (Demo) Ca…): Very nice post you’ve mad…
Gatto999 (The giants are in…): Great !... Ciao from It…
Eike Stepper (Some Sundays are …): I’m sorry to hear about y…
Ralph Mueller (Better late than …): WE’ll keep the drinks fre…

Stuff

Powered by Pivot - 1.40.6: 'Dreadwind' 
XML: RSS Feed 
XML: Atom Feed 

« Ideas and Disappointm… | Home | Dawn and DemoCamps »

Learning by wondering

06 06 09 - 12:30 Since I installed my blog software "Pivot" on my server I had problems with links and URLs. Every link had always the base-URL as prefix which led to links like http://mftech.org/blog/\"http://www.google.de\".
The root of the problem was easily found: While inserting the link something escaped the quotes which led to an unvalid string. First I thought that there was a bug in Pivot. So I installed the software for testing on my local web server and wondered...Everything worked fine.
But where was the difference between both servers? Difference between Windows and Linux? Nay.

Finally I found the cause in the php.ini. The parameter magic_quotes_gpc was set to 'on' on my server. And while it is, every string send by post, get or cookies will be escaped. After searching around I found out that this feature is deprecated since PHP 5 and removed in PHP 6.0. However, after switching it off everything worked fine. But I am still wondering about the default settings of my provider ...
No comments

Trackback link:

Please enable javascript to generate a trackback url

  
Remember personal info?

Emoticons / Textile
  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.

 

Linkdump