Search found 4 matches

by shiningtor
Tue Apr 22, 2008 5:45 am
Forum: PHP - Code
Topic: Array - Parse error problem
Replies: 1
Views: 96

Array - Parse error problem

Hi I have a 'Parse error' problem that I have no idea of how to solve. What is wrong with the following? This code is in a file and is loaded into memory using 'include'. This is part of a larger program for which I've isolated this part. <?php class parser { private $config = array ( "open_str...
by shiningtor
Wed Mar 19, 2008 11:53 am
Forum: PHP - Security
Topic: SQL Injection Attack provention help
Replies: 4
Views: 1016

SQL Injection Attack provention help

I'm getting really bogged down over SQL Injection Attack provention. The more I read the worst it gets. Is it only INSERT and SELECT querys that can suffer SQL Injection Attacks? What about UPDATE? Do you use mysql_real_escape_string() for data being updated? I've been looking at http://uk.php.net/m...
by shiningtor
Sun Jan 13, 2008 2:19 pm
Forum: PHP - Code
Topic: DOCTYPE prob
Replies: 4
Views: 1652

Re: DOCTYPE prob

Many thanks for that.

Shiningtor :lol:
by shiningtor
Fri Jan 11, 2008 10:55 am
Forum: PHP - Code
Topic: DOCTYPE prob
Replies: 4
Views: 1652

DOCTYPE prob

Hi I have changed my server to enable webpages with html extensions to use PHP. How do I display a webpage with this DOCTYPE (see below) because the browser now displays an error for the first line? <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XH...