close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Access denied for a login page ?

Thread began 8/31/2012 8:41 am by sfj6167 | Last modified 8/31/2012 11:54 am by Jason Byrnes | 510 views | 5 replies |

sfj6167

Access denied for a login page ?

Hi there
I had a login.php page called index.php.

I renamed the index.php page to login.php
and made a new index.php page, with a button to the login.php page
updated pages with the updated links, and uploaded...

Now when I click the login button on the index.php it goes to
access_denied.php, with the message "acces denied", so I cant get to the login.php page.

Please advise
regards
Bison

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of both pages please.

Sign in to reply to this post

sfj6167

Here you go Jason

regards
Bison

Attached Files
ks_login.zip
Sign in to reply to this post

Jason ByrnesWebAssist

access denied is the failed redirect on the login page.

the login is failing because the form you have on the index page that posts to the login page does not have any elements in it to input your username and password.


if you want to add a login form to the index page, it must contain the same username and password elements as the one on the login page, make sure they have the same name, the names of the elements are the important part.

Sign in to reply to this post

sfj6167

Hi Jason - I see..

What I just wanted to do was to make a css button and link to the login.php page.

Can I redirect to antoher page with a css button, in another way !

regards
Bison

Sign in to reply to this post

Jason ByrnesWebAssist

dont use a form, use a link around the button:


php:
<a href="login.php"><input type="submit" value="Submit" class="Sharporange" id="Sharporange2" name="Sharporange2" /></a>
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...