[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 PHP or IIS with PHP?

[ http://www.the-local-guide.com :: http://www.mcgarvie.net ]

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 date at
the end of the string as the file name.
3. If the filename exist in that specific folder, then it will show a
hyperlink for each exist report, otherwise nothing will shows up!

I want to know how i can use php to detect if such file is exist in that
specific Folder?

--
Thx a lot!
Jack
[EMAIL PROTECTED]



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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...
14656 by: Mikey

need help caching problems!
14657 by: kalmen

Trapping PHP errors
14658 by: Matt Babineau
14659 by: Matt Parlane
14660 by: Rasmus Lerdorf

IIS Bugs???
14661 by: Brian McGarvie

How to dectect if a file exist in specific Folder
14662 by: Jack
14663 by: Piotr Pluciennik

Administrivia:

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--

--- Begin Message ---

Matt,

I dont know if this helpped Brian but it just saved me a huge headache with
some of the presonal settings on my intranet 

THANKS!

Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Fax: (504) 248-3866
Email : [EMAIL PROTECTED]  



-Original Message-
From: Matt Parlane [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 4:41 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Dual Server...


Hi Brian...

I have it set up just like Robert, and I really think it's the way to go -
having Apache as the web-accessible server gives me much more peace of mind
than having IIS sitting out there just waiting to be attacked.

Do you realize you can have content served by IIS accessed without using the
:8080 (or whatever) port number?
I'm not sure if you're aware of this but here's the relevant parts of my
httpd.conf:

NameVirtualHost *
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so


 ServerName zevi.net
 ServerAlias zevi.net www.zevi.net
 ProxyRequests Off
 ProxyPass / http://zevi.net:4040/
 ProxyPassReverse / http://zevi.net:4040/



 ServerName newworkstudio.com
 ServerAlias newworkstudio.com www.newworkstudio.com
 DocumentRoot "C:/htdocs/newworkstudio.com"
 DirectoryIndex index.html


So, for each ASP site (or for each site served by IIS), just add a
VirtualHost entry using the ProxyPass directive to send it to the IIS
server.  The IIS server doesn't have to be on the same computer by the way -
or even the same network...

Hope that helps.

Matt Parlane
Zevi Interactive
[EMAIL PROTECTED]

"Brian McGarvie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I will probably do this the other way round as we have a few sites...

so if i have a single file with a frame and point contents of frame to
apache this should work?

> -Original Message-
> From: Collins, Robert [mailto:[EMAIL PROTECTED]]
> Sent: 09 July 2002 4:41 PM
> To: Brian McGarvie; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: RE: [PHP] Dual Server...
>
>
> I have Apache and  IIS coexisting on my intranet server and
> the way I set
> them up was to put each on a different port. (Apache serves
> http://intranet
> and IIS serves http://intranet:8080) this appears to work
> fine. Hope this
> helps
>
> Robert W. Collins II
> Webmaster
> New Orleans Regional Transit Authority
> Phone : (504) 248-3826
> Fax: (504) 248-3866
> Email : [EMAIL PROTECTED] 
>
>
>
> -Original Message-
> From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 09, 2002 10:39 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP] Dual Server...
>
>
> OK following from my thread 'Browser Issues' I have found
> that when serving
> the site from apache, that the aforementioned errors go
> away... mostly...
>
> OK so... What is the best way to setup so that IIS/Apache co-exist...
>
> I'd like to keep the 'entry' to the site on IIS as we have other sites
> too... and use apache to serve the content of it.
>
> Any help mucho appreciated... also working to a deadline!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---

I've read all messages related to this problem, but my situation is
different. I can't upload files > 1000 Bytes. NOT 1 KB but exactly 1000
bytes. In php.ini  memory_limit is set to 8M and  upload_max_filesize is set
to 8M and i'm still getting error, and is_uploaded_file() returns FALSE.

My system:
Windows 2000 Professional with IIS 5.0 Server.
PHP 4.2.0

What can solve my problem?
Thanks.



--- End Message ---
--- Begin Message ---

Now i'm asking to excuse me.
I found my mistake.
In my Upload form MAX_FILE_SIZE was set to 1000.

Sor

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!!

-- 
 Regards,  ___
  David   |David  Elliott|   Software Engineer|
 _|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
| Redneck: if you go to the family reunion to pick up women.  |



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 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 date at
> the end of the string as the file name.
> 3. If the filename exist in that specific folder,
> then it will show a
> hyperlink for each exist report, otherwise nothing
> will shows up!
> 
> I want to know how i can use php to detect if such
> file is exist in that
> specific Folder?
> 
> --
> Thx a lot!
> Jack
> [EMAIL PROTECTED]
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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
Piotr


--- David Elliott <[EMAIL PROTECTED]> wrote:
> 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!!
> 
> -- 
>  Regards, 
> ___
>   David   |David  Elliott|  
> Software Engineer|
>  _|  [EMAIL PROTECTED] |
> PGP Key ID 0x650F4534  |
> | Redneck: if you go to the family reunion to pick
> up women.  |
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 Windows NTLM authentication on the 
pages you want.


-- 

Regards,
Manuel Lemos


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 some with no restrictions, etc.

 >
 > 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.
 >

ini_set does not permanently change the value from php.ini, it only 
changes the value for the execution of your script.


colin


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 button on the GUI which launches the
scan program(TWAIN32.DLL I think) then automatically saving the scanned file
in the designated folder or location. I informed him its the scanning
applications responsibility to scan and automatically save it, so in order
to designate the location I need to either: 1. Find a program that does
that, 2. Write a new scanning application.

 I think this guy is starting to want too much, but if it is possible I
would like to give it a whirl.

Is this possible?



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 having a bit of
trouble with the math to create the query.  I would greatly appreciate
it if someone might be able to share such a script.

Thanks,
Ron

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 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 button on the GUI which launches the
> scan program(TWAIN32.DLL I think) then automatically saving the scanned file
> in the designated folder or location. I informed him its the scanning
> applications responsibility to scan and automatically save it, so in order
> to designate the location I need to either: 1. Find a program that does
> that, 2. Write a new scanning application.
> 
>  I think this guy is starting to want too much, but if it is possible I
> would like to give it a whirl.
> 
> Is this possible?
> 
> 



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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  telnet://theroughnecks.net
===
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/


" Colin McDonald" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> From Newsgroup: php.windows
>
> This is what I had to do:
>
> -take out zend_optimizer from php.ini
> -put process isolation level to "HIGH" (as Michael suggested)
> -put IIS in the ISAPI filter list
> -disable chaching of isapi applications
>
> I hope this helps you and/or anyone else having this problem, because it
> took me a long time to figure this out and stabilize our app on IIS.
>
> colin
>
> Alexandr Polupanov wrote:
> > i'm using php4isapi.dll on a Windows 2000 Professional.
> > When i'm running Server-Side PHP Scripts, all works fine, but when i'm
> > running them more than approximately 50 times, PHP seems to stop working,
> > and in my browser i get this:
> > "PHP has encountered an Access Violation at 010125C0"
> > or this too:
> > "PHP has encountered an Access Violation at 0101290E"
> > Then i need to restart IIS service, to get PHP work again.
> >
> > Do somebody knows what is the problem, and how to solve it?
> > Thanks in advance.
>
> --- Synchronet NewsLink v1.00 Beta
--- Synchronet NewsLink v1.00 Beta
 *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 of paid services to
actually get this information, and have COM objects for use, that can
be used in php-windows, but their examples will likely be ASP based.

--
===
Michael J. Ryan  -  tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
===
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/


" R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> From Newsgroup: php.windows
>
>
> Does any one know of a php script to calculate the closest store to a
> user entered zip code?
>
> Thanks,
> Ron
> --- Synchronet NewsLink v1.00 Beta
--- Synchronet NewsLink v1.00 Beta
 *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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...

--
===
Michael J. Ryan  -  tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
===
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/


" Brian McGarvie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> From Newsgroup: php.windows
>
> OK...
>
> I have developed a web-application... on Windows 2k Server, IIS5, PHP, =
> MsSQL/MySQL.
>
> Now... on certain browser platforms the browser spuriously dies for no =
> reason. (Primarily Oldish IE 5.0(but not all releases) and 5.5).
>
> I have tried MS's mailing lists/support but not had any usefull =
> feedback.
>
> Has anyone came accross this kind of thing before?
>
> Thanks In Advance...
>
> [ http://www.the-local-guide.com :: http://www.mcgarvie.net ]
>
> --- Synchronet NewsLink v1.00 Beta
--- Synchronet NewsLink v1.00 Beta
 *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 you
did...

can't say for apache.. but in iis, you could have created a separate
application folder for the php that needed to access winamp, and without
any extra extensions beyond php, should not have issues...

Personally, I am one to REMOVE anything not being used.. in iis, I will
remove unused asp extensions for php projects, and vice-versa.. this
helps limit exposure...

Code Red was averted on all the servers I had setup, because the
extensions and folders that were suspect weren't in there the way I
had things setup.  Don't get me wrong, I like apache okay, just know
IIS better, and have worked with it longer... the php projects I have
been working on lately are deployed on apache/linux, but they are run
by another admin...

--
===
Michael J. Ryan  -  tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
===
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/


" Scott Hurring" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> You're entirely correct -- IF it was an internet
> accessable webserver.
>
> It's installed locally on my workstation solely for
> local development.  It's got a pretty nice corporate
> firewall and "httpd.conf" restrictions setup to deny
> access to everyone 'cept me.  Of course, firewalls
> and corporate LAN's can be hacked, but i figure that
> if someone's good/determined enough to hack into this
> particular LAN, apache security flaws are the least
> of my worries.  :-)
>
> But basically, i did that beucase i'm not too fluent
> with the bizarre system of Win2k permissions and
> system accounts...
>
> ---
> Scott Hurring
> Systems Programmer
> EAC Corporation
> [EMAIL PROTECTED]
> Voice: 201-462-2149
> Fax: 201-288-1515
>
> > -Original Message-
> > From: Neil Smith [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 09, 2002 7:56 AM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: run as
> >
> >
> > At 09:15 09/07/2002 +, you wrote:
> > >Message-ID: <[EMAIL PROTECTED]>
> > >To: [EMAIL PROTECTED]
> > >From: "Scott Hurring" <[EMAIL PROTECTED]>
> > >Date: Mon, 8 Jul 2002 17:36:52 -0400
> > >Subject: Re: WinampCOM problem
> > >
> > >What user is your Server running as?
> >
> > Whoa ! This is a really, really *bad* idea - you have given
> > the web server
> > access to all the files which are owned by you as far as I
> > can tell, and
> > have introduced a major security hole. A web server should
> > *always* run as
> > its own (low-privilege) user, and be given limited access to
> > specific files
> > by adjusting the permissions on the file & directory on a
> > case by case
> > basis, not the other way around.
> >
> > Please tell me the address of your webserver, I wanna hack it ;-)
> > (Actually you dont need to - somebody will probably beat me to it!)
> >
> > Cheers,
> > Neil Smith.
> >
> > >For me, when i setup apache on my Win2k machine, i
> > >had to "RunAs" my personal "scott" account, rather than
> > >the system account, or else apache wouldn't be able to
> > >read certain "scott-only" files perhaps the user that
> > >apache is running as doesn't have permission to do
> > >COM stuff but i really don't know for sure.
> > >
> > >--
> > >Scott Hurring
> > >Systems Programmer
> > >EAC Corporation
> > >scott (*) eac.com
> > >--
> > >"Olivier Hubert" <[EMAIL PROTECTED]> wrote in message
> >
> --- Synchronet NewsLink v1.00 Beta
>
--- Synchronet NewsLink v1.00 Beta
 *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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  telnet://theroughnecks.net
===
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/


" Brian McGarvie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I will probably do this the other way round as we have a few sites...
>
> so if i have a single file with a frame and point contents of frame to =
> apache this should work?
>
> > -Original Message-
> > From: Collins, Robert [mailto:[EMAIL PROTECTED]]
> > Sent: 09 July 2002 4:41 PM
> > To: Brian McGarvie; [EMAIL PROTECTED];=20
> > [EMAIL PROTECTED]
> > Subject: RE: [PHP] Dual Server...
> >=20
> >=20
> > I have Apache and  IIS coexisting on my intranet server and=20
> > the way I set
> > them up was to put each on a different port. (Apache serves=20
> > http://intranet
> > and IIS serves http://intranet:8080) this appears to work=20
> > fine. Hope this
> > helps
> >=20
> > Robert W. Collins II
> > Webmaster
> > New Orleans Regional Transit Authority
> > Phone : (504) 248-3826
> > Fax: (504) 248-3866
> > Email : [EMAIL PROTECTED] =20
> >=20
> >=20
> >=20
> > -Original Message-
> > From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 09, 2002 10:39 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: [PHP] Dual Server...
> >=20
> >=20
> > OK following from my thread 'Browser Issues' I have found=20
> > that when serving
> > the site from apache, that the aforementioned errors go=20
> > away... mostly...
> >=20
> > OK so... What is the best way to setup so that IIS/Apache co-exist...
> >=20
> > I'd like to keep the 'entry' to the site on IIS as we have other sites
> > too... and use apache to serve the content of it.
> >=20
> > Any help mucho appreciated... also working to a deadline!
> >=20
> > --=20
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >=20
> >=20
> --- Synchronet NewsLink v1.00 Beta
>
--- Synchronet NewsLink v1.00 Beta
 *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
===
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/


" Colin McDonald" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> 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 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 button on the GUI which launches the
> > scan program(TWAIN32.DLL I think) then automatically saving the scanned
file
> > in the designated folder or location. I informed him its the scanning
> > applications responsibility to scan and automatically save it, so in order
> > to designate the location I need to either: 1. Find a program that does
> > that, 2. Write a new scanning application.
> >
> >  I think this guy is starting to want too much, but if it is possible I
> > would like to give it a whirl.
> >
> > Is this possible?
> >
> >
>
>
> --- Synchronet NewsLink v1.00 Beta
--- Synchronet NewsLink v1.00 Beta
 *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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, *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  telnet://theroughnecks.net
> ===
> Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
> One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/
> 
> 
> " Colin McDonald" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> 
>>From Newsgroup: php.windows
>>
>>This is what I had to do:
>>
>>-take out zend_optimizer from php.ini
>>-put process isolation level to "HIGH" (as Michael suggested)
>>-put IIS in the ISAPI filter list
>>-disable chaching of isapi applications
>>
>>I hope this helps you and/or anyone else having this problem, because it
>>took me a long time to figure this out and stabilize our app on IIS.
>>
>>colin
>>
>>Alexandr Polupanov wrote:
>>
>>>i'm using php4isapi.dll on a Windows 2000 Professional.
>>>When i'm running Server-Side PHP Scripts, all works fine, but when i'm
>>>running them more than approximately 50 times, PHP seems to stop working,
>>>and in my browser i get this:
>>>"PHP has encountered an Access Violation at 010125C0"
>>>or this too:
>>>"PHP has encountered an Access Violation at 0101290E"
>>>Then i need to restart IIS service, to get PHP work again.
>>>
>>>Do somebody knows what is the problem, and how to solve it?
>>>Thanks in advance.
>>
>>--- Synchronet NewsLink v1.00 Beta
> 
> --- Synchronet NewsLink v1.00 Beta
>  *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 find it. am I setting it improperly? do I need to
use:
 
session_register("logged_in");
 
Thanks,
 
 
Matt Babineau
MCWD / CCFD
-
e:   [EMAIL PROTECTED]
p: 603.943.4237
w:   http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
 



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.com
PO BOX 601
Manchester, NH 03105


-Original Message-
From: Robert Trembath [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 10, 2002 2:12 PM
To: Matt Babineau
Subject: Re: [PHP-WIN] SESSION vars




On Wed, 2002-07-10 at 12:56, Matt Babineau wrote:
> 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 find it. am I setting it improperly? 
> do I need to
> use:
>  
> session_register("logged_in");
>  
> Thanks,
>  
>  
> Matt Babineau
> MCWD / CCFD
> -
> e:   [EMAIL PROTECTED]
> p: 603.943.4237
> w:   http://www.criticalcode.com PO BOX 
> 601 Manchester, NH 03105
>  




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105


-Original Message-
From: Dash McElroy [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 10, 2002 2:15 PM
To: 'Matt Babineau'
Subject: RE: [PHP-WIN] SESSION vars


Have you started the session on the second page?

When I read the 4.1.0 release announcement, it said that calling a
variable with $_SESSION['blah'] will register the variable, no need to
do a session_register().

-Dash

-Original Message-
From: Matt Babineau [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 10, 2002 10:57 AM
To: 'PHP Windows'
Subject: [PHP-WIN] SESSION vars


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 find it. am I setting it improperly? do I need to
use:
 
session_register("logged_in");
 
Thanks,
 
 
Matt Babineau
MCWD / CCFD
-
e:   [EMAIL PROTECTED]
p: 603.943.4237
w:   http://www.criticalcode.com PO BOX
601 Manchester, NH 03105
 


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 McElroy'; 'PHP Windows'
Subject: RE: [PHP-WIN] SESSION vars


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.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105


-Original Message-
From: Dash McElroy [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 10, 2002 2:15 PM
To: 'Matt Babineau'
Subject: RE: [PHP-WIN] SESSION vars


Have you started the session on the second page?

When I read the 4.1.0 release announcement, it said that calling a
variable with $_SESSION['blah'] will register the variable, no need to
do a session_register().

-Dash

-Original Message-
From: Matt Babineau [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 10, 2002 10:57 AM
To: 'PHP Windows'
Subject: [PHP-WIN] SESSION vars


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 find it. am I setting it improperly? do I need to
use:
 
session_register("logged_in");
 
Thanks,
 
 
Matt Babineau
MCWD / CCFD
-
e:   [EMAIL PROTECTED]
p: 603.943.4237
w:   http://www.criticalcode.com PO BOX
601 Manchester, NH 03105
 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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..

--
===
Michael J. Ryan  -  tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
===
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/


" Colin McDonald" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> 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, *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  telnet://theroughnecks.net
> > ===
> > Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
> > One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/
> >
> >
> > " Colin McDonald" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> >
> >>From Newsgroup: php.windows
> >>
> >>This is what I had to do:
> >>
> >>-take out zend_optimizer from php.ini
> >>-put process isolation level to "HIGH" (as Michael suggested)
> >>-put IIS in the ISAPI filter list
> >>-disable chaching of isapi applications
> >>
> >>I hope this helps you and/or anyone else having this problem, because it
> >>took me a long time to figure this out and stabilize our app on IIS.
> >>
> >>colin
> >>
> >>Alexandr Polupanov wrote:
> >>
> >>>i'm using php4isapi.dll on a Windows 2000 Professional.
> >>>When i'm running Server-Side PHP Scripts, all works fine, but when i'm
> >>>running them more than approximately 50 times, PHP seems to stop working,
> >>>and in my browser i get this:
> >>>"PHP has encountered an Access Violation at 010125C0"
> >>>or this too:
> >>>"PHP has encountered an Access Violation at 0101290E"
> >>>Then i need to restart IIS service, to get PHP work again.
> >>>
> >>>Do somebody knows what is the problem, and how to solve it?
> >>>Thanks in advance.
> >>
> >>--- Synchronet NewsLink v1.00 Beta
> >
> > --- Synchronet NewsLink v1.00 Beta
> >  *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net
>
--- Synchronet NewsLink v1.00 Beta
 *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440
session.referer_check =
session.entropy_length =
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

Since the lates version of php / apache it doesn't work ... ideas?





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 this possible?


"Tracker1" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>   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*]theroughnecks.com
> Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
> ===
> Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
> One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/
>
>
> " Colin McDonald" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > 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 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 button on the GUI which launches
the
> > > scan program(TWAIN32.DLL I think) then automatically saving the
scanned
> file
> > > in the designated folder or location. I informed him its the scanning
> > > applications responsibility to scan and automatically save it, so in
order
> > > to designate the location I need to either: 1. Find a program that
does
> > > that, 2. Write a new scanning application.
> > >
> > >  I think this guy is starting to want too much, but if it is possible
I
> > > would like to give it a whirl.
> > >
> > > Is this possible?
> > >
> > >
> >
> >
> > --- Synchronet NewsLink v1.00 Beta
> --- Synchronet NewsLink v1.00 Beta
>  *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 it works fine.
(c:\php\php.exe c:\test.php4)
When I have php exec() the same command from a web page it fails.
(www.intranet.com/dnsinfo.php)

When servername is the local server it works fine from everywhere.

Also when I access the website I am using IIS 5.0 and NT authentication so the task 
manager shows that the php.exe is running as me. (Permision shouldnt be an issue)

My question is, does the exec function have network access or why isnt this working 
from a webpage?

Charles Killmer
PHP 4.2.1 IIS 5.0 Windows 2000 Server

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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/


Quoting charlesk  <[EMAIL PROTECTED]>:

> 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 it works fine.
> (c:\php\php.exe c:\test.php4)
> When I have php exec() the same command from a web page it fails.
> (www.intranet.com/dnsinfo.php)
> 
> When servername is the local server it works fine from everywhere.
> 
> Also when I access the website I am using IIS 5.0 and NT authentication so
> the task manager shows that the php.exe is running as me. (Permision shouldnt
> be an issue)
> 
> My question is, does the exec function have network access or why isnt this
> working from a webpage?
> 
> Charles Killmer
> PHP 4.2.1 IIS 5.0 Windows 2000 Server
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-
This mail sent through IMP: http://horde.org/imp/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 site.

Try this.
Set up a site in IIS and set the directory security to NT authenticaion.  Disallow 
anonymous.
Configure PHP
Put this into a script on that site:


When requested from the web it displays %username%
But when run though a command line it displays charles

It seems that the shell that exec() uses doesnt have all the environment variables and 
possibly no network access?

Charles Killmer
PHP 4.2.1 IIS 5.0 Windows 2000 Server

-- Original Message --
From: Scott Carr <[EMAIL PROTECTED]>
Date: Wed, 10 Jul 2002 11:34:26 -0500

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/


Quoting charlesk  <[EMAIL PROTECTED]>:

> 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 it works fine.
> (c:\php\php.exe c:\test.php4)
> When I have php exec() the same command from a web page it fails.
> (www.intranet.com/dnsinfo.php)
> 
> When servername is the local server it works fine from everywhere.
> 
> Also when I access the website I am using IIS 5.0 and NT authentication so
> the task manager shows that the php.exe is running as me. (Permision shouldnt
> be an issue)
> 
> My question is, does the exec function have network access or why isnt this
> working from a webpage?
> 
> Charles Killmer
> PHP 4.2.1 IIS 5.0 Windows 2000 Server
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-
This mail sent through IMP: http://horde.org/imp/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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
14667 by: robert
14668 by: colin mcdonald

File Upload
14669 by: Alexandr Polupanov

Calling Windows DLL Files
14670 by: Todd Williamsen
14672 by: colin mcdonald
14678 by: Tracker1
14686 by: Todd Williamsen

bringing back data by day from current week
14671 by: R.S. Herhuth

Re: PHP on IIS 5.0
14673 by: Tracker1
14679 by: colin mcdonald
14684 by: Tracker1

Re: Closest store location by zip code
14674 by: Tracker1

Re: Browser Troubles...
14675 by: Tracker1

Re: run as
14676 by: Tracker1

Re: [PHP] Dual Server...
14677 by: Tracker1

SESSION vars
14680 by: Matt Babineau
14681 by: Matt Babineau
14682 by: Matt Babineau
14683 by: Dash McElroy

Sessions under PHP v4.2.1
14685 by: Dennis Schlichczin

Exec
14687 by: charlesk
14688 by: Scott Carr
14689 by: charlesk

Administrivia:

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--

--- Begin Message ---

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!!

-- 
 Regards,  ___
  David   |David  Elliott|   Software Engineer|
 _|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
| Redneck: if you go to the family reunion to pick up women.  |



--- End Message ---
--- Begin Message ---

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
Piotr


--- David Elliott <[EMAIL PROTECTED]> wrote:
> 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!!
> 
> -- 
>  Regards, 
> ___
>   David   |David  Elliott|  
> Software Engineer|
>  _|  [EMAIL PROTECTED] |
> PGP Key ID 0x650F4534  |
> | Redneck: if you go to the family reunion to pick
> up women.  |
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

--- End Message ---
--- Begin Message ---

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 Windows NTLM authentication on the 
pages you want.


-- 

Regards,
Manuel Lemos


--- End Message ---
--- Begin Message ---

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 




--- End Message ---
--- Begin Message ---

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 some with no restrictions, etc.

 >
 > 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.
 >

ini_set does not permanently change the value from php.ini, it only 
changes the value for the execution of your script.


colin


--- End Message ---
--- Begin Message ---

I heard, that somehow i can track the percentage of file upload. If it is
possible, an example, or algorythm would be nice!
Thanks.



--- End Message ---
--- 

[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' server, it runs fine..

why is this happening?

ps. i am using the latest PHP version








-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 setup with IIS5.
> I tested my server with
> 
>  phpinfo();
> ?>
> 
> and everything goes fine, but when i test another program such as
> 
> 
> 
> 
> 
> 
> 
>  echo("$cisco");
> ?>
> 
> 
> it prints out
> 
> Notice: Undefined variable: cisco in 
> c:\inetpub\wwwroot\fungi.php3 on line 8
> 
> but when i tested it on my schools' server, it runs fine..
> 
> why is this happening?
> 
> ps. i am using the latest PHP version
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


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");
> }
> ?>
> 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 setup with IIS5.
> > I tested my server with
> >
> >  > phpinfo();
> > ?>
> >
> > and everything goes fine, but when i test another program such as
> >
> > 
> > 
> > 
> > 
> > 
> > 
> >  > echo("$cisco");
> > ?>
> > 
> >
> > it prints out
> >
> > Notice: Undefined variable: cisco in
> > c:\inetpub\wwwroot\fungi.php3 on line 8
> >
> > but when i tested it on my schools' server, it runs fine..
> >
> > why is this happening?
> >
> > ps. i am using the latest PHP version
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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
> 
> 
> 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");
> > }
> > ?>
> > 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 setup with IIS5.
> > > I tested my server with
> > >
> > >  > > phpinfo();
> > > ?>
> > >
> > > and everything goes fine, but when i test another program such as
> > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >  > > echo("$cisco");
> > > ?>
> > > 
> > >
> > > it prints out
> > >
> > > Notice: Undefined variable: cisco in
> > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > >
> > > but when i tested it on my schools' server, it runs fine..
> > >
> > > why is this happening?
> > >
> > > ps. i am using the latest PHP version
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


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 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP-WIN] strange error
> >
> >
> > 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");
> > > }
> > > ?>
> > > 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 setup with IIS5.
> > > > I tested my server with
> > > >
> > > >  > > > phpinfo();
> > > > ?>
> > > >
> > > > and everything goes fine, but when i test another program such as
> > > >
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > >  > > > echo("$cisco");
> > > > ?>
> > > > 
> > > >
> > > > it prints out
> > > >
> > > > Notice: Undefined variable: cisco in
> > > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > > >
> > > > but when i tested it on my schools' server, it runs fine..
> > > >
> > > > why is this happening?
> > > >
> > > > ps. i am using the latest PHP version
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 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
> > >
> > >
> > > 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");
> > > > }
> > > > ?>
> > > > 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 setup with IIS5.
> > > > > I tested my server with
> > > > >
> > > > >  > > > > phpinfo();
> > > > > ?>
> > > > >
> > > > > and everything goes fine, but when i test another program such as
> > > > >
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >  > > > > echo("$cisco");
> > > > > ?>
> > > > > 
> > > > >
> > > > > it prints out
> > > > >
> > > > > Notice: Undefined variable: cisco in
> > > > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > > > >
> > > > > but when i tested it on my schools' server, it runs fine..
> > > > >
> > > > > why is this happening?
> > > > >
> > > > > ps. i am using the latest PHP version
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > >
> > > > >
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 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 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
> > > >
> > > >
> > > > 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");
> > > > > }
> > > > > ?>
> > > > > 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 setup with IIS5.
> > > > > > I tested my server with
> > > > > >
> > > > > >  > > > > > phpinfo();
> > > > > > ?>
> > > > > >
> > > > > > and everything goes fine, but when i test another 
> program such as
> > > > > >
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >  > > > > > echo("$cisco");
> > > > > > ?>
> > > > > > 
> > > > > >
> > > > > > it prints out
> > > > > >
> > > > > > Notice: Undefined variable: cisco in
> > > > > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > > > > >
> > > > > > but when i tested it on my schools' server, it runs fine..
> > > > > >
> > > > > > why is this happening?
> > > > > >
> > > > > > ps. i am using the latest PHP version
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> >
> >
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


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 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP-WIN] strange error
> >
> >
> > 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 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
> > > > >
> > > > >
> > > > > 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");
> > > > > > }
> > > > > > ?>
> > > > > > 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 setup with IIS5.
> > > > > > > I tested my server with
> > > > > > >
> > > > > > >  > > > > > > phpinfo();
> > > > > > > ?>
> > > > > > >
> > > > > > > and everything goes fine, but when i test another
> > program such as
> > > > > > >
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > >  > > > > > > echo("$cisco");
> > > > > > > ?>
> > > > > > > 
> > > > > > >
> > > > > > > it prints out
> > > > > > >
> > > > > > > Notice: Undefined variable: cisco in
> > > > > > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > > > > > >
> > > > > > > but when i tested it on my schools' server, it runs fine..
> > > > > > >
> > > > > > > why is this happening?
> > > > > > >
> > > > > > > ps. i am using the latest PHP version
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > >
> > > > >
> > >
> > >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 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 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 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
> > > > > >
> > > > > >
> > > > > > 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");
> > > > > > > }
> > > > > > > ?>
> > > > > > > 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 setup with IIS5.
> > > > > > > > I tested my server with
> > > > > > > >
> > > > > > > >  > > > > > > > phpinfo();
> > > > > > > > ?>
> > > > > > > >
> > > > > > > > and everything goes fine, but when i test another
> > > program such as
> > > > > > > >
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > >  > > > > > > > echo("$cisco");
> > > > > > > > ?>
> > > > > > > > 
> > > > > > > >
> > > > > > > > it prints out
> > > > > > > >
> > > > > > > > Notice: Undefined variable: cisco in
> > > > > > > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > > > > > > >
> > > > > > > > but when i tested it on my schools' server, it runs fine..
> > > > > > > >
> > > > > > > > why is this happening?
> > > > > > > >
> > > > > > > > ps. i am using the latest PHP version
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > > >
> > > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > >
> > > > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 setting will show only errors on in your scripts.

