|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
looking through my code, there is hundreds and hundreds of variables id need to edit and change $variable to $_GET['variable']
and some of them are from either, like login is a POST method, but the action is login, so you click login and the url is ?action=login, then you submit and it sends the POST information with $login, $username, $password.. |
|
|||||
|
HAH! Found an emulator
PHP Code:
|
|
|||||
|
You can turn this on in your .htaccess file as well. Add:
Code:
php_flag register_globals on
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||||
|
Since this server is running phpSuExec, I don't believe php flags can be set in the .htaccess file - they need to be set as directives in a personal php.ini file, in the directory the flags should be set. However, phpforfun should note, not using variables of the form $_POST and $_GET is a security risk as forms can be easily spoofed. Which is the reason why the server has them disabled by default.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
| Sponsored Links |
|
|
|
|||||
|
Quote:
![]()
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
I am - if you buy one, I will autograph it for you
![]()
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Register Controls | Anirban Chakraborty | C and C++ | 1 | 06-01-2007 11:48 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 97%