Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Metoda POST w PHP5, Z archiwum X
MrMag
post
Post #1





Grupa: Zarejestrowani
Postów: 154
Pomógł: 5
Dołączył: 24.02.2004

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


Mam dosc ciekawy problem...

Najpierw kod
  1. <?php
  2. var_dump($_POST);
  3. var_dump($_REQUEST);
  4. ?>
  5.  
  6. <form action="test.php" method="POST">
  7. <input type="text" name="fd" value="sdfsdf">
  8. <input type="submit" value="send">
  9. </form>


nic wielkiego, ale... to nie dziala. Nie wiem dlaczego, ale przez PHP5 nie przesyla mi w ogole POSTa. GET dziala ok. Sprawdzalem dokladnie to samo ale jako php4 i dziala poprawnie.

PHP5 chodzi jako modul. Nie dziala zarowno dla test.php5 jak i test.php z .htaccess AddType application/x-httpd-php5 .php

Czy ja o czyms nie wiem? (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

PS: pogooglowalem na zagranicznych stronach i nie jestem jedyny, ktory ma taki problem. niestety nikt nie zna rozwiazania :/ Czy Wam sie cos takiego przytrafilo?

Ten post edytował MrMag 19.10.2006, 21:22:20
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
jarrod
post
Post #2





Grupa: Zarejestrowani
Postów: 312
Pomógł: 9
Dołączył: 14.10.2006
Skąd: warszawa

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


import_request_variables" title="Zobacz w manualu php" target="_manual
Go to the top of the page
+Quote Post
orson
post
Post #3





Grupa: Zarejestrowani
Postów: 548
Pomógł: 2
Dołączył: 19.07.2003

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


witam

która wersja php (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) bo jest taka jedna która ma błąd związany z postem:
Cytat
A critical bug with $_POST array handling as well as the FastCGI sapi have been discovered in php 5.1.3. A new php release 5.1.4 is now available to address these issues. All php users are encouraged to upgrade to this release as soon as possible.
Go to the top of the page
+Quote Post
MrMag
post
Post #4





Grupa: Zarejestrowani
Postów: 154
Pomógł: 5
Dołączył: 24.02.2004

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


znalazlem tego buga. mialem wersje 5.1.4. wgralem 5.1.6 (najnowsza) i tez nie dziala (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 23.08.2025 - 16:55