Closed Thread
Results 1 to 13 of 13

Thread: how to connect html and php

  1. #1
    Pro Member blueonline has a little shameless behaviour in the past blueonline's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    329

    how to connect html and php

    i want to connect my username and password box form index.html to
    the username and password boxes of login.php so i can login through my index.html
    how can i do it ????

  2. #2
    Senior Member Adam has disabled reputation
    Join Date
    Jan 2007
    Location
    Indiana
    Posts
    168
    Do you have an html form made?

    In your form, you should have a tag something like this
    <form action="login.php"> Replace the text between the quote marks with the address to your login.php ..

  3. #3
    FWS Addict Secret will become famous soon enough Secret's Avatar
    Join Date
    Jan 2006
    Location
    C:\Program Files\
    Posts
    866
    you mean like frame? <iframe>

  4. #4
    Pro Member blueonline has a little shameless behaviour in the past blueonline's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    329
    i have a html form already made..
    i just want to implement the login script in my site.

  5. #5
    FWS Addict Secret will become famous soon enough Secret's Avatar
    Join Date
    Jan 2006
    Location
    C:\Program Files\
    Posts
    866
    just made a simple login form using html edtor with login.php as the target.
    example:
    HTML Code:
    <html>
    <head>
    <title>Login</title>
    </head>
    <body>
    <form name="frmlogin" method="post" action="login.php">
      <p>Username:<br>
        <input type="text" name="user">
      </p>
      <p>Password<br>
        <input type="password" name="pass">
      </p>
      <p>
        <input type="submit" name="Submit" value="Submit">
      </p>
    </form>
    </body>
    </html>
    if you want something easier try:
    http://www.evolt.org/article/Creatin...661/index.html
    http://www.tutorialized.com/tutorial...in-script/9963

    or search with google "php login script download" or something like that.
    Last edited by Secret; January 30th, 2007 at 08:44.

  6. #6
    Jay Street iBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond repute iBrightDev's Avatar
    Join Date
    Oct 2005
    Location
    Not sure, need a GPS.
    Posts
    7,139
    are you using the one i posted? if so, the login box is already on the index page. you can add whatever text you want to the page too.
    Full-service digital agency based in Scottsdale, Arizona - iBright Development

  7. #7
    Pro Member blueonline has a little shameless behaviour in the past blueonline's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    329
    thnx secret this is wot i was looking for.. not the exact requirement but it gave me a decent idea..
    thnx
    methodcomptech .. i am not using ur script but one downloaded from hotscripts..

  8. #8
    Jay Street iBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond repute iBrightDev's Avatar
    Join Date
    Oct 2005
    Location
    Not sure, need a GPS.
    Posts
    7,139
    ah ok, and looks like you have problem resolved now. let us know if your idea works or not.
    Full-service digital agency based in Scottsdale, Arizona - iBright Development

  9. #9
    Sup, Recoil here. themoose has a reputation beyond reputethemoose has a reputation beyond reputethemoose has a reputation beyond reputethemoose has a reputation beyond reputethemoose has a reputation beyond reputethemoose has a reputation beyond reputethemoose has a reputation beyond reputethemoose has a reputation beyond reputethemoose has a reputation beyond reputethemoose has a reputation beyond reputethemoose has a reputation beyond repute themoose's Avatar
    Join Date
    Jun 2005
    Location
    Uzbekistan
    Posts
    8,805
    FYI, PHP was never meant to be a replacement of HTML. In fact, it's an acronym for hypertext (ie HTML) preprocessor.

  10. #10
    Pro Member blueonline has a little shameless behaviour in the past blueonline's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    329
    yea it did
    here is my site www.sifylanusers.info still under construction
    i wanted tht visitors can login to the members area through the login box on the site and it does very well now,,
    i am planning to change the host as this one has ads at the bottom

  11. #11
    Jay Street iBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond repute iBrightDev's Avatar
    Join Date
    Oct 2005
    Location
    Not sure, need a GPS.
    Posts
    7,139
    i can host you really low cost if you want. PM me if interested. other than that, glad to see you got the login working.
    Full-service digital agency based in Scottsdale, Arizona - iBright Development

  12. #12
    Pro Member blueonline has a little shameless behaviour in the past blueonline's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    329
    as of now i am thinking of sticking with the host cause they provide me 5gb space and php scripts so for it they atleast deserve a link back

  13. #13
    Jay Street iBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond repute iBrightDev's Avatar
    Join Date
    Oct 2005
    Location
    Not sure, need a GPS.
    Posts
    7,139
    Quote Originally Posted by blueonline View Post
    as of now i am thinking of sticking with the host cause they provide me 5gb space and php scripts so for it they atleast deserve a link back
    if you decide to change, let me know. i will give you more than that for $3.99/month or $47.88/year
    Full-service digital agency based in Scottsdale, Arizona - iBright Development

Closed Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts