11-21-2006
Any suggestions to solve this problem?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to find out if a executible file created in visual basic will run in the CGI-BIN of a unix server. I see the C section but no mention of VB.
Thanks
Sean (1 Reply)
Discussion started by: seanstog
1 Replies
2. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
3. SuSE
does exe files works withe suse
am new n linux system
and were can i find msn 4 linux (2 Replies)
Discussion started by: abdulla
2 Replies
4. Programming
how we can run the exe when the system starts. (2 Replies)
Discussion started by: phani_sree
2 Replies
5. UNIX for Dummies Questions & Answers
Can you please tell me how I can list all EXE files in a dir and Subdir which where modified say before 01/01/2006 (2 Replies)
Discussion started by: fremont
2 Replies
6. Programming
Is it possible to extract c program,from its executable file(.exe)?
i mean we dont have program but its exe file only which runs,can we retrieve the program?
if yes how?
if no why? (2 Replies)
Discussion started by: unknown9
2 Replies
7. Programming
:confused:Hi
I work on a production server. We have some .exe files in our system, the source of these files are C++ programs that are stored in the development server. How these .exe work. Could somebody please tell that in detail.
Thanks a lot!!
Kanu (8 Replies)
Discussion started by: kanu_pathak
8 Replies
8. Programming
All,
I have never comipled C code before and would appricaite if anyone could tell me how to build a .exe from a C program.
Thanks in advance. (5 Replies)
Discussion started by: thana
5 Replies
9. Programming
hello everyone,
could somebody tell me where can i find some good exercises on signals,processes and threads? actually i need to find some solved exercises in system programming.
tnx (4 Replies)
Discussion started by: micy
4 Replies
10. Shell Programming and Scripting
Hi
I have a open source tool called table text comparator
Link to download that tool: http://www.nirsoft.net/utils/csv_file_comparison.html
I wish to run this tool in our unix servers. In windows O.S i just have to unzip and i can use this tool by running the .exe file. So i want to know how... (6 Replies)
Discussion started by: Ganesh_more
6 Replies
LEARN ABOUT PHP
bcompiler_write_exe_footer
BCOMPILER_WRITE_EXE_FOOTER(3) 1 BCOMPILER_WRITE_EXE_FOOTER(3)
bcompiler_write_exe_footer - Writes the start pos, and sig to the end of a exe type file
SYNOPSIS
bool bcompiler_write_exe_footer (resource $filehandle, int $startpos)
DESCRIPTION
An EXE (or self executable) file consists of 3 parts:
o The
stub (executable code, e.g. a compiled C program) that loads PHP interpreter, bcompiler extension, stored Bytecodes and initiates
a call for the specified function (e.g. main) or class method (e.g. main::main)
oThe Bytecodes (uncompressed only for the moment)
oThe bcompiler EXE footer
To obtain a suitable stub you can compile php_embed-based stub phpe.c located in the examples/embed directory on bcompiler's CVS.
PARAMETERS
o $filehandle
- A file handle as returned by fopen(3).
o $startpos
- The file position at which the Bytecodes start, and can be obtained using ftell(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
bcompiler_write_exe_footer(3) example
<?php
/* creating the output file (example.exe) */
$fh = fopen("example.exe", "w");
/* 1) writing a stub (phpe.exe) */
$size = filesize("phpe.exe");
$fr = fopen("phpe.exe", "r");
fwrite($fh, fread($fr, $size), $size);
$startpos = ftell($fh);
/* 2) writing bytecodes */
bcompiler_write_header($fh);
bcompiler_write_class($fh, "myclass");
bcompiler_write_function($fh, "main");
bcompiler_write_footer($fh);
/* 3) writing EXE footer */
bcompiler_write_exe_footer($fh, $startpos);
/* closing the output file */
fclose($fh);
?>
NOTES
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in
a future release of PHP. This function should be used at your own risk.
SEE ALSO
bcompiler_write_header(3), bcompiler_write_class(3), bcompiler_write_footer(3).
PHP Documentation Group BCOMPILER_WRITE_EXE_FOOTER(3)