Jump to content

dimis283

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

dimis283's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I have done a php backup application . So there is a form that user pick some files to zip and download. Because of a problem with greek characters I make a servet (java) to create the zip. But I want to keep all validations that php make, so how can php send to servlet the post data after the validation? I tried curl but with that nothing is dowloading. ... //form has send files, use of yiiframework if ($download->validate()) { Yii::app()->myutilitie->afterAuth(Yii::app()->user ->name,'Front-end download files '.Yii::app()->user->name); $ch = curl_init(self::JAVA_URL); curl_setopt($ch, CURLOPT_POST ,1); curl_setopt($ch, CURLOPT_POSTFIELDS ,$dfiles); curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,1); // curl_setopt($ch, CURLOPT_HEADER ,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER ,1); $Rec_Data = curl_exec($ch); ...
  2. I use codeigniter zip class to create zip files on the fly. The problem is that it can not read greek characters at file names.(eg τεστ=>_Ε+__Δ_Ε). I tried at class mb_convert_encoding($path,"auto"); but nothing. Server is debian/apache and as admin said encoding is el_GR.UTF-8
×
×
  • 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.