php-windows Digest 10 Jun 2003 15:49:55 -0000 Issue 1769

Topics (messages 20256 through 20263):

Re: Recursive function within a class
        20256 by: Brad Thomas

Re: Getting current page details
        20257 by: Brad Thomas

Value of $_SERVER['GATEWAY_INTERFACE'] in ISAPI mode
        20258 by: Adam Goossens

Re: SORRY BOUT THOSE POSTS - READ THIS ONE
        20259 by: Gustavo Andrade
        20262 by: George Nicolae

Re: Win32 on Win2k
        20260 by: Hal Dell
        20261 by: Hal Dell

Re: IIS 6 PHP issue?
        20263 by: John Lim

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 ---
You can, you just need to use the $this variable, so $this->a($y)

"Olafsson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello
>
> I´ve a small problem.  I´ve created a class with serveal functions but
when
> I try to make a recursive function within the class it generates an error
>
> Fatal error: Call to undefined function: getforum() in
> C:\riddarinn\clsForum.php on line 55
>
> Isn´t it possible to make a recursive functions within a class like this;
>
> class cClass
> {
>   function a($x)
>   {
>     ...
>     a($y);
>   }
> }
>
> thanx
> Oli
>
>



--- End Message ---
--- Begin Message ---
I've found that the following line is useful for tracking where a user has
originated from:

$url = urlencode (basename($_SERVER['PHP_SELF']) . "?" .
$_SERVER['QUERY_STRING']));

Firstly, we'll urlencode the value so it can be used in a form, or as an
extra parameter in the URL.
Then we take the basename of the current script pathname (ie /foo/bar.php
becomes bar.php)
append the question mark for the query string onto it, and then finally the
query string values

Brad

"Rotsky" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm using a login routine and I'd like to return the user to the page
where
> they started before going to the login form. I figured I could do this by
> grabbing the current page details, putting these into a session variable
and
> using that to link back to the page later.
>
> So the question is, how do I get the current page's details? I suspect
some
> might say PHP_SELF contained in the $_SERVER array - is this the best way?
>
>



--- End Message ---
--- Begin Message ---
Sven,

The report back depends on the version of the CGI specification the webserver 
is running. With Apache, this is normally CGI/1.1.

Running it as an ISAPI module makes no difference, as it depends on the 
webserver configuration.

--
Adam Goossens

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

--- End Message ---
--- Begin Message ---
Thanks a lot


"George Nicolae" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> I also want a Porsche and a Canon 10D. Try to read some documentation
before
> ask. We help but we don't build your site.
>
> --
>
>
> Best regards,
> George Nicolae
> IT Manager
> ___________________
> PaginiWeb.com  - Professional Web Design
> www.PaginiWeb.com
>
>
> "Gustavo Andrade" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I want to display my news on this format;
> >
> > 05/05/2003 - Saturday
> >  - BLAH ABLAJ
> >  - BLAH ABLAJ
> >  - BLAH ABLAJ
> >  - BLAH ABLAJ
> >  - BLAH ABLAJ
> > 04/05/2003 - Friday
> >  - BLAH ABLAJ
> >  - BLAH ABLAJ
> >  - BLAH ABLAJ
> >  - BLAH ABLAJ
> >  - BLAH ABLAJ
> >
> > Grouped by the day
> > what should i do
> >
> >
>
>



--- End Message ---
--- Begin Message ---
you welcome.

--


Best regards,
George Nicolae
IT Manager
___________________
PaginiWeb.com  - Professional Web Design
www.PaginiWeb.com


"Gustavo Andrade" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks a lot
>
>
> "George Nicolae" <[EMAIL PROTECTED]> escreveu na mensagem
> news:[EMAIL PROTECTED]
> > I also want a Porsche and a Canon 10D. Try to read some documentation
> before
> > ask. We help but we don't build your site.
> >
> > --
> >
> >
> > Best regards,
> > George Nicolae
> > IT Manager
> > ___________________
> > PaginiWeb.com  - Professional Web Design
> > www.PaginiWeb.com
> >
> >
> > "Gustavo Andrade" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > I want to display my news on this format;
> > >
> > > 05/05/2003 - Saturday
> > >  - BLAH ABLAJ
> > >  - BLAH ABLAJ
> > >  - BLAH ABLAJ
> > >  - BLAH ABLAJ
> > >  - BLAH ABLAJ
> > > 04/05/2003 - Friday
> > >  - BLAH ABLAJ
> > >  - BLAH ABLAJ
> > >  - BLAH ABLAJ
> > >  - BLAH ABLAJ
> > >  - BLAH ABLAJ
> > >
> > > Grouped by the day
> > > what should i do
> > >
> > >
> >
> >
>
>



--- End Message ---
--- Begin Message ---
I am an newbie to PHP... I've read the newsgroup and tried and tried to get PHP
to work... I had it working as a CGI and then wanted to move over the ISAPI as I
understand that the performance was better.

Now all I get is "The specified module could not be found.". If I try to load
the ISAPI dll filter it fails to load with error code in the event file 0x7E.

I would surely appreciate any help. If someone wishes please contact me via the
information below. I would like to get this going in the next day or two!

-- 
Hal Dell
Managing Partner
ePodWorks.net, Inc.
Willow Grove, PA 19090
+1-215-830-0662 (Voice)
+1-215-659-3605 (Fax)
Need help! Find it at [EMAIL PROTECTED]





--- End Message ---
--- Begin Message ---
> I am an newbie to PHP... I've read the newsgroup and tried and tried to get
PHP
> to work... I had it working as a CGI and then wanted to move over the ISAPI as
I
> understand that the performance was better.
>
> Now all I get is "The specified module could not be found.". If I try to load
> the ISAPI dll filter it fails to load with error code in the event file 0x7E.
>
> I would surely appreciate any help. If someone wishes please contact me via
the
> information below. I would like to get this going in the next day or two!
>

Went back thru the install instructions one mo time, however, this time using
the instructions at: http://www.php.net/manual/en/install.windows.php.

The problem was that the php4ts.dll file needed to be in the sapi folder as
well. I would suggest that the ZIP file should include this duplicate file. It
should be also better documented what happens if you don't
copy the php4ts.dll into sapi or \winnt then this is error you get.

Thanks...



--- End Message ---
--- Begin Message ---
Hi,

As far as i have tested, PHP works fine in FastCGI mode with IIS6, Win2003.
This is probably a better and more reliable option that ISAPI.

See http://php.weblogs.com/fastcgi_with_php_and_iis

----- Original Message -----
From: "Bob Rathke Jr." <[EMAIL PROTECTED]>
Newsgroups: php.windows
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 12:49 AM
Subject: IIS 6 PHP issue?


Hi all!
Having issues getting PHP (latest) working on my new IIS6 server.

I have it installed and working with limited functionality. I can call
the base exe and run scripts. I have not been able to get the ISAPI
filter loaded and my lead developer is having trouble making calls to
several functions. Here is an error example!

Fatal error: Call to undefined function: w32api_register_function() in
c:\websites\development.ofa.com\uptime.php on line 19

Have not been able to find much on installing on IIS 6 any help would be
appreciated!





--- End Message ---

Reply via email to