Jump to content

mraiur

Members
  • Posts

    59
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mraiur's Achievements

Member

Member (2/5)

0

Reputation

  1. And yet again i repeat " // Return the language array return $return;" u dont return a array but the last value u assign to the "$return"
  2. i think u are doing two things wrong. 1. str_replace accepts arrays also. so there is no need to have 10-20-100 lines of code str_replace You can do it like str_replace( $replacement_array, $matched_array, $fromWhere); 2. u do loop the get and post but u replace every time $return. I thing its bether to make an empty array and fill it whit the cleared values and then return it.
  3. it means "huh thanks for the help.... whit this "give the code" stuff" And i know that i have to set the error reportiong to see the errors but there are no errors just nothing is resized and i wonder how to put the question up like: 1. Do you know if there is a limit of the the imagecreatefromjpeg for example. or 2. Do you have any idea why on my local mashine i can resize the image and the same image i cant on the "live server" ? Is there any php.ini specs that has to be changed....
  4. хах добре че помогна .... с толко мнооо "дай кода".....
  5. ok and again to explain that the code works on my dev mashine and i has problems on the "live" server ... where i missed to explain that ... maiby on the topic it self ?
  6. the problem is not in the upload at all the problem is that if the picture file size is more then 1.0mb the resize script doest nothing . and the script i took from php.net ...
  7. Hi. I have made a resize and upload class. And the file thumb.php has a strange problem i upload a picture witch is above 2 mb filesize ( 4.8MB to be exact). Okey i am testing it on my laptop witch is running on windows with base php.ini and the thumb.php resizes the picture with no problem. But after i upload the the converting and resizing scripts they work . The images are uploaded with no problem but the resize works only if the image file is less then 1.0MB - 1.2MB. So has enyone have an idea what is the problem ?
  8. <form action="" method="post" name="somename"> <input type="hidden" name="idm2" value="3"> </form>
  9. How can i set specific file encoding on multiple fails?
  10. but the problem is that they are shown normaly but i need to cut the string for example 100 chars and when i see the cutted string "invalid character".
  11. no i generate multiple files and the encoding witch has to be used is selected from the URL. So ?encoding=1 ( utf-8 files ) ?encoding=2 ( windows-1251 files )
  12. hmm try $new_class =& new validate(); first and then call the preg_replace function i think its better to name your variables longer then with on letter .
  13. try converting it whit html_entity_decode() ...
  14. Is there any other way to convert or something like that ... i tried converting the string to utf8 but yet again it still makes "invalid characters" ...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.