Jump to content

[SOLVED] GET, POST and phpinfo() dont work


Recommended Posts

Xitami server on windows, worked  fine with php4, but after upgrade to php5, post and Get methods stoped working

 

localhost/file.php?var=Text

<?php

echo $_GET['var'];

?>

 

wont print anything

also phpinfo() wont parse

<?php

//my code

phpinfo();

?>

this code prints:

phpinfo() PHP Version => 5.2.1 System => Windows NT NOD 5.1 build 2600 Build Date => Feb 7 2007 23:10:31 Configure Command => cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" Server API => Command Line Interface Virtual Directory Support => enabled Configuration File (php.ini) Path => C:\WINDOWS\php.ini PHP API => 20041225 PHP Extension => 20060613 Zend Extension => 220060519 Debug Build => no Thread Safety => enabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => php, file, data, http, ftp, compress.zlib Registered Stream Socket Transports => tcp, udp Registered Stream Filters => convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.* This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => Off => Off allow_url_fopen => On => On allow_url_include => Off => Off always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_globals_jit => On => On auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => ... etc etc

 

dont know wtf is wrong, just a standard installation, no extra extensions or modules added

 

also tryed loading php-win.exe instead of php.exe but no go, anyway to fix this or just go back to php4??

Link to comment
https://forums.phpfreaks.com/topic/48062-solved-get-post-and-phpinfo-dont-work/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.