Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 YouTube - Member_Profile
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #11
RE: YouTube - Member_Profile
What issue?

My Blog
12-07-2010 09:41 AM
Find all posts by this user Quote this message in a reply
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #12
RE: YouTube - Member_Profile
The security one...

[Image: 468x602b.png]
12-18-2010 12:27 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #13
RE: YouTube - Member_Profile
(12-18-2010 12:27 AM)Skiilz Wrote:  The security one...

I think at least you need to use the htmlspecialchars for the output:

(12-07-2010 08:23 AM)ZiNgA BuRgA Wrote:  Secondly, $userfields['fid8'] is never gone through htmlspecialchars
(and please don't ask what "htmlspecialchars" is - if you care, you can Google it)

(This post was last modified: 12-18-2010 04:09 AM by RateU.)
12-18-2010 04:08 AM
Find all posts by this user Quote this message in a reply
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #14
RE: YouTube - Member_Profile
soo.. I need to make something similar to this one?

PHP Code:
<?php
$new = htmlspecialchars("MY CODE HERE", ENT_QUOTES);
echo $new;
?>


[Image: 468x602b.png]
(This post was last modified: 12-18-2010 04:36 AM by Skiilz.)
12-18-2010 04:36 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #15
RE: YouTube - Member_Profile
You can access it with function shortcut if you use PHP In Template or Template Conditional plugin too.
You can read the first post of the PHP In Template plugin official release thread.
There is an example for that.

12-18-2010 07:05 AM
Find all posts by this user Quote this message in a reply
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #16
RE: YouTube - Member_Profile
Thank you.

HTML Code
<embed src="http://www.youtube.com/v/<func htmlspecialchars_uni>{$userfields['fid8']}</func>" ......


[Image: 468x602b.png]
12-18-2010 09:12 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: