Re: Deleting Files & Records

From: Date: Mon, 25 Dec 2000 00:27:27 +0000
Subject: Re: Deleting Files & Records
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31771@lists.php.net to get a copy of this message
> Hello, > > I wanted to delete file on my server. I used the ulink(string > completefilename) function but it gave fatal error saying that I was > calling an undefined fuction. I was running my script on UNIX. Can > someone plz tell me how to delete files on web server using php. You are wanting unlink, ulink does not exist. http://www.php.net/manual/function.unlink.php > Another thing which I wanted to ask is this when I have records > resulting from the select query more than (lets suppose) 20 than I want > to display them in different pages that is first 20 on one page and a > link to next 20 and so on. Consider LIMIT in SQL. Perhaps this will help : Building Next/Prev Buttons for Query Results (Part 2) http://phpbuilder.com/columns/rod20001214.php3 If not, try searches for "prev" , "next" and/or "limit" on this list or any php forum/discussion place : http://www.php.net/search.php (specify area to search) And it's best to limit posts to one question type as per the subject line. Regards, Philip Olson .sig [ Will work for Money : http://www.cornado.com/ ]

« previous php.general (#31771) next »