Results 1 to 6 of 6

Thread: Looking For Someone Experienced In PHP/MySQL

  1. #1
    n00b BT Rep: +1
    Join Date
    Aug 2006
    Location
    Sotogrande
    Posts
    77
    Hello,

    I'm setting up a private torrent site.
    It shouldn't take long. (It's just one thing)
    If carried out well and cost is an issue; it can be discussed.

    PM me if you're interested.

    --DML

  2. Internet, Programming and Graphics   -   #2
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    21,669
    What is this "just one thing"?
    If it's coding the entire site then forget it, if it's just one small thing I might be interested.

  3. Internet, Programming and Graphics   -   #3
    n00b BT Rep: +1
    Join Date
    Aug 2006
    Location
    Sotogrande
    Posts
    77
    Oh no. Not the entire site I'm not that crazy

    Basically I have a tracker running at: www.mysite.com/tracker/
    But then I have a WordPress blog as a cover at: www.mysite.com/wordpress/

    On the Wordpress frontpage I have a login script so the blog users can log into the blog.
    However I want to make it so that when the users log into the blog they are actually logged into the tracker and redirected there.

    Hope this makes sense. Any ideas !?

  4. Internet, Programming and Graphics   -   #4
    I'm back! :o BT Rep: +12BT Rep +12BT Rep +12
    Join Date
    Jul 2006
    Location
    England
    Posts
    238
    Edit removed previous comment to add the below.

    In the login form <form action = 'login.php' method = 'post'> change the action point into...

    ../tracker/login.php

    ../ drops the directory back one level
    tracker/ puts you into that directory
    index.php obviously loads that page.

    If you want to see how this works and the code i used to test, go here
    Last edited by fook3d; 10-03-2007 at 10:30 AM.

  5. Internet, Programming and Graphics   -   #5
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    21,669
    Quote Originally Posted by fook3d View Post
    Edit removed previous comment to add the below.

    In the login form <form action = 'login.php' method = 'post'> change the action point into...

    ../tracker/login.php

    ../ drops the directory back one level
    tracker/ puts you into that directory
    index.php obviously loads that page.

    If you want to see how this works and the code i used to test, go here
    There is no login.php in the source of his wordpress login page.



    Change this line:
    <form method="post" action="/cgi-bin/members" name="a">

    to what fook3d said above.

    You'll also have to change the value of "name" to the variable used in the tracker software in this line:
    <INPUT TYPE='text' NAME='site' VALUE='' style="width:146px;border:1px solid #7f9db9;">


    OR another idea if you really want your site to stay hidden is to edit the file cgi-bin/members (i know nothing about cgi, or cgibins, btw) to redirect to tracker/login.php so that the actual url isn't shown in the source.

  6. Internet, Programming and Graphics   -   #6
    I'm back! :o BT Rep: +12BT Rep +12BT Rep +12
    Join Date
    Jul 2006
    Location
    England
    Posts
    238
    Quote Originally Posted by rossco View Post
    There is no login.php in the source of his wordpress login page.
    I dont even know what wordpress is, So how would i know what page it is? :p

    I just explained with the first page name i could think of

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
  •