User Profile

Collapse

Profile Sidebar

Collapse
ParK
ParK
Last Activity: Sep 13 '06, 02:35 PM
Joined: Sep 11 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ParK
    replied to unlink from server problem ?
    in PHP
    correct syntax ?

    @unlink( '../il-uploads/'.$uploadedfile ,'r');

    or

    @unlink( '$uploaddir'.$u ploadedfile,'r' );

    same error ......
    See more | Go to post

    Leave a comment:


  • ParK
    replied to unlink from server problem ?
    in PHP
    yep anyone help ?
    See more | Go to post

    Leave a comment:


  • ParK
    replied to unlink from server problem ?
    in PHP
    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_d eleted equals user uploaded file ?

    how can i delte a file which is just uploaded by user ?...
    See more | Go to post

    Leave a comment:


  • ParK
    started a topic unlink from server problem ?
    in PHP

    unlink from server problem ?

    [PHP]<?php
    $doc_root=("../il-uploads/"); //main dir
    $file=$_FILES['uploadedfile']['tmp_name'];
    $fp = @fopen("../il-uploads/".$file,'r' );//open it
    @fclose($fp);
    @unlink($doc_ro ot.'/'.$file);
    ?>[/PHP]

    not working :(

    any suggestion or help ?

    then changed to >

    [PHP]@unlink( '../il-uploads/'.$uploadedfile ,'r');[/PHP]...
    See more | Go to post
No activity results to display
Show More
Working...