Results 1 to 2 of 2

Thread: Php Problem maybe php.ini ?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2004
    Posts
    72

    Php Problem maybe php.ini ?

    I posted this question but i edited because i figured it out

    I installed php5, apache and mysql in my xp machine
    anyways for about 6 hours i tried to fugure out why it would pass anywariables like http://www.somewhere.com?variable=123456
    it just would pass them
    anyways the problem was my php.ini
    i had to do "register_globals=on" how ever it doesnt seem to work on firefox only IE
    Last edited by wolve; Jan 5th, 2006 at 10:05 AM.
    I'm not a pain in the ass, Im just making things intresting......

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Php Problem maybe php.ini ?

    Regiser globals should be left off and you should use the $_GET and $_POST arrays instead.
    PHP Code:
    $variable $_GET['varname']; 
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width