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:
E-Mailer (WebCatb15acgiMac) (1997)
Ready,Set; Print! (1999)
WebCat2: multiple currency support (1997)
Email and name capture (1999)
Cancel Subscription (1996)
Bug Report, maybe (1997)
Limit picture size on upload (2005)
WebTen and WebCat (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
Configuring E-mail (1997)
Autonumber (2003)
Frames and WebCat (1997)
hiding hyperlink info in URL field (1999)
DNS Lookup 2 (2000)
shipping costs (2000)
help testing quicktime delivery (1997)
Virtual hosting and webcatNT (1997)
Forms Search Questions (1997)
Combining Searches (1998)