[PHP-WIN] Is this a bug in PHP

2003-08-08 Thread David Richards
Hi, Can anyone tell me if the following is a bug in php or a coding error on my part. When I run the following piece of code I get an error: Code: $empty = new VARIANT(); $word = new COM("word.application") or die("Unable to instantiate Word"); $word->Visible = 1; $word->Documents->Add(); $word->

[PHP-WIN] PHP and Win 2003 Server

2003-08-08 Thread Sergio Fontes
I'm having some problems to config php on a win2003 Server. I'v e followed all the instructions, but the browser can't parse php files. Can anyone help me? regards, Sérgio -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Absolute and Relative directory

2003-08-08 Thread Michael Bao
Hello everyone, When I included some file, I must key in the absolute directory, as following: require ("d:/iis/www3/lib/common/auth.inc"); but I need relative directory, like require ("/lib/common/auth.inc"); So I change include_path line to "include_path = d:/iis/www3/" in "php.ini" file. B

RE: [PHP-WIN] Form Handling

2003-08-08 Thread Cory Daehn
This is normally done with JavaScript. As an alternative, you could have the form self-process with PHP and only redirect to a results page when everything is completed. > I am looking for a way to handle emply form fields on one page > instead of catching it on the response page. > > I have se

[PHP-WIN] not able to pass values to OR access global values by the included file

2003-08-08 Thread Krishna Murali-A19032
Title: Blank when i include php files i would like to pass values to the included file like include("file.php?action="" I am not able to do this. I have tried setting cookies and try to acces the cookies from file.php. It didn't work. Can anyone suggest me a way out of this? Thanks

[PHP-WIN] Re: [PHP] Still can't pass variable through url

2003-08-08 Thread John Manko
actually, you might want to urlencode it. ok, so i doubt that you would need url encoding for $year and $month, but I'm sure you will playing with more of this in the future, so you should properly prepare to do so. Note: browsers will do formatting for you, but don't rely on it. "page.php?yea

[PHP-WIN] Resource Sharing or Resource Scheduling ??

2003-08-08 Thread Raheel Hussain
hi all, i've made an application , which serves more than 35 cuncurrent users at a time, now wht i m doing on the page where the data is being submitted is : run a loop which iterates through all the submitted data of $_REQUEST and i make a query and update that to the Access Database, on every r