Thread: Info Uploader.

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    4

    Info Uploader.

    I have a forum that deals with trading, and I was wondering how would I go about making a program to upload information about traders to a subdomain on my site.

    Idea:
    A program that would use a subdomain on our site to upload information about traders.
    MACHINEID - IP - (check username of forum) - (check password of forum) .

    and anything else you guys think will be useful to verify users during/before a scam.

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    Quote Originally Posted by Renfeild View Post
    and anything else you guys think will be useful to verify users during/before a scam.
    Say what?
    Mainframe assembler programmer by trade. C coder when I can.

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    4
    I mean, anything else you can think of adding to the program would be good. People have been scammed on my site before so I want to make sure that it doesn't happen again. Sorry if it wasn't clear.

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    21
    Unless you're planning to use some browser fault to inject and run code on the client platform this is certainly not a C++ problem.. And if you did want to do that, it'd hardly be ethical to show you how to do it.

    What you want is basic information that a server side language, such as PHP, will expose to you.

    NB: Nobody would be willing (or at least shouldn't be) to download software that will upload details about them to a server.

  5. #5
    Registered User
    Join Date
    May 2008
    Posts
    4
    But this way I could prevent scammers from screwing people on my site.

    All it would have to do is have a simple login GUI and I'm not sure how to make the script for that because I would like it to be the same login credentials as my forum but I'm not sure about the code for that and all it would have to do for info is upload the Machine id, IP, Time. So that way if someone reports a scam. The appropriate action could be taken.

    I was thinking about making it a cgi application but I think I would rather just have a program that runs, uploads everything needed for authentication, and then terminates. It could even be deleted after. I'm just curious about how I would check the usernames and passwords with the ones on the forums. That's all.

  6. #6
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Surely, the server itself knows the time better than the individuals PC. The IP address is also known [I don't know how you get that, but I know that phpBB, vBulletin and similar "knows" the IP address when you post a message]. The rest (detecting who is scamming, spamming or otherwise misbehaving) is unfortunately quite hard. You can have rules like "don't allow e-mail addresse that come from @xxx.yyy", which does work reasonably well.

    Requiring a valid e-mail address will not really stop anyone, but at least it requires a little bit of effort from the naughty people.

    Blocking groups of known "bad" IP addresses can also be done, if you want to.

    Both of these blocking methods are of course quite coarse and will ALSO prevent some legitimate users - unfortunately, there's no real good way around that.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  7. #7
    Registered User
    Join Date
    May 2008
    Posts
    4
    I'm really starting to think that this would be better done with some serverside language. But if I wanted to somehow Auth users to the site with C++ how would I do that?

  8. #8
    Registered User
    Join Date
    May 2008
    Posts
    21
    Well that becomes a problem also - you will need to integrate with a users browser to set cookies and such. So unless you want to only use your own browser, you'll have to learn to do this for every major browser - which will then alienate users who don't use those (for instance: a screen reader, or mobile browser).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help displaying info from structure
    By kisiellll in forum C Programming
    Replies: 6
    Last Post: 04-04-2009, 12:51 PM
  2. Question about getting an info class from another Form
    By Joelito in forum C# Programming
    Replies: 0
    Last Post: 10-16-2006, 01:02 PM
  3. Help doing an e-mail program in c...
    By Tyler_Durden in forum C Programming
    Replies: 88
    Last Post: 01-02-2005, 03:12 PM
  4. Binary trees search problem...
    By Umoniel in forum C Programming
    Replies: 2
    Last Post: 02-22-2004, 02:29 PM
  5. Replies: 3
    Last Post: 12-06-2001, 05:30 AM