php-windows Digest 4 Nov 2001 12:14:54 -0000 Issue 837
Topics (messages 10213 through 10220):
No 404 error
10213 by: Ross Fleming
10214 by: Ross Fleming
Re: log-in system
10215 by: GreatKent
Pop-Up Windows
10216 by: GreatKent
10219 by: Jeff Waldock
10220 by: GreatKent
Re: forcing variable declaration
10217 by: Hace
Re: PHP4, Xitami, NT4 Workstation issues
10218 by: David Broker
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]
----------------------------------------------------------------------
Hi,
This has been asked before but only answered for IIS. How can I make a 404
error on apache for missing php files? Apache doesn't check that the file
exists before calling php so my 404 page never appears. I've had a quick
skim through both apache and php manuals and can't see anything.
Thanks for any advice
Ross
Hmm, I love computers... it appears to be working now anyway..
Ho-hum
Ross
-----Original Message-----
From: Ross Fleming [mailto:[EMAIL PROTECTED]]
Sent: 04 November 2001 00:10
To: PHP Windows mailing list
Subject: [PHP-WIN] No 404 error
Hi,
This has been asked before but only answered for IIS. How can I make a 404
error on apache for missing php files? Apache doesn't check that the file
exists before calling php so my 404 page never appears. I've had a quick
skim through both apache and php manuals and can't see anything.
Thanks for any advice
Ross
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I've got my system working with .htaccess now, thank you very much for you
help~
Kent
"Ross Fleming" <[EMAIL PROTECTED]> ���g��l��s�D
:[EMAIL PROTECTED]
> I suggest you check the php manual and look into sessions:
> http://www.php.net/manual/en/ref.session.php
>
> Failing that you could use cookies, but both methods can be easily
exploited
> by people intent on accessing your pages. The best way really is the
> .httaccess file.
>
> R
>
> -----Original Message-----
> From: GreatKent [mailto:[EMAIL PROTECTED]]
> Sent: 03 November 2001 17:43
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: log-in system
>
>
> Thank you very much~
> I have got another question: How can I get rid of the popup box window and
> replace it with a form??
> Thank you for your help~
>
> "Anch.Org" <[EMAIL PROTECTED]> ���g��l��s�D
> :[EMAIL PROTECTED]
> > use .httaccess
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
Hi guys,
I wonder if PHP can open a Pop-Up Window?
Kent
PHP could output a suitable bit of Javascript to do this (using
window.open)
Jeff
-----Original Message-----
From: GreatKent [mailto:[EMAIL PROTECTED]]
Sent: 04 November 2001 05:45
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Pop-Up Windows
Hi guys,
I wonder if PHP can open a Pop-Up Window?
Kent
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Oh, thanks a lot~
Kent
"Jeff Waldock" <[EMAIL PROTECTED]> ���g��l��s�D
:[EMAIL PROTECTED]
> PHP could output a suitable bit of Javascript to do this (using
> window.open)
> Jeff
>
> -----Original Message-----
> From: GreatKent [mailto:[EMAIL PROTECTED]]
> Sent: 04 November 2001 05:45
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Pop-Up Windows
>
>
> Hi guys,
> I wonder if PHP can open a Pop-Up Window?
>
> Kent
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
Tim Foster schreef:
>I've looked at the manual and php.ini file, but can't find what I'm looking for.
>Is there a way to make PHP force that variables be declared?
Turn on the E_WARNING flag in php.ini and you will get a warning for
every Var that's not initialised.
To not get these warnings you will have to declare and set them like:
var myvar=0;
>(In VBScript, variables do not have to be declared unless "OPTION EXPLICIT" appears
>at the
>top of the script. I'm wondering if PHP has an equivalent).
>
>I hate it when a typo creates a variable at run time and the script continues (and
>produces unwanted results).
http://www.php.net/manual/en/features.error-handling.php
Hace
--
http://hace.cjb.net
What version of Xitami are you using? V2.5B has many bugs.
Did you remove the old .phtml reference from the default.cfg?
David
In article <001401c16249$85c0e330$4200020a@erik_laptop>,
<[EMAIL PROTECTED]> wrote:
>Hey All!
>
> I hit a snag earlier today on something I've done a million times before.
>Perhaps one of you might be able to lend a hand.
>
>Situation:
>
> I use a Dell Latitude laptop for development. It's got pretty much
>everything I need for my day to day needs. NT Workstation, mysql, mssql,
>odbc drivers galore, Xitami, etc... Until now I've had PHP3 on it. There's
>no particular reason that I haven't upgraded to PHP4. Lazy, I guess.
>Anyways, today I downloaded the PHP4.0.6 zip and did the install.
>
> We all know the drill. Unzip into the menu of choice (D:/Php4/), copy over
>the renamed php.ini file, copy over php4ts.dll, edit php.ini to suit, change
>Xiatmi's default.cfg (.phtml=D:\Php4\php.exe), double check permissions,
>fire up Xitami, test with a print("test"); or phpinfo();...done!
>
> Wrong. When I hit my test page with a web browser I get a blank screen. A
>check of the source shows:
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML><HEAD>
><META http-equiv=Content-Type content="text/html;
>charset=windows-1252"></HEAD>
><BODY></BODY></HTML>
>
> Xitami's status continues to show activity for 30 seconds after the page
>itself is done loading. My current max_execution time in php.ini is set to
>240, in Xitami it's the same.
>
> The kicker is when I go to the command prompt I can fire off that page
>manually and get results. My test code of:
>
><?
>print("test\r\n");
>?>
>
> gets me:
>
>D:\PHP4>php.exe -e -f D:\work\moskal\oracle\ora_test.php
>test
>
> This makes me think that, for some reason, Php4 and Xitami aren't really
>communicating. But I'm not getting any errors, even though my error
>reporting in php.ini is set to (error_reporting = E_ALL).
>
>Any ideas?
>- Erik
>