News:

Go to HostNed.com
Welcome.  This is a place to get user-to-user support, learn more, and share ideas.  If you can't find your answers here, feel free to ask by creating a new topic or visit the support ticket system at https://my.hostned.com :)  Have fun here!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - RedRaven

#1
Scripting / Re: JMAIL vs CDONTS vs CDO
January 27, 2010, 03:08:57 PM
Thanks, but I do my own coding in VBscript for web applications.  And I like to have a tight handle on the code.  PHP is a great language.  Have to learn it someday.  I know more than 15 languages now. 
COBOL,JCL,ASP,VBscript,HTML,APL,DL1,SQL,PowerScript,JavaScript,Fortran,APS,BAL,etc.............. and a bunch of esoteric ones.....

I would love to learn JAVA or C#.  The later for use with PowerBuilder and Visual Studio.

They are all the same but different.  That is they are like SUV's, you just have to figure out where all the buttons are. LOL

Thanks
RR

As for JMAIL, it works like CDO, but it sends 2 duplicate emails out for every submission.  Now maybe that's just the server I don't know.

#2
Scripting / Re: web forms being hijacked by spammers
January 27, 2010, 02:54:18 PM
Yeah...
I code in VBscript amonst others (15+ languages), and sometimes I will use the replace function to replace things like "SELECT/DELETE/UPDATE/.....etc." with "XXXXX" well you get the idea.
Once it "hits" the database it will be just "data".
By doing this it changes any SQL injection attempts.

Also, watch out for apostrophy's.
They can deliniate the input.
Some DBMSs use double apostrohpy's ==> ''
to get around that prob.
(I know it looks like a quote, but it's 2 apo's.....)

Remember, coding is like doing a magick trick.
Only you know what's going on.
The user is one-step-behind.
But that doesn't mean they won't mess up your work.

For the email problem, he/she could parse the imput field and count the number of "@" signs.
If there are more than the developer is expecting then let error-code he/she writes for it will take over.

Don't know, just a thought.

Red.... ;D
#3
Scripting / Re: web forms being hijacked by spammers
January 27, 2010, 11:42:46 AM
    <META name="robots" content="all">
    <META name="robot" content="noindex,nofollow">
#4
Scripting / JMAIL vs CDONTS vs CDO
January 27, 2010, 11:39:31 AM
The example at
http://asp.hostned.com/cdonts/
has a link at the bottom
"CDONTS can be downloaded here"
that takes you to
http://hostned.com/scripts/
which does not have the CDONTS script info
only the JMAIL scripts

then if you click the link that takes you to
http://asp.hostned.com/
and select CDONTS it takes you to a test page.

Where's the CDONTS code sample?
If it is not available then how about not offering it.

JMAIL works but it sends 2 duplicate emails.

Very annoying

OH yes:
at:http://www.w3schools.com/asp/asp_send_email.asp

it states

"How about CDONTs?
Microsoft has discontinued the use of CDONTs on Windows 2000, Windows XP and Windows 2003. If you have used CDONTs in your ASP applications, you should update the code and use the new CDO technology."


It sujests using CDO
But CDO on hostned account does not work either

What to do????