Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Launching Application


I developed an internal website (hosted in a company server), which contains a few php scripts (forms users fill out and e-mail to others upon send). I have an e-mail instruction in the scripts, with a list of e-mail addresses. I would like to change this so users can launch Lotus Notes from the script upon sending, and choose to who send the form (instead of having fixed e-mails in the script). The company has given me the path where the .exe program resides on the server.




View Complete Forum Thread with Replies

Related Forum Messages:
Launching An Application: Does PHP Limit Network Connections?
I am having a problem using PHP to launch an application on the server.
All the basics work, but I cannot launch more than 4 instances of the
application. This application functions as a server itself, and I
specify the port number when I launch it, so my theory is that I am
reaching some limit on network connections.

This is my basic launch sequence:

<?php
$command = 'c:Program Files (x86)myprogmyprogram.exe'
$arguments = ' /Port:' . $port;
exec('C:PsToolspsexec.exe -accepteula -d -s "' . $command . '" ' .
$arguments . ' 2>&1', $output);
?>

Note that I am using psexec because I need to keep track of the process
ID number and kill the application when a user logs out. I can provide
more details if needed, but if there is indeed some upper limit on port
connections, that would certainly explain what I'm seeing.

Incidentally, if I try this same procedure launching "Internet
Explorer", my limit is 9 (instead of 4). If I launch a non-network
application, it seems that I can launch as many as I want without limit.

Note: I am using Windows XP Professional x64 Edition SP1

View Replies !
Launching A URL
When I am executing a PHP routine, I would like to start a page on
a server. Could be also interesting to receive back the answer so
I can use it contents in my program.

In other words as a sample when I am at some point of execution of
a my PHP routine I would like to send to the network:

http://www.someserver.com/somefunction.php?&user=$auser

Eventually I would like to receive in some way the answer page from
the server.

It's possible to do this?

View Replies !
Launching Second Script When First One Finishes
I have numerous PHP scripts that connect to our Oracle database and export csv files. The amount of time it takes for each script to finish varies. Sometimes it takes 10 minutes, sometimes 30 seconds. I would like to figure out a way to have the first script run and when it finishes, launch the second script and so on and so on.

View Replies !
Launching Files Locally
I have PHP and Apache installed on a windows box that is attached to
my home theater. I wrote some code that indexes the contents of a
directory that has some video clips etc in it, and the outputted HMTL
is nothing more than a series of hyperlinks to these files, with some
CSS to liven it up a bit.

The problem is this: when I click on one of the links, rather than
launch the file, it attempts to "download" it (even though the file
resides right there on the machine anyway). In my hyperlinks, I
specified to use the "file:" protocol instead of HTTP. I really just
want it to launch the file.

View Replies !
Launching PHP From HTML Form
i build an app using PHP/MySQL/web. the APP and PHP programm are both located on the CD.

step 1:
i want it to a first interface (installation phase) to be an HTML page.

step 2:
I want it to get some informations for the installation

step 3:
i want the form to launch a PHP page (on the CD) and using the PHP.exe (on the CD)

step 4:
the PHP page send my modules using FTP

step 5:
once the FTP transfert is finished, the PHP page open a new page (that has been just uploaded) on the web server.

my problem is in step 3, how is it possible to launch a PHP script from an HTML page which is not on a web server??

I can do it easily with a SHELL script but i prefer the graphic interface of an HTML form. I know it is either possible using GTK but i don't want to use it because i'm not surre the client has a JVM.

View Replies !
Launching Community Site
I'm creating a community website, and I want the following features:

