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 Complete Forum Thread with Replies
Related Forum Messages:
Java Apps And Apps Sharing Sessions
Does anyone have any experiences to share regarding this? we run a ColdFusion/PHP/Java(cocoon) environment and I'll probably figure out a way for all apps to be able to share sessions. I wanted to see if there are already some solutions out there before I tackle this. obviously performance is a major factor (which rules out using a database). At the moment, I'm thinking along the lines of using the servlet container's session management... meaning I write a wrapper servlet which can be called by PHP and ColdFusion.
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 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 !
GUI Apps With PHP
Does anyone know if it's possible to use the wxWindows / wxWidgets toolkit within a PHP application. I know that you can use PHP-GTK to create GUI apps -- but I have seen mixed reviews. I have noticed that generally for most Open Source apps they seem to be using the wxWidgets toolkit, and that for Java apps SWT seems to be picking up speed. Is it possible to use SWT with PHP, or is that only a Java solution?
View Replies !
My Web-apps
i have a service that requires data to be sent from a remote server to my server at regular intervals. the data is sent in xml format over http (using POST method). i have a PHP app that receives the data and processes it. recently i noticed that sometimes data is sent twice to my php applicaton from the remote server, when this issue was diagnosed it turned out that the problem was from my side. my application was taking long to send back a HTTP response to the sender of the data and thus the data was being re-transmitted! apparently my application was taking longer than 1 MINUTE to send back a HTTP response. The response the remote server expects is just something like "200 OK". is this an issue at the web-server level (im using apache) or can it also be solved at the application level?
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 !
What's The Best Way To Develop PHP Apps ?
I'm new to PHP, I already learned the basics of the language and built some little app's for practice. I have a critical dilemma, soon enough, I probably start to develop real-world applications, fully working web-sites for paying costumers. I have 2 options for doing this: writing everything with plain PHP, or using some PHP framework. I don't want to choose something and the realize that the other is batter. I want to get used for one of this 2 programming techniques and stick with it with no regrets in the future. please try to help me here, I'm searching the web for 3 days but can't find a decent answer, many programmers started with plain PHP then wanted to try some framework but realized that changing all the apps they have been building would be a pain -so they stick with the plain php and maybe some template engine [ie- Smarty]. thats not my situation because I'm new to the language, I really want to do the best move at the beginning.
View Replies !
Web Apps/Controls
I have been working in PHP off and on for a few years and like the language. I have been reading a little about frameworks and web controls and what not. I am interested in a more desktop look to a web application. Because I can write some awesome code, but my web interfaces leave much to be desired (web forms that look pretty vanilla). I have seen a few web controls like a list box with alternating row colors and such but the few www.freshmeat.net projects with PHP web controls have either been in their infancy or do not work well with anything but IE. I looked at the Horde framework, but there is 0 documentation, I do not know even if there are nice web controls or not. Their website was basically don't bother us we are busy. So I did not ask them. I looked at PRADO but that requires PHP 5.0 so must be in it's infancy, and I did not see any nice looking controls (or I missed them). So here are my questions: - What do you recommend for open source high visual quality web controls (and or framework that supports high visual quality web controls)?
View Replies !
Portal Apps
I am looking for a PHP/MySQL portal app, and am having a hard time deciding. So far I like Xoops and PHPNuke, does anyone have any other suggestions, or comment about these? Advice?
View Replies !
Apps Under Windows?
I recently came across some very cool apps that were done in PHP. Yet, I don´t really know what runtime system I need to have in order to be able to run them under Windows, as if they were "normal apps". I could imagine: apache and PHP. Is there a preconfigured package that can be used as a runtime systm for running PHP-Apps locally?
View Replies !
Multi-threaded Apps?
Is it possible to write multi-threaded apps in PHP? I have a program in which I listen at a socket using fgetc(). The problem is, if no data come through, my app just hangs. I need to be able to say: "Listen for five second. If you don't hear anything, stop." Or I need to just move on and do other things while it is listening. Any ideas?
View Replies !
Ssh2 & Php & Graphical Apps
I'm trying to use the ssh2 functions to run a graphical app. I have no problem opening ssh2_shell and running something like "/bin/ls /tmp". However when I try to do something like: fwrite($stdio,"/usr/X11R6/bin/xclock -display some-other-machine:0 "); It doesn't work. I've tried wrapping the xclock command in a shell script and a C program and still no luck. In both instances I can ssh into the remote machine and run the commands just fine. Is this something that just doesn't work? Or does someone have a tip for how to get that to display back? Should I be looking at ssh2_exec? Full code below using some sample PHP code: <?php echo "Connexion SSH "; if (!($resource=@ssh2_connect("10.72.xx.xx"))) { echo "[FAILED]<br />"; exit(1); } echo "[OK]<br />";
View Replies !
Protecting Third-party Apps
I currently use PHPThumb to generate thumbnails on demand. Now these thumbnails belong to users of whom are signed in. I want to: a) make phpthumb only work for those users (at present, if you load up phpthumb with the right src param, it'll show you a thumbnail) b) make phpthumb only load up images for that user. I've had the idea to create thumbnails for each image and save them on the server, I know it'll probably make it more secure and faster, but is it worth it? Especially since these images are only uploaded for a week or so.
View Replies !
Developing Proprietary Apps
The ease of use, power, flexibility and low overhead to run it is amazing. I am tempted to convert my entire software to PHP but have a few questions and concerns before heading down this path. In short my program provides specialized web-based reporting and statistical analysis using a variety of data sources. All of these data sources can be converted fed to a centralized MySQL DB easily using VFP (no VFP comments please). My major concern is this "open source" PHP philosophy being in a very competitive and very propriety niche industry. Is it true that anyone accessing a PHP program on the net can easily download all source? Are there any protections for proprietary code or does that go against the very nature of PHP? I like PHP but can not throw this application to the wolves. I've narrowed my decision down to PHP or VB.NET and definitely prefer PHP.
View Replies !
Traps And Pitfalls When Writing Web Apps?
I'm about to write a prototype for a business application, but since this my first real web application, I'm looking for a good book or article that sums up the different issues web developers will encounter when coming from the world of dedicated applications (VB, Delphi, etc.) I'm thinking of issues specific to web apps like the statelessness of HTTP, dealing with the back button, etc. Any good resource? It'd be even better if they have examples in PHP, but a language-agnostic resource is good enough.
View Replies !
Whats A Good Way To Write GUI Apps
I need to write a couple of small GUI applications but have never done so on Linux (I'm a C/Delphi programmer on Windows normally) I'm fairly conversant with linux but have never written any code for it. I know this tends to be subjective and I dont want a flame war but can anyone suggest the best language to learn to do this with?
View Replies !
Zen Cart And Google Apps Email
I'm using Zen Cart and I have Google Apps hosting my emails for my domain name. What I'm having troubles with is getting it so that I can send emails out. It seems to not give me any errors when I go to send them but the emails are not getting delivered.
View Replies !
Automated Gui Installation Of Created APPS
I write a few applications and when I submit them to my client by logging in to their server, creating the directories, uploading the files, running the mysql scripts. When i installed a few programs such as moodle and phpbb I loved the way how seamless it was. Is there an application or something out there that can create an installation file for me such as the ones used in phpbb. I ask this before i go about creating my own most likely by looking at phpbb setup etc.
View Replies !
Looking For A Php Webapp Similar To Palm Db Apps (ThinkDB, Etc.)
If you are not familiar with the palm DB apps I am refering to, they are applications that allow you to graphically create a db by adding fields(columns) and then creats a form so you can enter the info, and also you can display it in row form. So I am looking for a program that would be a type of online record keeper, where you can via the web, create a database, or table, add fields, and be able to add records, and view them in a a column view. This doesn't seem that hard if you use a mysql db, just wanted to know if something like this already exists before I try to make something. I checked on freshmeat, but didn't see anything.
View Replies !
Using Mail() To Send Email To Google Apps
I'm having an interesting problem. I have a client who has their website hosted on one server and their email hosted on google apps. They have a form on their website that takes the content of the form and emails it to an address hosted through google apps. My code is below and works perfectly when I send it to an email address not hosted with google apps. I can even send to a gmail account, but nothing on google apps. Does anyone have any experience or thoughts on this?
View Replies !
Visual Tool For Making PHP-GTK Desktop Apps?
Is there any (win) visual tool for making GTK based php apps? I wanna make try PHP-GTK - how it works in desktop applications, but writing a code for every window, button is a little... well time consuming. I'm sure someone came across this idea/solution - to make automatic code with some kind of visual (drawing) tool. Code:
View Replies !
|