Author Topic: non-ascii chars in image name or file name or comments - $HTTP_POST_VARS['image_  (Read 39831 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
No do thing with member.php file ... you say line you can fin ... compare with ZIP file. Is in.
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 ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
How many $HTTP_POST_VARS['image_name'] line have ?
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 ?

Offline webmaster73

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
this line is not in 4images

this three line is original
$image_name = un_htmlspecialchars(trim($HTTP_POST_VARS['image_name']));
$image_description = un_htmlspecialchars(trim($HTTP_POST_VARS['image_description']));
$image_keywords = un_htmlspecialchars(trim($HTTP_POST_VARS['image_keywords']));

and when replace to this lines
$image_name = (isset($HTTP_POST_VARS['image_name'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['image_name'])) : "";
$image_description = (isset($HTTP_POST_VARS['image_description'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['image_description'])) : "";
$image_keywords = (isset($HTTP_POST_VARS['image_keywords'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['image_keywords'])) : "";


is the same error



thank you. I was frustrated. now you reassured me


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
See careful from top when post 3 diff lines (343, 430, 495) - diff is.
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 ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Me or webmaster73 ? Please quote. ;)
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 ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Like say ... compare original member.php of ZIP of site ...
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 ?

Offline webmaster73

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Still find some line of this:

Quote
$image_name = un_htmlspecialchars(trim($_POST['image_name']));

No pre-define. ;)

on a freshly downloaded copy of the 4images script, ultraedit32 search in the whole directory, in *.* file types:
Search complete, found '$image_name = un_htmlspecialchars(trim($_POST['image_name']));' 0 time(s). (0 file(s)).



on a freshly downloaded copy of the 4images script, editplus search in the whole directory, in *.* file types:
---------- Find in Files ----------
0 occurrences have been found.
Output completed (0 sec consumed)

in frontpage of Office, find in source code: 0 occurences.

tell me on which line of the member.php you find this string:
$image_name = un_htmlspecialchars(trim($_POST['image_name']));





Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Quote
ultraedit32

Try totaledit or notepad. Will find from member.php. I use ultraedit32 in past, not right search function in program. ;)
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 ?

Offline webmaster73

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Quote
ultraedit32

Try totaledit or notepad. Will find from member.php. I use ultraedit32 in past, not right search function in program. ;)

4) WordPad. did not find $image_name = un_htmlspecialchars(trim($_POST['image_name'])); in member.php

5) NotePad. did not find $image_name = un_htmlspecialchars(trim($_POST['image_name'])); in member.php


enough ?


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
No see for isset in line . . .
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 ?

Offline webmaster73

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
No see for isset in line . . .

 :lol:I have lost a lot of time trying to fix the failings of the script, but this is exactly what I should be expecting for a free script.

(someone said you only get what you paid for? so we are paying nothing here, and thus.... )

I sincerely regret that such an intelligent team as 4images' produce a script in 2007 which considers non-ascii image names as "missing" and gives an error such as "fill-in Image Name" Back in 1987, that would have been forgiven. but 20 years later, no, this is disappointing.

If the 4images team is not willing to handle the bugs and errors we painstakingly discover by multiple try and error and hours spent trying.....  then I will have to go and find a better script where the coders care a bit more .... look at vbulletin.... you pay $160 to get it, but you get real service afterwards.. ;)

Having searched with 5 different programs for the text string thunderstrike is directing me to, is enough for a user.

It is up to the 4images team now to come up with a solution......

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Can use my diagnostic tool:

http://www.4homepages.de/forum/index.php?topic=18308.0

to reduce search when need help in future. Is wy is there. ;)
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 ?

Offline webmaster73

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Can use my diagnostic tool:

http://www.4homepages.de/forum/index.php?topic=18308.0

to reduce search when need help in future. Is wy is there. ;)


I would really like to, but to be honest with you, I did not understand how your tool works.

you know thunderstrike, people like me who speak english as a second or third language are not that good at understanding plain written text if it does not correspond to the english we learned in books.

I confess to you that I often have difficulty to understand what you mean.


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Quote
you know thunderstrike, people like me who speak english as a second or third language are not that good at understanding plain written text if it does not correspond to the english we learned in books.

I confess to you that I often have difficulty to understand what you mean.

Is this right ? Very good - offlist!
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 ?

Offline webmaster73

  • Jr. Member
  • **
  • Posts: 75
    • View Profile

Is this right ? Very good - offlist!

this is a good example thunder.... I don't understand here what you mean by "offlist".