[PHP-WIN] Vars not accepted in script.php?var=xy

2002-07-01 Thread Uwe Birkenhain
Hi, I try to use PHP on my Win98 PC. It is mainly running but there is a problem: When I want to submit variables in the url (http://localhost/script.php?var=xy), the script will not know them and show me the message "Notice: undefined variable var ..." Conditions which depend on var will not wor

[PHP-WIN] Re: Vars not accepted in script.php?var=xy

2002-07-01 Thread Uwe Birkenhain
When uploading this question, I received an older answer: > - is it now neccessary to define variables before I use them??? No, but realize 4.2 changed how variables are referenced. By default register_globals is set to off now. - Steve Yates and that's it: when I set register_globals to '

RE: [PHP-WIN] Vars not accepted in script.php?var=xy

2002-07-01 Thread Rich Gray
1st issue: If you are using v.4.2.x of PHP then globals are turned off by default as a security measure. You can either switch back on globals defined bt default by changing register_globals to On in your php.ini file (not a good idea for security however) or change your code to use the super glob

[PHP-WIN] HELP!!!

2002-07-01 Thread Brian McGarvie
I have a failrly complex web-application... Its running on Windows 2000 Server, IIS, PHP 4.1.2 (running php as cgi), Integrates with MySQL and MS Access... My Problem is... It works fine using IE 5.5+ (PC/Mac), NN4/NN6 (PC/Mac), however when I try to use IE 5.0 (PC) it does'nt! Anyone care t

RE: [PHP-WIN] HELP!!!

2002-07-01 Thread Jarrad Kabral
sorry you'll have to be a little more specific than "it doesnt work, whats wrong" Jarrad Kabral -Original Message- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: Monday, 1 July 2002 6:20 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] HELP!!! I have a failrly complex web-applicat

Re: [PHP-WIN] HELP!!!

2002-07-01 Thread Julie Meloni
BM> It works fine using IE 5.5+ (PC/Mac), NN4/NN6 (PC/Mac), however when I try to use IE 5.0 (PC) it does'nt! PHP doesn't know what browser you are using, nor does it care (unless you tell it to). Provide more information about what "isn't working" and someone can probably help you out. For ex

RE: [PHP-WIN] HELP!!!

2002-07-01 Thread Brian McGarvie
It is using sessions from the outset... As soon as I goto the URL it IE5.0 warns about cookies and i obviously allow it to make it... > -Original Message- > From: Brian McGarvie > Sent: 01 July 2002 9:20 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] HELP!!! > > > I have a failrly c

RE: [PHP-WIN] HELP!!!

2002-07-01 Thread Brian McGarvie
Entering data in the form and then pressing submit... it just stays at the form, doesn't even try to progress... > -Original Message- > From: Julie Meloni [mailto:[EMAIL PROTECTED]] > Sent: 01 July 2002 9:20 AM > To: Brian McGarvie > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] HELP!!!

Re[2]: [PHP-WIN] HELP!!!

2002-07-01 Thread Julie Meloni
BM> Entering data in the form and then pressing submit... it just stays at the form, doesn't even try to progress... View Source and verify that you have a form action present. - Julie --> Julie Meloni --> [EMAIL PROTECTED] --> www.thickbook.com Find "Sams Teach Yourself MySQL in 24 Hours" at

[PHP-WIN] Re: php error logging

2002-07-01 Thread Joris Pinnoo
sorry, I forgot to tell. I'am running IIS still any good ideas? thanks, Joris "Alex Elderson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Let your webserver log for you. > > if u run apache with VH do: > > > > > >ErrorLog c:/web/logs/webserver.ha

php-windows Digest 1 Jul 2002 08:58:58 -0000 Issue 1219

2002-07-01 Thread php-windows-digest-help
php-windows Digest 1 Jul 2002 08:58:58 - Issue 1219 Topics (messages 14481 through 14498): filemtime() 14481 by: James Mclean 14482 by: Peter 14483 by: Matt Parlane Re: function call 14484 by: toby z Re: errormessage: undefined variables - why define t

[PHP-WIN] IIS problem

