Useful notes & manuals
from the
world wide web
L:
P:
Register now!
<<<1>>>
Save data/variable on screen rotation or other activity re-creation | read more.. Android
Source code from: unknown Created by tlw on 19.01.2020 @ 21:18

Sometimes we need to save some data when the activity is re-created.

File upload application using a FileReference API | read more.. Unsorted
Article from: http://markshu.ca/imm/flash/tutorial/fileReference.html Created by tlw on 19.01.2020 @ 21:18

One of the largest demands from the Flash development community was a file system that could be used for file upload and downloading. A lot of the users/developers were hoping Macromedia can implement a new function/object in Flash 8 regarding to this issue. When Macromedia developed Flash 8, they incorporated the fileReference Object, which allows the SWF file access the user's machine and thus able to perform the file upload and download operation.

Submit a form using POST method through PHP | read more.. PHP
Solution from: unknown Created on 19.01.2020 @ 21:18

To submit a form using POST method through PHP, just add the data to be posted as header. This essentially saves one extra html page sent to the browser when user has to be redirected. Mostly found this technique useful for redirecting to payment gateways.

format number | read more.. PHP
Source code from: http://www.php.net/manual/en/function.sprintf.php Created on 19.01.2020 @ 21:18

sprintf(_("%.2fMB"), $info->Size / (1024 * 1024));

HTML URL Encoding Reference | read more.. HTML
Article from: http://www.w3schools.com/TAGS/ref_urlencode.asp Created on 19.01.2020 @ 21:18

URL encoding converts characters into a format that can be safely transmitted over the Internet.

<<<1>>>
 
Created by THE LOST WEB © 2009-2012