I have Existing FOR loop in script like below. But the zip should happen for only those years in another file generated dynamically.
Existing FOR LOOP -
I have file which has the years for which zip should happen.
dynamic_years.txt
Updated version should look like below
It would be helpful if you can let me know how to incorporate the dynamic year change in the FOR loop.
Thanks.
Last edited by Scott; 01-22-2018 at 04:48 PM..
Reason: Please use code tags
Guys need some advice on how to check some of the questions below?
i'm running on an open VMS platform... which i am an idiot to...
appreciate if anyone can give some hints or source on how to check on..
a script that is running on cron job... but doesn't run as the login user name..
1. why... (6 Replies)
Query 1 : How to check if a directory already exists? If doesn't exist then
create a new one.
Query 2 : I want to put following text using a single echo statement into a
log file and also want to retain the formatting of the text. How it
can be... (3 Replies)
hi guys
Well, i need to have a report generation script or any script which will show me all the content/information of a file when i run that script.
Please help me on this isssue at the earliest.As i am little bit aware of scripting.Thanks in advance!
regards
ash (4 Replies)
Any help on like where to get started on this? I'm just confused.
1. The problem statement, all variables and given/known data:
Enter text here.Queries to satisfy these two report requests (use your CCI database):
Retrieve all rows of active inventory where current on hands is less than... (0 Replies)
can these 3 be combined into 1 query?
createtablea1as
selecta.tps_Res_nb,
b.tkt_prod_cd,
b.tkt_prod_typ_nm,
b.prod_intrnl_ds,
b.tkt_prod_typ_nm AS TKT_ENTL_NM,
casewhen b.tkt_prod_nm isnotnullthen b.tkt_prod_nm
when b.tkt_prod_nm isnulland b.prod_intrnl_ds isnotnullthen... (1 Reply)
Is there any way to see how many queries come into our external DNS server? In looking at DNS providers, most of them base pricing on number of queries per month so I just wanted to see if you had any idea/way of gathering that data? A rough ballpark figure would even work.
Our DNS server is... (1 Reply)
Hey everyone,
I have a question, I've been playing around with tcpdump, and noticed my machine making numerous rdns look ups. They are displayed like:
10.80.80.141.51234 > 10.80.80.1.domain: 9950+ PTR? 223.114.55.65.in-addr.arpa. (44)
My question is, if dns works based on numerical... (0 Replies)
If I have /etc/motd, he is file or directory?
I saw that some call them folders and files others... Which option is better?
I knew that being a director, but many told me not.
Thank you! (1 Reply)
Discussion started by: mescu
1 Replies
LEARN ABOUT PHP
zip_entry_open
ZIP_ENTRY_OPEN(3) 1 ZIP_ENTRY_OPEN(3)zip_entry_open - Open a directory entry for readingSYNOPSIS
bool zip_entry_open (resource $zip, resource $zip_entry, [string $mode])
DESCRIPTION
Opens a directory entry in a zip file for reading.
PARAMETERS
o $zip
- A valid resource handle returned by zip_open(3).
o $zip_entry
- A directory entry returned by zip_read(3).
o $mode
- Any of the modes specified in the documentation of fopen(3).
Note
Currently, $mode is ignored and is always "rb". This is due to the fact that zip support in PHP is read only access.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
Note
Unlike fopen(3) and other similar functions, the return value of zip_entry_open(3) only indicates the result of the operation and
is not needed for reading or closing the directory entry.
SEE ALSO zip_entry_close(3), zip_entry_read(3).
PHP Documentation Group ZIP_ENTRY_OPEN(3)