Lost Password?


home | tags | Search | Feed
Tag >> JavaScript

Zend: PHP Security Webinar

Posted by: Jordan in XSSSecurityProgrammingPHPJavaScript on

I attended the Zend: PHP Security Webinar today which is a free one hour course by Zend using Webex presented by Kevin Schroeder.  I'll use this blog for my notes and to discuss some of the information presented.  The actual webinar presented a lot more information than this and I expect the Zend course covers even more.  This brief introduction was enough to entice me to signing up for the full

JSON

Posted by: Jordan in ProgrammingJSONJavaScriptFeedparser on

JSON seems to be a popular term appearing everywhere now. I discovered it while working on CCIT and ran into a Cross Site/Domain AJAX  issue. Well, I had a bit of time today to look into it and I learned quite a bit.

What does JSON stand for?
JavaScript Object Notation What is it? JSON is the successor of XML and, put simply, is just an organized data structure used for exchanging information.

Crashing IE

Posted by: Jordan in ProgrammingJavaScript on

IE still has a lot of bugs and I thought most were fixed in IE 7. This one bug I discovered while working with CCIT. I needed to include a div tag in the body for the TipLayer (the TipLayer is hidden until activated). I used the same DOM method as described here: Include a JavaScript file from a JavaScript file.

Here is the code I used:

function insertDiv() {
var s =


Cross Site/Domain AJAX

Posted by: Jordan in JavaScriptCodeCall on

I've been working with CCIT a bit lately and ran into an AJAX problem that prevented my script from working. I'm unsure how to finish the project now since the original intention was to allow other websites (on other domains) to display the CodeCall Inline Text feature.

AJAX - Cross Domain AJAX
Using AJAX from one site to another doesn't work well. The problem is a security issue that prevents

Cross Site Scripting (XSS)

Posted by: Jordan in XSSSecurityProgrammingPHPJavaScript on

XSS or Cross Site Scripting is the newest trend for hacking and a very popular one. XSS is a very easy method to gain access to a website. Put simply, XSS is injecting a JavaScript forward script into any user input field on a target site. The forward URL will generally be a log script that steals your cookie information (or session ID).

Once the hacker has this information they can take over


Include a JavaScript file from a JavaScript file

Posted by: Jordan in ProgrammingJavaScript on

It is fairly easy to include a JavaScript file in your HTML. You can read a CodeCall Tutorial on it HERE.

But what if you wanted to include another external JavaScript file from inside your first external JavaScript file (in this case you would include another file from javaScriptFile.js)? I needed to do this in order to finish one of my projects, CCIT. I found two ways to accomplish this.



Statistics

Members Today: 213
Members Online: 5
Users Online: 100
Total Users: 15,203
Total Threads: 10,396
Total Posts: 97,570
Newest Member: kpkkpk12

Tutorials

How do I make a [insert standard program assignmen...
OK, you just got your first hard program to build. Maybe it's part of your final project, maybe your teacher is just sadistic. It's hard to tell. Regardless, this thing is BIG. No, really big! No...


C# Tutorial - How To Open New Forms
OK, this question seems to have popped up quite a lot, and it's really quite simple, so here's some details about how to open secondary forms from a main form. Example We have a main form. The u...


Implementing a Fuzzy Set
Before reading this tutorial, be sure to read and . Now we're going to look at fuzzy sets. The key characteristic of this is that every item of interest contains two values: the quantity of interes...