Author Topic: [FIX] - Install.php  (Read 3858 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
[FIX] - Install.php
« on: September 08, 2007, 05:24:12 PM »
Detail: Check rational chars like global.php file.

Find:

Quote
$action = (isset($HTTP_GET_VARS['action'])) ? stripslashes(trim($HTTP_GET_VARS['action'])) : stripslashes(trim($HTTP_POST_VARS['action']));

add after:

Code: [Select]
$action = preg_replace("/[^a-z0-9_-]+/i", "", $action);

(Do same for all update file from ZIP).
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?