[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.6

PHP files that run in a.bat file using php.exe

Asked by Mathiau in PHP Scripting Language, PHP and Databases, Miscellaneous

Tags: php, mysql, bat

as part if my migration of items to a new server.

Our past coder used *.php files run with in a bat file to process data, he said he did it this way as some of the "scripts" were very large and if run in a browser, it would always time out.

the bat file method works fine, on apache 2 and php 4 using php.exe file on the old server

now i am moving items to a new server, using apache 2.2 and php5 but using the ISAPI.dll method.

i was curious as to how can i run these bat files still, and can they be run using the isapi module, or do i have to also somehow enable the php cgi (php.exe) file to be able to run also ?

When i try to run the bat file under the new settings like


c:\php5\php.exe c:\scripts\tournamentupdater.php
or trying
c:\php5\php-cgi.exe c:\scripts\tournamentupdater.php

a dos window opens and just scrolls down all of the text and the end doing nothing, as if the bat file just reads the codes text and that is it


Any help is appreciated
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
example if what one bat file looks like:
 
 
c:\php\php.exe c:\scripts\tournamentupdater.php
c:\php\php.exe c:\scripts\totalupdate2.php
c:\php\php.exe c:\scripts\dailyreport.php
c:\php\php.exe c:\scripts\limiter2005.php
c:\php\php.exe c:\scripts\clickftpv2.php
 
 
So the bat file runs each "script" as when one is done it goes onto the next automatically.
 
Related Solutions
Keywords: PHP files that run in a.bat file using ph…
 
Loading Advertisement...
 
[+][-]11/20/08 03:46 PM, ID: 23009526Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: PHP Scripting Language, PHP and Databases, Miscellaneous
Tags: php, mysql, bat
Sign Up Now!
Solution Provided By: jausions
Participating Experts: 2
Solution Grade: A
 
[+][-]11/20/08 02:15 PM, ID: 23008897Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/21/08 01:00 AM, ID: 23011286Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11/21/08 01:01 AM, ID: 23011289Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/25/08 09:38 AM, ID: 23036323Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/01/08 10:54 AM, ID: 23071260Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/01/08 11:06 AM, ID: 23071366Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/17/08 11:56 AM, ID: 23197317Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/02/09 09:09 AM, ID: 23280771Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/02/09 09:09 AM, ID: 23280774Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/30/09 01:22 PM, ID: 24022919Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625