Thread: C++ (Pretty hard...)

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    2

    C++ (Pretty hard...)

    >> PLEASE NOTE: I AM VERY SORRY IF THIS QUESTION DOES NOT HAVE ANYTHING TO DO WITH C++, I'M ONLY ASKING THIS QUESTION, FOR I AM TRYING TO PROGRAM SOMETHING LIKE THIS USING C++ CODING. I AM SORRY (AGAIN) IF YOU THINK THIS IS A WASTE OF TIME.

    Is it possible (using C++) to redirect a website that has the words: "word1" (and/or) "word2" (and/or) "word3" (and/or) "word4" (and/or) "word5" (and/or) "word6" (and/or) "word7" (and/or) "word8" (and/or) "word9" (and/or) "word10" ---- to the webpage: "D:\something\something\here.htm"?
    ::Can I make this program 'load up' when the computer (XP Pro) is starting, and keep the program "invisible" and run while the computer is kept on?::

    How?

    - Clearing it up -

    My point is can i redirect a website by using C++ if there are any of the "words" on the page to D:\something\something\here.htm? Can I make the program startup with the computer and keep running while the computer is on? If so, how?

    Best regards,
    Ben

  2. #2
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    I'm a little confused by the point and/or question. As far as the re-direct i think you will need HTML/java/ASP or some othe rlanguage, but i may be wrong. As far as starting a program and running it invisible you can use C++ and windows functions.

  3. #3
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    It most certainly can be done, but it won't be easy to do.

    It seems to me that you would be better off with a router which offered keyword blocking, some software like Websense (I hate that filter), or a firewall that would let you block keywords. I'm assuming this is for stopping your kids from looking at porn sites or something like that.
    Away.

  4. #4
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    >>Websense (I hate that filter)

    Me too, before i graduated i made it a point to crash it every other day in class.

  5. #5
    Registered User
    Join Date
    Aug 2003
    Posts
    2

    C++

    Oh well, thanks anyways.

  6. #6
    Registered User
    Join Date
    Jul 2003
    Posts
    6
    Yes you can write it in C++. Look into CGI programming using C/C++. Though you could probably develop it faster using perl or php.

    If i understand correctly you want to scan pages for certain words and if they are found redirect to another page.

  7. #7
    Registered User
    Join Date
    Jul 2003
    Posts
    97
    Originally posted by blackrat364
    I'm assuming this is for stopping your kids from looking at porn sites or something like that.

    NOOOOO!!!!!!!!!!!!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. is this old hard drive any good?
    By Pyroteh in forum Tech Board
    Replies: 11
    Last Post: 07-16-2005, 08:34 PM
  2. Replies: 2
    Last Post: 07-06-2005, 07:11 PM
  3. Trinary Hard Drive
    By nickname_changed in forum Tech Board
    Replies: 14
    Last Post: 05-13-2005, 10:01 AM
  4. Strange hard disk
    By GanglyLamb in forum Tech Board
    Replies: 20
    Last Post: 03-01-2003, 04:05 AM
  5. Failing Hard Drive
    By RoD in forum Tech Board
    Replies: 10
    Last Post: 02-18-2003, 08:08 AM