Paul, you're awesome!!
I had the Content-type further down, which may have worked on the old server, but didn't on this one....once I moved it to the top, works beautifully!
Thank you so much :)
Wishing I was cgiless...(sorry for the pun)
I have the below script, which I only included up until where the error message that I'm actually getting is. I recently moved this script to a new host, the CGIs were working on the old. I've tried everything I could think of and look up, including uploading all CGIs in ASCII, CHMOD to 755...
Hello, sorry for the delay in response. That else statement is in reply to:
if (!empty($_POST['login']) && !empty($_POST['pass'])) {
$check = $conn->Execute ("select count(*) from $users_table where login='".$_POST['login']."' and password=password('".$_POST['pass']."') and approve='1'")...
Sorry to be a pain as well, but this is the heart of PHP/MySQL in a nutshell, what you want to do. It would take an entire website to describe it all...try searching the web for each part at a time...start here maybe...
I have the following page which is a basic voting script, utilizing PHP COOKIES to determine if the user has voted already (avoidind multiple votes). However, when installed, the votes will not "take", meaning the page just refreshes and nothing happens. This is after clearing my cookies in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.