Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old April 21st, 2003, 08:00 AM
mrq mrq is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 37 mrq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Problem to submit a form

Hello i have a problem that several ppl cant submit form to get another webpage.
The form itself is simple and it should be correct:
<form action="leht.php?id=1" method="post" name="start">
<input type="submit" value="RULES AND CONDITIONS. START" class="nupp">
</form>

This form goes another page leht.php?id=1 but sometimes it aint go just hangs in the same page. What could be wrong.

You can check it out yourself from http://quiz.mfa.ee/. Give me information if it aint work and maybe you can explaine too. I would very appreciate it!

Thank you alot!

Reply With Quote
  #2  
Old April 21st, 2003, 01:33 PM
pedro_gb pedro_gb is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Brazil
Posts: 8 pedro_gb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to pedro_gb
RE: Problem to submit a form

I tried refreshing it a couple of times and see no problem with it -- IE6 SP1.

What browser are you using?

[edit]I tried using Opera and it works fine, too. I guess it's not a server-side problem but instead something with your browser...[/edit]

Reply With Quote
  #3  
Old April 21st, 2003, 03:38 PM
mrq mrq is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 37 mrq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Problem to submit a form

Well realy I dont know what side the error is but the strangest thing is that I had IE6 too and it worked fine! Others have mainly IE5.5 so I decided to uninstall IE6 and try IE5.0 but the darn thing still worked in my computer with IE5.0, when the others had IE5.5 and screamed about it, that it doesnt work.
And the problem gomes and goes dont know how!
Strange was also that when they can't submit form they cant get the GET parameters like they would ignore them.
When i but in to url something http://quiz.mfa.ee/link.php?id=1 then it did'nt do anything!!!

Some browsers work in mysteriouse ways and sometimes they work like a smooth codfish balls!

Reply With Quote
  #4  
Old April 21st, 2003, 07:03 PM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Problem to submit a form

yeah, it is a known problem with some browsers when you use get variables in url, and you try to post to it, just like you did with

<form method="post" action="/dir/post.php?blah=truc">


there is realy not much you can do.. if you can avoid using get variables in this case, or change url to smth like

/dir/post.php/blah/truc

and later, read variables from $_SERVER['PATH_INFO'] variable...

(btw, whach out for relative links to other pages (and images) from that page, since base url will be /dir/post.php/blah/ and if you link to second.php, it will try to fetch /dir/post.php/blah/second.php which is bad)

Reply With Quote
  #5  
Old April 21st, 2003, 09:19 PM
crisp crisp is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Holland
Posts: 336 crisp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Problem to submit a form

never ever ever mix get variables with post variables!
If you want to sent the additional var id in your form, put it in a hidden field:

<form action="leht.php" method="post" name="start">
<input type="hidden" name="id" value="1" />
<input type="submit" value="RULES AND CONDITIONS. START" class="nupp">
</form>

and get it in your script using $_POST['id'] instead of $_GET['id']

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Problem to submit a form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway