Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Metoda POST w PHP5, Z archiwum X
MrMag
post 19.10.2006, 20:13:11
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? 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
jarrod
post 20.10.2006, 00:46:34
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 20.10.2006, 06:51:42
Post #3





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

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


witam

która wersja php 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.


--------------------
Computer games don't affect kids; I mean if <span style="font-weight: bold;">Pac Man</span> affected us as kids,we would all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music.
Go to the top of the page
+Quote Post
MrMag
post 20.10.2006, 07:48:38
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 sad.gif


--------------------
Go to the top of the page
+Quote Post

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 Wersja Lo-Fi Aktualny czas: 14.08.2025 - 00:17