I have a little idea to improve situation: rename randomly the file before (easy) or after downloading. Thus, users cannot know its name for next downloading without visiting the page.
Excellent!!! It is enough for me now. Thank you very much :D BTW, if anyone know a better method (more effective), please let me know. For example, to get an integer of 4 bytes from the string, I have to write a look-like crazy code: $n = ord($s{0})+(ord($s{1})<<8...
I want to reuse my own database written in C++. A record in C++ like that: CPerson { CString name, addr; int age; Save (CArchive &ar) { ar << name; ar << addr; ar << age; } }; So far I have just learned how to read all data into string as the following code: $filename = "mydata.dat"; $...
I have just downloaded the latest php yesterday (so hope the latest GD). I try some image functions such as imagecreate, imagecreatefrompng, imageline, imagefilledrectangle. They work well. However, when I try some other imagefilled such as imagefilledellipse, imagefilledarc, they don't work and the...