hh

Dne 11. červenec 2002, fungi, <[EMAIL PROTECTED]> napsal:

> 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 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 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 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
> > > > > > >
> > > > > > >
> > > > > > > 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");
> > > > > > > > }
> > > > > > > > ?>
> > > > > > > > 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 setup with IIS5.
> > > > > > > > > I tested my server with
> > > > > > > > >
> > > > > > > > >  > > > > > > > > phpinfo();
> > > > > > > > > ?>
> > > > > > > > >
> > > > > > > > > and everything goes fine, but when i test another
> > > > program such as
> > > > > > > > >
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > >  > > > > > > > > echo("$cisco");
> > > > > > > > > ?>
> > > > > > > > > 
> > > > > > > > >
> > > > > > > > > it prints out
> > > > > > > > >
> > > > > > > > > Notice: Undefined variable: cisco in
> > > > > > > > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > > > > > > > >
> > > > > > > > > but when i tested it on my schools' server, it runs fine..
> > > > > > > > >
> > > > > > > > > why is this happening?
> > > > > > > > >
> > > > > > > > > ps. i am using the latest PHP version
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

__
Reklama:
Jake bude pocasi? http://pocasi.seznam.cz

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 - even if they are a bit weird to configure...)
b) create either a global mail drop box to send all scanned documents to 
it or create a mail box for each patient...
c) write a much simpler pop3/imap program to handle the archiving needs 
with a web interface...

