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:
File Upload (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
off topic - dna snipets (1997)
well... (1997)
RequiredFields template (1997)
Sorting by date (1997)
Discounts (2002)
Configuring E-mail (1997)
Size limit for tmpl editor ? (1997)
Summing fields (1997)
Users.db (1998)
Content-type:... (2000)
question: webmerchant connection (1997)
Multiple fields on 1 input (1997)
Protect and Serve (1999)
Secure Server (1997)
Re:WebCat Emailer & Liststar (1997)
Special delete ... (1997)
PCS Frames (1997)
Disappearing Databases (2000)