CyberArmy University | Open Source Institute | CyberArmy Intelligence & Security | CyberArmy Services & Projects

Question If i may



    Question If i may [View] [Reply] [Top]
    Posted by Tr nimesis On 2003-07-01 05:51:05
    Okay,
    If you All do Not Remember me, The Names Jeff ;)
    Now for the Question.
    I Was Looking At this Very Forum and Looking and When i onMouseover the Link, it Has a Directory, Then a message Number.
    Okay, I Was Wondering if you Direct it thro a Open dir format or a open file format, into the directory
    ##Open Directory format
    opendir(DIR, "/messages/");
    @Directory=readdir(DIR);
    close(DIR);
    ##End Directory Format
    and open each file with in the directory,
    OR would it Be something like:
    ##Open File Format
    open(FILE, "/messages/$Number_Increment");
    @File_=<FILE>;
    close(FILE);
    ##close file format
    and each time it posts to the board, the Number_Increment Counts upwards
    $Number_Increment++;
    So that the Post would never Be the Same and it would Post like
    1.htm
    2.htm
    3.htm
    ect. ect.
    So, How is it Built? Method one or to?
    Because when i Open a Directory (I Dunno if it accurs with anyone Else) But i get
    .
    ..
    Fileshere[*.html|*.pl]
    And it Makes me see that
    Else When i Open a File, I Just Print it out
    First i print the File Data into a FILE.txt
    and read from the FILE.txt
    and for a foreach loop for all the pieces of Data within FILE.txt
    and that works just fine for me.
    Im Sorry if this is Just a Little Long, Just Curious.
    Thanx in advance
    -Jeff
     


CyberArmy::Forum v0.6
Generated In 0.02212 seconds


About Us | Privacy Policy | Mission Statement | Help