[PHP-WIN] Re: notice:undefined variable

2002-06-05 Thread Marius Venter
Steve, Thanks but it created another message: Security Alert! The PHP CGI cannot be accessed directly. This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.

php-windows Digest 5 Jun 2002 07:37:47 -0000 Issue 1176

2002-06-05 Thread php-windows-digest-help
php-windows Digest 5 Jun 2002 07:37:47 - Issue 1176 Topics (messages 14072 through 14076): Re: PHP 4.2.1. on PWS... 14072 by: Max Sullivan Cant Connect to INFORMIX DB 14073 by: Gastón Re: form Post action 14074 by: Steve Yates Re: notice:undefined variable

[PHP-WIN] CGI-Application-Error on 1% of pagehits...

2002-06-05 Thread Jan Schmitz
Hi folks, we try to run PHP as CGI on a Win2000SP2(IIS5)-Sever. On round about every 100 pages we get a HTTP-Error500 (CGI-Application Error, CGI-Server doesn't return a complete set of http-headers). At the beginning we thought this is just another problem with PHP. But then we wrote our own sim

[PHP-WIN] Re: notice:undefined variable

2002-06-05 Thread Marius Venter
Michael, Thanks for your effort. I tried that and the email error at the bottom disappeared. However, the following messages (I include only a few) still appear: Notice: Undefined variable: referers in D:\inetpub\reservationhouse\formmail.php on line 112 Notice: Undefined variable: banlist in D:

[PHP-WIN] Problem Solved

2002-06-05 Thread Marius Venter
Hi, Thanks to everybody trying to solve the problem! The solution was to set the E_ALL to E_ALL & ~E_NOTICE in the php.ini file!! Regards, MARIUS Marius Venter <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I installed PHP 4.1 on NT 4 with IIS 4. My client

Re: [PHP-WIN] How do I get PHP 4.1.2 to work with Apache 2.0.36 on win32?

2002-06-05 Thread Dr. D. Wagner
On Monday, 03 June 2002 at 20:34, Stuart Dallas scribbled "Re: [PHP-WIN] How do I get PHP 4.1.2 to work with": > On Monday, June 3, 2002 at 2:13:03 PM, you wrote: > > I'm having a little trouble setting up PHP 4.1.2 to run on my Win32 > > Apache 2.0.36 installation. Apache is working flawlessly >

[PHP-WIN] cookie problem

2002-06-05 Thread Cassiano Dal Pizzol
guys i have a cookie problem   i´m developing a site who uses cookies to count the visits and to access the database, all works fine in almost every browser i test... all but one!!! this one don´t accept the cookie i pass to it, by the way he doesn´t even register the cookie!!! in all other br

[PHP-WIN] CSV. Parsing a defined row?

2002-06-05 Thread FrankThiel
Hello, i couldn´t find an answer in the NewsArchive. How can i parse a CSV file, and show a defined row taken from an url. I have got this link www.something.com/something.php?id=234 the CSV example: id,article,category 233,art1,cat1 234,art2,cat2 235,art3,cat3 I do know how i can parse a whole

[PHP-WIN] newbie problem with quotes

2002-06-05 Thread prachi shroff
Hi! I am a newcomer to the list and am also new to working with PHP. My question might seem really silly to you, but I would really appreaciate any help. I am trying to fit the following line of HTML in the PHP echo or print statements, because this is somewhere in the middle of a larger php

[PHP-WIN] Form Problem

2002-06-05 Thread James Meers
Hello, I have this form and its just not picking up the submit variable however it is posting them!!! Can someone double check this, what have i done? James \n"; } if (isset($submit)) { mysql_query("INSERT INTO $ntable VALUES ('

Re: [PHP-WIN] newbie problem with quotes

2002-06-05 Thread prachi shroff
Thank You for your prompt reply. Well, I have already tried these two options but somehow they dont work. When I click on the hyperlink created by this line, the link just says javascript:window.open( Why would that happen? It is ok with the first quote, but it ignores everything after the s

Re: [PHP-WIN] newbie problem with quotes

2002-06-05 Thread prachi shroff
Well, I thought you need to define the javascript functions in the HEAD of the HTML page, and as the HEAD and the start of BODY is done in some other php program which includes the one in question, it is not possible to make a function. On your suggestion I tried to put the javascript functio

[PHP-WIN] redirecting to a new page

2002-06-05 Thread Renaldo De Silva
is there any way other than header("Location: http://www.php.net/";); to redirect to another page. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] redirecting to a new page

2002-06-05 Thread Scott Carr
After the tag, you can put: The 2 is for seconds to wait before a send. This works in standard HTML files as well. -- Scott Carr OpenOffice.org Whiteboard-Doc Maintainer http://whiteboard.openoffice.org/doc/ Quoting Renaldo De Silva <[EMAIL PROTECTED]>: > is there any way other than > >

[PHP-WIN] Error compiling php4ts.dll on Win2000

2002-06-05 Thread Christian
Hello guys, I get the following error message when compiling : D:\Travail\php-4.2.1\main\php_network.h(28) : fatal error C1083: Cannot open include file: 'arpa/inet.h': No such file or directory The piece of code is : #ifdef PHP_WIN32 # ifndef WINNT # define WINNT 1 # endif # undef FD_SETSIZE

FW: [PHP-WIN] Error compiling php4ts.dll on Win2000

2002-06-05 Thread Michael Davey
Ooops! > -Original Message- > From: Michael Davey [mailto:[EMAIL PROTECTED]] > Sent: 05 June 2002 18:16 > To: Christian > Subject: RE: [PHP-WIN] Error compiling php4ts.dll on Win2000 > > > Did you compile your own version of resolv.lib from the DNS > source given at: http://www.php.net

[PHP-WIN] Compiling extensions in VC++6

2002-06-05 Thread Michael Davey
I was wondering if anyone here had any experience with building any of the extensions supplied with the PHP source code? I have so far managed to successfully compile both the CGI and Apache module versions of PHP itself, but I am having mixed luck with the extensions. Some I can get libraries f

RE: [PHP-WIN] redirecting to a new page

2002-06-05 Thread Scott Hurring
Well, for browsers that support Javascript: print "window.location='URL';"; Or, you could load the document that you want the user to see and print it out. $contents = join("", file("URL")); print $contents; exit; AFAIK, there's not too many ways to tell a browser "go here instead". 'Locati

php-windows Digest 5 Jun 2002 19:40:26 -0000 Issue 1177

2002-06-05 Thread php-windows-digest-help
php-windows Digest 5 Jun 2002 19:40:26 - Issue 1177 Topics (messages 14077 through 14092): CGI-Application-Error on 1% of pagehits... 14077 by: Jan Schmitz Re: notice:undefined variable 14078 by: Marius Venter Problem Solved 14079 by: Marius Venter Re: How do I ge

[PHP-WIN] Retrieving data from a URL in PHP

2002-06-05 Thread Anthony Ritter
The code that follows is from Welling and Thomson's book on PHP and mysql (page 372) I've tried it on Apache/ MS Windows 98 / PHP and I get the following line: "No quote available." My questions... 1. Why can't I retrieve the present stock quote? and 2. What does the variable $quote repres

RE: [PHP-WIN] Retrieving data from a URL in PHP

2002-06-05 Thread Scott Hurring
You get that message when it doesn't match the pattern "(\\\$[0-9]+\\.[0-9]+)" in the returned data. $quote is set by eregi(); All this stuff is in the php documentation: http://php.net/eregi --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-2

RE: [PHP-WIN] Retrieving data from a URL in PHP

2002-06-05 Thread Scott Hurring
To illustrate what's wrong with the code from the book, this code works: $symbol="ibm"; echo "Stock Quote for $symbol\n"; $theurl="http://finance.yahoo.com/q?s={$symbol}&d=v1";; if (!($fp=fopen($theurl, "r"))) { echo "Could not open the URL"; exit; } $contents= fread($fp, 100); fclose

RE: [PHP-WIN] CSV. Parsing a defined row?

2002-06-05 Thread Shrock, Court
do you mean? // load your csv $fp = fopen('your.csv', 'r'); while(($line = fgetcsv($fp, 4096)) && $line[0] != $_GET['id']); // the loop terminated...possible outcomes are a match or EOF, in which // case $line will be boolean and not an array if (is_array($line)) { // you matched the correct

[PHP-WIN] Extension naming problems...

2002-06-05 Thread Michael Davey
Can anyone tell me exactly which three extensions these are? extension=php_db.dll extension=php_dba.dll extension=php_dbase.dll >From what I can see in the manual, they could all refer to the three same things :-) regards, Mikey -- PHP Windows Mailing List (http://www.php.net/) To unsubscr

Re: [PHP-WIN] newbie problem with quotes

2002-06-05 Thread Steve Yates
"Prachi Shroff" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > the link just says > javascript:window.open( > Why would that happen? > R'twick Niceorgaw <[EMAIL PROTECTED]> wrote: echo " href=\"javascript:window.open(\"addfossilpage.php?me=$folder_id\",\"wid

[PHP-WIN] Re: notice:undefined variable

2002-06-05 Thread Steve Yates
"Marius Venter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Security Alert! The PHP CGI cannot be accessed directly. > This PHP CGI binary was compiled with force-cgi-redirect enabled. I forget your earlier post...if you have PHP on a Windows server I b

[PHP-WIN] Postnuke, PHP and Windows ISA servers

2002-06-05 Thread Mike
I am a secondary student who runs VBulletin forum from my house. I am the administrator and everytime I connect to it from school, the schools ISA server caches my username and password. I was wondering if there was a PHP fix to this type of situation. People in my school who use the forums are be

[PHP-WIN] RE: [PHP] PHP version 4.2 and above

2002-06-05 Thread Opere, James
I'm working on a windows2000 platform and i need to use php version >=4.2 for my graphics.How do i go about solving the problem of gd that can be supported by the above php version? The gd in phpdev 4(php version 4.06) cannot be supported by the bove php version. -Original Message- From: