php-windows Digest 15 Aug 2002 18:43:10 -0000 Issue 1290

Topics (messages 15271 through 15275):

GD.DLL
        15271 by: Martin
        15272 by: Kit Kerbel
        15273 by: Martin

Re: errors while uploading my php site ...... ! ! ! !
        15274 by: toby z

Re: AllowPathInfoForScriptMappings in IIS5 (was Re: [PHP] URL path question)
        15275 by: Christoph Grottolo

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 ---
I have omnihttpdpro server installed on Windows98. I have a php script which requires 
the GD.DLL which I have in a folder in the php directory. I uncommented the line in 
the php.ini to use the gd.dll. The problem is it will not load. the page will not load 
and none of my pages load. Till I comment the line for gd.dll support. Any ideals that 
might help me.

Thanks 
Martin
--- End Message ---
--- Begin Message ---
Which version of php?  I know I had the same problem and I upgraded to 4.2.2 
and it fixed the problem.  Hope that helps,
kit


----Original Message Follows----
From: "Martin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [PHP-WIN] GD.DLL
Date: Wed, 14 Aug 2002 20:37:23 -0500

I have omnihttpdpro server installed on Windows98. I have a php script which 
requires the GD.DLL which I have in a folder in the php directory. I 
uncommented the line in the php.ini to use the gd.dll. The problem is it 
will not load. the page will not load and none of my pages load. Till I 
comment the line for gd.dll support. Any ideals that might help me.

Thanks
Martin




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

--- End Message ---
--- Begin Message ---
I now have php 4.2 but now I cant get past the screen about cgi.force_redirect. I have 
tried to shut it off via the php.ini but it didnt help. How do i use the 
cgi.force_redirect so I can access my scripts

Thanks 
Martin
--- End Message ---
--- Begin Message ---
brian and Luis.... 

thnx a billion zillion guys .....

the problem turned out 2 b two ....

1st:
as luis said version mismatch ... 
well i had php 4.2.1 on my machine n da host that i
launched my site has 4.2.2

ven i upgraded mine to 4.2.2 it threw da same errors
at me .... 

so .... i did pull all da session crap out ... but i
cudnt put  it in my styl.php
so i put it on top of every file that i need it in
right aftr <?PHP

and YES it throws errors even at a single blank line
before session_start();


thnx a million fellas ..... :D

toby .....
 --- Brian 'Bex' Huff <[EMAIL PROTECTED]> wrote: > 
> The only reason why you'd be getting those session
> and header error 
> messages is if you output some html (even a few
> blank lines) on your PHP 
> page before the cookie functions are called.
> 
> It looks like you have a wrapper PHP page called
> 'styl.php', in which 
> you reference an include 'lgn3.php', where you set
> some header stuff. 
> This is probably not working becuse 'styl.php' is
> setting some 
> stylesheets, or outputting some html before it
> references 'lgn3.php'. 
> If that is the case, it just wont work.
> 
> I'd consider pulling out all your
> header/session/cookie crap out of 
> 'lgn3.php', and into a seperate page, and then
> including it at the 
> ABSOLUTE top of 'styl.php'.
> 
> Check out the documentation on the 'header' function
> for more info...
> 
> -- 
> 
> Brian 'Bex' Huff
> [EMAIL PROTECTED]
> Phone: 952-903-2023
> Fax: 952-829-5424
> 


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
--- End Message ---
--- Begin Message ---
Seairth Jacobs wrote:
> I came accross the following IIS4/5 Metabase setting:
> 
> AllowPathInfoForScriptMappings
> 
> MS claims that this forces PATH_INFO and PATH_TRANSLATED to act
> according to the CGI specification, however this setting seems to
> have made no difference at all for me.  I am using the IIS5 on W2K
> Pro (not Server), so this may not be an available option since this
> version of IIS is somewhat limited (though MS does not mention this).
>  
> The MS KB is:
> 
> http://support.microsoft.com/default.aspx?scid=kb;en-us;q184320
> 
... and states, it's for IIS 4 only.

We solved the problem like this:

if (!empty($PATH_INFO)) {
 $Actual_Path=$PATH_INFO;
} else {
 $Actual_Path=$SCRIPT_NAME;
}
$baseDir=substr($Actual_Path,1,(strpos($Actual_Path,"/",1)-1));

This works at least in Win32 on Apache and IIS with CGI and SAPI.

Christoph

--- End Message ---

Reply via email to