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 Complete Forum Thread with Replies
Related Forum Messages:
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 !
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 !
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 !
Need A Php Solution
I understand my question might not necessarily be a issue specific for PHP. However since my current development is conducted with PHP so I definitely need a PHP solution for it. Here is the situation: 1. A Login form page for user to keyin username/password. 2. After user input correct login info a small window will popup and the parent window (the login form page) still stay unchanged. 3. If user click "accept" on the popup window then the parent window changed. Step 3 is not a big issue for me. But step 2 is a big headaque.
View Replies !
PGP Solution
I would like to be able to take the data submitted to a form, encrypt it using a specified PGP key and email it to a specified recipient. All in PGP.
View Replies !
Looking For An ILS Solution
I'm hoping someone knows of an Integrated Library System that uses PostgreSQL. The group I'm working for had an old system and decided to upgrade. Previously, they were using PHP, MySQL and Koha (www.koha.org) to run their library interface. The new system they have is PostgreSQL, which means I cannot use Koha anymore. Converting the MySQL dump has been hard enough. The Postgres version is 7, so it seems that exporting the dump with phpMyAdmin does not want to work. But thats a different problem all together. So I need to find a replacement for Koha, all I've seem to come up with is a list of ILSs (http://www.anctil.org/users/eric/oss4ils.html) that either use MySQL, or only come in a completely different language. If anyone has any ideas or could point me in the right direction
View Replies !
PDF: What's The Best Solution?
I'd like to start generating PDF files via PHP, but I'd rather not spend $450 on pdflib. The files I'll be creating (to start with) are invoices, so they contain tables, etc. My server is running PHP v. 4.3.2. I've seen a couple alternative solutions out there, but most seem fairly old at this point. What have people found to be the best solution for generating PDF files in PHP?
View Replies !
Help Require For Map Solution
Here is a problem which i'm facing. Now i'm working on a site in which a user will provide the pincode(zipcode) of two positions and a line will be draw on that map between the two pincodes(zipcodes). Now the solution which i found requires a databse storing the details of longitutde and latitude for each pincode(zipcode). Also we do need to provide the latitudinal and longitudinal range of that particular map. Now i want to ask you friends if anybody has got any better solution which is more effective.
View Replies !
Cant Fiugre Out The Solution....
PHP and MYSQL and have been working on a form that when it is submitted stores the information into a mysql database. The main problem is that i'm trying to finish up my script for almost a week now and I still cant get it right. here is the code <?php include ("ES_includes/appconst.inc.php") ; // Ceck of begin datum juist is if (!checkdate ($_POST['maand_van'],$_POST['dag_van'],$_POST['jaar_van'])){ echo "De begin datum die u hebt opgegeven is ontjuist <b>" ..$_POST['dag_van']. "/" .$_POST['maand_van']. "/" .$_POST['jaar_van']. "</b>.<br>"; } else { //check of begin datum reeds in het database staat $datum= $_POST['jaar_van']."-".$_POST['maand_van']."-".$_POST['dag_van']; $db = mysql_connect("$dbHost", "$dbUser","$dbPwd"); mysql_select_db($dbName,$db); $sql_check = "SELECT * FROM verlof WHERE gebruikersID='$_POST['gebruikersID']' AND datum='$datum'"; $check = mysql_query($sql_check,$db); if (mysql_num_rows($check) != 0){ echo "Deze datums staan reeds in het databse op uw naam. "; } else { $sql = "INSERT INTO verlof (gebruikersID, datum, voormiddag, namiddag, opm_aanvrager) VALUES ('$_POST['gebruikersID']','$datum','$_POST['voormiddag']','$_POST['namiddag']','$_POST['opm_aanvrager']')"; $result = mysql_query($sql); echo "Uw verlof aanvraag is aangevraagd. "; } } echo "<br><input type=button value="Terug" onClick="history.go(-1)"><br>"; $datum_van= $_POST['dag_van']."/".$_POST['maand_van']."/".$_POST['jaar_van']; $datum_tot= $_POST['dag_tot']."/".$_POST['maand_tot']."/".$_POST['jaar_tot']; $day1="Monday"; $day2="Tuesday"; $day3="Wednesday"; $day4="Thursday"; $day5="Friday"; $mydate=$datum_van; $newsplit = explode("/", $mydate); $dat1=mktime(0,0,0,$newsplit[1],$newsplit[0],$newsplit[2]); $mydate=$datum_tot; $newsplit = explode("/", $mydate); $dat2=mktime(0,0,0,$newsplit[1],$newsplit[0],$newsplit[2]);...
View Replies !
Pagination Solution
how to createa pagination just like the one in vBulletin. Yesterday, I asked a question about making sure that I get 10 pages per page, even though some of the things get deleted. I went back to work on that right now, and I can't imagine how easy it is - it's logical too!! I present my solution for those who MIGHT want to know. PHP Code:
View Replies !
PHP EAI Solution? (vs BizTalk)
I'm tasked with a project where I am responsible for designing and implementing a solution to an enterprise application integration problem. This is an e-commerce site which needs to exchange messages with multiple disparate systems on a frequent basis. I'm looking for an existing PHP (I would consider other open source) solutions for consideration. The features I'd like would be thus: 1. Configurable adapters for connecting to data sources (ftp, soap, file, db, etc.) 2. Modular pipelining for transforming data and encapsulating business rules. 3. Both scheduled and event triggered message exchange. 4. Robust logging and notification when failures occur. There is some internal pressure within the organization to utilize BizTalk for this problem, but I feel this would be overkill in both capital and labor costs. If I can make a convincing argument for linux/apache/php, I can overcome the pressure to utilize Microsoft and BizTalk. I'd appreciate being pointed in the direction of any existing php/opensource framework for this. Having to design and program the solution from scratch in PHP would be less desirable, but may be possible.
View Replies !
Looking For A Php Application/solution..
Knowing that there are hundreds of php applications and solutions out there, and I don't want to re invent the wheel, I am looking for something in php that will provide a web based solution for me to add/edit/delete records in a MySQL database/table that must include one BLOB (JPEG) image field. It's a PEOPLE application that has details on the people that includes a picture. So, must be able to add(upload) or delete a JPEG image as a BLOB field to the Table. (the Table already exists with some 20+ records and most if not all have a BLOB {jpeg} field included.) Perhaps there's something out there already that will simply read and examine an existing table and fields, then generate a simple data entry/update type page. Or maybe someone else out there has something like this, or knows of something like this in GPL, open source, or other?
View Replies !
Database Solution
I need assistance trying to figure out conceptually how to create a single username/password across many off the shelve products and custom ones as well. Let just say I installed vBulletin, word press and a custom classified software all using mysql and php. These all have a seperate database or prefixed so that the tables could be seperated logically in a MYSQL single instance. Unfortunately, when you think about it, it would be awful if your users would have a different username and password for all of these tools, let alone, to have to login to them all seperately on every ocassion. how do people solve these problems. What is the concept behind it without going too much into the programming aspect. The programming side I can figure out, but I need help understanding the standard approach for something like this, if there is one. I would hate to have inconsistency problems between two tables.
View Replies !
Email Solution
An old php mail system I wrote for a client can't handle the load anymore. My client needs to send out about 3000-5000 emails when they are using the newsletter system. I was looking at PHPMailer, but noticed the last update was July 2005, this doesn't have to mean anything bad of course, but I'm just wondering what systems are out there. I don't mind paying for a good script so it can be a commercial license. I need something that will handle batch sending...like 250 emails every minute or whatever.
View Replies !
Application Solution
the best would be a solution that can read psd“s and replace text in it and check size and fontsize and things like that. or is it possible to make an text over an image thats already filled with the backgournd and then place text over it with a script. so image001 = text001. we need this for thousands of pictures/translations. and it would be good if theres the possibility to pos it form center or change degree by a setting. and stuff like that. scripts / products / anything.
View Replies !
Find Solution
I was designed a web site, in my hosting, I still have space to putting another web site, with out return of to hosting manager, there are a code of PHP to that, where leading the browser to (site1.com or site2.com) for example, what the correct code/or function.
View Replies !
Printing Solution
I'm looking for a solution to print large amounts of data. Basically, what I'm trying to do is: Do a seach on a mysql db >100k records, Print the result set, ~12 records / A4 page. This is pretty huge.~8000 pages. I know I can't put them all in a single html file, it would crash everything. What I'm thinking so far: generate PDF file(s) from PHP and/or use php_printing extension on Win.
View Replies !
Passphrase To Pgp - Solution
I found the question asked but no solution. It looks like proc_open would work but we have php 4.2.2. The following code works by creating a script that is run by /usr/bin/expect: This is the script: spawn /usr/bin/pgp -esa /home/user/testfiles/pgp_man.txt DummyUserID for {} 1 {} { expect { "Enter pass phrase:" { sleep 1; set send_human {.1 .3 1 .07 .1 .3 .1} ; send -h "Unsecure Dummy PassPhrase! " } "Overwrite" { send -h "y " } eof exit.
View Replies !
PHP Vs JAVA - Is PHP An Enterprise Solution?
I am commencing a project with a guy - and have just received an email of him saying that the project should be writtin all in Java! Now I code in PHP and was interested in his comments: However there are many things to consider. First we have to standardise on one language to code in. It should be Java and only Java. All professional organisations use Java because it is the language of the network and the internet. Its scalable, reusable, object oriented and extremely powerful. There is no other means if you want to get this right first time and professionally. There are all too many people out there using languages like Perl and PHP. These are not what we call "Enterprise" solutions I would like your thoughts on this as I belive as many others that PHP is indeed the language of e-commerce and the Internet. Also I heard Microsoft was scaling out Java cause of legal action and SUN might not now be able to continue its production due to losing its biggest client.
View Replies !
PHP Solution To ASP Include Function
I've been offering UNIX based hosting for awhile, but for a prospective client I wish to set up a system where he can update a section of his homepage without having access to the whole webpage. I wish to show him how to create an MSWindows.doc that he can export as a "Web Page", then FTP it to a special directory. I wish to then have the actual home page access this other page as an "include", placing his data on the home page in its correct place. This keeps him from wrecking the homepage. On a Windows server, I would put an include on the HTML page leading to the content page as in: <!--#include file="../home/home.htm"--> but this solution will not work on a UNIX system.
View Replies !
On Line Store Solution
I've been looking for "open-source-on-line-stores-php-apache-mysql powered solutions", and I found mainly two: osCommerce Zencart I'm just beginning so I've to choose one of them to give it a try... Which one you would opt for?
View Replies !
Looking For Visual Php Development Solution
I have recently been implementing php code in some web pages and am now looking for a more visual oriented php development environment because for example creating php/html forms by hand for the x'th time is not exactly my idea of working efficiently. (Unlike some guys i work with who seem to think this is an extremely cool working method. :-/) I'm looking for something with an interface like delphi or vb, and some of the more visual GUI based web scripting systems out there. Something where i can click on a web site item, get to the code part and then work on the code, or maybe first grab some prefab code by using a template or some kind of code library. I'm sure someone has implemented such a thing for php, but so far i haven't been able to locate it.
View Replies !
PHP Diary/Journal Solution
I've been messing around with my demo Blog page (using the script I released as open source). For those that are interested, feel free to visit the URLs below, and take a copy of the blog script to try for yourself. BLOG Demo Site http://www.pluggedout.com/blog BLOG Development Forum http://www.pluggedout.com/developme...ewforum.php?f=5 The main reason for writing Blog was to give something back to the open source community - it's a pretty good example of good programming style so should be helpful to newbies. So far there are more instances of the code than I ever imagined there would be, and people are modifying it to an extent I never though they would either :) At some point soon I'll try and find time to do the "multiblog" solution I've been talking about doing for so long. I have the beta code to do a multi-user version of Blog - it's just a case of wrapping it up nicely for others to use...
View Replies !
PHP Pattern Matching - Is There A Better Solution?
One of my weaknesses has always been pattern matching. Something I definitely need to study up on and maybe you guys can give me a pointer here. I'm looking to remove all of this code and just use pattern matching to determine if the proper amount of numeric characters has been met. Here is the function I've already done. Any help you can give in a pattern matching solution would be much appreciated and very educational. //the $area option is for determining if the user need (or need not) type in their area code. function check_phone($phone,$area='y'){ if($area=='y'){ $min=10; } else { $min=7; } //is there a more direct approach to just count the amount of numbers in the string by pattern matching? $phone=str_replace('-','',$phone); $phone=str_replace('(','',$phone); $phone=str_replace(')','',$phone); $phone=str_replace(' ','',$phone); if(!preg_match('/[d]{'.$min.',}/',$phone)){ return(FALSE); } else { return(TRUE); } }
View Replies !
Messy Form Solution
My web-form process input and sends it to me as mail. Fine. But I also would love to have this input put onto a PDF-document which will be generated on the fly during post. The PDF will be saved on my server AND mailed to myself. I thought that maybe it is possible to get the posted form input on a csv-file on my web-server (I don't have MySQL). And then, during the process get this csv data reorganised and to appear organised on a already nearly finished PDF with prefixed header and footer. The document is mailed to me and visible in the user window. I have not invented the power and have to ask: is this possible, anyone who knows if such a funcationality already exist?
View Replies !
Seeking Mod_rewrite Solution
I have a people-networking type site in which each user has their own profile page, with their user id encoded. So, for example, the web address of their page might look like "www.example.com/my_profile.php?user_id=fdjkhfh2489298hf298h3s0dhfx j". I want the users to be able to choose their own web address that would look like "www.example.com/Joel", and then when they type in that address, they are automatically redirected to their profile page with the more complex address. I believe mod_rewrite is the solution to this? Reading a little bit about mod_rewrite, I believe the rule I want is something like the following: RewriteRule ^/(.*) /redirect_user.php?user_name=$1 So 2 simple questions: 1) does this rule look like what I want? 2) how do I install and hook up the module, and do I write this rule in the .htaccess file?
View Replies !
Php Display Solution Required
I have a table in mysql with 2 columns.group name and the group parameters. There is one group name with several group parameters. I would like to retrieve this from the database such that it will only display one group and the other several parameters in it,for all the diffrent groups. does anyone know how i can go about this?
View Replies !
Shopping Cart Solution
i was looking for a free and simple shopping cart solution in php which doesn't use an external databse like mysql. searching the internet i came accross scripting like osCommerce which is pretty amazing but first of all uses mysql and it would be overkill for my purpose. All I wanna do is add my own color and nav. to the shopping cart and if possible add and remove products over a form so that i do not have to change the code everytime i have another product.
View Replies !
Quick Apache Solution
I have re-developed a site locally on my PC and uploaded it to the host server and all has gone bang! I used the Apache ForceType directive to force scripts without an extension to parsed as PHP (I have done this loads of times) but my hosts are saying to me this cannot be done with them and I have to use: Code:
View Replies !
Passing PHP Arrays To Mysql Best Solution
I am relatively new to PHP and until now I have only needed to use relatively simple php/mysql solutions. I am working on a problem where I need to store CD information (Artist Name, Album Name, Track Names, Catalog Number) I am working on a solution with two tables "album" and "tracks" and I am using the catalog number as a key to link the two. The problem I am having is coming up with the best way to populate the tracks table as there are several tracks for each release. I am assuming that an array would be the correct way and maybe a dynamic form to input the tracks where you decide the number you need to add and this then creates a form with "n" input boxes?
View Replies !
Solution For Redirect At Page Index
by php which the fast solution for make redirection at homepage ? Time ago read some solutions, but one most fast because not load or not make a reload of itself page, not remember exactly but was a solution more fast...
View Replies !
File Download Solution Tidbit
I struggled with getting file downloads to work in PHP by using various headers. Some earlier posts reported problems with browsers' "save as" dialog box showing the name of the PHP script rather than the file they wanted to download. I was having the same problem until I noticed an example that stripped the path from the filename. The header: PHP Code:
View Replies !
Solution For Preventing Injection Attacks
I have an idea for preventing sql injection attacks, however it would have to be implemented by the database vendor. Let me know if I am on the right track, this totally off base, or already implemented somewhere... Lets say you could have a format string such as in printf $format=" SELECT %s FROM %s WHERE id='%s' "; $fieldname="last_name"; $tablename="personel"; $id="425"; and you could execute a query like mysql_query_formatted($format, $fieldname, $tablename, $id); now, the key is that instead of just adding the $fieldname, $tablename, $id to the $format string and passing it to mysql_query, it would be passed to the parser as separate strings. The parser should know how to handle that format. That way, the parser would always know where the different tables names, field names, and other strings start and end. So, the problem of injection attacks caused by some one confusing the parser by entering things like ' and " is gone. It would be easier on the programmer. There would be no need to worry about escape characters when passing to this function, the strings would not have to be escaped.. The parser would no longer have to guess where the boundaries are. No more worrying about injection attacks. does that make sense?
View Replies !
|