Re: Web DNA...
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68919
interpreted = N
texte = I usually put this into a func.php file that I include into each page. Notethe line breaks that should all be one line.Then, you can set your variables like this:$myVariable = GetSQLValueString($_GET['Variable'],'text');(your variable name) = GetSQLValueString(GET/POST depending ['IncomingVariable Name'],'type of variable from function above');On 5/1/07 10:15 AM, "David Maish"
wrote:> Please do. I had a server compromised awhile back.> > Thanks, Dave> > >> One more thing...>> >> Make sure you validate *ALL* user input with PHP, or you'll be asking>> to get>> hacked. Cross site scripting (XSS) and SQL injection can compromise an>> entire server. I can post a simple function if anyone likes - it's from>> Dreamweaver.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I usually put this into a func.php file that I include into each page. Notethe line breaks that should all be one line.Then, you can set your variables like this:$myVariable = GetSQLValueString($_GET['Variable'],'text');(your variable name) = GetSQLValueString(GET/POST depending ['IncomingVariable Name'],'type of variable from function above');On 5/1/07 10:15 AM, "David Maish" wrote:> Please do. I had a server compromised awhile back.> > Thanks, Dave> > >> One more thing...>> >> Make sure you validate *ALL* user input with PHP, or you'll be asking>> to get>> hacked. Cross site scripting (XSS) and SQL injection can compromise an>> entire server. I can post a simple function if anyone likes - it's from>> Dreamweaver.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Clint Davis
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Multi-processor Mac info ... (1997)
Any limit to [include] (1997)
Attention all list readers (1997)
WebCatalog can't find database (1997)
change the number format (1997)
Database Structure? (1998)
Emailer choke (1997)
Cant get my own subtotal (2001)
Links to show shopping cart. (1998)
Shopping Cart - prices? (1997)
$Append for Users outside the ADMIN group (1997)
Re:listfiles-looking for slick solution (1997)
remotely add + sign (1997)
Databases inside [SHOWIF] (1998)
RE: [WebDNA] DNA suffix (2008)
search form problem.. (1997)
Thanks and Big News!!! (1997)
select multiple (1997)
WC2b15 File Corruption (1997)
Header info in content (1998)