1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

About php Rapidget

Discussion in 'Programming' started by Coopzie, Feb 6, 2007.

  1. #1
    Well since the script never comes with instructions i gues il post here if anyone can help:p

    Ok first I know how to install it onto a site!. I wanted to edit certain parts, such as renaming the index.php to home.php, but when i do that i got loads of errors :(,

    Because I wanted to setup my own registration in a index.html, file, but any1 who knows rapidget would bypass it by using www.mysite.com/index.php :p

    And I tried putting something simple like a java login in the index.php but errors happen, maybe im editing it wrong since i dont know much about php.

    If people know about the script, when u try to open something like, notlink.php, it will say authorised blocked or something. you have to run the index.php as it then runs off notlink.php i think :p

    This is what notlink.php looks like:

    http://rapid-hook.com/notlink.php
    Code (markup):
    But when I run it in the same DIR as the script this happens:

    http://rapid-hook.com/test5/notlink.php
    Code (markup):


    From the Index.php, i no how to make it go to a different file instead of notlink.php, but id be going round in circles since i wudnt be able to run that file. :s so confusing.




    I put a javascript password prompt in notlink.php, and it worked but obviously any1 can just disable java, so i would need it for php, but i dont know how to configre .htaccess etc.
     
    Coopzie, Feb 6, 2007 IP
  2. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #2
    A quick fix would be to have a login page that sets a $_SESSION var, and on index.php do something like

    <? if (!$_SESSION['authed']) { header("location:login.php"); } ?>

    at the top .... that way ppl will be forced to login, make sure you set $_SESSION['authed'] = true; on successfull login ....
     
    krakjoe, Feb 6, 2007 IP
  3. Coopzie

    Coopzie Well-Known Member

    Messages:
    1,666
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    155
    #3
    Index.php Source =

    http://rapid-hook.com/index.php.html
    Code (markup):
     
    Coopzie, Feb 6, 2007 IP
  4. Coopzie

    Coopzie Well-Known Member

    Messages:
    1,666
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    155
    #4
    lol i just recognised ur name i have ur addy :D
     
    Coopzie, Feb 6, 2007 IP
  5. Coopzie

    Coopzie Well-Known Member

    Messages:
    1,666
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    155
    #5
    you wana do it for 10$ :), only if it works :p
     
    Coopzie, Feb 6, 2007 IP
    krakjoe likes this.
  6. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #6
    buzz me on msn ....
     
    krakjoe, Feb 6, 2007 IP
  7. Coopzie

    Coopzie Well-Known Member

    Messages:
    1,666
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    155
    #7
    Thanks man 100% appreciated :D!!, This guy rocks everyone :D :D, his avatar may look gangster but hes friendly :D
     
    Coopzie, Feb 6, 2007 IP