Why $_GET empty ?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Dill
-


Joined: 31 Jul 2006
Posts: 2

PostPosted: Mon Jul 31, 2006 12:04 pm    Post subject: Why $_GET empty ? Reply with quote

<? print_r($_GET); >
---
[_GET] => Array
(
)
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Jul 31, 2006 12:36 pm    Post subject: Re: Why $_GET empty ? Reply with quote

Dill wrote:
<? print_r($_GET); >
---
[_GET] => Array
(
)


If there is nothing in the URL after ?, GET will be empty. Try using instead phpinfo() to have a complete list of predefined variables and their values.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Dill
-


Joined: 31 Jul 2006
Posts: 2

PostPosted: Mon Jul 31, 2006 2:12 pm    Post subject: Re: Why $_GET empty ? Reply with quote

aprelium wrote:
Dill wrote:
<? print_r($_GET); >
---
[_GET] => Array
(
)


If there is nothing in the URL after ?, GET will be empty. Try using instead phpinfo() to have a complete list of predefined variables and their values.

Thanks!

Why Server: Abyss/2.3.2-X1-Win32 AbyssLib/2.3.2
not work with header
'GET http://localhost/my_page.php HTTP/1.0
Host: localhost'
only 'GET /my_page.php HTTP/1.0
Host: localhost'
It's not good.

And may i config server for used php as isapi, not cgi-bin.
Back to top View user's profile Send private message
loloyd
-


Joined: 03 Mar 2006
Posts: 435
Location: Philippines

PostPosted: Tue Aug 01, 2006 7:56 am    Post subject: Reply with quote

Hmm... according to HTTP/1.0 protocol RFC 1945, section 5.1.2 Request-URI,
RFC 1945 wrote:
Request-URI = absoluteURI | abs_path

The absoluteURI form is only allowed when the request is being made to a proxy.
Since, you are directly interfacing with AWS and not with a proxy, then AWS should only work with abs_path. Hence, compliance is maintained.
_________________

http://home.loloyd.com/ is online if the logo graphic at left is showing.
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group