For scanning, the good doctor would only need to go to the scanner, 
place the document and press a button... in the scanner

For archiving, he would just go to the site and place the newly scanned 
documents in the patient file...

Cheers,
Luis Ferro
TelaDigital

P.S.- warning... the HP net scanners are weird to configure as they 
require a domain to "distribute" the scannings and have some limitations 
with regard of the ip network settings of the scanning server and the ip 
of the scanners by themselfs. They must reside in the same net mask... 
which in large distributed networks is a no-no... apart from that, they 
work very well...


Todd Williamsen wrote:

>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 this possible?
>
>
>"Tracker1" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>  
>
>>  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*]theroughnecks.com
>>Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
>>===
>>Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
>>One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/
>>
>>
>>" Colin McDonald" <[EMAIL PROTECTED]> wrote in message
>>news:[EMAIL PROTECTED]...
>>
>>
>>>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 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 button on the GUI which launches


>the
>  
>
scan program(TWAIN32.DLL I think) then automatically saving the


>scanned
>  
>
>>file
>>
>>
in the designated folder or location. I informed him its the scanning
applications responsibility to scan and automatically save it, so in


>order
>  
>
to designate the location I need to either: 1. Find a program that


>does
>  
>
that, 2. Write a new scanning application.

 I think this guy is starting to want too much, but if it is possible


