All,
Seasons greeting to all.
I'm running PHP version
C:\>php-cgi.exe -v
PHP 4.3.0RC2 (cgi-fcgi), Copyright (c) 1997-2002 The
PHP Group
Zend Engine v1.4.0, Copyright (c) 1998-2002 Zend
Technologies
under windows 2000 server for production and windows
2000 prof for development. I am using IIS 5 a
Happy New Year all!
I have a PHP script (or a set of them really) that I
have developed since the summer. One of the script
will read a database and display to the user the
contents of the directory. the directory by the way is
store absolute full pathname. I even worked out the
REGEX routine to c
All,
I' converting a Web site from ASP to PHP. One of the
last issues I am working on is converting the ASP page
that will show the status of a specific Service.
This page also allows the Admin level user to
stop/start the service.
What is the 'best' way to code this in PHP and/or
Perl?
Paul
;
>
> ?>
>
>
> En espérant que cela aide
> Ignatius
> ________
> - Original Message -
> From: "Paul Menard" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 14, 2003 5:10 PM
> Subject: [PHP-WIN] Windows Service intera
Question about overriding some PHP.ini parameters.
Since the security folks will not allow direct FTP
from a user to an external system I put up a PHP page
that will allow a user to authenticate and select from
a list the external system they would like to connect
to. Got the idea from a PHP pro
Hi all,
I'be been considering upgrading my data , MySQL
3.23.42 to 4.013 or even going to 4.1. I've read on
the MySQL upgrade documents that some client might be
affected when upgrading to 4.1. It does specificall
mention Perl which I use to supplement PHP. By I'm
more concerned about PHP.
Should
I was just reading about this on the MySQL web site.
It seems they have change the authentication protocol
starting with version 4.1
There is a note that clients like PHP, Perl etc will
need to be recompiled to support the NEW protocol. For
now I'm sticking with MySQL 4.0.1
Paul
--- "Michael G.
Hi all,
Quick question about the best (and easiest) way to
format a display string into the HH:MM:SS format from
an integer var.
Is there a PHP function that will provide this? I've
looked at the various functions and all are used for
taking a date/time as use. Or is there a function
someone has
You could use a standard HTML technique which is
putting a meta statement into the of your HTML
Like so
The 'content' variable could be set to 5. In the
example I have provided the page will auto-refresh
every 120 seconds (2 minutes).
Paul
--- Donatas <[EMAIL PROTECTED]> wrote:
> I would al
Hello all,
I have a strange problem request.
I manage an FTP only server. This server is a Windows
2003 Advanced server. On it I run IIS 5.0 and PHP
4.3.2 for Win32. I am also using Windows
authentication. This is I think what is causing the
issue. This and the Windows function tmpfile().
I h
Hi all,
Happy Holidays.
I'm having trouble with the ftp_rawlist() command. In reading many post it was stated
that this
script relies on the TEMP environment variable. Well that is just my issue. On the
Windows system
that the user connects to and authentictes to, the TEMP env var is set to a l
Okay. This is not really a question specific to Windows. But here is goes.
I am looking for some 'Nest Practice' advice on how to layout my pages and config
files. By layout
I am not talking about the presentation of the page for the browser but instead the
layout of the
pages on disk.
Here is
Hi all,
System: Windows Advanced Server 2000 running IIS5
PHP version 4.3.3 running CGI
User authentication: via Windows (all users)
Question. I have a web site I put together that is used by many different users. These
users are
all local accounts. Some are members of the Administrators group a
> there is about 10.000 lumen in the room, and the weather
> is sunny today.
>
> Now, how do I do a make login form to my system?
>
>
> On Tue, 2004-02-24 at 21:19, Paul Menard wrote:
>
> > Hi all,
> >
> > System: Windows Advanced Server 2000 run
Okay, well first I do not wish to complicate the maintenance of the system by
requiring dual
setup, once on the windows user level and another in the database to adjust the user
group
membership. And no I do not want to add a fancy form page that will allow me to do
this task. At
this point I ha
the file in the security
> context of the account under which IIS is running (Network Service
> probably)
>
> I think the easiest thing for you to do is use a tool in the windows
> 2000 or 2003 resource kit called "showgrps.exe" ... The 2k3 resource kit
> is free so you
t; If you enable basic authentication on the webserver and then disable
> anonymous access, php will run under the credentials of the currently logged
> in user. If you do this the 'is_writeable()' trick would work as you
> expeted.
>
>
> -Original Message-
> F
> of the local admin group on your webserver machine? The iswritable
> > solution won't work because you will be writing to the file in the
> > security context of the account under which IIS is running (Network
> > Service
> > probably)
> >
> > I
t; trying to access it.
>
>
>
>
> -Original Message-
> From: Paul Menard [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 25, 2004 10:29 AM
> To: Bowden, Zeb; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Best way to check for user 'Administrator'
than
> basic integration.
>
> -----Original Message-
> From: Paul Menard [mailto:[EMAIL PROTECTED]
> Sent: 25 February 2004 3:37
> To: David Felton; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Best way to check for user 'Administrator' group
> me mbership
>
>
> Tha
browser session I have then menu option I need
and on the
non-admin session I do not have then option.
Case closed.
Thanks all.
--- Paul Menard <[EMAIL PROTECTED]> wrote:
> I'm getting somewhere.
>
>
> I set the audit on the folder. I also double-checked my 'is_write
> > non-admin session I do not have then option.
> >
> > Case closed.
> >
> > Thanks all.
> >
> >
> >
> > --- Paul Menard <[EMAIL PROTECTED]> wrote:
> > > I'm getting somewhere.
> > >
> > >
> > >
Trevor,
So are you going to offer your gallery code for use by others? Just curious. I'm also
working on
my own version of gallery software. I am using Gallery
(http://gallery.menalto.com/modules.php?op=modload&name=News&file=index) currently,
but hate that
it does not easily integrate into my s
Greeting all,
So I've been looking for some functions in PHP that will report the memory used by a
script (I
used to know this). The reason is I am working on a personal picture gallery package
in PHP and
was using this package, http://www.offsky.com/software/exif/index.php, to extract the
EXIF
Just a comment or thought on Jason's reply. I thought you could use '/' as the
seperator and the
PHP engine would figure out based on the run-time OS what the actual path format would
be. Hence
you can use actual path names like;
E:/path1/path2/path3/somefile.php
in your include and require sta
I cannot speak for the direction of PHP since I am not part of that development. I am
just a PHP
developer like yourself. But if you are referring to the Developer Shed Plug-in
article
http://www.developershed.com/plugin/PlugIn_magazine_september2004.pdf#page=9
I would not worry too much. DevS
Can't answer your issue. But after running into similar issues. I found a PHP solution
that does
not rely on and external dll. This is a 100% PHP scripted solution ans works very
well. Here is
the URL
http://www.offsky.com/software/exif/index.php
Paul
--- [EMAIL PROTECTED] wrote:
> Apache cr
So just so I'm clear on your files...
Let's say you have a file, index.php. This file has an include statement for
'header.htm'.
Your question is does it matter if the header.htm is just HTML and does not contain
and PHP?
No it does not matter. But the URL must be pointed to the index.php PHP
MY best suggestion is to use the PHP IMap/POP functions. It's pretty simply to
do this (until you
get into attachments.
If you are just looking for a webmail package to host on your server to allow
reading your local
mailbox check out http://ilohamail.org/main.php?page=Downloads
Though it does
What version of PHP and MySQL. For a long time PHP comes with MySQL support
compiled in
(especially on Windows).
P
--- "Brian D. McGrew" <[EMAIL PROTECTED]> wrote:
> I installed a pretty general manual installation of PHP and it's
> working, I do a phpinfo() and life is good. I can't seem to g
So I'm reading this and it sounds really interesting and all but I'm also
scratching my head
asking myself what this popup, IE COM object (client side) discussion has to
PHP (server side).
(Apologies if this seems rude. Having another Monday today. ;)
--- Dang Nguyen <[EMAIL PROTECTED]> wrote:
Well you can start with the mysql_connect() call. If you are unable to
connection check the error
code. Then take action if needed.
--- Jon <[EMAIL PROTECTED]> wrote:
> Is there some way to have PHP test if MySQL is running and if not make the
> system call to start it?
>
> This is just an ME
Marcos,
A suggestion to your code changes.
Try this first. Note I removed the 'if' statement where you were checking for a
valid object
instance. I suggest using the PHPHPunction 'is_a' and/or 'is_object'.
Start with this...
David,
This is not a correct statement "sessions work by using c
Well to give my .02 here.
Why even go through the second foreach? By doing this you are making your code
very inefficient in
that it must read through the entire set of arrays. Sure it works fine if you
have only a few. But
if there are a few thousand it takes longer.
As the arrays are structu
No not a bug. Maybe just the loose nut behind the keyboard. :<>
Change the assignment for variable $x to:
$x="0";
In the first if you are using "==". This will only compare values. As you know
the second if "==="
compares the value and type.
I always try and stay away from "$var = 0" expression
Well per this PHP page:
http://us2.php.net/manual/en/language.operators.comparison.php,
"If you compare an integer with a string, the string is converted to a number. "
So to follow this regarding your example:
$x = 0; // Numeric zero
$y = 'Some kind of string';
if (is_null($x)) echo "x is NULL
Well first of all the HTML image tag you provided '' really have no
play in processing for
PHP or Apache. This is pass-through code. In other words you are parsing this
via PHP to build the
filename for the img src= attribute but the fact the file does not actually
exist is not a concern
of PHP
Um. What is the '0' for?
if(
($_SERVER["REMOTE_ADDR"]=="x.x.x.x")||
($_SERVER["REMOTE_ADDR"]=="y.y.y.y")||
0 <-- This should not be here.
)
- Original Message
From: Christopher Malton <[EMAIL PROTECTED]>
To: php-windows@lists.php.net
Sent: Wednesday, January 04, 200
Well what database? If mysql you can use the php function mysql_insert_id();
http://www.php.net/manual/en/function.mysql-insert-id.php
- Original Message
From: sam rumaizan <[EMAIL PROTECTED]>
To: php-windows@lists.php.net
Sent: Thursday, May 24, 2007 4:26:42 PM
Subject: [PHP-WIN] LAST_IN
Mark,
Not sure about your comment "...the Windows install doc has not been written.".
>From the ImageMagick site I see the pre-compiled Windows downloads
http://www.imagemagick.org/script/binary-releases.php#windows
Just above the list of download links is the paragraph:
"The Windows version of
40 matches
Mail list logo