Welcome guest, is this your first visit? Click the "Create Account" button now to join.

User Tag List

Results 1 to 9 of 9
  1. #1
    Trainee Raven1992's Avatar
    Join Date
    Jan 2012
    Location
    Nailsea England
    Posts
    527
    Post Thanks / Like
    Blog Entries
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    got a problem wth marrage

    hi i jus added the code to marrage and when it was released every time i clicked on it it goes to the login page is there a way for this to happen and how do i know if your married on the index page when u log in please help me

    code shown for marrage.php
    any chance of helping me

    For Every action there's a Reaction oh yeah Newton's 3rd Law
    2 minecraft servers coming soon 1 being made other one not brought yet
    progress on first one 25%
    I do have a personal website may be out of date
    http://www.thomaspwjenner.co.uk
    my minecraft forums
    http://hothpvp.enjin.com/ hireing forum moderators and forum builders

  2. #2
    Trainee
    Join Date
    Jun 2008
    Location
    Launceston, Cornwall, UK
    Posts
    380
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    give this a try.

    Learner lol.

  3. #3
    Trainee Raven1992's Avatar
    Join Date
    Jan 2012
    Location
    Nailsea England
    Posts
    527
    Post Thanks / Like
    Blog Entries
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    well the php worked but i got this instead You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

    For Every action there's a Reaction oh yeah Newton's 3rd Law
    2 minecraft servers coming soon 1 being made other one not brought yet
    progress on first one 25%
    I do have a personal website may be out of date
    http://www.thomaspwjenner.co.uk
    my minecraft forums
    http://hothpvp.enjin.com/ hireing forum moderators and forum builders

  4. #4
    Booooring Intermediate => I'm a Rebel Djkanna's Avatar
    Join Date
    Jul 2008
    Location
    United Kingdom
    Posts
    3,209
    Post Thanks / Like
    Blog Entries
    1
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    You need to keep in the $userid = $_SESSION['userid'];

    Next, you'll also need to keep in the check for logged in, otherwise you'll be able to visit the page even when not logged in.
    Now, you can check if $_SESSION['loggedin'] is still being used, or not by v1 (I've no clue).
    "We believe that bad sex and good drugs are the cornerstones of a great democracy."
    - P.A.G.A.N
    Will you be (Mg,Fe)7Si8O22(OH)2 ?




  5. #5
    Trainee Raven1992's Avatar
    Join Date
    Jan 2012
    Location
    Nailsea England
    Posts
    527
    Post Thanks / Like
    Blog Entries
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    what you mean how will i find that

    For Every action there's a Reaction oh yeah Newton's 3rd Law
    2 minecraft servers coming soon 1 being made other one not brought yet
    progress on first one 25%
    I do have a personal website may be out of date
    http://www.thomaspwjenner.co.uk
    my minecraft forums
    http://hothpvp.enjin.com/ hireing forum moderators and forum builders

  6. #6
    Booooring Intermediate => I'm a Rebel Djkanna's Avatar
    Join Date
    Jul 2008
    Location
    United Kingdom
    Posts
    3,209
    Post Thanks / Like
    Blog Entries
    1
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    authenticate.php would be a good start.
    "We believe that bad sex and good drugs are the cornerstones of a great democracy."
    - P.A.G.A.N
    Will you be (Mg,Fe)7Si8O22(OH)2 ?




  7. #7
    Trainee
    Join Date
    Jun 2006
    Posts
    452
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To find out if $_SESSION['loggedin'] is the variable the script is using look in authenticate.php.
    It should be closer to the bottom of the page if I remember correctly, not all the way down but you will see it.

    If its just a different variable name, change it in the marriage script on line 2:


    If its not setting any variable, then you need to make authenticate.php set the variable after it has verified all the login information.
    That's as easy as putting

    In the right spot.
    Which is wherever you see this line or something similar, setting $_SESSION['userid']


    Hope that helps
    Add your game to my list of text based games.

  8. #8
    Trainee Raven1992's Avatar
    Join Date
    Jan 2012
    Location
    Nailsea England
    Posts
    527
    Post Thanks / Like
    Blog Entries
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    looked at it and i can't seem to find the bit to change it

    For Every action there's a Reaction oh yeah Newton's 3rd Law
    2 minecraft servers coming soon 1 being made other one not brought yet
    progress on first one 25%
    I do have a personal website may be out of date
    http://www.thomaspwjenner.co.uk
    my minecraft forums
    http://hothpvp.enjin.com/ hireing forum moderators and forum builders

  9. #9
    Trainee Raven1992's Avatar
    Join Date
    Jan 2012
    Location
    Nailsea England
    Posts
    527
    Post Thanks / Like
    Blog Entries
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    here is the authenticate.php

    you tell me where to put the $_SESSION in cause i don't seem to find it

    For Every action there's a Reaction oh yeah Newton's 3rd Law
    2 minecraft servers coming soon 1 being made other one not brought yet
    progress on first one 25%
    I do have a personal website may be out of date
    http://www.thomaspwjenner.co.uk
    my minecraft forums
    http://hothpvp.enjin.com/ hireing forum moderators and forum builders

 

 

Similar Threads

  1. Omg big big problem, REALLY NEED HELP
    By $-Chinion-$ in forum General Discussion
    Replies: 12
    Last Post: 04-18-2011, 08:08 AM
  2. I am having a problem... Plz help
    By william7neace in forum Engine Support
    Replies: 27
    Last Post: 12-06-2010, 10:39 PM
  3. v2 Gym problem
    By Godhand in forum General Discussion
    Replies: 7
    Last Post: 11-19-2007, 11:23 PM
  4. problem
    By dementor in forum General Discussion
    Replies: 2
    Last Post: 11-19-2007, 02:06 AM
  5. Help on marrage mod
    By i need mccodes in forum General Discussion
    Replies: 5
    Last Post: 07-24-2007, 10:18 PM

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
  •