>I
>  
>
would like to give it a whirl.

Is this possible?




>>>--- Synchronet NewsLink v1.00 Beta
>>>  
>>>
>>--- Synchronet NewsLink v1.00 Beta
>> *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net
>>
>>
>
>
>
>  
>




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 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 setting will show only errors on in your scripts.

hh

Dne 11. èervenec 2002, fungi, <[EMAIL PROTECTED]> napsal:

> 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 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 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 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
> > > > > > >
> > > > > > >
> > > > > > > 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");
> > > > > > > > }
> > > > > > > > ?>
> > > > > > > > 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 setup with
IIS5.
> > > > > > > > > I tested my server with
> > > > > > > > >
> > > > > > > > >  > > > > > > > > phpinfo();
> > > > > > > > > ?>
> > > > > > > > >
> > > > > > > > > and everything goes fine, but when i test another
> > > > program such as
> > > > > > > > >
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > >  > > > > > > > > echo("$cisco");
> > > > > > > > > ?>
> > > > > > > > > 
> > > > > > > > >
> > > > > > > > > it prints out
> > > > > > > > >
> > > > > > > > > Notice: Undefined variable: cisco in
> > > > > > > > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > > > > > > > >
> > > > > > > > > but when i tested it on my schools' server, it runs fine..
> > > > > > > > >
> > > > > > > > > why is this happening?
> > > > > > > > >
> > > > > > > > > ps. i am using the latest PHP version
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

