Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Wadliwe dzialanie post/formularza
Rudeman
post
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 6.08.2009

Ostrzeżenie: (0%)
-----


Witam!
Mam formularz w html'u, ktory przesyla dane metoda post. W 90% dane przechodza bez zarzutu, lecz zdarzaja sie przypadki, ze informacje w ogole nie zostaja przeslane. Czy ktos sie orientuje co moze byc tego powodem? Ponizej kod wymienionego formularza:

  1. <form action="<? print $filename;?>"enctype="multipart/form-data" method="POST">
  2. <table border="0">
  3. <tr>
  4. <td><h6>Data aktualizacji</h6></td>
  5. <td><h6><input type="text" name="data" size="20" maxlength="25" value="<? print date("Y-m-d"); ?>"></h6></td>
  6. </tr>
  7. <tr>
  8. <td><h6>Tytuł aktualizacji</h6></td>
  9. <td><h6><input type="text" name="tytul" size="45" maxlength="150"></h6></td>
  10. </tr>
  11. <tr>
  12. <td><h6>Opis aktualizacji:</h6></td>
  13. <td><h6><textarea name="opis" rows="6" cols="50"></textarea></h6></td>
  14. </tr>
  15. <tr>
  16. <td><h6>Plik pełnej wersji</h6></td>
  17. <td><h6><input type="file" name="plik1"></h6></td>
  18. </tr>
  19. <tr>
  20. <td><h6>Opis pliku pełnej wersji</h6></td>
  21. <td><h6><input type="text" name="plik1_opis" size="45" maxlength="300" /></h6></td>
  22. </tr>
  23. <tr>
  24. <td><h6>Plik dokumentacji</h6></td>
  25. <td><h6><input type="file" name="plik3" /></h6></td>
  26. </tr>
  27. <tr>
  28. <td><h6>Opis pliku dokumentacji</h6></td>
  29. <td><h6><input type="text" name="plik3_opis" size="45" maxlength="300" /></h6></td>
  30. </tr>
  31. <tr>
  32. <td colspan="2" align="center">
  33. <h6>
  34. <input type="hidden" name="id" value="<? print $id;?>" />
  35. <input type="hidden" name="dodaj" value="true" />
  36. <input type="submit" value="Dodaj" />
  37. </h6>
  38. </td>
  39. </tr>
  40.  
  41. </form>
Powód edycji: [Spawnm] Przeniosłem.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 12:17