php-windows Digest 13 Jun 2002 22:17:36 -0000 Issue 1190

Topics (messages 14200 through 14207):

How do I redirect to another page using PHP?
        14200 by: Blaine Dinsmore
        14201 by: Jason Soza
        14202 by: brother

Server not seeing PHP (Win32)
        14203 by: Jacques Steyn
        14205 by: Robin Bouwhuis

Ming experience anyone?
        14204 by: Michael Barker
        14206 by: Rasmus Lerdorf

COM Problem
        14207 by: Scott Carr

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 ---
How can I redirect to another web page based on a condition?


Thanks,

Blaine

--- End Message ---
--- Begin Message ---
Use an if() statement and header() function. Look at the manual entry 
for header() here:

http://www.php.net/manual/en/function.header.php

Jason Soza

----- Original Message -----
From: "Blaine Dinsmore" <[EMAIL PROTECTED]>
Date: Thursday, June 13, 2002 9:34 am
Subject: [PHP-WIN] How do I redirect to another page using PHP?

> How can I redirect to another web page based on a condition?
> 
> 
> Thanks,
> 
> Blaine
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: Blaine Dinsmore [mailto:[EMAIL PROTECTED]] 
> 
> How can I redirect to another web page based on a condition?

if ($statement) {
echo "<META http-equiv=\"REFRESH\" CONTENT=\"[time in seconds];
URL=[url]\">";
} else {
echo "bla bla";
}

for instance.

/brother
--- End Message ---
--- Begin Message ---
Hi
What could be the problem when a server does not seem to pick up PHP?
This is for Win32 (=Win98), set up on a local box.

I have read the PHP manual, I have looked at discussions, I have tried
both Apache and MS PWS, I have tried different PHP4 versions, I have
made all the required changes to php.ini, I have searched several PHP
web sites, I have installed with a nifty tool I found at
http://php.weblogs.com/easywindows, I bought a couple of books (Welling
and Thomson, Schwendiman, Greenspan and Bulger) and followed their
advice...
but there still is a problem.

The servers (Apache and MS PWS) run fine as they serve HTML documents
properly. They do not parse the embedded PHP code.
And with *.php files this happens:
Before installing with the mentioned tool, the error message complained
about not being able to access PHP due to CGI problem.
After using the tool, I get an HTTP 500 error message when trying to
read *.php files.

I want to sit in a corner an eat a worm....
Please help.
Thanks

Jacques
___________________
Dr Jacques Steyn

+27 (0)11 478-1259
http://www.knowsystems.com


--- End Message ---
--- Begin Message ---
this is from the documentation included with the PHP4 installation zip file.

' In particular, with the ISAPI module, you are likely to encounter serious
 reliability problems especially on platforms older than W2K - you may
 witness a lot of server 500 errors and suffer from other server modules
 such as ASP also failing. You have been warned!'

Robin


----- Original Message ----- 
From: "Jacques Steyn" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 13, 2002 1:52 PM
Subject: [PHP-WIN] Server not seeing PHP (Win32)


> Hi
> What could be the problem when a server does not seem to pick up PHP?
> This is for Win32 (=Win98), set up on a local box.
> 
> I have read the PHP manual, I have looked at discussions, I have tried
> both Apache and MS PWS, I have tried different PHP4 versions, I have
> made all the required changes to php.ini, I have searched several PHP
> web sites, I have installed with a nifty tool I found at
> http://php.weblogs.com/easywindows, I bought a couple of books (Welling
> and Thomson, Schwendiman, Greenspan and Bulger) and followed their
> advice...
> but there still is a problem.
> 
> The servers (Apache and MS PWS) run fine as they serve HTML documents
> properly. They do not parse the embedded PHP code.
> And with *.php files this happens:
> Before installing with the mentioned tool, the error message complained
> about not being able to access PHP due to CGI problem.
> After using the tool, I get an HTTP 500 error message when trying to
> read *.php files.
> 
> I want to sit in a corner an eat a worm....
> Please help.
> Thanks
> 
> Jacques
> ___________________
> Dr Jacques Steyn
> 
> +27 (0)11 478-1259
> http://www.knowsystems.com
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--- End Message ---
--- Begin Message ---
I'm experimenting with Ming and not having any luck.

I've uncomented the "extension = php_ming.dll" in       php.ini as well as setting 
the "extension_dir = ../correct/path" and "enable_dl = On".  I get no errors 
when starting apache but when I try to run the ming script (even the ones 
supplied in the examples zip file) I get some of the contents of the script 
dumped to the browser and nothing else.

Does anyone have experience with ming on win32?  If so please lend some 
advice.

Thanks a bunch

Michael
--- End Message ---
--- Begin Message ---
Never tried it on Windows, but it works well on Linux.

On Thu, 13 Jun 2002, Michael Barker wrote:

> I'm experimenting with Ming and not having any luck.
>
> I've uncomented the "extension = php_ming.dll" in     php.ini as well as setting
> the "extension_dir = ../correct/path" and "enable_dl = On".  I get no errors
> when starting apache but when I try to run the ming script (even the ones
> supplied in the examples zip file) I get some of the contents of the script
> dumped to the browser and nothing else.
>
> Does anyone have experience with ming on win32?  If so please lend some
> advice.
>
> Thanks a bunch
>
> Michael
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
I have a VB ActiveX DLL that I am trying to call from PHP.  Everything works
fine in the DLL except when I set the variable to null.  The script just sits
there forever until I kill it.

The final code is:

$buildgen->Release();
$buildgen = NULL;

The release works fine.  It is just the NULL that stops it, or if I let the
function fall through without setting the var to null.  (I guess the garbage
routine would try to set it to Null)

Any ideas?

Thanks.
-- 
Scott Carr
OpenOffice.org
Whiteboard-Doc Maintainer
http://whiteboard.openoffice.org/doc/





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

Reply via email to