__
Reklama:
Jake bude pocasi? http://pocasi.seznam.cz



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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
> 
> 
> 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 setting will show only errors on in your scripts. 
> 
> hh 
> 
> Dne 11. červenec 2002, fungi, <[EMAIL PROTECTED]> napsal:
> 
> > 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 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 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 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
> > > > > > > >
> > > > > > > >
> > > > > > > > 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");
> > > > > > > > > }
> > > > > > > > > ?>
> > > > > > > > > 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 
> setup with IIS5.
> > > > > > > > > > I tested my server with
> > > > > > > > > >
> > > > > > > > > >  > > > > > > > > > phpinfo();
> > > > > > > > > > ?>
> > > > > > > > > >
> > > > > > > > > > and everything goes fine, but when i test another
> > > > > program such as
> > > > > > > > > >
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > >  > > > > > > > > > echo("$cisco");
> > > > > > > > > > ?>
> > > > > > > > > > 
> > > > > > > > > >
> > > > > > > > > > it prints out
> > > > > > > > > >
> > > > > > > > > > Notice: Undefined variable: cisco in
> > > > > > > > > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > > > > > > > > >
> > > > > > > > > > but when i tested it on my schools' server, it 
> runs fine..
> > > > > > > > > >
> > > > > > > > > > why is this happening?
> > > > > > > > > >
> > > > > > > > > > ps. i am using the latest PHP version
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > > >
> > > > > > > >
> > > > > >
> 

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:17 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] strange error
> 
> 
> something i just thought of ... try  this 
> 
> 
>  $cisco = " "; // set $cisco to equal nothing
> ?>
> 
> 
> 
> 
> 
> 
>  if( $submit ) // make a clause so that only when submit is 
> pressed will this part run
> {
> echo( "$cisco" );
> }
> 
> ?>
> 
> 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
> > 
> > 
> > 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 setting will show only errors on in your scripts. 
> > 
> > hh 
> > 
> > Dne 11. červenec 2002, fungi, <[EMAIL PROTECTED]> napsal:
> > 
> > > 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 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 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 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
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 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");
> > > > > > > > > > }
> > > > > > > > > > ?>
> > > > > > > > > > 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 
> > setup with IIS5.
> > > > > > > > > > > I tested my server with
> > > > > > > > > > >
> > > > > > > > > > >  > > > > > > > > > > phpinfo();
> > > > > > > > > > > ?>
> > > > > > > > > > >
> > > > > > > > > > > and everything goes fine, but when i test another
> > > > > > program such as
> > > > > > > > > > >
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > >  > > > > > > > > > > echo("$cisco");
> > > > > > > > > > > ?>
> > > > > > > > > > > 
> > > > > > > > > > >
> > > > > > > > > > > it prints out
> > > > > > > > > > >
> > > > > > > > > > > Notice: Undefined variable: cisco in
> > > > > > > > > > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > > > > > > > > > >
> > > > > > > >

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 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 setting will show only errors on in your scripts.

