it just check the mode you passed as a parameter is equal to 'c'. If it is equal to 'c' then create an empty file for output operations ("w"). else open a file for update ("r+") (both for input and output).
In advance, please excuse my lack of knowledge regarding the following topic, I have tried to familiarise myself with the topic using both google and the search function.
A friend of mine asked whether I could get data from a specific website for him, I answered "yes, I can try". I feel like I am pretty close and only need a final push. So let's go:
www.regelleistung.net -> this is the website in question
Menu item : Data for Control Reserve - in the following form he would normally specify what kind of data he is interested in and would then click the submit button .
Someone gave me the TAMPER information for the post request and I came up with the following code:
1. The request requires a jsession cookie which I retrieve + from TAMPER I saw that I require several other items of interest : __fp , _sourcePage and CSRFToken.
Because I do not know how to get those information without making an actual request - I just perform a testrequest and populate an array, which I will use for the actual request
i do not the main objective of using bar code but guessed that people store & hide info through bar code for to some extent security. may be i am not correct.....if anyone knows the exact objective for storing info in bar code then plzz share with me. thanks
All a bar code contains is an Article Number (AN) - which is a unique identifier for a product type. So a 100g chocolate bar will have one AN, and a 100g chocolate bar from a different manufacturer will have a different one. a 200g bar from the same manufacturer will also have a different AN.
What that means is that you can scan teh product barcode, and get a number which lets you go to your database, look up the AN and get told "this is a Cadburys Dairy Milk 100g and we are selling it at £1.50, we have 72 in stock and we reorder if the stick level drops to 71". Without the user or operator having to enter any information (with the good probability that he will make a mistake).
It's not security, it's just a number (which contains a simple checksum code) which identifies something. Everything else is a database / application function.
(There are barcode types which contain more information than this - a lot more in some cases - but that's the general idea)
You looking for sympathy?
You'll find it in the dictionary, between sympathomimetic and sympatric
(Page 1788, if it helps)