Jump to content

Lamez

Members
  • Posts

    1,686
  • Joined

  • Last visited

    Never

Posts posted by Lamez

  1. Code that repeats it self.

     

    Like, say you have a table, and depending on what the user clicks, different info is loaded. I have see this done time, and time again. The table is copied and pasted all through out the script, when a function would save file size. In my opinion, that is just bad coding.

  2. Easy Peasy!

     

    Client Requests Payment -> Request Dealt With + PHP Script executed to transfer money -> Display Request Accepted (?)

     

    Well I was going to write some code, but it seems that I have to verify my account in order to login into the sandbox website. I will get back to you when I get the email.

  3. Yes, but not a proxy. The router (w/ DD-WRT) will intercept the request, and then run the script, then continue. I have a problem with this though.

     

    Each HTTP request will be intercepted even if they are allowed to browse. (see this: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=64777) So the script will check, and set a session variable if is not set.

     

    Do you have any alternatives? I do have a proxy server running Squid3. It is only caching at the moment (it is transparent).

  4. Sure, sorry to keep you guys guessing. That was not my intention.

     

    1. User Tries to access the internet w/ a request URL (www.google.com/search?hl=en&site=&q=my+small+kitty&btnG=Search)

    2. User request is intercepted, and is forced to enter a password to continue.

    -1a. User fails to enter the correct password within the fail limit of five.

    --1a.User must wait until the session has expired to try again, and will not be able to continue.

    -2a. User correctly enters the password within the fail limit of five.

    --1a. IP address is entered into the database, and is redirected to the request (www.google.com/search?hl=en&site=&q=my+small+kitty&btnG=Search)

     

    That is a shorter version of what I am trying to accomplish.

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.