FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Help Apache problems





eliasr
I really need to get this solved. Exclamation

i have maked a form to my site. www.hoh.frih.net/hp/dk/form.htm (its in danish, but you do neider need to read it) just write/click there where there is a star

well i know it need the javascript file to work
www.hoh.frih.net/hp/dk/--WEBBOT-SELF--.js

but, its on, and it says,
Method Not Allowed
The requested method POST is not allowed for the URL /hp/dk/--WEBBOT-SELF--.


--------------------------------------------------------------------------------

Apache/1.3.33 Server at www.hoh.frih.net Port 80
Crying or Very sad
i have seached google. i have found places where there stand i need to add a scource file. i did check, and yes, there is a place where i can add stuff. but what, and where shall the files lay?

so where can i get the scource. and how to install it right.
any one as can fix this please ?

ofcurse, if you say alot of that is bull shit, then you propetly right. so please help. Thank you
kv
Tried accessing url but it says "sorry,this site does not exits or you might have typed wrong"
eliasr
its because i have changed some ways in the site.

the new rute is. http://www.hoh.frih.net/hp/form.htm

but please. dont just send a form to see whats happens. its set up with a gateway to another responce server. so it work, until i dont got any more of them... yea they are limited, and it sucks. special when thoes swedish idiots not start with reading the join us and then send 3 forms.

please, is there anyone as know how to fix such a problem, please write.

i dont think the pages will be moved again.
grantmaster
Quote:
<SCRIPT type=text/javascript src="http://images.freewebs.com/JS/formUtils.js">
</SCRIPT>
<FORM method=POST onsubmit="return validate(this)" name="join formular" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE" S-Email-Address.....
This looks like some combination of frontpage forms and Javascript???

I would suggest using one or the other, since the frih.host supports this type of form it would probably be easier just to use Frontpage.
shabda
First of all I am using FF so I dont know wat happens in IE.
Quote:
<%@ Language=JavaScript %>
Your page starts like this, before even the doctype. And this line is visible in my FF page. Whats this line for? Whatever its for, its not valid HTML. What about removing it?
Quote:
<FORM method=POST onsubmit="return validate(this)" name="join formular" action="--WEBBOT-SELF--">

In your form action you pass "--WEBBOT-SELF--". Here there must be a link to page. So you get a page not exists error
eliasr
you got something there shadaba, but it dont allow me to do it... i dont know why. i would like to make it work, because the other goes over freewebs. and i got 17 forms left. the java script is so they dont miss some of them as is need to write in.

please help i need the same form, and it just neded to work in the wirht way. i dont got the time to sudy this now, and my screen is broken at home, so i can only update from the school
kv
It is behaving correctly. In the sense accessing --WEBBOT-SELF-- is printing the error message. probably it is a frontpage extension. I am not sure. What you actually have to do is instead of the line

Code:
<FORM method=POST onsubmit="return validate(this)" name="join formular" action="--WEBBOT-SELF--">


write

Code:
<FORM method=POST onsubmit="return validate(this)" name="join formular" action="validate.php">


and create a file validate.php in the same directory, and write your validation code there. If you want post to come back to same page, you have to write

Code:
<FORM method=POST onsubmit="return validate(this)" name="join formular" action="<?php echo $_SERVER['PHP_SELF']?>">
Related topics
apache problem, NEED HELP
Problem: last letter of my username got cut off up-10 frih$
Script to automatically restart Apache (for server 1)
Annoying Habits!
Welcome Message/Mentors
Starting Off With PHP
PayPal Experience
Help! Some problems in CPanel, database all of a sudden.
MySQL privileges Problem
Move database to different SQL server
What is good for pregnant woman?
* * * * Apache problems in WAMP 2 server * * * *
Is IT a good career choice
VirtualWin
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.