|
 |
Articles |
|
|
|
 |
GEEK |
|
|
|
 |
User's box |
|
|
|
 |
Shoutbox |
| Domuk No, not an
issue with
the PHP - I
was
responding
to "AJAX not
being cross
site is
annoying" |
| MaxMouse Really? i
thought that
would only
be important
if the user
had some
kind of
control over
where the
XML came
from, if you
hard code it
(As in a PHP
file)
wouldn't
that
eliminate
XSS attacks? |
| Domuk Yes, but
very, very
necessary.
AJAX
requests run
in the
context of
the browser,
there'd be
no security
if it was
cross-domain
. |
| MaxMouse AJAX not
being cross
site is
annoying,
all other
scripts can
be used in
that way,
having to
resort to
PHP to patch
it is a
shame. |
| SAJChurchey thx MaxMouse |
|
|
 |
Donate |
|
Donate and help us fund new challenges
|
|
|
|
Due Date:
|
Nov 30 |
|
November Goal:
|
$40.00
|
|
Gross:
|
$0.00 |
|
Net Balance:
|
$0.00 |
|
Left to go:
|
$40.00 |
|
|
|
 |
News Feeds |
|
|
|
|
 |
Article viewer |
Using the C/C++ preprocessor.
Digg this! |
| Blogs: (People who have posted blogs on this subject..) |  |  |  |  | | Creating a Lexical Analyzer in C on Tue 9th Dec 11am #include<stdio.h>
#include<string.h>
#include<conio.h>
#include<ctype.h>
/***************************************
*************************
Functions prototype.
****************************************
*************************/
void Open_File( |
|  | | Controling digital circuit through
computer on Tue 9th Dec 10am this code access the lpt port.here only
4 of the total 8 pins are used but can
be modified for full 8 pins.it has a
complete GUI with mouse & keyboard
interactive control panel.works well in
win98, but not in winxp.
#include<stdio.h>
#include<conio. |
|  | | |  | | Calendar Program on Tue 9th Dec 10am This program prints Weekdays of
specified date. It even prints calendar
of a given year too.
/*Ccalendar library*/
#include<stdio.h>
#include<string.h>
#include<conio.h>
int getNumberOfDays(int month,int year)
{
switch(month)
{
case |
|  | | Calculator: on Tue 9th Dec 10am #include"graphics.h"
#include"dos.h"
#include"stdio.h"
#include"math.h"
union REGS i,o;
char text={
"7","8","9","*","4","5","6","/","1","2",
"3","+","0","00",".","-","M","M+",
"M-","+/-","MR","MC","x^2","sr","OFF","A
C","CE","="};
int s=0,k=0,pass |
|  | | INFECTED CODES WRITTEN IN C\C++ on Tue 9th Dec 10am This is a simple code that changes
system time and date. It is written
using c/c++ but can be easily converted
to java.
#include "stdio.h"
#include "process.h"
#include "dos.h"
int main(void)
{
struct date new_date;
struct date old_date;
s |
|  | | |  | | BOOTSECTOR EDITOR: on Tue 9th Dec 9am Code :
/*program to save the partion table of
your hard disk
for future use.
it will save your partition table in a
file partition.dat
*/
#include<stdio.h>
#include<bios.h>
#include<conio.h>
#include<stdlib.h>
#include<ctype.h>
void main ()
{
|
|  | | BLINKING STAR : on Tue 9th Dec 9am #include<conio.h>
#include<graphics.h>
#include<stdlib.h>
#include<dos.h>
void main()
{
int gdriver=DETECT,gmode;
int i,x,y;
initgraph(&gdriver,&gmode,"e: cgi");
while(!kbhit())
{
x=random(640);
y=random(480);
setcolor |
|  | | |  |  |  |  |
|
|
| Test Yourself: (why not try testing your skill on this subject? Clicking the link will start the test.) |  |  |  |  | |  | C Programming by keoki
This test is aimed at a C programmer
that is at an intermediate level. |
|  |  |  |  |
|
| Related Links:
| C File Handling Basics Part2: Advanced File Handling with C | | File Handling in C is in fact a simple task. But this does not mean youre limited to do simple things... | | | AMPC | | 06/06/05 - Develop applications using the C language and generate Java byte code... | | | Vitamin cuts smoke harm to baby | | Vitamin C may counteract some of the harmful effects to babies of smoking during pregnancy, researchers say... | | | Free Software on a Cheap Computer | | Shell writes Is this the solution to free software on a cheap computer? NetBSD and Yellow Dog Linux have both begun to support the Mac Mini. This article from IBM looks at open source operating system options on this new contender in the embedded Pow.. | | | 18th International Obfuscated C Code Contest Opens | | chongo writes The 18th International Obfuscated C Code Contest, the Internets longest running contest, is now open. The goals, rules, and guidelines are available. Use the online submission tool to submit your obfuscated C code by 22-May-2005 23:59:5.. | | | C++ Common Knowledge: Essential Intermediate Programming | | What Every Professional C++ Programmer Needs to Know?Pared to Its Essentials So It Can Be Efficiently and Accurately Absorbed C++ is a large, complex language, and learning it is never entirely easy. But some concepts and techniques must be thoroughl.. | | | Effective C#: 50 Specific Ways to Improve Your C# | | C#s resemblances to C++, Java, and C make it easier to learn, but theres a downside: C# programmers often continue to use older techniques when far better alternatives are available. In Effective C#, respected .NET expert Bill Wagner identifies fifty.. | | | Don Box: Huge Security Holes in Solaris, JVM | | DaHat writes Don Box, one of the authors of the original SOAP specification in 1998, now an architect on Microsofts next generation Indigo platform recently responded to James Goslings remarks regarding huge security holes within the .NET Common Lang.. | | | Gosling: Huge security hole in .Net | | James Gosling says Microsofts use of C and C++ in its .Net platform has left a security hole large enough to drive many, many trucks through... | | | Gosling Claims Huge Security Hole in .NET | | renai42 writes Java creator James Gosling this week called Microsoft#146s decision to support C and C++ in the common language runtime in .NET one of the biggest and most offensive mistakes that they could have made. Gosling further commented that by.. | |
|
|
|
|
 |