Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - V@no

Pages: [1] 2 3 4 5 ... 741
1
Discussion & Troubleshooting / Re: download.php issue
« on: December 07, 2012, 03:59:16 AM »
You forgot to explain what is the problem...

2
It's your "addthis" widget.

3
This is offtopic, but as I tried to explain earlier it's not your server's configuration. include() function uses to execute PHP code from a different file. When you access any .php files via remote address (http://) it executes that .php file on that remote server, so when your server tries include that .php file it gets the generated by that file output, which is usually HTML code, not PHP source code of that file.
Now, if you'd rename random2.php to random2.txt, then it might work, because remote server would simply output text inside that file, not execute it.

4
Found it.

In includes/catpass.php find:
Code: [Select]
if (!function_exists("get_self"))
{
  function get_self()
  {
    $list = get_included_files();
    return $list[0];
  }
}
if (!function_exists("get_self_full"))
{
  function get_self_full()
  {
    global $HTTP_GET_VARS;
    $q = $HTTP_GET_VARS;
    $query = array();
    foreach($q as $key => $val)
    {
      $query[] = $key . "=" . $val;
    }
    return ROOT_PATH.basename(get_self()).(!empty($query) ? "?".implode("&", $query) : "");
  }
}

Replace it with:
Code: [Select]
if (!function_exists("get_self"))
{
  function get_self()
  {
global $self_url;
return $self_url;
  }
}
if (!function_exists("get_self_full"))
{
  function get_self_full()
  {
    global $script_url;
    return $script_url."/".get_self();
  }
}

5
No, it's not it. You cannot include remote .php files, simply because when your server requests for a .php file it receives whatever that php script generates, not it's source.

6
It seems 4images incorrectly identifies the script filename ($PHP_SELF)

I'd need access to phpinfo() to investigate

7
Sorry for the delay. Can you setup a test password protected category so I can test it out?

Thanks.

P.S.
register globals is not an issue here.

8
If you do access to server's error logs and php error logs, look if you see anything related to this.
If nothing there, I'd like to try it myself if it's possible (you can PM me if you don't want publish it)

9
Can you attach these files modified by the mod?

global.php
details.php
categories.php
includes/auth.php
includes/page_header.php
includes/sessions.php
admin/categories.php

10
There are no such hot keys available in 4images itself. What you had was most probably your OS or browser's feature...

Personally I use Firefox (not Firebox :D) and when I have to submit multiple forms, I just hit back button which opens the form with everything filled out from previous submission.

11
Discussion & Troubleshooting / Re: how do i move a group of pictures?
« on: September 20, 2012, 04:35:08 AM »
Don't forget move image files to media/98 folder...

12
Do you use any SEO mods? (these that replace categories.php?cat_id=123 with cat123.html or similar)

13
Discussion & Troubleshooting / Re: All Downloaded Files are Empty
« on: September 01, 2012, 05:14:28 PM »
Actually the downloaded files is 3 bytes bigger.
The problem is that at least one of the .php files you've edited was saved in UTF8 encoding with BOM (if you open image in HEX editor, you'll find 3 extra bytes at the beginning EF BB BF)
Refer to our UNICODE / UTF8 / UTF16 related topic for more information and what to do about it.

14
If it's only for yourself, the simplest solution is to use some browser extension. For example for Firefox:
 https://addons.mozilla.org/en-US/firefox/addon/lazarus-form-recovery

15
Mods & Plugins (Requests & Discussions) / Re: Show High Score
« on: May 20, 2012, 12:39:29 PM »
First thing first, what games? And then, what score?

Pages: [1] 2 3 4 5 ... 741
Post your comments here