Jump to content

tommie

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Posts posted by tommie

  1. ok now i have found the right php.ini and changed so now phpinfo() says that register_global=on but i still cant use my scripts..

    page1:
    [code]<form action=index2.php method=post>
    <input type=text name=variable>
    <input type=submit value="Logga In">
    </form>[/code]

    page2
    [code]<?
    echo $variable;
    ?>[/code]

    i cant find any errors in that code and it have always worked before
  2. ok when i run the phpinfo i got register global=off so thats my problem i just havnt changed the right php.ini but i cant find anymore lol but how exactly do i do a htaccess  file i tried and created a test.htaccess and wrote
    [code]php_flag register_globals On [/code] but nothing changed. so dont i have to implement it or something?
  3. ok.. cant find a php.ini in  xampp\apache\conf but in xampp\apache\bin is 1 and that one was register global=on
    and in apache\php every php.ini is register global=on even the php5.ini
    so im kinda confused that its not working...:/
  4. im using the latest version of xampp so:
    Apache 2.2.3
    PHP 5.1.6

    when i used it before dont remember what version i used then it was only to turn on registerglobal and restarted the server and it worked so im kinda bummed now..:/
  5. Hi.
    I have a problem i just upgraded to php5 and now my pages dont work.
    i have always used register global=on. I know that the security sucks with that but i really dont care use it bc its so easy. but now when try my pages it they dont work. when i call a variable from a form from the page before i use $variable and not $get['variable'] and i dont wanna change every page. How can i make it works again?
    and of course i have register glocal=on in php.ini
×
×
  • 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.