Service In Windows/IIS
I have used cron jobs before with PHP on Linux/Apache machines. However I'm making a PHP application for windows 2k3 server running IIS6.
How do I go about making a service to execute a php script? I was thinking that I would have to add php.exe to the PATH and then perhaps a batch file to execute the php file?
View Complete Forum Thread with Replies
Related Forum Messages:
Windows Service
I need to stop (sometimes start) a Windows seevice (in XP / Vista). Does anyone know how to do such a thing in php?
View Replies !
PHP CLI As Windows Service & Daemon
Does anyone have a good solution to run a Command Line Script as a Windows Service, and be able to monitor it via Telnet (Or better yet SSH)? I have a small maintanance script that I would like to run as a service on a Windows Server. It cleans up parts of the database on an hourly basis, sends some e-mails etc. It would be great to monitor the scripts progress without checking a log file.
View Replies !
Create A Windows Service
how to create a web service in PHP? i have a php script which i want to run as a windows service. Please give me steps on how to create a windows service and ref links. plase give me example if possible.
View Replies !
Php Service On Windows 2003 IIS6
this is the setup: i have 2 computers at home. one of them has a registered domain name, and is acting as a web server (runs under windows 2003 iis6). my second machine has apache configured with php, perl, and mysql installed. i wanted to make my 2nd machine accessible from the internet, so i have created a virtual directory on my 1st machine, pointing to my htdocs directory on the 2nd machine. when i try to access a .html or .txt document (on my 2nd machine) through my 1st machine everything works. but when im trying to access a .php file, i get a 404 error. why does this happen? can anyone please help me? p.s. an example of urls are as follows: 1st machine -> http://www.machine1.com 2nd machine -> http://www.machine1.com/machine2 (machine2 being a virtual directory on the 1st one, pointing to htdocs on the 2nd)
View Replies !
Undefined Function Mysql_connect() - Windows XP With Service Pack2
I just installed Apache/PHP/MySQL all newest versions today on windows XP with service pack2, everything seems to be working fine, cept for when I went to connect to MySQL. I'm getting this error: Fatal error: Call to undefined function mysql_connect() in C:Program FilesApache GroupApache2htdocs ationalincconntemp.inc on line 3 line 3 of conntemp is: $db_selected = mysql_select_db('National', $link) or die('Database name incorrect'); but i know the code is good, it works fine on my linux server. can anyone tell me if i'm missing something? like a module maybe? and if so what one and where can i get it?
View Replies !
Full Text File Search With Indexing Service On Windows
Here's a short tutorial on how to the OLE-DB extension to access Windows Indexing Service. Impress your office-mates with a powerful full-text search feature on your intranet. It's easier than you think. First, download and install the extension (http://sourceforge.net/project/show...kage_id=198554). Simply unzip the file and copy the correct version of php_oledb.dll into the PHP extensions folder. Then add the line extension=php_oledb.dll in php.ini and restart your web server. Now, if Indexing Service isn't running on your computer, turn it on. Go to Control Panel Administrative Tools Services and configure Indexing Service to start automatically. You can also ask the little dog in the search window to do it for you if you're using Windows XP. You will need to wait a while for Windows to build the initial index. It could take a couple hours. Once the extension is installed and the index is ready, you can start coding. To connect to Indexing Service, you use the oledb_open function: $link = oledb_open("Provider=MSIDXS"); You then call oledb_query with a SQL statement. Let us start with something simple: We'll look for all files on the computer containing the word "love": .....
View Replies !
PHP And ASP.Net Web Service
I have an ASP.Net web service that returns XML that I want to present via a PHP page. The web service returns me the WSDL + the actual data to be presented. I want to present the data in the XML web service as a table in a web page. I have no PHP experience, and so am starting without any prior knowledge of PHP scripting. I do have a little ASP experience. Can someone please help me by - advising how to strip out the WSDL from the beginning of the XML returned? - advise how to present the XML data as an HTML table?
View Replies !
XML/PHP Web Service
if it was possible to create a php script that checks flight information for several flight operators given certain parameters such as departure date/ departure airport/ destination and number od travellers? What i would like to do is have a link on my site, that once clicked would open up a new window that would display the prices from several airlines for these dates etc. I think going along the lines of XML Web services is the right path but these seem to be very early in the developmental process and none seem available to meet my requirements. Does anybody have any ideas?
View Replies !
Web Service...
I'm not having much joy working out how web services work... I'm want to send a receive data from a VB application, my web service will be written using PHP on my website. From what I understand I need to use SOAP written in XML to do this, do I also need a WSDL file to work in with this? I know how I can read a XML file and write one in PHP but how can I post info from a VB application and have my webservice read it and add it to my MySQL DB...
View Replies !
Web Service
I need to use the web services in my project but it is very new thing for me, can any of you give me a brief note of that and how to use it in our php progamming?
View Replies !
Using A Web Service
I'm writing a copy of a site that's supposed to communicate with the site that another group has set up just like it. They want to have control over some of the columns in the database, but they want to share data easily by having it communicate with the host database. The problem is that the host database is an Oracle database and the database we want to have it in is a SQL.
View Replies !
PHP Encryption Service
I would like to make a simple page on my site that asks for two inputs: An input message box (like the one you type messages into on this forum) and a input text box (like the one you type the subject into on this forum). You enter a "key" into the text box and a "message" into the message box and then click on one of two buttons: encode or decode. So you can enter cleartext and it is turned into ciphertext, or the other way around depending on which submit button you chose. I would also like it to ask for a password before even allowing you to see anything at all on that page (which is turned into a md5 hash and then authenticated). Is there a way to make a semi-unbreakable code using this system, without installing PG or GnuPGP? If not, can someone walk me through the installation of GnuPGP on a Win2k server? I can't seem to figure it out!
View Replies !
Consume .NET Web Service
anyone tell me how to pass an XMLNode to a web service method? While using structs as response of the web service all works fine, but there's a certain difficulty with XML data. The service is a .NET web service.
View Replies !
(nu)soap Web Service
i am new to writing soap servers adn clients.. i am using nu soap implementation of soap (or is it xmlrpc?)... i use adodb class for data extraction from database.. and $_RIIA_TValidate->check_int() checks if something is an integer or not.. its tweaked version of is_int() PHP Code:
View Replies !
MySQL Service On Win XP Pro
I cant seem to get the mysql service to start locally on my Windows XP Pro machine... Ive installed PHP with IIS and want to get MySQL going too. Everytime I start the service, i get a "Error 1067: The process terminated unexpectedly". MySQL is installed to C:mysql and everything.
View Replies !
Talk With A Web Service?
Can I use php to talk with a web service? I need to talk with a web service.. I'm programming with php for about 7 months now. but in fact I have no idea about using it with web services.
View Replies !
Calling A Web Service
<html> <head> <title>PHP test page </title> </head> <body> <?php //Define the request $request='http://192.168.0.65/aircanada/WebSrvHello/WebSrvHello.asmx/HelloService'; $xml = simplexml_load_string($request); ?> PHP Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in C:Inetpubwwwrootinvoke.php on line 9 PHP Warning: simplexml_load_string() [function.simplexml-load-string]: http://192.168.0.65/aircanada/WebSrvHello/WebSrvHello.asmx/HelloService in C:Inetpubwwwrootinvoke.php on line 9 PHP Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in C:Inetpubwwwrootinvoke.php on line 9
View Replies !
Replace Service
In PHP how replace service@polis-land.com below with $email ? this is a php mail() script where $email = $_GET['e']; . $headers = "From:service@polis-land.com"; $headers .= " Bcc:a080725@cytanet.com.cy"; $headers .= " Reply-To:service@polis-land.com"; //, $email $headers .= " Content-Type: text/html; charset=UTF-8"; $headers .= " MIME-Version: 1.0";
View Replies !
Consuming Web Service
Is it possible to consume a method from a web service written in C# that returns a dataset? I've been searching the web but haven't found an answer.
View Replies !
Web Service / .NET Client
I have the pieces in place but get the error... "client found response type text/html; UTF-8 but expected text/xml The request failed with an empty response" I am using the SoapServer built in class for PHP 5 and just adding a Web Reference with .NET.
View Replies !
Create Own Web Service
i am trying to create my own web service using php.there are few options on it.can i know which one is better for creating web service? using SOAP or xml-rpc.
View Replies !
Web Service Trouble..
I'm trying to send a timestamp to a web service, with this I want it to return a XML style sheet of all members who have been updated since my last update run Code:
View Replies !
Amazon E-Commerce Service And PHP
Hi, I was trying to implement the Amazon E-Commerce Service on my php powered website. For a start, the Amazon Developer center only has examples for C# and Asp.NET ... anyone has a resource where I can find specific help about implementing that service on php?
View Replies !
I Need A Subdomain Service Like Kickme.to
I want to give users of my site the option to register for a subdomain redirection service. I scanned the Internet for some script, but didn't really find anything that works. Tried the PHP script from http://opendomains.vnn.bz/ and many others. So now I want to ask you if you know of any script in PHP, Perl, Phyton that can accomplish this task?
View Replies !
Construct A Mail Service?
is it possible to let a particular user to when registering on www.domain.com, he /she will get a email address inherited from the domain like herusername@domain.com?? Can PHP construct this service?
View Replies !
PHP XML-RPC Client To Perl Web Service Under MS IIS 4
I am totally stuck on this problem. I have a web service written in Perl, which uses Frontier::RPC2, and runs on MS IIS 4. I can access the web service using a client written in either Perl or Python, but cannot access the web service using a client written in PHP. The exact same Perl script, run under Apache on a Linux server, is accessible by the Perl, Python and PHP clients. Similarly, the same service written in PHP is accessible by all clients, whether run under MS IIS 4 or Apache on Linux. The only problem is using the PHP client to access the Perl server under MS IIS 4. When I run the PHP client script, it just times out.
View Replies !
Debugging SOAP Web-Service In Php.
I am trying to debug a client/server combination using NUSOAP, but I am not able to find a way to do that! I have spent days playing with Zend, but I haven't found a way to debug it without a start page. How can I do this? (Know there are some other environments, but it takes a long time to figure them out, while keeping what I have). Also, is there some simple way to VIEW and ANALYZE what goes throug the http-port? Tried Ethereal, but it doesn't work locally with XP. Can use both IIS and Apache, PHP 4* and 5*
View Replies !
PHP Clients: What Web-service Is Best? (SOAP Etc)
Our team will be creating a web-application that must have an easy to use programmatic interface for our web-developer clients. The data transferred will primarily be taken from a database (which may be remote) like a true 3-tier app. Load tolerance for us is quite important. We are considering creating a SOAP service. We have found that the php_soap extension is easy to use for our clients and seems to do everything we need (from a client perspective). We have however, heard others mention XML RPC as a better alternative (especially relative to bandwidth) and just as easy to consume by PHP. My main questions for you PHP gurus are: 1) What is the approximate likelihood that clients who have sites that support PHP will have the soap extension installed (or are willing to install it). Good? Fair? Bad? 2) Is there a better technology choice for our software development team to provide a web-service to our web-developer clients? XML RPC, custom CGI protocol? others?
View Replies !
Tag/keyword Suggestion Service/API
I'm looking for tag/keyword suggestion service. The basic idea is that I want to pass a sentence or paragraph and have that API give me back a list of suggested keywords based on the input. I'm hoping that Yahoo or Google has something similar but so far my searches haven't gotten me anywhere. Does anyone know of such a tool? Or, if that doesn't really exist does anyone know of a good module for analyzing a string and removing "unimportant" words?
View Replies !
Delivery Service Notification
how to integrate DSN into sending email from PHP? I have a listing of about 500 members that I would like to keep track of and get a report of confirmed emails received by them. I have not been able to find any information about this on the internet.
View Replies !
Anti-Denial Of Service
I've been having problems with people spamming my server through the http headers. Is there a way to keep this from happening? It's killing my bandwidth and costing me a fortune.
View Replies !
SMS - System Messaging Service
All users who came to this site may exchanging an sms (write message and send it to server, server sends it to the other user) Can u advice me the following steps: 1. How client knows when sms is arrives? 2. How i can create a new window and write a recieved text? 3. How i can store smses in the server side, if user offline in this moment.
View Replies !
Using A Web Redirection Service And URL Masking
This isn't necessarily a PHP problem so much as a general web issue I've run across. I'm hoping you smart people can help me out. Basically the issue is that I cannot get form submissions to work in some browsers. The first time I experienced this was when I was using a web redirection service and URL masking. IE would not post the form if the URL was masked in the DNS entry. I turned off the masking and just did a redirect to the "real" domain and it worked fine. The problem I've run into now (separate issue) is that I'm running a webserver at home on a nonstandard port thanks to Verizon and port blocking. I'm running my server on port 8080 with a free third level domain name from DynDns.org. I'm able to login to this particular site just fine with Firefox but other browsers seem to see something as a security issue and will not allow form submissions. Another fact that may be worth noting is that I'm using the. notation and relative paths rather than absolute paths. I wouldn't think this would be an issue but just wanted to clearly explain my situation. Show me some love.
View Replies !
Php5 Soap And .net Web Service
I have problems when I try to send string as parameter to my .net web service in php.No problem at all if I use nusoap, but I failed by using php5 soap. Can anyone help.. I've got this msg : Fatal error: Uncaught SoapFault exception: [soap:Server] Server was unable to process request. --> Object reference not set to an instance of an object. in c:InetpubwwwrootPHPprojectclientPHP.php:38 Stack trace: #0 [internal function]: SoapClient->__call('test', Array) #1 c:InetpubwwwrootPHPprojectclientPHP.php(38): SoapClient->test(Array) #2 {main} thrown in c:InetpubwwwrootPHPprojectclientPHP.php on line 38 this is my code: ....
View Replies !
Return Array In Web Service
I'm develping a distributed application and I decided to use Web Service for some reasons to develop the Web Service server side with PHP and the clients in Object Pascal (Delphi). The Web Servcice returns a database query but the data sets are not standars, so I need to return thats datasets as arrays but I dont know how to returns it.
View Replies !
A Poll Service Using MySQL Database?
I currently have a site that provides free polls for webmasters. All the data of these polls are stored in individual files. But I'm considering storing all data (this include poll colors, width, etc. and total votes) in a MySQL database. This mean that everytime someone votes or view the results, the database will be accessed. I was wondering, is this too much load on the server? Keep in mind that this is a free service for webmasters. So if let's say 100.000 webmasters put one of my polls on their site, and each of these polls gets many votes/hits. Will this be too much load for the server? Or is this better than having a file for each poll?
View Replies !
PHP5 Consume Web Service Without Wsdl
I need to consume a web service written in Perl but there is no wsdl file for this service. The perl soap client that can call and consume this web service looks like this (if it helps) #!perl -w use SOAP::Lite +trace => "debug"; print SOAP::Lite ->uri("urn:WebServices") ->proxy("http://example.com") ->SomeMethodName('param1', 'param2') ->result; How can this be translated in to something that is easily used in PHP5? There is no wsdl file describing the web service above.
View Replies !
PHP With MS SQL 7 Server Service Pack 4 - Cannot Connect
I have PHP 4.3.1.1 running on Windows 2000 Server with IIS 5. This connects to an MS SQL 7 server running on a seperate NT4 box. Recently, this SQL7 Server had SQL7 Service Pack 4 applied to it. After this Service Pack, the PHP apps could no longer connect to the database. Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: <mySQLServer> in <myPHPapp.php> on line 12. From what I understand, SP4 broke something in named pipes connections, and the fix is to update the client to MDAC 2.7 or later. This update was applied to the PHP server, but PHP still cannot connect. Anyone else run into this?
View Replies !
Logging IP Along With Service Provider Info
I have a script that grabs the user's ip address, date and time of log. However, I want to log "who" is seeing my page (as in cox.net users, bellsouth users, etc.). Does anyone know how to do this or a script that I can look at?
View Replies !
Calculate Years And Months Of Service
I have each employees hire date stored in date format in MySQL (YYYY-MM-DD) and would like to calculate how many years and months of service they have. The output would be like: Years of Service: 7 yr and 2 mo How would I go about doing this calculation?
View Replies !
|