In short they are sanity checking for valid input (i.e. trying to determine that an email address is valid), not just protecting you from service abuse (i.e. using features of the protocol to make the system do something unexpected).
Thanks for sticking with me (and the long delays between replies).
So, given that this is an age old problem, how come they both take different strategies to sanity checking and injection prevention? You'd have thought that for such a well known issue there's almost be an industry 'standard' approach for both issues and which is optimised in every which way, well tested and verified etc. For two of the major OS projects delivering this functionality to be taking different approaches / models seems kinda odd - you know, learn what is best from each other and slowly but surely they coalesce onto the exact same code.
Also interested to know if you add the 'correct' rules to Quickform2 then do you get the same / better / worse sanity / injection checking that PHP Mailer and PEAR Mail provide?
$con = mysql_connect("database","uername","password");
die('Could not connect: ' . mysql_error());
mysql_query("UPDATE users SET money=money+1000 WHERE username = '". $_SESSION['username']."'");
this is the errors
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/12/8488612/html/users/1000.php:2) in /home/content/12/8488612/html/users/1000.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8488612/html/users/1000.php:2) in /home/content/12/8488612/html/users/1000.php on line 20
Perhaps you have used Unicode for designing your webpage,
beside that "session_start()" must be the first line of your web page . so some times one code has been added to the page for encoding purpose. it's better to use standard PHP editor like "Zend Studio" to see and remove this code before session_start()
There is no way we can provide an answer to a question like this. The first thing you need to do is to decide what data you need to keep in your database, and then start thinking about what to put in your tables and how the information may need to be linked. However, if you have no experience of databases you may need to do some studying in advance - some of these links[^] may be useful to help you get started.
Are trying to get some sort of loading like a story line of social sites, where more data is loaded when you scroll down.
If so then you will have to create some sort of paging mechanism in the PHP side, so that jQuery can send ajax calls to load the next section of data. Your PHP site can then return the data based on the page provided by the ajax call.
I'm having trouble connecting to mysql.com or any of its subdomains. The internet connection here is very slow anyway (Having average speed of 4kBps). But I can painfully connect to CP and many other sites (glad CP doesn't use big images, great site using mostly CSS+JS)
I am desperate here! I need to download the MySQL ODBC driver (Win7) somehow.
It doesn't seem to be working for me either.
Have you tried any of the mirrors?
The European mirror seems alive and well: http://gd.tuwien.ac.at/db/mysql/[^] - don't know if it has the driver you want, but it is working.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
Last Visit: 31-Dec-99 19:00 Last Update: 28-Dec-14 2:21