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

Need to remove one php thing, don't know how :(

Discussion in 'PHP & Perl' started by newblacky, May 3, 2014.

  1. newblacky

    newblacky Junior Member

    Joined:
    Mar 7, 2012
    Messages:
    181
    Likes Received:
    7
    Hey BHW.. I bought site, and it come with how to say, when you enter it wish you welcome and you need to click "enter the site", anyway. I found that script, let's call it entersite.php , there is file and then in index I found where it call for that file entersite.php, I tried to delete entersite.php and that part of code where it call of entersite.php but when I do that site just stuck. It show site with that script but site kinda go stucked, it's hard to explain. Where I'm wrong? Soory I can't share whole code.
     
  2. linoskoczek

    linoskoczek Newbie

    Joined:
    May 3, 2014
    Messages:
    1
    Likes Received:
    0
    We can't do anything if you don't give us code.
     
  3. motog

    motog BANNED BANNED

    Joined:
    Apr 12, 2014
    Messages:
    33
    Likes Received:
    33
    share code with us
     
  4. HerpDerpSlerp

    HerpDerpSlerp Power Member

    Joined:
    Mar 19, 2013
    Messages:
    778
    Likes Received:
    623
    open the file entersite.php and somewhere within that you will see something similar to:

    Code:
    <button type="submit" form=some_name" value="Submit">enter the site</button>
    remove that line and save
     
  5. newblacky

    newblacky Junior Member

    Joined:
    Mar 7, 2012
    Messages:
    181
    Likes Received:
    7
    I actually had <input type="button" class="continue" value="Enter Site!" id="entersite_continue">

    I deleted that part and now everything is same, just this time I don't have button :D
     
  6. emiltz

    emiltz Registered Member

    Joined:
    Nov 13, 2012
    Messages:
    58
    Likes Received:
    20
    Occupation:
    Web&Graphic designer
    Location:
    Tuzla - Bosnia and Herzegovina
    Home Page:
    can you at least give us link to your site
     
  7. x00srch

    x00srch Registered Member

    Joined:
    Jul 2, 2013
    Messages:
    53
    Likes Received:
    15
    Location:
    Berlin, Germany
    Fire a button click event with Javascript?

    No one can help you without having the source code.
     
  8. Jango2080

    Jango2080 Newbie

    Joined:
    Aug 26, 2011
    Messages:
    39
    Likes Received:
    11
    in your webhosting panel should be an option to set the default page to display normally thats the index.php but in your case its the "entersite.php"

    you can also alter your htaccess file with a line like this ->
    DirectoryIndex index.php (or whatever your page is called)
     
    Last edited: May 3, 2014
  9. bpcl2

    bpcl2 Newbie

    Joined:
    Feb 7, 2013
    Messages:
    19
    Likes Received:
    1
    mostly like with a Javascript event
     
  10. member8200

    member8200 Regular Member

    Joined:
    Aug 9, 2014
    Messages:
    469
    Likes Received:
    33
    sorry, it's hard to tell and help you without sharing the source code, or atleast link to the website. :)