Standalone WIN32 Application In PHP
Is it possible to write a standalone Win32 application using PHP? Like
creating a window from the PHP script, putting buttons and textboxes on
it, handling clicks on the buttons etc...,
View Complete Forum Thread with Replies
Related Forum Messages:
Put A Job Application On Our Website For People To Apply Online Via This Application.
We are trying to put a job application on our website for people to apply online via this application. Got all that communicating and recording to SQL as desired (i think and hope) but have now one small issue remaining. We have more than one position open, so what we thought we would do is one one page list the jobs that are open at the time with their descriptions, salaries, etc..., with an "Apply Now" button that when clicked on would take them to the application page. My question is, how could I make it automatically carry over the job they clicked on to automatically populate a "Position Applied For" field in the application?
View Replies !
Standalone Problem
I've set up PHP 4 with Apache on an intel/Redhat 6.2 linux box with no network interface. Using URL PHP code with the .php extension works fine, but php code in html documents does nothing. In fact, view source shows the php code on the browser.
View Replies !
Multithreading For Standalone Php
I'm trying to write a mutlithreading server with standalone PHP. Concurrent requests is possible. Normally it is done by handling each socket spawn by serversocket in separate threads. But it seems that there is no thread support in PHP at all. Would anyone give me some suggestions? BTW, is the community considering add thread support to PHP in the future? What is the major difficulty to import an existing thread library (such as pthread library) into PHP
View Replies !
Standalone Program
I'm going to be doing a program for an elderly couple who owns a horse ranch, and wants some software to keep track of all their horses, owners, doctors, etc. I'm going to be writing the program in PHP using a MySQL database. I set up one like this for my work and it runs off of Apache on our server. I need this program to be a stand-alone install, without installing MySQL, PHP, and Apache seperately. How could I go about integrating it all into one package?
View Replies !
Standalone PHP Installation
I have never installed PHP before. It's always been set up for me. I have a client whose site is hosted as a virtual server. I'm trying to set up ecom for him, but the mhash library is not installed. So I use fopen to open a script on my website that hashes the variables. Obviously, this is not ideal because if my site goes down his ecom will too. I asked the tech people at his hosting company to set that up, but they said they don't do custom compilations. "As per compiling PHP with --with-mhash=[DIR] this is how that works: any custom compilations, custom applications, etc. are up to the user to compile and install. Use gcc/etc. to compile PHP with the options that you like. The php.ini in /etc is available for your customization as well. If you compile your own binary of PHP, you can place it where you like (or leave it at the default) and get the paths updated to use it, or you can obviously use it directly if necessary." I was planning on compiling a new, minimalist version of PHP (with just mhash) in a different directory, but I'm hesitant to do it in case I get unexpected results (I don't want to take the rest of his site down). Can anyone tell me if this sounds feasible? What kind of pitfalls can I expect? And can anyone recommend a tutorial? Most of the tutorials I've found assume you have root access and/or are compiling PHP/Apache together. I was also wondering if it would be possible to just compile the mhash library and add it to php.ini? That seems to be the simplest thing, though I don't know if it would work...
View Replies !
Php Install Standalone
I need to install php like standalone. can somebody say me that way to install it like standalone on linux, with support for mysql, apache and oci8?
View Replies !
Standalone Sig Generator
I currently have my sig generator running, the problme Im facing is that it outputs like this http://mysite.com/image.php?sigimage.png I need to have it out put like this -> http://mysite.com/image.png?sigimage.png or something like it because a lot of sites do not allow image.php. Code:
View Replies !
Standalone Apps And Php
I have a project in mind for a library management system which I would like to try building with php/mysql. Are there any Delphi-like IDE apps out there that would do the job? Can the code be compiled into an executable?
View Replies !
Standalone Solution
I was asked to write a database solution for a friend.. it was supposed to do the normal add/retrieve/modify/search functions of a databse. i started with vb6 then decided to use php/sql. I might sound really dumb and ignorant but the question is... if i want to "package" this to him... how can i do this without having to personally go and install a webserver and php and sql and the rest so he can use it just through his web browser? can i use an installer that will allow it to be packaged so after the install he would just have to open the databsae through his browser?
View Replies !
PHP Standalone: Charset Setting
I'm simply using PHP as a programming language, and I just want to print some text information to stdout, but instruction print "é" (é) does not print my "e" with an accent in the shell window: wrong charset. How to set the correct charset?
View Replies !
Standalone DB (like Access) For PHP/Apache
I am in the process of translating an WIndows/ASP/MsSQL Content Managment System (CMS) to Linux/PHP/???. Is there a popular database I can use that will allow standalone files like Access did (which used .MDB files)? In order for the CMS to work, there needs to be a standalone database file that is self-contained, just like Access .mdb files are under Windows. I guess I am asking for an Access equivalent for Linux/Apache.
View Replies !
Standalone Executable File
I downloaded the tarball and while was able to compile within PHP with no problems, I am having memory timeout issues involving image manipulation with extremely large images (800K - 2mb). Requirements are to create thumbnails for even these banner-sized images, but PHP + GD + [huge image] = too much memory. I'm trying to prove that it is undoable, though the suggestion was to do a command-line GD call to the image instead of using the PHP functions to do so to save some memory; if it still times out, then it's undoable altogether. However, I cannot find the standalone executable file that will ensure I can run GD from the command line.
View Replies !
Submit Standalone Programs With Php
I'm building an application which submits scheduled php jobs. The way I would like it to work is to have one php program to submit the other php programs on a scheduled basis. This control program shouldn't have to wait until one job finishes before it can start the next one; instead, it should be able to submit all the jobs in one go, but it also needs to be able to be informed of the return codes of the submitted programs so dependent programs can be submitted too. I've looked at the exec() and system() commands, but they either don't seem to allow return codes to be returned from a submitted program to the submitter program or they unconditionally print anything the submitted programs produce.
View Replies !
Fill Out Application - Pay - Submit Application
Well, I'm working with a client right now who has an application form, which upon completion, is submitted to her, and then the applicant is redirected to a page to make an initial payment for her services. Her problem is that when people send the application, a lot of times they don't pay, which makes it lame for her to have to sift through all of them. What I am trying to do is make it so one form contains the application, takes them to the area to pay, and once they hit the button to pay with, the form is submitted. The way i have it now, there are two problems: Code:
View Replies !
Where Can I Find The GD Library Standalone Executable File?
I downloaded the tarball and while was able to compile within PHP with no problems, I am having memory timeout issues involving image manipulation with extremely large images (800K - 2mb). Requirements are to create thumbnails for even these banner-sized images, but PHP + GD + [huge image] = too much memory. I'm trying to prove that it is undoable, though the suggestion was to do a command-line GD call to the image instead of using the PHP functions to do so to save some memory; if it still times out, then it's undoable altogether. However, I cannot find the standalone executable file that will ensure I can run GD from the command line.
View Replies !
Using PHP From Win32
I am writing an app (in Delphi) that loads a template with HTML and PHP and my own custom tags on it. I would like to know if I can pass this data (maybe as a phar or stream) somehow to php.exe or a php dll and receive back my parsed template (now php free). I can then parse for my own custom tags...
View Replies !
GIF On Win32
I am primarily a Cold-Fusion developer and am looking for a way to create GIF images on the fly.. I have installed php-4.0.6-Win32 and enabled php_gd.dll but I find no GIF support.. I need to make a series of gif images. I will pass two strings one for the maroon underline the other for the black text the image width has to be 160 pix and the height dynamic based on how many lines of text you end up with.
View Replies !
APC And PHP 5.0.5 On Win32?
I'm looking for APC compiled for PHP 5.0.5. It's not included the PECL extension bundle on php.net or anywhere else. There is a PHP 5.1 version but I don't (yet) know if that will work (I'm assuming not). Does anyone have a Win32 compiled version of APC for PHP 5.0.5?
View Replies !
What User Does Php Run As On Win32
I need to know what user php runs as on win2k/iss 5 installed as cgi. Basically what i'm trying to do is modify files on another server with php, and I can't figure out what user needs access to those files/directories so php can get at them.
View Replies !
PHP And Win32 API - GetOpenFileNameA
I am have been looking at using the Win32 API library with PHP and have managed to get the sample code working to produce message boxes. <?php define ("MB_OK", 0); dl('php_w32api.dll') or die ("can't load w32api"); w32api_register_function("User32.dll", "MessageBoxA", "long"); MessageBoxA(NULL, "sample text", "msg box title", MB_OK); ?> What I need is some advice or pointers to tutorials, which show how to invoke the standard windows open dialog box. I have the following code which runs but doesn't open a dialog box. w32api_register_function("comdlg32.dll", "GetOpenFileNameA", "bool"); GetOpenFileNameA();
View Replies !
PHP Extensions Win32
I'm trying to get some different extensions loaded and no matter what extension I try it always comes up with an error saying it could not find the module. Even though the pathname is correct. I have php loaded in c:php4 and the extensions c:php4extensions ; Directory in which the loadable extensions (modules) reside. extension_dir = "C:/php4/extenstions/" Here are the two changes I've made, Code:
View Replies !
OpenSSL With PHP On Win32
I need a little shove in the right direction. I've got the openSSL extension successfully installed for PHP http://www.php.net/manual/en/ref.openssl.php But I'm not having any luck using it. FYI. I'm wanting to encrypt data in a database with a public key and decrypt with a private key (openSSL seems to be the best solution..). system: Apache/1.3.24 PHP Version 4.3.3 NT 4 echo '<PRE>' $privkey = openssl_pkey_new(); echo gettype($privkey)." "; while (($e = openssl_error_string()) !== false) { echo $e . " "; } echo '</PRE>' outputs: resource error:0E06D06C:configuration file routines:NCONF_get_string:no value (above error a total of 6 times) same prob with $privkey = openssl_pkey_new(array('config'=>'c:/php/openssl/openssl.cnf')); I'm using the openssl.cnf that came with php
View Replies !
Sendmail_from Win32
using the mail() function i am getting this error Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:Program FilesxamppxampphtdocsJayform_p.php on line 38 Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:Program FilesxamppxampphtdocsJayform_p.php on line 40 although i have defined a sendmail_from user in my php.ini Code:
View Replies !
Php-5.2.0-win32-installer
I have a Windows XP system with iis 5.1 seems that my iis 5.1 is not listed during the installation of the downloaded php-5.2.0-win32-installer.msi , Lots of others, but not 5.1. What is the best way to get php working on iis 5.1.
View Replies !
Mod_rewrite In Win32
I have Apache installed on Win2K, and can't get it to work. I've tried countless tutorials utilizing Apache configuration settings, as well as .htaccess, and can't get it working. Typically, I get 404 errors which would indicate to me that it is looking for the literal path, instead of using the rules I have set up.
View Replies !
Win32 File Upload
I'm trying to stage up a our salesman's Windows 98 laptop to be used for demonstrating our php/mysql products. I've got Apache, php3, and mysql all working except the file upload is giving me the following Warning message: Warning: Unable to open d:tempphpphp2 in d:/apache/apache/htdocs/ulimg.phtml on line 28 The tempphp directory exists and it is also explicitly specified in the php.ini file.
View Replies !
Enabling GIF Support In Win32
I'm writing a script that will automatically resize uploaded images into Thumbnails. I'm running Apache with PHP on Windows 2000 and I have enabled the GD extension in the PHP.ini. My code works fine for JPEG but for GIFs it claims that GIFs are not supported in the build I'm using. GIF is not listed as enabled under the GD section of phpinfo();. How do I enable GIF support on the Win32 PHP version of the GD library (php_gd.dll)?
View Replies !
Problem Enabling DOM XML On Win32
I'm running PHP 4.3.2 with Apache 2.0.46 on Windows XP Home. Intel P4 1.5GHz chip with plenty of memory. I'm trying to enable DOM XML functions in PHP and having a bit of trouble. Per the PHP manual's instructions, I've done the following: 1. Edited my php.ini file like so: [snip] ;Windows Extensions [snip] ;extension=php_gettext.dll ;extension=php_hyperwave.dll extension=php_iconv.dll <-- removed the ; ;extension=php_ifx.dll ;extension=php_iisfunc.dll 2. Installed iconv.dll (ver. 1.9.1.win32 downloaded from http://www.zlatkovic.com/libxml.en.html) in C:WindowsSYSTEM32 3. Restarted Apache I created a test PHP file with the following code: <?php $storyfile = "story.xml"; $storydoc = domxml_open_file($storyfile); $storyroot = $storydoc->root(); $nodes = $storyroot->children(); printr($nodes); ?> to test everything out. PHP returned the following error: Fatal error: Call to undefined function: domxml_open_file() in C:Apache2htdocsxmldom.php on line 5 Just to make sure I wasn't using the wrong function, I replaced domxml_open_file() with the deprecated xmldocfile() function, and got the same result.
View Replies !
Can't Get PHP To Work With Apache For Win32
the strange thing is that there is no php4apache.dll file supplied in the downloaded PHP package. I even search my complete disk. Strange because I downloaded PHP v4.3.7 from PHP.NET a couple of months ago, and it has been working OK with the Abyss webserver since then.
View Replies !
LDAP Configuration On Win32
I have php 4 installed on a win 2k prof machine. I can't seem to get LDAP configured correctly. In the php.ini file I included the 'c:phpextensions' for the extension_dire. Then I uncommented the extension=php_ldap.dll line and copied the phpldap.dll to the 'c:phpextensions' location. I restarted IIS but had no luck loading the ldap.dll. The web site couldn't it seemed to be trying the load the ldap.dll but just timed out.
View Replies !
Creating Win32 Sercice In PHp
any one have worked on creating windows service using PHP. php has win32_service library for creating, deleting .. etc but could any one guide me how to use these library to crate a windows service.
View Replies !
Function Like Pcntl_fork For Win32
I am attempting to fork a socket script in a windows enviroment and am running into a serious problem. As you may know pcntl is not available in windows. I have thought about using ticks but that would not realy fork the script. I also thought about using an exec function but that will only run the script in the background.
View Replies !
Work With Apache For Win32
I have the Abyss webserver installed on my Windows 2000 workstation, and it works OK with PHP (v4.3.7). Since I also have a Linux server at an other location, I wanted to have similiar web server setup at home, so I tried to install Apache webserver for Win32 (v1.3.33), but can't get it to work with PHP. My PHP.INI has the, ; Enable the PHP scripting language engine under Apache. engine = On There's nothing about PHP inside the httpd.conf file. Have I missed something here?
View Replies !
Updated SNMP Support For Win32?
I performed binary installs of Net-SNMP and PHP 4.4.4 on my Windows XP laptop so that I can do some offline development/testing away from my Linux server. Anyway, I attempted to do some SNMPv3 gets/sets and I am greeted with "Encryption support not enabled" whenever I try and do any SNMPv3 call. I thought it was Net-SNMP, so I did some googling and found that you need to compile Net-SNMP from scrtach with OpenSSL support to get SNMPv3 to work. I did, and I am now able to do SNMPv3 gets with Net-SNMP. However, I cannot execute snmp3_get() from any of my PHP scripts, I get the above encryption message. I ran phpinfo() on my XP machine and on my linux server and the SNMP section is quite different, my XP machine has support for "ucd-snmp-4.2.3" and my linux server has support for "Net-SNMP-5.1.2" Are there updated versions of php_snmp.dll for a Windows install of PHP? If so, where can I get them and are they compatible with PHP 4?
View Replies !
Problems Writing With Exec() On Win32
I'm having trouble executing commands using exec() or system() that need to write files. I've set the permissions on CMD.EXE but I can't use exec() to write any files, even if the folder I'm writing to has write access to IUSER account and PHP can write to the folder directly. eg. Calling exec('echo hello >C:writablefolder ext.txt') does nothing, but if I type that same command into a shell prompt it works fine. Also just calling exec('echo hello') returns "hello" so it's definatly executing the command. Does anyone know how I can fix this? What I'm trying to do is use ImageMagick to do some image manipulation. Version of PHP I'm using is 5 rc2 on Win2k IIS using the isapi module.
View Replies !
Session_start Causes Apache To Crash (Win32, PHP 5.1.1)
Does anyone have a problem with Apache2 crashing after executing a PHP script with session_start()? I notice if session_start() is placed anywhere except at the start of the file, APache will crash. Can anyone explain to me why? I don't want session_start to be at the start of the file because I need to override some session methods. So session_start has to happen after the declaration of custom session methods.
View Replies !
[PHP 5 MySQL 5 Apache2 Win32]Hi Everybody, I'm Really Stuck
Am I the only one on this planet to try: PHP 5 MySQL 5 Apache 2 On Windows XP no firewall With Symantec Norton Internet I got apache 2 and PHP 5 to work fine. Previously, using a package called Wamp 5 ( PHP5, Apache 1.3., MySQL 4) , I managed to read a table in a PHP page. No I got an error message at the first MYSQL function: $database = mysql_connect( $server, $user, $password ) PHP complains that he doesn't know this function. I have these lines in the php.ini file: extension_dir = "c:phpext" and both extension=php_mysqli.dll extension=php_mysql.dll just in case he wants to pick one. Also I copied this dll in c:windowssystem32 libmysql.dll So I'm really at a loss, and frustrated, I feel like I done my homework and got an F--. I really do need MySQL 5 for the triggers and I don't feel like configuring Apache 1.3 for security now and having to do it again later for Apache 2 from scratch. I'm ready to everything, even reading some wikipedia faq if I have to.
View Replies !
PECL Dll's For Win32 / ImageMagick 6.0.3
I have tried to install ImageMagick on my server, but my apache stalls when i try to start it with the following line added to my php.ini file: extension=php_imagick.dll I can't even kill the apache procees when I try to run it with this option added, so I have to restart the entire server each time I have to return to the original setting of php.ini I have installed ImageMagick on my server, downloaded from http://www.imagemagick.org/ and the php api for it from http://kromann.info/pecl.php (rediredted from) http://pecl.php.net. According to the 'kromann' page I must install another dll as well for the extension to work, and I have placed this dll in the dll directery under php along with the 'php_imagick.dll', but the result is the same. I have also tried copying the dll's to the root of the php installation, the winNT root and the winNT/system32 folder, but the result is the same. Im running php 4.3.7 , apache 1.3.31 and win2000
View Replies !
Php_threads.dll Crashed My Php5 Win32
It turns out that the culprit that crashed my php5ts.dll as below is php_threads.dll. Is there any fix for this? BTW: I remove php_threads.dll from extensions and it works now. Am I going to miss any any critical php5 functionality withouth php_threads.dll? Thanks "Sarah Tanembaum" <sarahtanembaum@yahoo.com> wrote in message news:2mq6b2Fp1in7U1@uni-berlin.de...[color=blue] > I have Apache 2.0.50, PHP 5, Windows 2003 Server and have the following > error in EventViewer: > > Faulting application Apache.exe, version 2.0.50.0, faulting module > php5ts.dll, version 5.0.0.0, > fault address 0x0003e2fd > > And when I execute <?php phpinfo(); ?>, it display almost instantly but[/color] the[color=blue] > status bar show that its still opening the file and then give me error. >
View Replies !
Apache Win32 + Php + Mysql Issues
i've just recently reinstalled windows, and i'm having a very bad problem with apache (win32) + mysql + php. For starters i installed everything like normal. Apache v. 2.0.50 PHP v. 4.3.8 Mysql 4.1.4Gamma I then installed phpmyadmin, i noticed it was having a problem connecting to the database, citing an incompatible/outdated client. I looked up some infos in the documentation and it told me to check the version of the php api by calling phpinfo(); Client API version 3.23.49 Why is it only 3.x? Shouldn't it be 4.xx.xx? Is this the reason phpmyadmin won't work? How do i fix this? btw i've deleted all occurances of libmysql.dll and still have the same issue.
View Replies !
Run Win32 Executable In Browser/client ?
I have a intranet website on one of our windows machines that runs apache 2.0 and php5. In the browser, for one particular link on the site, I want to run a win32 command line program on the client windows machine, (if the program is there). This command line utility returns a string to standard output. I want to capture the string and return it to the server and then process it in some php (compare it to existing records in a mysql database. and write it if new). Once I have the string in php I can handle it from there. I know this isn't strictly a php question, but I hoped someone could give me pointers as to what techiques I might need to use so I can investigate further, or suggest a more suitable forum for this problem ?
View Replies !
Apache/2.0.54 (Win32) PHP/5.0.5 Multiple Output
With the config mentioned in the topic, all on localhost, Win xpsp2, i created a caledar-table. The output should be a daily calendar for half a year with about 15 cols. So everything works fine on the console, output is as it should be. But when calling the script via apache, the table is either truncated or it comes twice or three times or i get an 404-Error with the table appended.
View Replies !
Providing Encoding With Setlocale On Win32
I need to set the encoding that the locale data is returned with from the OS. In a linux server setlocale(LC_TIME, 'he_IL.utf-8') works fine. However I'm unable to set utf-8 with any locale code when the host OS is windows.
View Replies !
PHP Editor/IDE - NuSphere-phped-5.0.1evl-Win32. Exe
I am very, very new to PHP. I have managed to get 'Hello World' and phpinfo to run (XP Pro, Apache, php 5) but I would appreciate the ability to debug my way through a script. I have down-loaded NuSphere-phped-5.0.1evl-Win32. exe and php_editor_php5.exe and I am pretty confused as they seem to be (almost)...
View Replies !
|