[56k warning] Critique my site

JavaScript and client side scripting.

Moderator: General Moderators

AshrakTheWhite
Forum Commoner
Posts: 69
Joined: Thu Feb 02, 2006 6:47 am

Post by AshrakTheWhite »

also make sure your htmlspecialchars and mysql_real_escape_string all your input areas!


and use post for sending all the player type in stuff not get :)



- Ashrak
houston
Forum Newbie
Posts: 17
Joined: Tue Jun 27, 2006 6:41 pm

Post by houston »

Thanks for the valuable input, I'll work on sealing these security holes you've brought up

after that comes some minor tweaking to the graphics - I noticed a line in my header where the video starts on the black Rx and I've got some other color consistency things to work out. As well as adding a standard email link to the contact page and then finally validating the whole thing. I'm getting close and closer :)

1 more question while I'm at it - w3c is rejecting the EMBED tag I've used to include my flash header in the site. Since EMBED isn't a validating tag I need to find an alternate way of including the swf. What's my best option?
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

http://www.w3schools.com/flash/flash_inhtml.asp

w3schools is a GREAT place to find stuff like that. They always know what to use when things are depricated. :D
houston
Forum Newbie
Posts: 17
Joined: Tue Jun 27, 2006 6:41 pm

Post by houston »

contact page's email form has been renovated
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

The Ninja Space Goat wrote:http://www.w3schools.com/flash/flash_inhtml.asp

w3schools is a GREAT place to find stuff like that. They always know what to use when things are depricated. :D
Except that the page you linked to recommends the embed tag, which is deprecated.

The alternative is to use object.

Code: Select all

<object
        type="application/x-shockwave-flash"
        data="http://www.macromedia.com/shockwave/download/triggerpages/flash.swf"
        width="300"
        height="120">
    <param
        name="movie"
        value="http://www.macromedia.com/shockwave/download/triggerpages/flash.swf" />
</object>
houston
Forum Newbie
Posts: 17
Joined: Tue Jun 27, 2006 6:41 pm

Post by houston »

thanks for the snippet :D
Post Reply