1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Web developer [Php script]

Discussion in 'Hire a Freelancer' started by Skipline, May 2, 2017.

Tags:
  1. Skipline

    Skipline Registered Member

    Joined:
    May 8, 2016
    Messages:
    86
    Likes Received:
    8
    HELLO.
    I have a database that conatins some codes(Gaming code). I have a landing page that a user should complete an offer. After completing the offer, the user will be redirected to page where he will get a random code from that database. Our problem is that if the user reload the final page again he will get a new code from database and that's what musn't happen. Your job is to make a php script or whatever that generates the final page automatically and pick one random code from the database to show it for the user. After that when the user try to reload the page, he must get the 404 error (Page not found). If you have a better solution to protect our database and allow the user to get only one code everytime he complete an offer on our website, we will be happy with it.
     
  2. mikoyan

    mikoyan Newbie

    Joined:
    Jan 10, 2016
    Messages:
    17
    Likes Received:
    2
    Occupation:
    Entrepreneur
    Location:
    everywhere
    Can help. Whats your budget?
     
  3. Skipline

    Skipline Registered Member

    Joined:
    May 8, 2016
    Messages:
    86
    Likes Received:
    8
    You can say the price...
     
  4. mikoyan

    mikoyan Newbie

    Joined:
    Jan 10, 2016
    Messages:
    17
    Likes Received:
    2
    Occupation:
    Entrepreneur
    Location:
    everywhere
    Will PM you
     
  5. mikoyan

    mikoyan Newbie

    Joined:
    Jan 10, 2016
    Messages:
    17
    Likes Received:
    2
    Occupation:
    Entrepreneur
    Location:
    everywhere
    just figured I cannot start a conversation. So how do we do this?
     
  6. Skipline

    Skipline Registered Member

    Joined:
    May 8, 2016
    Messages:
    86
    Likes Received:
    8
    [email protected]
     
  7. iBrazilian

    iBrazilian Regular Member

    Joined:
    Oct 10, 2013
    Messages:
    492
    Likes Received:
    255
    It's pretty easy to do, set the code from database into a cookie for that session. Easy, quick and reliable, unless you'd like something more advanced, which isn't needed honestly.
     
  8. Nikola Gligorijevic

    Nikola Gligorijevic Regular Member

    Joined:
    Oct 9, 2016
    Messages:
    433
    Likes Received:
    48
    Gender:
    Male
    Occupation:
    Internet marketing & Web development
    PMed you, I am web developer so that is not a problem.
     
  9. mikoyan

    mikoyan Newbie

    Joined:
    Jan 10, 2016
    Messages:
    17
    Likes Received:
    2
    Occupation:
    Entrepreneur
    Location:
    everywhere
    Thanks ... Sending you an email
     
  10. pavan

    pavan Elite Member

    Joined:
    Mar 30, 2008
    Messages:
    1,819
    Likes Received:
    457
    Can do this real quick
    add me up on skype: PavanBHW
     
  11. Skipline

    Skipline Registered Member

    Joined:
    May 8, 2016
    Messages:
    86
    Likes Received:
    8
    Accept on skype man.
     
  12. Skipline

    Skipline Registered Member

    Joined:
    May 8, 2016
    Messages:
    86
    Likes Received:
    8
    Can you do that for me ? or explain more please!
     
  13. iBrazilian

    iBrazilian Regular Member

    Joined:
    Oct 10, 2013
    Messages:
    492
    Likes Received:
    255
    Show me the code, I'm sure I can check it out.

    But to put it simply, each offer should have an identifier(offer id for example), set that identifier to one specific code from the database, if both match then show the code, else show the 404 page.
     
  14. pavan

    pavan Elite Member

    Joined:
    Mar 30, 2008
    Messages:
    1,819
    Likes Received:
    457
    added you on skype
    let me know if you are still looking
     
  15. Parker2010

    Parker2010 Jr. VIP Jr. VIP

    Joined:
    Apr 27, 2017
    Messages:
    819
    Likes Received:
    192
    Gender:
    Male
    Occupation:
    SEO Consultant
    Location:
    BHW
    Home Page:
    Hi

    Are you still looking for one web developer to solve your business needs?

    Let me know (PM) and I can help.

    With us, you can hire an experienced web developer for 20, 40, 80 or 160 hours?

    Thanks.