ALL PHP experts!!! Help on a user/pass page!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IntenseCash
    Confirmed User
    • Apr 2003
    • 2421

    #1

    ALL PHP experts!!! Help on a user/pass page!!

    Ok I have a php user and pass entry page.... I have an html page with body onload and js script. The js is a redirect.

    How in the hell do I get it to work in my php password protect page?




    Here is the php var:
    //text they will see if user/pass correct
    $text3 = "You got in!"


    Thanks Guys,
    Chuck
    IntenseCash.com
    ~ Chuck | ICQ: 444887112
    Top converting sites:
    BrokeStraightBoys.com, CollegeDudes.com & CollegeBoyPhysicals.com
  • tical
    Confirmed User
    • Feb 2002
    • 6504

    #2
    What what in the what what?

    Could you try and rephrase that question again?
    112.020.756

    Comment

    • Calvinguy
      Confirmed User
      • Oct 2002
      • 1752

      #3
      ...

      Comment

      • PicBar
        Confirmed User
        • Aug 2001
        • 215

        #4

        Comment

        • VideoJ
          Confirmed User
          • Aug 2002
          • 750

          #5
          Replace $text3=... with

          readfile( filename );

          where filename is the name of the html file you want to load.

          See http://www.php.net/manual/en/function.readfile.php for more details.
          Somebody stole my damn signture...

          Comment

          • ServerGenius
            Confirmed User
            • Feb 2002
            • 9377

            #6
            If you're going to code it the same crappy and insecure way
            80% of the people out there do then you shouldn't forget to edit
            your php.ini file and set register_globals = On else it won't work.
            Current php version have register_globals = Off

            in case you don't know php.ini can usually be found in /usr/local/lib

            DynaMite
            | http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

            Comment

            • NJ Dave
              Registered User
              • Apr 2003
              • 91

              #7
              Originally posted by DynaSpain
              If you're going to code it the same crappy and insecure way
              80% of the people out there do then you shouldn't forget to edit
              your php.ini file and set register_globals = On else it won't work.
              Current php version have register_globals = Off

              in case you don't know php.ini can usually be found in /usr/local/lib

              DynaMite
              ...or you could try using the $_GET and $_POST variables that PHP now offers.
              David O.
              Systems/Network Tech
              ICQ: 451311

              Comment

              • grumpy
                Too lazy to set a custom title
                • Jan 2002
                • 9870

                #8
                rephrase the question so we understand.
                Don't let greediness blur your vision | You gotta let some shit slide
                icq - 441-456-888

                Comment

                Working...