- members are able to write reviews
- members are able to post classified ads (I'd like to be able to charge money for this)
- ability in the future to create groups within the community.

Can anyone suggest a content management system (CMS) or other off-the-shelf solution? Drupal springs to mind, but then I don't have a lot of experience with these kinds of builds, so I may be missing something that is out there.

View Replies !
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 !
Launching A Background Script From Php In Windows/IIS
I'm trying to build a PHP page which launches another php script to be run
in the background. The web page should return immediately, while the
background script may run for 10 minutes or something. Unfortunately I'm
getting all kinds of weird behaviour..

In my main script I'm using exec() (also tried the other options) to start a
..bat file. This actually works, the batch file is launched and is able to
write something to disk.. Now if I put the following line in the batch file:

c:phpphp.exe -q backgroundscript.php

then instantly I'm seeing about 30 php.exe processes being created, but
nothing seems to be happening really. The processes seem to be dying
immediately and replaced by new ones. So apparently php is trying something
but fails and tries again.

Both the script and the batch file work fine from the command line. Group
'Everyone' has read/execute rights for the batch file, the php script and
php.exe. I have tried prefixing the command with START /b or cmd.exe /c but
neither seem to make any difference. Also I tried redirecting stderr, stdout
and stdin to NUL

Server is Win2k, IIS5, php4.3.0. Searched the php docs, tried suggestions
but it doesn't work, maybe because they use Apache.

My guess is that the anonymous user IUSR_* doesn't have the rights to do
something, but I can't figure out what.

View Replies !
Launching A Program With Exec & Pstools/psexec.exe
I am trying to launch a program with PHP code. I am running Apache on Windows XP SP2. Code:

View Replies !
Launching Several CURL Posts Without Waiting To Download Pages..
Hy there, ok, i`ll get to the problem:

My php script has a function named curl(some curl options and instructions), it doesn`t matter that, what it matters:

$var1 = curl("http://www.somedomain.com/somepage1.php");
$var2 = curl("http://www.somedomain.com/somepage2.php");
$var3 = curl("http://www.somedomain.com/somepage3.php");
$var4 = curl("http://www.somedomain.com/somepage4.php");

Ok, so it downloades the content of somepage_.php to the $vars, however somepage_s_.php contains several scripts which takes a verry long time for the page to download, so my script waits for each page to download, one by one, as line by line, what i would like do rezolve is to start the curl without waiting to download the first page, then the second and so on, it should start the download of all the pages at almoust the same time. That would be all, please help, i`ve lost 4 nights trying to get this fixed but no luck.

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 !
PHP Application Over SSL
I am building a database-driven PHP application.
Part of that app needs to run over SSL for gathering private data.

Now, when someone purchases a certificate, the domain name is
hard-coded on the certificate, right?

If so, how can I run part of the application in regular mode (http) and
the rest in secure mode (https)?

The domain name on the certificate will be something like -
www.myDomain.com

But some of the pages will be secure and some not.

Is it possible to have something like this?
Will the certificate work ok?

View Replies !
PHP CRM Application
Does anyone have any experience with a good php CRM system - preferably open source? If so, which one?

View Replies !
Application ID
Why do we need application ID if we can just use the demo ID?

View Replies !
Application
I am looking for a made application that is equal to the seeker yahoo, google, altavista. (With own crawler as googlebot).

View Replies !
Using Web Application
I've setup two servers with mysql. One is master and another is slave. By mysql console (master), when i insert or delete some data on table replicated, the same data inserted or deleted on master has changed in slave, so snapshot is working fine. But, i write one php aplication to maintaining the table replicated. When i change this table by php application, the sql commando is executed on master (data is changed) but command is not send to slave. Monitoring in slave bin-log, the sql command don't arrived on slave.

View Replies !
Application/vnd.fdf And Session_start()
Trying to generate a simple PDF file using header ("Content-Type: application/vnd.fdf");. It works fine on it's own, but if we have session_start() at the top of the file, it doesn't come up. What gives?

It tries to open the window, just flashes and the PDF never shows. But without session_start, the same code generates the PDF just fine.

View Replies !
How To Send A SMS Using PHP Application
I am quite new to php, how to send a message to Mobile using php
application, I have used curl to send a message, I want to know whether it
is a mantadory to have a gateways to send the same,

Can anybody help me out. What is the solution.

View Replies !
Web Application Development
I was reading about web application developement in php. One of the key points said to have a sound directory structure for functions, db connections, headers, footers etc. Is there a methodology that goes along with this that aids in the creation of a web application? And where are resources that i could refer to , in strengthening my skillset in app devleopment?

View Replies !
Application Varable In Php
Is there any applications varaible in php(same as asp application variable)?
How we store data in global variables in php.

View Replies !
Processing SMS Application
I want to write an application that can accept and process sms
messages sent to it from cell phones.

But I have no idea how to setup and link a specific phone number to my
application. I searched this group and found numeous posts about how
to send out sms messages but not how to accept them.

View Replies !
Make An Application Using XML-RPC
I'm trying to make an application using XML-RPC, and I have thefollowing problem: I use fsockopen() to simulate a POST to my localweb-server.All goes very well except it's very very slow. PHP Code:

View Replies !
PHP Desktop Application..
I have heard that now a days in php we can do desktop applications too.. So can anyone know about it? From Where I can get Refrence for that? How to start? what to read?? If anyone know abt it then please tell me.

View Replies !
NEW: XML Application Objects
I've just released the first distribution for an open-source project
called XML Application Objects (XAO). It's the result of working with
XML/XSLT in PHP for a couple of years now. Although this is an alpha
release, the concept itself has gone through a lot of refinement and is
now ready for prime time.

The publication of the project itself was partially motivated by the
discussions that took place in this thread (A Complete List of PHP
Template Engines?) which basically sees me arguing for the usage of
standards (XSLT) rather than having to learn a proprietary new
templating system every time you work on someone elses PHP app.

This project is the result of much blood, sweat, and tears so I hope
someone out there finds it useful. I have made documentation a paramount
considderation for the XAO API because I'm keen for it to be another PHP
success story. The website has a tonne of information so I'm not gonna
try and promote XAO in this message.

View Replies !
How To Build A Web Application The Right Way
I am looking into building a web application and one of the things I
want to do is to make sure the user is logged in. I know I can do this
by checking the session for a user object or something similar. Is
there a best practice for this. Currently what I do is have each page
include a check session include file.

View Replies !
Calling Application (.exe) From PHP On XP
I am trying to call an application from php. I have tried exec() and
system() and even popen() all to no avail.

Can an application be called if it brings up a window? The app I am
calling has a command line interface, but it insists on bringing up
it's standard window also.

At the moment the .exe file displays in Windows Task Manager in the
Processes tab.

The PHP script hangs (until timeout) and the .exe doesn't do the job it
should.

I am probably being daft :o)

View Replies !
Application Organization
I am currently working on a PHP/MySQL site and I am wondering how other developers breakdown their code. So far, I have the main php file(index.php) and a few include files that have the database connection functions, actions and user defined functions. I guess what I am asking is if there is a standard or a recommended way of organizing your code.

View Replies !
Php In Custom Application
I have an existing application in C++ which I'd like to add a webserver to.

Can any of you guide me to an in-proc webserver which would allow me to
process php code inside my application and connect with the existing app for
improved functionality?

View Replies !
Application Security
I've been developping PHP alongside MySQL for over a year now. I just downloaded this application from SourceForge.net called PHPAdsNew. It's pretty neat, work fine and all, but there's a security concern I think. How the application works is in the following manner:

Let's say it's installed on http://127.0.0.1/phpadsnew/
Let's say my browser points to http://127.0.0.1/phpadsnew/
Then the index.php redirects to http://127.0.0.1/phpadsnew/admin/login.php
for people to login.

The problem is that the password-containing file "config.inc.php" (for the mysql database) is located in the "phpadsnew" directory, not in an -os-secured folder accessible only by php.

I guess if somebody somehow knows about phpadsnew, somehow remotely accesses the config file, even though my server parses .php files with php, he could attack my mysql server and wreck havoc. Is this secure even though I have doubts? If not, is there a way to counter this?

View Replies !
How To Install A PHP Application?
A. I downloaded SOKKIT a while ago. I am able to write PHP programs
(a.k.a. files or scripts) in directory c:apache2triadhtdocc using
Notepad, and run them by connecting to localhost/filename. I use
names that end in ".php" and in Windows Explorer they display as blue
circles containing "php". There is a desktop icon, Sokkit Control
Panel, which allows me to create empty SQL tables that I can then
reference in my PHP programs.

B. I have been given an application which I need to install, run and
make changes to. It consists of a tree of directories and files. The
directories are as follows.

1. CMR_SITE
2. CRM_SITE _MACOSX SITE
3. CRM_SITE SITE

Under (2) and (3) are the same tree:

4. CRM ADMIN DB
5. CRM ADMIN DOCS
6. CRM ADMIN SQL
7. CRM ADMIN TEMPLATES
8. CRM CSS
9. CRM FILE_VAULT
10. CRM IMAGES FILE_ICONS
11. IMAGES
12. INCLUDES
13. JSCRIPT
14. STYLE

Within these directories are a number of files that also display in
Windows Explorer as blue circles containing "php". However, when I
display them using Notepad the line feeds appear as squares in a
continuous string that fills every line. They display fine in MS
Word. Also, a problem started recently before this project: All of
the characters in the files that I display in Wordpad are in italics.

I was also given these notes:

Configuration of CRM

In config.php you'll need to change appropriate for your environment:

// Database settings
define ( "MYSQL_HOST", "localhost" );
define ( "MYSQL_USER", "fanpi3_wrdp1" );
define ( "MYSQL_PASSWORD", "UqcLrdKrbdNx" );
define ( "MYSQL_DB", "fanpi3_crm" );
define ( "ADMIN_EMAIL_ENABLED", true );
define ( "ADMIN_EMAIL", "info@bkjproductions.com" );
// Paths (Always include the ending slash
///home/fanpi3/public_html
//was define ( "ROOT_DIR", "/home/content/O/t/i/OtisAhearn/html/
crm/" );
define ( "ROOT_DIR", "/home/fanpi3/public_html/crm/" );
define ( "LOGIN_URL", "http://fanpierboston.com/crm/login.php" );

View Replies !
Application Variable
Want to ask if php has application variable that can build dictionary such as Application() variable in ASP?

View Replies !
PHP Scheduling Application
I am looking for an open source PHP scheduling appliation. The
application should have similar functionality to Yahoo calendar.
Ideally, it would be nice to have schedules for different people with
the ability to make some appointments public, with others private.

View Replies !
Navigation In First Application
I've writing my first php application and it's killing me. I've been
programming desktop stuff since the early &#3980;s but this is way
different; php, html, css, and (god forbid) JaveScript all interacting.

I figured out the session management (I think) and can log a user in
and display a <table> with links <a> for the user to select the next
action. What I would like is for the href to specify a php function
and pass parameters to the function. Something like this would be
cool but doesn't work.

<a
href="do_some_stuff($menu_data[menu].pid)">{$menu_data[menu].pname1}</a>

I understand that the href thing can contain a URI or
href="do_some_stuff.php", but how do you create a page where the user
can select an option and have it call a function based on the selection?

I'm using php5, smart, & Firebird.

View Replies !
PHP COM Application Invisible
I am having problem with COM objects in PHP. I am running PHP 4.4.1 on
apache server 2.0.55, on windows 2000.

I tried the first COM example in the PHP manual
(http://www.php.net/manual/en/class.com.php). The example runs fine if
I use PHP in command line, i.e., run it like: c:php>php
c:apacheapache2htdocscomtest.php, the word application starts and
after running the script, a word document is saved in the hard drive as
expected. But when I try to run it through web server, that is, type
http://localhost/comtest.php in the IE address bar, word application
run in background, and no file was saved at the end. It seems that
"$word->Visible = 1;" did not work in this case.

View Replies !
Application Development
Well I am new to PHP but am an experienced asp and .net developer. I have
had the desire to learn php since I have been studying more and more on
linux. However, currently I am running most of my items on windows due to
some app requirements.

I have assigned myself a project for my uncle to help solve an invoicing
issue. He is not very computer savy and I get tired of troubleshooting
invoicing applications that I can't fix. Since he has a spare old computer
that would work great as a server with apache, php, and mysql I have decided
to write a web based invoicing application.

My main question comes about how php can be used to design a full fledged
application. Mainly something to relate to my current skillset with the
microsoft world. For example with asp.net you have to set the folder to
application scope on the server through internet information services. Is
there a way in PHP to create application global variables or does this need
to be done through some ini or config file. I can pick up on the coding
fairly quickly plus I have a coworker who is familiar.

I am just trying to get an idea of how I should plan the application before
I start coding so I have an efficient and swift app. And from my experience
variables and session management can play a huge role in this desired
result.

View Replies !
Application Generators
I would like to put together a very simple inventory program. When I
ship an item, and edit the quantity; I would like the quantity _on_hand
to auto-decrement, and the quantity_to_reorder to auto-increment.

Also, when the data is displayed in a table format, I would like to be
able to edit the quantity field as I
would in a spreadsheet, just edit that field, without having to change
to an edit-record screen.

It seems like I should be able to do this with an application
generator, but I'm not having any luck. Maybe I give up and code by
hand? It seems that application generators never do exactly what you
want, and even if they do, what about future development?

Still, I have an open mind. If anybody can suggest anything, I will
take a look.

Application generators that I have tried:

dbQwikSite: I found it difficult to get it to work, and very slow. I
had to uninstall Xampp, and install AppServ just to get it to work at
all. I don't know why, maybe Xampp's versions of php/mysql were too
new? I still can not get it to generate php code that I can use.

AppGini: works as advertised, easy to use, inexpensive, and fast. But,
frankly, it doesn't do much. As far as I could see, it doesn't even
offer the basic security of a login. It just displays data, and allows
you to add/delete records. I don't even think you can interactively
edit records. Not much reporting capability.

PHP-Runner: the best so far. Fast, easy, nice looking display, has
basic security, allows editing records. Still does not seem to have
the basic functionallity I'm looking for.

Other app generators that I have looked at, but not tried:

PHP-Peanuts
PHPMaker
phpmysql
DaDaBik
WizzyWeb
Navicat



View Replies !
Application Design
Do you break it up into sections based on the functions of the app?

example:

contact_add.php
contact_delete.php
contact_edit.php
.....

Do you write one long script, and then call parts of it using a variable?

example:

contact.php?action=add

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 !
PHPInfo - The Application
Does anyone have a URL for it? Naturally Google returns a lot of pages
which are about the actual function.

View Replies !
PHP Auction Application
I'm creating an auction website for a client. I can understand how to create the majority of the application using PHP but I don't understand how I get it to know when the auction has ended (the time has ran out) and then process that auction by closing it and emailing the winner.

View Replies !
Application / Msword Changes
Is there any reason a server running SSL would alter/add to application/msword files while downloading them? I have a download script that works with pdf files but somehow adds all sorts of stuff to word documents.

View Replies !
Mortgage Application
Does anyone know how to create a fnm file using php?  I appreciate any and all help, links, scripts, and nuggets.

View Replies !
Email Application
where would one find a tutorial or sample of an email application using php? or perhaps a book that addresses email apps?

the reason for this is that the owner of the site doesn't want his users to know what their email addresses are and they would receive their email from the website - otherwise I would just use the host's email app or outlook express.!

View Replies !
Executing Php As An Application
Does anyone know of a program out there that has php bundled into it? I have ran into a few php editors that actually execute php right there on the system with only a php.ini file. So, I know there are ways to do it..I just need a direction to look in.. Any ideas?

View Replies !
Search Application
I will have about 50 or so radio buttons and checkboxes hard coded onto a php page.I am wanting to create a search application where the boxes and radio's they have checked will be searched in the database.

I am familiar with loops and what not and also with querying databases. what is the best way to set up the search based upon the boxes and radio buttons they have checked? Can I put all checked values in an array and run the search on the array values?I'm stumped on this.

View Replies !
Install A Fax Application
I really want to start doing the email to fax thing. it is really practicle.i have a blackberry and when i have important stuff i could send it to print.nice

so if i set up my pc to be like a server.

install a modem for the fax

do i install a fax application?

how do i access it?

View Replies !
Web Cam/audio Application?
I'm just wondering what kind of work would be involved in developing this kind of application?

Any pointers would be useful, would want to make it as "simple" as possible...

View Replies !
Application For MySql
I have a database driven website (villa rental) running in php/mySql. I want to access the db and pull down data to use with a non-browser application for admin tasks such as sending out directions etc. What is the best way to do this? I have looked at Delphi but cannot easily get a mysql connection.

View Replies !
Session In Application WEB
I want to create an application Web PHP/mysql. my problem is that the application must retain some information as the name of the user. each information is created by a given user and the right to modify is authorized to only this user, the others have right to only consult. problem to retain the name of user and to compare it with the name of
creator which is reproduced on the table of the base of data.

View Replies !
Chat Application
iam trying to build a chat application using php/mysql for my web-site.can anybody knows any tutorials or sites for building a chat application.

the application should be like this.when a sales person of my company login to my site then the online service image should be displayed,and when he logout it should disappear.when sales person is online, customers can chat with him by sending instant messages like that...

View Replies !
Distributing A Application
I am writing a small PHP accounting and office management application and would like to learn how to "package" it for distribution. It requires the use of a small MySQL database which is my main concern. How do I distribute that...and insure that it can be used, i.e., having the proper MySQL services running.

View Replies !
Application Environment!?
I normally code in ASP.NET.  I use application developments like Visual Studio .NET and Web Matrix.

I'm fairly new to coding in PHP.  Any PHP programmers out there that can recommend a good php development app?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved