[PHP-WIN] IIS Bugs???

2002-07-10 Thread Brian McGarvie
OK This is a followon from my Browser thread... on [EMAIL PROTECTED]; [EMAIL PROTECTED] I have switched the application to run from Apache, and the Browsers that were having trouble now seem (I think - will be doing more testing later) to have dissapeared. So, is there a problem with IIS or PH

[PHP-WIN] How to dectect if a file exist in specific Folder

2002-07-10 Thread Jack
Dear all I had a folder which contain some pdf report, the name of the Report will be : xxx.xxx.20020702.pdf. Here is what i want to do : 1. there will be a Form let user to submit the date of reports that he / she wants to view. 2. the php will get the xxx.xxx from a mysql database and add the d

php-windows Digest 10 Jul 2002 09:53:08 -0000 Issue 1233

2002-07-10 Thread php-windows-digest-help
php-windows Digest 10 Jul 2002 09:53:08 - Issue 1233 Topics (messages 14653 through 14663): Re: [PHP] Dual Server... 14653 by: Collins, Robert File Upload Problem 14654 by: Alexandr Polupanov 14655 by: Alexandr Polupanov Re: More bzip woes! No file written...

Re: [PHP-WIN] How to dectect if a file exist in specific Folder

2002-07-10 Thread David Elliott
Dear Piotr On 10 July 2002 at 02:53:04 -0700 (PDT) (which was 10:53 where I live) Piotr Pluciennik wrote and made these points > RTFM!!! It is like saying to some one who wants to spell a word correctly 'Look it up in a dictionary'. If you can not spell it how can you look it up!! -- Regard

Re: [PHP-WIN] How to dectect if a file exist in specific Folder

2002-07-10 Thread Piotr Pluciennik
RTFM!!! bool file_exists( string filename) - returns TRUE if the file specified by filename exists; FALSE otherwise. --- Jack <[EMAIL PROTECTED]> wrote: > Dear all > I had a folder which contain some pdf report, the > name of the Report will be > : > xxx.xxx.20020702.pdf. > > Here is what i w

Re: [PHP-WIN] How to dectect if a file exist in specific Folder

2002-07-10 Thread Piotr Pluciennik
Dear David... read my post to the end - the answer is after RTFM :-)) so, I answer once again, if somebody missed it :-) BEGINING OF THE ANSWER: bool file_exists(string filename) - returns TRUE if the file specified by filename exists; FALSE otherwise. END OF THE ANSWER :-)) HTH, all the best

[PHP-WIN] Re: Domain validiation in php??

2002-07-10 Thread Manuel Lemos
Hello, On 07/09/2002 08:37 AM, Daniel Ryhle wrote: > Hi folks! > > Is there anyone that can tell me if it is possible to validate users in php > on a windows machine against domain accounts?? > > Really need to know if its possible and if it is, the how. Yes, configure your Web server to do Wi

[PHP-WIN] ini_set

2002-07-10 Thread robert
hello list, ini_set and his alias ini_alter, seems not to work under win 2000 enviroment with php 4.2.1 Any suggestions about fixing the problem. Parse the php.ini file with preg_match could be an idea, but ini_set is easy and fast. regards robert -- PHP Windows Mailing List (http://www.p

[PHP-WIN] Re: ini_set

2002-07-10 Thread colin mcdonald
Robert wrote: > hello list, > > ini_set > and his alias ini_alter, > seems not to work under win 2000 enviroment with php 4.2.1 there are restrictions to init_set that you should read in the manual. namely, some settings cannot be changed, some can only be changed in certain places and som

[PHP-WIN] File Upload

2002-07-10 Thread Alexandr Polupanov
I heard, that somehow i can track the percentage of file upload. If it is possible, an example, or algorythm would be nice! Thanks. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Calling Windows DLL Files

2002-07-10 Thread Todd Williamsen
I don't know if this is possible, but I figured there is a small limitation on php The scenario... I have a client that wants his application revamped from MS Access to mySQL and PHP. Now, he is a doctor in an office and he scans patients information in. He wants the ability to click a but

[PHP-WIN] bringing back data by day from current week

2002-07-10 Thread R.S. Herhuth
I'm trying to write a stats program that queries a MSSQL database to bring back a count of all items entered into the database for the current week by day. I'm having trouble getting my mind around how to write this seemingly simple concept. I have the database and I know the field name but I'm

[PHP-WIN] Re: Calling Windows DLL Files

2002-07-10 Thread colin mcdonald
php can only call dll's on the server, not the client end (which is what I think your doctor wants?). Todd Williamsen wrote: > I don't know if this is possible, but I figured there is a small limitation > on php > > The scenario... > > I have a client that wants his application revamped fr

[PHP-WIN] Re: PHP on IIS 5.0

2002-07-10 Thread Tracker1
To: Colin McDonald So, you would suggest, *NOT* caching isapi apps, when using php? this should be doable per application.. -- === Michael J. Ryan - tracker1[*at*]theroughnecks.com Roughneck BBS: http://www.theroughnecks.net

[PHP-WIN] Re: Closest store location by zip code

2002-07-10 Thread Tracker1
To: R.S. Herhuth This would take a database of zip code information, iirc the post office has one available, you will get long/lat coords however, and need to calculate yourself.. best bet may be to simply get the closest by number of the zip.. however, it wouldn't be precise. there are a lot

[PHP-WIN] Re: Browser Troubles...

2002-07-10 Thread Tracker1
To: Brian McGarvie The original 5.00, not 5.01 had a few bugs, especially with regards to the DOM accessed through JS, it broke several scripts... run a detect for 5.00, and not 5.01, and suggest upgrading... It is likely your prob is with 5.00, not 5.01... --

[PHP-WIN] Re: run as

2002-07-10 Thread Tracker1
To: Scott Hurring You probably could have just changed the security restriction on the dll in question.. the problem was likely that winamp was running in a separate desktop space from the user apache was running as.. so either you would have to create a wrapper service, or pretty much do what

[PHP-WIN] Re: [PHP] Dual Server...

2002-07-10 Thread Tracker1
To: Brian McGarvie yes, also, you should be able to bind each to a different IP, if you want them both on port 80... -- === Michael J. Ryan - tracker1[*at*]theroughnecks.com Roughneck BBS: http://www.theroughnecks.net telne

[PHP-WIN] Re: Calling Windows DLL Files

2002-07-10 Thread Tracker1
To: Colin McDonald If he is running IE for the browser, you could write an active-x control that will launch from the page, and then upload the given file to the webserver. -- === Michael J. Ryan - tracker1[*at*]theroughneck

[PHP-WIN] Re: PHP on IIS 5.0

2002-07-10 Thread colin mcdonald
yes, what worked for me was: -go to the properties of the website -click "Home Directory" tab -click configuration button -UNcheck "Cache ISAPI Applications" I'm not sure if this means that it is per application or not? colin Tracker1 wrote: > To: Colin McDonald > So, you would suggest, *NO

[PHP-WIN] SESSION vars

2002-07-10 Thread Matt Babineau
I was reading on php.net but it seem unclear to me how to properly set a session variable. my code looks like this: session_start(); $_SESSION["logged_in"] = "1"; -- when I click the link to the next page, and it checks for the logged_in session var it cannot

RE: [PHP-WIN] SESSION vars

2002-07-10 Thread Matt Babineau
Is there a way to refrence the session variable or set the session variable using $_SESSION? I like using the $_GET, $_POST, $_SESSION constructs for consistency. Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.criticalcode.co

RE: [PHP-WIN] SESSION vars

2002-07-10 Thread Matt Babineau
Well once the session var has been set using the previously posted methos I can accress like $_SESSION['foo']. Should I be able to simply do this: Session_start(); $_SESSION['foo'] = "xyz"; ? Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.943.4

RE: [PHP-WIN] SESSION vars

2002-07-10 Thread Dash McElroy
Here's an example: Page1: session_start(); $_SESSION['foo'] = bar; Page2: session_start(); print $_SESSION['foo']; Page 2 should print 'bar'. -Dash -Original Message- From: Matt Babineau [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 11:34 AM To: 'Dash Mc

[PHP-WIN] Re: PHP on IIS 5.0

2002-07-10 Thread Tracker1
To: Colin McDonald yeah.. basically, the options like that can be done per site, or if you have a folder on the site, you can assign an "application name" under properties, and establish per-directory/application.. as well as global properties to all webs on the server.. -- ==

[PHP-WIN] Sessions under PHP v4.2.1

2002-07-10 Thread Dennis Schlichczin
Hello all. I've some problems with starting sessions. Used Webserver: Apache 1.3.26 (src) under Win2k PHP version 4.2.1 php.ini properties --- session.save_handler = files session.save_path = c:/winnt/tmp (exists) session.use_cookies = 0 session.name = PHPSESSID session.cookie_

[PHP-WIN] Re: Calling Windows DLL Files

2002-07-10 Thread Todd Williamsen
Yes, I would make sure that they use IE as a browser... Now things become complicated, and I don't know what PHP's limitations are What he wants... 1. to be able to press a button to scan a document 2. that scanned document gets automatically saved in a new or existing folder by patient ID# Is

[PHP-WIN] Exec

2002-07-10 Thread charlesk
I am trying to get php to create a DNS entry on a different server. When I open a command shell and enter the command it works fine. ( (dnscmd.exe servername /EnumRecords domainname @) OR (dnscmd.exe IPaddress /EnumRecords domainname @) When I have php exec() the same command from a command line

Re: [PHP-WIN] Exec

2002-07-10 Thread Scott Carr
Sounds like a permissions problem. Everywhere else you are running as you or root. Under the Web Server, you are probably running as "Nobody". Check permissions on the file you are trying to execute. -- Scott Carr OpenOffice.org Documentation Maintainer http://documentation.openoffice.org/

Re: [PHP-WIN] Exec

2002-07-10 Thread charlesk
When I look in the task manager the php.exe is running as me. The only way that it doesnt work is when I run it from the web and try to get info off another server. Localhost works fine in all cases. When I try to get info off another server it only fails when I make the request from the web

php-windows Digest 10 Jul 2002 23:53:24 -0000 Issue 1234

2002-07-10 Thread php-windows-digest-help
php-windows Digest 10 Jul 2002 23:53:24 - Issue 1234 Topics (messages 14664 through 14689): Re: How to dectect if a file exist in specific Folder 14664 by: David Elliott 14665 by: Piotr Pluciennik Re: Domain validiation in php?? 14666 by: Manuel Lemos ini_set

[PHP-WIN] strange error

2002-07-10 Thread fungi
I have problem testing PHP on my own server setup with IIS5. I tested my server with and everything goes fine, but when i test another program such as it prints out Notice: Undefined variable: cisco in c:\inetpub\wwwroot\fungi.php3 on line 8 but when i tested it on my schools' serve

RE: [PHP-WIN] strange error

2002-07-10 Thread Peter
try this.. and maybe add $PHP_SELF for the action. Cheers > -Original Message- > From: fungi [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 11 July 2002 12:14 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] strange error > > > I have problem testing PHP on my own server

Re: [PHP-WIN] strange error

2002-07-10 Thread fungi
still doesn't work.. i changed the register_globals from "off" to "on" in php.ini and tested the original code. This time it works, but it still displays undefined variable "cisco" why? "Peter" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] > try this.. > > if ($submit) > { > echo("$cisco"); >

RE: [PHP-WIN] strange error

2002-07-10 Thread Peter
am not sure... it works fine for me ... do you have allow_call_time_pass_reference set to on? in php.ini? > -Original Message- > From: fungi [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 11 July 2002 12:54 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] strange error >

Re: [PHP-WIN] strange error

2002-07-10 Thread fungi
yes it is on "Peter" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] > am not sure... it works fine for me ... > > do you have allow_call_time_pass_reference set to on? in php.ini? > > > > > -Original Message- > > From: fungi [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, 11 July 2002 12:54

Re: [PHP-WIN] strange error

2002-07-10 Thread fungi
is register_globals suppose to be on or off? I heard of it is set to on will cause some security problem "Fungi" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] > yes it is on > > "Peter" <[EMAIL PROTECTED]> > ???:[EMAIL PROTECTED] > > am not sure... it works fine for me ... > > > > do

RE: [PHP-WIN] strange error

2002-07-10 Thread Peter
have you tried restarting IIS since u changed the register globals? > -Original Message- > From: fungi [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 11 July 2002 1:33 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] strange error > > > is register_globals suppose to be on or

Re: [PHP-WIN] strange error

2002-07-10 Thread fungi
I just did... it works, but it still says undefined variable "Peter" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] > have you tried restarting IIS since u changed the register globals? > > > -Original Message- > > From: fungi [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, 11 July 2002 1:33

Re: [PHP-WIN] strange error

2002-07-10 Thread fungi
I have searched for it on the web and it seems like alot of new comers to php is having this problem "Fungi" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] > I just did... > it works, but it still says undefined variable > "Peter" <[EMAIL PROTECTED]> > ???:[EMAIL PROTECTED] > > have yo

