TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,976
  • Latest: aicrazy
Stats
  • Total Posts: 196,164
  • Total Topics: 21,352
  • Online today: 625
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 283
  • Total: 284
  • @rjen

backslash quote \" error

Started by slvreagl, August 23, 2010, 08:58:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

slvreagl

ello team,
I have a weird problem with my php block code in Tiny Portal, When I insert the code


global $sourcedir;
include("$sourcedir/DonationBlock.php");


into a new php box of Tiny Portal and save the box the code I just saved turns into this,
Code:

global $sourcedir;
include(\"$sourcedir/DonationBlock.php\");


and if I push the save button again I get this,
Code:

global $sourcedir;
include(\\\"$sourcedir/DonationBlock.php\\\");


This also happens when I try to use html in a article....

before
<img src="http://i266.photobucket.com/albums/ii252/muddtyazz/Yorl%20Install/IMAG0004.jpg">
after
<img src=\"http://i266.photobucket.com/albums/ii252/muddtyazz/Yorl%20Install/IMAG0004.jpg\">




SMF 1.1.11
TinyPortal v1.0 beta5
custom default theme
Firefox
tons of mods installed :)


IchBin

That should be fixed if you update to the latest TP 1 beta 5.2.

This website is proudly hosted on Crocweb Cloud Website Hosting.