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

newblacky

Junior Member
Joined
Mar 7, 2012
Messages
178
Reaction score
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.
 
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
 
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
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
 
can you at least give us link to your site
 
Fire a button click event with Javascript?

No one can help you without having the source code.
 
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:
sorry, it's hard to tell and help you without sharing the source code, or atleast link to the website. :)
 
Back
Top