Jump to content

ParK

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

About ParK

  • Birthday 11/04/1982

Contact Methods

  • MSN
    park.tr@gmail.com
  • Website URL
    http://www.parksdiary.com

Profile Information

  • Gender
    Male
  • Location
    istanbul/turkey

ParK's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. i try to extract a rar file via php but i get an error: Fatal error: Call to undefined function: rar_open() in --parksdiary.com/httpdocs/rar2.php on line 8 my codes: <?php $filename = "file.rar"; $filepath = "/rar_ac"; $rar_file = rar_open($filepath.$filename); <--- here is the rar_open function line $list = rar_list($rar_file); foreach($list as $file) { $entry = rar_entry_get($rar_file, $file); $entry->extract("."); } rar_close($rar_file); ?> i dont understand why iam getting this error ??? may you help me ?
  2. so how can i delete the uploaded by user i mean just user uploaded... or how can i write the line deleting the user uploaded file..."../il-uploads/'.$file_will_be_deleted.'"; what is the code  $file_will_be_deleted equals user uploaded file ? how can i delte a file which is just uploaded by user ? thanx :)
  3. i want to delete it ... @ should be in there .... i cant delete any files ? thats my upload.php name > uploadedfile and changed delete.php to > [code]@unlink( '../il-uploads/'.$uploadedfile,'r');[/code] it doesnt delete ... [url=http://parksdiary.com/?page_id=11]upload somthng  and try to delete it[/url] you cant delete the file which you have uploaded
  4. this is my delete.php [code]<?php $doc_root=("../il-uploads/"); //main dir $file=$_FILES['uploadedfile']['tmp_name']; $fp = @fopen("../il-uploads/".$file,'r');//open it @fclose($fp); @unlink($doc_root.'/'.$file); ?>[/code] not working :( any suggestion or help ?
  5. i wrote simple e-mail php script and want to improve it and myself.. i decided to add 'lang' property ... i added a line : [in teller.php] [code] // translation function function lang($key) { global $lang;[/code] my lang file: [code]$dil=array{          #yazılar          'İsim'=>'';          'E-postan'=>'';          'Kanka e-posta'=>'';          'Blogumu Tavsiye Edin!'=>'';          #Butonlar          'Gönder'=>'';          'Temizle'=>'';          );          ?>[/code] and im getting errors i know script files have not known my lang file yet , how can i do it ? thank you :) also: a look: [in teller.php] [code]<input type="submit" name="Submit" value=" <?php echo dil or lang('Gönder/or Send');?>" />  [/code]
×
×
  • 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.