OK This is a followon from my Browser thread... on [EMAIL PROTECTED];
[EMAIL PROTECTED]
I have switched the application to run from Apache, and the Browsers that were having
trouble now seem (I think - will be doing more testing later) to have dissapeared.
So, is there a problem with IIS or PH
Dear all
I had a folder which contain some pdf report, the name of the Report will be
:
xxx.xxx.20020702.pdf.
Here is what i want to do :
1. there will be a Form let user to submit the date of reports that he / she
wants to view.
2. the php will get the xxx.xxx from a mysql database and add the d
php-windows Digest 10 Jul 2002 09:53:08 - 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...
Dear Piotr
On 10 July 2002 at 02:53:04 -0700 (PDT) (which was 10:53 where I live) Piotr
Pluciennik wrote and made these points
> RTFM!!!
It is like saying to some one who wants to spell a word correctly 'Look it
up in a dictionary'.
If you can not spell it how can you look it up!!
--
Regard
RTFM!!!
bool file_exists( string filename) - returns TRUE if
the file specified by filename exists; FALSE
otherwise.
--- Jack <[EMAIL PROTECTED]> wrote:
> Dear all
> I had a folder which contain some pdf report, the
> name of the Report will be
> :
> xxx.xxx.20020702.pdf.
>
> Here is what i w
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
Hello,
On 07/09/2002 08:37 AM, Daniel Ryhle wrote:
> Hi folks!
>
> Is there anyone that can tell me if it is possible to validate users in php
> on a windows machine against domain accounts??
>
> Really need to know if its possible and if it is, the how.
Yes, configure your Web server to do Wi
hello list,
ini_set
and his alias ini_alter,
seems not to work under win 2000 enviroment with php 4.2.1
Any suggestions about fixing the problem.
Parse the php.ini file with preg_match could be an idea,
but ini_set is easy and fast.
regards
robert
--
PHP Windows Mailing List (http://www.p
Robert wrote:
> hello list,
>
> ini_set
> and his alias ini_alter,
> seems not to work under win 2000 enviroment with php 4.2.1
there are restrictions to init_set that you should read in the manual.
namely, some settings cannot be changed, some can only be changed in
certain places and som
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
I don't know if this is possible, but I figured there is a small limitation
on php
The scenario...
I have a client that wants his application revamped from MS Access to mySQL
and PHP. Now, he is a doctor in an office and he scans patients information
in. He wants the ability to click a but
I'm trying to write a stats program that queries a MSSQL database to
bring back a count of all items entered into the database for the
current week by day. I'm having trouble getting my mind around how to
write this seemingly simple concept.
I have the database and I know the field name but I'm
php can only call dll's on the server, not the client end (which is what
I think your doctor wants?).
Todd Williamsen wrote:
> I don't know if this is possible, but I figured there is a small limitation
> on php
>
> The scenario...
>
> I have a client that wants his application revamped fr
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
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
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...
--
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
To: Brian McGarvie
yes, also, you should be able to bind each to a different IP, if you
want them both on port 80...
--
===
Michael J. Ryan - tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net telne
To: Colin McDonald
If he is running IE for the browser, you could write an active-x control
that will launch from the page, and then upload the given file to the
webserver.
--
===
Michael J. Ryan - tracker1[*at*]theroughneck
yes, what worked for me was:
-go to the properties of the website
-click "Home Directory" tab
-click configuration button
-UNcheck "Cache ISAPI Applications"
I'm not sure if this means that it is per application or not?
colin
Tracker1 wrote:
> To: Colin McDonald
> So, you would suggest, *NO
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
Is there a way to refrence the session variable or set the session
variable using $_SESSION? I like using the $_GET, $_POST, $_SESSION
constructs for consistency.
Matt Babineau
MCWD / CCFD
-
e: [EMAIL PROTECTED]
p: 603.943.4237
w: http://www.criticalcode.co
Well once the session var has been set using the previously posted
methos I can accress like $_SESSION['foo']. Should I be able to simply
do this:
Session_start();
$_SESSION['foo'] = "xyz";
?
Matt Babineau
MCWD / CCFD
-
e: [EMAIL PROTECTED]
p: 603.943.4
Here's an example:
Page1:
session_start();
$_SESSION['foo'] = bar;
Page2:
session_start();
print $_SESSION['foo'];
Page 2 should print 'bar'.
-Dash
-Original Message-
From: Matt Babineau [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 11:34 AM
To: 'Dash Mc
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..
--
==
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_
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
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
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/
When I look in the task manager the php.exe is running as me. The only way that it
doesnt work is when I run it from the web and try to get info off another server.
Localhost works fine in all cases. When I try to get info off another server it only
fails when I make the request from the web
php-windows Digest 10 Jul 2002 23:53:24 - 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
I have problem testing PHP on my own server setup with IIS5.
I tested my server with
and everything goes fine, but when i test another program such as
it prints out
Notice: Undefined variable: cisco in c:\inetpub\wwwroot\fungi.php3 on line 8
but when i tested it on my schools' serve
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
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");
>
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
>
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
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
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
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
I have searched for it on the web
and it seems like alot of new comers to php is having this problem
"Fungi" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
> I just did...
> it works, but it still says undefined variable
> "Peter" <[EMAIL PROTECTED]>
> ???:[EMAIL PROTECTED]
> > have yo
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
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
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
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
>
>
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:
this is very strange
i changed the error reporting back to E_ALL & ~E_NOTICE
and reset my IIS and now it doesn't show the warning message..
"Honza hejdrych" <[EMAIL PROTECTED]>
???:[EMAIL PROTECTED]
Have a look at your PHP.INI, check ERROR HANDLING section.
You have probably set something lik
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 ..
__
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
48 matches
Mail list logo