Hello All,
Here is some Pseudocode please tell me if I am on the right track with
this, I am TRYING to write in this Pseudocode and am finding my self
eithe righting to much or not enothe.
Issue / idea, to have build a script that check to see if file is
there and if so open the file then run another script.
********** Simple-Form **********
1 SET var of file list
2 SET var of file list location
3 Check to see if file is existing
4 Open file
5 call script for reading file
********** Pseudocode **********
SET File_List = mbr-np-list.lst <-- Var for file which holds list of
files to download
SET File_List_Location = /LIST/ <-- Var for location of the file mbr-np-list
IF FILE EXIST (File_List)
THEN OPEN file (File_List)
IF FILE (File_List) OPEN
THEN CALL / INCLUDE read_file <--- is another script
ELSE DISPLAY File cannot be opened
END IF
ELSE DISPLAY File cannot be found
END IF
What do you think? is this a better way to go about it, creat one
little area at a time and keep building the other parts as I get the
part before done? in this case it checks to see if a file is tehre
and then opens the file if its not there then it will give a error /
display file not there.
Would it be better just to have a file that has the list in it or use
a database, if a database then I would need to change this if file
would be best then great I think this would cover it then.
I thank you for your imput!
Sincerely,
Christopher
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/