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:
Umm...about those log files? (Off Topic) (1997)
RE:It just Does't add up!!! (1997)
Multi-processor Mac info ... (1997)
Auto-closing of databases (was DON'T use old cart file!) (1997)
Multiple prices (1997)
Authenticate v6 (2004)
Bug? (1997)
WebCat2b12 - nesting [tags] (1997)
Sample Tearoom Search Error (1997)
apostrophe in search item (1997)
[WebDNA] WebDNA Crashing or Not **YES** (2008)
[random] only for 1-100??? (1997)
[SearchString] problem with [search] context (1997)
SKU (1997)
Ampersand (1997)
Linebreaks and [writefile] (2003)
problems with 2 tags (1997)
[WebDNA] add hours over 24 (2014)
form crasehes server (1997)
webcat and OS 8 (1997)