← Desenvolvimento

duvida formulario

Lida 3332 vezes

Offline

Freedoom 
Membro
Mensagens 723 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

bom dia a todos! :)
ora tenho uma duvida, tipo como é que posso colocar no meu formulario quando um utilizador acaba de o preencher e clicar em finaliar ir para outra pagina para visualizar os seus dados e caso esteja algo mal preenchido poder voltar atras para rectificar.

obrigado
Offline

Algemas 
Membro
Mensagens 1793 Gostos 0
Feedback +1

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3

Isso é com os craques. Mas posso dar-te uma dica, caso ajude...

http://phpformgen.sourceforge.net/

É fácil criar, e já tem lá tudo. Só precisas de inserir os dados que faz logo isso que queres.
Offline

Freedoom 
Membro
Mensagens 723 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

thanks algemas mas ja tenho o formulario pronto , ta me a dar é este erro :
Código: [Seleccione]
Method Not Allowed
The requested method POST is not allowed for the URL /form_mini.html.
nao percebo pq :(
Offline

10igner 
Membro
Mensagens 717 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

estás a usar algum script proprio ou foste tu que criaste o formulário?
Offline

Freedoom 
Membro
Mensagens 723 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

fui eu que criei o formulario mas estou a usar um script proprio, tipo ja consegui resolver isso, so que agora ta me a dar este erro:
Código: [Seleccione]
Warning: fopen(form-results.txt): failed to open stream: Permission denied in /home/freedoom/public_html/enviar1.php on line 33

Warning: fwrite(): supplied argument is not a valid stream resource in /home/freedoom/public_html/enviar1.php on line 49

Warning: fclose(): supplied argument is not a valid stream resource in /home/freedoom/public_html/enviar1.php on line 50

estranho 0.o
Offline

10igner 
Membro
Mensagens 717 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

o file enviar1.php as permissões de escrita?
Offline

Freedoom 
Membro
Mensagens 723 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

penso que sim, tive agora a mudar para 777 e nao worka na mesma
Offline

Freedoom 
Membro
Mensagens 723 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

resolvido  :D
Offline

10igner 
Membro
Mensagens 717 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

ainda bem
Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

mais uma vez obrigado 10igner por ajudares a malta ;)
Offline

Freedoom 
Membro
Mensagens 723 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

ya o 10igner,  é um bacano, sempre que pode ajuda o pssl :)

obrigadao
Offline

10igner 
Membro
Mensagens 717 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

estamos cá pra isso, e dentro dos meus poucos conhecimentos lá vou ajudando onde posso.
Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

poucos? :P