hh

Dne 11. èervenec 2002, fungi, <[EMAIL PROTECTED]> napsal:

> 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 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 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 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
> > > > > > >
> > > > > > >
> > > > > > > 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");
> > > > > > > > }
> > > > > > > > ?>
> > > > > > > > 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 setup with
IIS5.
> > > > > > > > > I tested my server with
> > > > > > > > >
> > > > > > > > >  > > > > > > > > phpinfo();
> > > > > > > > > ?>
> > > > > > > > >
> > > > > > > > > and everything goes fine, but when i test another
> > > > program such as
> > > > > > > > >
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > >  > > > > > > > > echo("$cisco");
> > > > > > > > > ?>
> > > > > > > > > 
> > > > > > > > >
> > > > > > > > > it prints out
> > > > > > > > >
> > > > > > > > > Notice: Undefined variable: cisco in
> > > > > > > > > c:\inetpub\wwwroot\fungi.php3 on line 8
> > > > > > > > >
> > > > > > > > > but when i tested it on my schools' server, it runs fine..
> > > > > > > > >
> > > > > > > > > why is this happening?
> > > > > > > > >
> > > > > > > > > ps. i am using the latest PHP version
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

__
Reklama:
Jake bude pocasi? http://pocasi.seznam.cz



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 ..

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 
> 
> i ve been searching for the thing thru php.net but to
> no use


Regards,

James Mclean

"Increased knowledge will help you now.  
 Have a mate's phone bugged."
-- /usr/games/fortune

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php