Re: [PHP-WIN] strange error

2002-07-10 Thread Honza Hejdrych
Have a look at your PHP.INI, check ERROR HANDLING section. You have probably set something like: error_reporting = E_ALL & ~E_NOTICE This setting means you will see all errors including warnings. You should set this to (for example): error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR This

Re: [PHP-WIN] Re: Calling Windows DLL Files

2002-07-10 Thread Luis Ferro
Hi there, For a complex task as such, and without needing to "rewrite" the wheel (that means write a new scanning program) i would use: a) a scanner that works in a networked environment and as the ability to send the scannings to emails (i remmeber that the network scanners from HP can do it

Re: [PHP-WIN] strange error

2002-07-10 Thread fungi
yes it works now, thanks but is this just hiding the error? why do i get errors at the start? "Honza hejdrych" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] Have a look at your PHP.INI, check ERROR HANDLING section. You have probably set something like: error_reporting = E_ALL & ~E_NOTICE This

RE: [PHP-WIN] strange error

2002-07-10 Thread Peter
something i just thought of ... try this see if that makes a difference > -Original Message- > From: Honza Hejdrych [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 11 July 2002 2:02 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] strange error > >

RE: [PHP-WIN] strange error

2002-07-10 Thread Peter
sorry my bad .. make it like this.. if( $submit ) // make a clause so that only when submit is > pressed will this part run > { > echo( "$cisco" ); > } > $cisco = " "; > ?> etc > -Original Message- > From: Peter [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 11 July 2002 2:

Re: [PHP-WIN] strange error

2002-07-10 Thread fungi
this is very strange i changed the error reporting back to E_ALL & ~E_NOTICE and reset my IIS and now it doesn't show the warning message.. "Honza hejdrych" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] Have a look at your PHP.INI, check ERROR HANDLING section. You have probably set something lik

[PHP-WIN] form variables ... back to the same page ?????

2002-07-10 Thread toby z
hi guys i want a form's input to go back to the page of THE form and get processed there how can i do that ... well that if thats possible i ve been searching for the thing thru php.net but to no use id really appriciate any help with this thnx a million. toby .. __

Re: [PHP-WIN] form variables ... back to the same page ?????

2002-07-10 Thread James Mclean
if u call ur page with a blank form tag, it will effectively call its self. or even > $PHP_SELF refers to the same page it is called from. good luck > i want a form's input to go back to the page of THE > form and get processed there > how can i do that ... well that if thats possible