2002-07-01 Thread Erik Bartos
Hi! I installed succesfully IIS V5.1 and PHP 4.2.1 under WinXP Professional. After running my php scripts I got error "winsock.dll unusable. 1009". Can you help me with this problem? Is there bad configuration of IIS or missing paths in php.ini? JErik -- PHP Windows Mailing List (http://www.ph

[PHP-WIN] 3 tier web app w/ php

2002-07-01 Thread Alvin Tan
how can i develop a 3 tier app with php? alvin __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Using Bzip2 to create an archive... SECOND REQUEST

2002-07-01 Thread Adrian Ritchie
"Mikey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK, as I said - I have already read this - if you can find where it shows > how to create an *archive* within this compressed file, please let me > know... > > Mikey > > > -Original Message- > > F

[PHP-WIN] Function question

2002-07-01 Thread Matt Babineau
I have written a couple functions in a PHP page. Is there any way to make those functions available to other PHP pages, aside from pulling them out of the page and making include() or require() reference to them? I am wondering if PHP has a system similar to ColdFusion's Custom Tag? Matt Babinea

[PHP-WIN] Re: Set Locale

2002-07-01 Thread Daniel Berwig
setlocale (LC_ALL, "PT_BR"); or if under windows: setlocale (LC_ALL, "Portuguese Brazil"); Best Regards, Daniel Berwig. "Saci" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > For example > > setlocale(LC_ALL, "De"); > setlocale(LC_ALL, 'nl_NL'); > > Whe

RE: [PHP-WIN] Using Bzip2 to create an archive... SECOND REQUEST

2002-07-01 Thread Mikey
Sorry Adrian, this is from the manual and only shows how to compress a single string within an bz2 file - what I want to know how to do is compress a number of files within the file, creating an archive... (Much like the way the PHP manual is distributed) Mikey > -Original Message- > Fro

[PHP-WIN] php4ts error

2002-07-01 Thread David M. Doggette
After successfully installing and using PHP, I all of a sudden got this error (on win2k with IIS): The HTTP server encountered an unhandled exception while processing the ISAPI Application ' php4ts!zend_strndup + 0x2B + 0xA05E5983 '. For additional information specific to this message please

RE: [PHP-WIN] Re: errormessage: undefined variables - why define them?

2002-07-01 Thread Dash McElroy
PHP will also bark at you if you don't put quotes around other functions, like date: date(mdy); will bark at you while: date("mdy"); will not. -Dash -Original Message- From: Uwe Birkenhain [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 9:54 PM To: [EMAIL PROTECTED] Subject: [PH

RE: [PHP-WIN] function call ????

2002-07-01 Thread Dash McElroy
Toby: You might want to try the path name, not the URL (unless you really want to include the URL). I've also had errors pop up when you don't put double quotes around the file name. Also, can you input an include statement to a variable?!? I've never tried that, and I don't see why you would wan

RE: [PHP-WIN] Using Bzip2 to create an archive... SECOND REQUEST

2002-07-01 Thread Dash McElroy
I got it... You want to have several files in the bz2 file, no? Does bz2 support that or do you have to tar it first? I think you just might have to tar it first. -Dash -Original Message- From: Mikey [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 8:12 AM To: Adrian Ritchie; [EM

[PHP-WIN] PHP or Apache error?!?

2002-07-01 Thread Nicholas Stuart
Hello all, I seem to be having an odd problem with uploading files. The problem is I'm trying to upload multiple files at a time, but when I try to do anything more then 10 megs it doesnt work. It doesnt give any error reports or anything it just goes to the page and acts as if no files were uploa

RE: [PHP-WIN] PHP or Apache error?!?

2002-07-01 Thread Nicholas Stuart
Yes I already changed that. Like I said before it works for anything up to 10 megs, but once it seems to get to 11 it doesnt work. All the settings are well over 10 and I dont know what else to look for. Thanks again. -Nick Dash McElroy said: > Have you checked your php.ini? > > Taken from mine:

RE: [PHP-WIN] Using Bzip2 to create an archive... SECOND REQUEST

2002-07-01 Thread Mikey
Thanks guys - I think this is the answer I was looking for - now to find tar for win32... :-) Mikey > -Original Message- > From: Dash McElroy [mailto:[EMAIL PROTECTED]] > Sent: 01 July 2002 18:31 > To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Using Bzip2 to create

RE: [PHP-WIN] Using Bzip2 to create an archive... SECOND REQUEST

2002-07-01 Thread Dash McElroy
http://www.weihenstephan.de/~syring/win32/UnxUtils.html or cygwin: http://sources.redhat.com/cygwin/ -Dash -Original Message- From: Mikey [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 12:57 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Using Bzip2 to create an archive... SE

[PHP-WIN] Tons of notices and warnings...for what reason?

2002-07-01 Thread Mike
I've installed IIS, MySQL, and PHP on my computer...When I a bulletin board (PHP), I get around 50 errors...I went to the company that makes the board, and they said to turn register_globals on...and nothing changed...Here's the list of errors: Notice: Undefined variable: nocache in c:\inetpub\ww

php-windows Digest 1 Jul 2002 23:38:40 -0000 Issue 1220

2002-07-01 Thread php-windows-digest-help
php-windows Digest 1 Jul 2002 23:38:40 - Issue 1220 Topics (messages 14499 through 14513): IIS problem 14499 by: Erik Bartos 3 tier web app w/ php 14500 by: Alvin Tan Re: Using Bzip2 to create an archive... SECOND REQUEST 14501 by: Adrian Ritchie 14504 by:

Re: [PHP-WIN] Tons of notices and warnings...for what reason?

2002-07-01 Thread Julie Meloni
M> Notice: Use of undefined constant replaceword - assumed 'replaceword' in M> c:\inetpub\wwwroot\global.php on line 70 M> Anyway, I'm pretty sure it's one little tiny setting, error reporting setting in php.ini. There are options in the file; it's probably E_ALL right now, you can set it lowe

RE: [PHP-WIN] Tons of notices and warnings...for what reason?

2002-07-01 Thread Dash McElroy
Sounds like they need to make better code. -Dash -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 6:52 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Tons of notices and warnings...for what reason? I've installed IIS, MySQL, and PHP on my computer...Wh

RE: [PHP-WIN] Tons of notices and warnings...for what reason?

2002-07-01 Thread Peter
Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\global.php:23) in c:\inetpub\wwwroot\global.php on line 319 Mike, When ever sending headers always make sure the php tags and header info are before anything else in the page eg

Re: [PHP-WIN] case-sensitive

2002-07-01 Thread Chris Schmidt
include("config.php"); does not work; "Peter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > PHP variable names are case sensitive aren't they? > > It might just be that config.php can be found by Win2000 without the > $includepath-as if you were typing includ

RE: [PHP-WIN] case-sensitive

2002-07-01 Thread Peter
include("config.php"); does not work; where is config.php in relation to the document that is calling it? eg say your using http://www.blah.com/foo.php and that needs the config.php file.. if you use just include("config.php"); then config.php must be in the same place as foo.

[PHP-WIN] New book: PHP Programming for Windows

2002-07-01 Thread Manuel Lemos
Hello, I just would like to let you know about this book that I think it is of the interest all PHP Windows users. It seems that finally there is a book about how to do PHP Windows programming using Windows specific resources. Here you may find a review that was just published. Title: PHP Pr

[PHP-WIN] Followed install.txt... and NOTHING

2002-07-01 Thread news.per.connect.net.au
I am using Windows XP Professional version 2002. I have followed the instructions of install.txt that came with the zipped package at http://www.php.net/do_download.php?download_file=php-4.2.1-Win32.zip a number of times and I get no output when I try to write PHP files. For example, a simple t

RE: [PHP-WIN] Followed install.txt... and NOTHING

2002-07-01 Thread Peter
wot messages do you have coming up on your browser? -Original Message- From: news.per.connect.net.au [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 2 July 2002 1:40 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Followed install.txt... and NOTHING I am using Windows XP Professional v

Re: [PHP-WIN] Tons of notices and warnings...for what reason?

2002-07-01 Thread Tracker 1
okay, in your php.ini in your windows folder, you have "register_globals" set to on? correct? okay, the next thing you will want to do is restart iis... if you are in win2k, start..run "iisreset" without the quotes.. this is especially needed if you are using the isapi module.. --

Re: [PHP-WIN] Followed install.txt... and NOTHING

2002-07-01 Thread Tracker 1
it probably isn't interpreting the php at all... First, follow the steps for manual installation, this involves creating a php4 folder, and copying the php.ini to the x:\windows folder, and some of the dll files to the x:\windows\system32 folder... alternatively you can copy *.exe and *.dll to t

RE: [PHP-WIN] Followed install.txt... and NOTHING

2002-07-01 Thread Peter
make sure these lines are in your httpd.conf file in the conf dir of apache LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php4 .php .htm .php3 .inc AddType application/x-httpd-php-source .phps also make sure you have copied the php.ini file to you windo