Files in folder
am 23.01.2008 22:52:18 von lfelipecrHi
I want to develop a page, that show the content of the folder where is
hosted.
How can I do that?
Thank in advance!
Hi
I want to develop a page, that show the content of the folder where is
hosted.
How can I do that?
Thank in advance!
On Wed, 23 Jan 2008 22:52:18 +0100, Nomad(CR)
> Hi
>
> I want to develop a page, that show the content of the folder where is
> hosted.
>
> How can I do that?
RTFM:
glob()
readdir()
--
Rik Wasmus
>
> RTFM:
> glob()
> readdir()
> --
> Rik Wasmus
Thanks for the info, but I am new in PHP, could you explain me more?
On Thu, 24 Jan 2008 15:28:11 +0100, Nomad(CR)
>> RTFM:
>> glob()
>> readdir()
>
> Thanks for the info, but I am new in PHP, could you explain me more?
What is wrong with example(s) provided to you at http://php.net/readdir,
or the example(s) at http://php.net/glob? Be sure to read the user
contributed notes as well. PHP has one of the finest manuals around, and
you should take advantage of that.
--
Rik Wasmus
Nomad(CR) wrote:
>> RTFM:
>> glob()
>> readdir()
>> --
>> Rik Wasmus
>
> Thanks for the info, but I am new in PHP, could you explain me more?
Everything can be found in the PHP manual:
http://be.php.net/glob
http://be.php.net/readdir
Each page also contains numerous examples submitted by other people.
Combining them creates the exact thing you are looking for.
- Jensen
<792883f4-880d-4c75-b1bb-7ef1f26928cc@e23g2000prf.googlegroups.com>
> > RTFM:
> > glob()
> > readdir()
> > --
> > Rik Wasmus
>
> Thanks for the info, but I am new in PHP, could you explain me more?
>
This is php newsgroup - how dare you ask for help when most of the
regulars are only interested in telling you to read the manual .
Dont you realise thats how they get their kicks and thats what gets them
off everyday .
On Thu, 24 Jan 2008 16:17:41 +0100, Krustov
>
>
>
> <792883f4-880d-4c75-b1bb-7ef1f26928cc@e23g2000prf.googlegroups.com>
>
>> > RTFM:
>> > glob()
>> > readdir()
>>
>> Thanks for the info, but I am new in PHP, could you explain me more?
>>
>
> This is php newsgroup - how dare you ask for help when most of the
> regulars are only interested in telling you to read the manual .
>
> Dont you realise thats how they get their kicks and thats what gets them
> off everyday .
Krusty, you know damn well I seldomly use RTFM, and in this case an exact
example of what the OP wants is IN the manual. Pointing out the fine
manual to newbees is not meant as a put down, it is sincere advise. Don't
try to find any personal or political agenda between the lines, there is
none other then helping out others for me (allthough I can go off on a
rant if people don't take that advise seriously / have no intention to use
best practise coding standards).
--
Rik Wasmus
> >> > RTFM:
> >> > glob()
> >> > readdir()
> >>
> >> Thanks for the info, but I am new in PHP, could you explain me more?
> >>
> >
> > This is php newsgroup - how dare you ask for help when most of the
> > regulars are only interested in telling you to read the manual .
> >
> > Dont you realise thats how they get their kicks and thats what gets them
> > off everyday .
>
> Krusty, you know damn well I seldomly use RTFM
>
Do i ? .
No offence old chap , But i tend not to linger or savour your every word
and as such i've no idea what you do or seldomly do .
On Thu, 24 Jan 2008 17:18:28 +0100, Krustov
>
>
>
>
>
>> >> > RTFM:
>> >> > glob()
>> >> > readdir()
>> >>
>> >> Thanks for the info, but I am new in PHP, could you explain me more?
>> >>
>> >
>> > This is php newsgroup - how dare you ask for help when most of the
>> > regulars are only interested in telling you to read the manual .
>> >
>> > Dont you realise thats how they get their kicks and thats what gets
>> them
>> > off everyday .
>>
>> Krusty, you know damn well I seldomly use RTFM
>
> Do i ? .
Ah, so you don't know what I post normally? Yet you claim to have an
insight. Or do you claim that by adding the phrase 'most regulars', I
should not feel offended?
> No offence old chap , But i tend not to linger or savour your every word
> and as such i've no idea what you do or seldomly do .
Then don't claim to know what I usually post, and what gets me off.
I understand an 'RTFM' is in some circles grossly overused, and can cause
some people to take an instant dislike. In this case however, it was
exactly what the OP needed, as the manual even includes an example with
the exact functionality he specified. So, even an 'RTFM' reply should be
rated on its context (and I did provide the 2 function that might be of
interest).
On a side note, according to google RTFM isn't that widely used here:
quotes.
--
Rik Wasmus
On 24 ene, 08:48, "Rik Wasmus"
> On Thu, 24 Jan 2008 15:28:11 +0100, Nomad(CR)
> >> RTFM:
> >> glob()
> >> readdir()
>
> > Thanks for the info, but I am new in PHP, could you explain me more?
>
> What is wrong with example(s) provided to you athttp://php.net/readdir,
> or the example(s) athttp://php.net/glob?Be sure to read the user
> contributed notes as well. PHP has one of the finest manuals around, and
> you should take advantage of that.
> --
> Rik Wasmus
I didn't say that it is wrong, I just say that don't understand how to
use it!