feed back form on web page is asking for a password

G

Gary Watts

well, the subject lines sums up the problem nicely, but if
you want go to the actual site :
http://www.tiledspas.com/contact_info.htm
click the submit button at the bottom and the is a pop up
window asking for passwords and stuff, i have no idea why
it is doing this, please some one, do you know what is
causing this and/or how to fix it?

thanks much
-gary-
 
G

Guest

UPDATE
i found this, not sure what to do about it though

This article was previously published under Q265285

SYMPTOMS
When you have created a form that is designed to collect
information, the users are prompted for their user name
and password when they attempt to submit their information
to you.
CAUSE
The users do not have the correct permissions on the
server.
RESOLUTION
Change the permissions of the _private folder and files in
this folder to allow the IUSER account to have Read/Write
permissions. To keep the contents of this folder more
secure, do not allow Browse or List permissions for the
IUSER account.
 
D

David Berry

This needs to be changed on the server by right-clicking on the folder,
choosing security and adding that account with the indicated permissions.
You'll have to call your ISP to do this for you if it's not your server.
 
D

David Berry

PS - I meant you need to do this via Window Explorer on the server, not in
FrontPage
 
G

Guest

Well Thank you for the help, but my ISP is telling me that
because they use linnux, this solution doesn't work. so i
have to find some other form mail to plug into my site.
 
S

Steve Easton

You're site is hosted on an Apache server running UNIX
with FP extensions.
Server: Apache/1.3.27 (Unix) PHP/4.2.3 FrontPage/5.0.2.2510 Rewrit/1.1a
Have them check / reset the FrontPage extensions.

Also have them enable form mail.
I run sites with forms on Apache/UNIX and they run just fine
 
C

chris leeds

I've got a really nice php form you can have. found it somewhere and
modified it a little but if you want it here it is:
<?php

/*

Updated 29th November 2003
Previous version allowed spammers to hijack this script and
send emails from an external site - this is now prevented

Instructions:

Change the email address to your own.

$empty_fields_message and $thankyou_message can be changed
if you wish.

*/

// Change to your own email address
$your_email = "[email protected]";

// This is what is displayed in the email subject line
// Change it if you want
$subject = "Message via your contact form";

// This is displayed if all the fields are not filled in
$empty_fields_message = "<p>Please go back and complete all the fields in
the form.</p>";

// This is displayed when the email has been sent
$thankyou_message = "<p>Thankyou. Your message has been sent.</p>";

// You do not need to edit below this line

$name = stripslashes($_POST['txtName']);
$email = stripslashes($_POST['txtEmail']);
$message = stripslashes($_POST['txtMessage']);

if (!isset($_POST['txtName'])) {

?>

<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">

<p><label for="txtName">Name:</label><br />
<input type="text" title="Enter your name" name="txtName" /></p>

<p><label for="txtEmail">Email:</label><br />
<input type="text" title="Enter your email address" name="txtEmail"
/></p>

<p><label for="txtMessage">Your message:</label><br />
<textarea title="Enter your message" name="txtMessage"></textarea></p>

<p><label title="Send your message">
<input type="submit" value="Send" /></label></p>

</form>

<?php

}

elseif (empty($name) || empty($email) || empty($message)) {

echo $empty_fields_message;

}

else {

// Stop the form being used from an external URL
// Get the referring URL
$referer = $_SERVER['HTTP_REFERER'];
// Get the URL of this page
$this_url = "http://".$_SERVER['HTTP_HOST'].$_SERVER["REQUEST_URI"];
// If the referring URL and the URL of this page don't match then
// display a message and don't send the email.
if ($referer != $this_url) {
echo "You do not have permission to use this script from another
URL.";
exit;
}

// The URLs matched so send the email
mail($your_email, $subject, $message, "From: $name <$email>");

// Display the thankyou message
echo $thankyou_message;

}

?>

this is the unmodified. i had to take the cross site spam preventer out.
i'm on a windows machine and it just didn't work. works good without it and
you can add fields to the form and stuff with ease.

HTH
 
Top