i upload wapdesire n configured it evething ohk but i cant regis even i trie php.ini n htacces i got 500 eror with htacces tried everything but not able to regis plz help my site is CHAT ZONE
wapdesire error plz help
Collapse
X
-
Originally posted by rajveer View Postregistration is on but register globals are of in my host tried to use htacess file got 500 eror used php.ini file to turn golbals on nothing happend when try to regis nothing hapeens n i stay on registration page ? plzhelp me
if won't work try turn it on.
does ur hosting support .htaccess? if not
try this in php.ini
register_globals=on/off
gud luckksigpic
Visit my WEBSITE Project: http://www.aspirewap.net
Comment
-
i have to put php.ini file in every foder or only in main directory ?
Added after 5 minutes:
Tried everything but always get redircted to regis pageLast edited by rajveer; 15.05.11, 03:38.
Comment
-
Insert this into /core/functions.inc
Code:function register_globals($order = 'egpcs') { // define a subroutine if(!function_exists('register_global_array')) { function register_global_array(array $superglobal) { foreach($superglobal as $varname => $value) { global $$varname; $$varname = $value; } } } $order = explode("\r\n", trim(chunk_split($order, 1))); foreach($order as $k) { switch(strtolower($k)) { case 'e': register_global_array($_ENV); break; case 'g': register_global_array($_GET); break; case 'p': register_global_array($_POST); break; case 'c': register_global_array($_COOKIE); break; case 's': register_global_array($_SERVER); break; } } }
Code:register_globals();
Comment
-
Can u Plz tell any code to show on my site Index main page there is only online users can i add guest online n registers user means showing code online user8 geust 2 total register12o that way
Added after 5 minutes:
thnx u very much i am getting registerd nowLast edited by rajveer; 16.05.11, 01:46.
Comment
-
Originally posted by rajveer View PostCan u Plz tell any code to show on my site Index main page there is only online users can i add guest online n registers user means showing code online user8 geust 2 total register12o that way
Added after 5 minutes:
thnx u very much i am getting registerd now
Added after 50 minutes:
Originally posted by woody View PostInsert this into /core/functions.inc
Code:function register_globals($order = 'egpcs') { // define a subroutine if(!function_exists('register_global_array')) { function register_global_array(array $superglobal) { foreach($superglobal as $varname => $value) { global $$varname; $$varname = $value; } } } $order = explode("\r\n", trim(chunk_split($order, 1))); foreach($order as $k) { switch(strtolower($k)) { case 'e': register_global_array($_ENV); break; case 'g': register_global_array($_GET); break; case 'p': register_global_array($_POST); break; case 'c': register_global_array($_COOKIE); break; case 's': register_global_array($_SERVER); break; } } }
Code:register_globals();
Last edited by Pavan; 27.05.11, 05:55.
Comment
Comment