Re: [PHP] Couldn't run PHP script from CGI-BIN

2001-05-04 Thread Martín Marqués
On Sáb 05 May 2001 00:50, you wrote: > I can run PHP script from any directories on my web server but except > cgi-bin directory. When I put PHP script inot CGI-BIN and run it from my > browser, I receive below error. Does anyone know why? Please help. > > Internal Server Error > The server enc

Re: [PHP] Apache/PHP4/SSL, downloads fail with IE 5.5 only when using sessions

2001-05-04 Thread Martín Marqués
On Sáb 05 May 2001 00:56, Bill Rausch wrote: > Hi all, > > A customer has a problem. They've installed "Merlin" from Abriasoft. It is > a pre-built Apache/PHP/SSL/MySQL/... package. Their problem is that they > can't download files from my PHP application (which uses sessions) using IE > 5.5 in Wi

Re: [PHP] Cant add new Header

2001-05-04 Thread Miles Thompson
Right - you can't send anything, even a blank line, before a header. You will have to do some restructuring/rearrangement of your code Miles At 11:00 AM 5/4/01 -0700, Andy wrote: >Hello, > >I am a newi. > >Currently I try to relocate the viewed page after entering successful a >form. > >I tryed

[PHP] php installed as cgi with mysql support

2001-05-04 Thread Northwesthost
Sense php4 comes with mysql access in it already when I install a cgi version of php do I still need to do it this way ./configure ==with mysgl or can you just do a ./configure and would you still have access to mysql. -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Apache/PHP4/SSL, downloads fail with IE 5.5 only whenusing sessions

2001-05-04 Thread Bill Rausch
At 9:11 AM -0700 5/4/01, Martín Marqués wrote: >On Sáb 05 May 2001 00:56, Bill Rausch wrote: >> Hi all, >> >> A customer has a problem. They've installed "Merlin" from Abriasoft. It is >> a pre-built Apache/PHP/SSL/MySQL/... package. Their problem is that they >> can't download files from my PHP a

[PHP] php installed as cgi with mysql support

2001-05-04 Thread Richard Kurth
Sense php4 comes with mysql access in it already when I install a cgi version of php do I still need to do it this way ./configure ==with mysgl or can you just do a ./configure and would you still have access to mysql. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Extracting Array value as variable

2001-05-04 Thread John McConnell
I have an array $veg that is set so $veg[0]="broccoi" & $veg[1]="tomatotes". I have also assigned values to the variables $broccoli=1 and $tomatoes=2. I want to print the values for those variables ($broccoli and $tomatoes) by only using the $veg array. So, if it worked it would be $$veg[0] would

[PHP] passing variables + if case

2001-05-04 Thread Andras Kende
Hi All, I new to php trying to do a php page which gets a variables from an html form Somehow this if case not working 100% Is this is a correct format ??? Thanks :) Andrew if ( (($name=="1") and ($passwd=="1") and ($city=="HOU")) or (($name=="2") and ($passwd=="2") and ($city=="LAX")) or (

[PHP] zlib problem

2001-05-04 Thread Jeroen Geusebroek
Hi there, I'm trying to compile php 4.0.5 with zlib support, but i can't get it to work. I'm using Mandrake Linux version 8, and tried to use their zlib packages, but i also tried to compile the zlib packege myself (which went well). Php always says: Configure: error: Zlib module requires zlib

[PHP] sprintf()'s in if()'s

2001-05-04 Thread Chris Cameron
I suppose when you have so few problems you get to nitpick.. Guess my question is; why doesn't this work? if(sprintf("%01.2f",$Result[CurrentPrice]+$Result[Increment]) <= sprintf("%01.2f",$BidAmt)) { when this works; if(0.30 <= 1.00) { I'll just settle with a workaround for now. Thanks, Chri

Re: [PHP] sprintf()'s in if()'s

2001-05-04 Thread Jason Brooke
> I suppose when you have so few problems you get to nitpick.. > > Guess my question is; why doesn't this work? > > if(sprintf("%01.2f",$Result[CurrentPrice]+$Result[Increment]) <= sprintf("%01.2f",$BidAmt)) { > > when this works; > if(0.30 <= 1.00) { > > I'll just settle with a workaround for now

Re: [PHP] Couldn't run PHP script from CGI-BIN

2001-05-04 Thread [EMAIL PROTECTED]
CGI-BIN is for CGI. :) Martín Marqués wrote: > On Sáb 05 May 2001 00:50, you wrote: > > I can run PHP script from any directories on my web server but except > > cgi-bin directory. When I put PHP script inot CGI-BIN and run it from my > > browser, I receive below error. Does anyone know why?

Re: [PHP] Extracting Array value as variable

2001-05-04 Thread Philip Olson
An example : 'apple', 'b' => 'banana', 'c' => 'cranberry'); print $array['a']; // apple print $array['b']; // banana extract($array); print $a;// apple print $b;// banana $var = 'array'; print

[PHP] Search

2001-05-04 Thread Manesh
I need some sciprt to search my site. My site has about 700 pages. Also all the pages are HTML Pages -- PHP General 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: [EMAI

Re: [PHP] Extracting Array value as variable

2001-05-04 Thread John McConnell
Philip, Thank you, thank you, thank you!!! I have been working on this for a LONG TIME!! The answer was the {} brackets. I really appreciate it. John McConnell > From: [EMAIL PROTECTED] (Philip Olson) > Newsgroups: php.general > Date: 4 May 2001 18:39:27 -0700 > Subject: Re: [PHP] Extracting

[PHP] mosxs build error

2001-05-04 Thread Jeff Orrok
I've gotten up to step 9 on http://php.net/manual/en/install.macosx.php and this happens: ===> src/modules/php4 cd: can't cd to php4 make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[1]: *** [build-std] Error 2 make: *** [build] Error 2 Apparantly, src/modules/php4 was NOT created f

[PHP] mosxs build error -- more detail

2001-05-04 Thread Jeff Orrok
I started by reading http://php.net/manual/en/install.macosx.php "Example 2-4. Mac OS X server install" cd /packages wget http://apache.vitts.com/dist/apache_1.3.19.tar.gz gnutar zxf apache_1.3.19.tar.gz cd apache_1.3.19/ Instead of step 2, I did a ./configure --layout to confirm that I did not

[PHP] Netscape and post

2001-05-04 Thread Richard Kurth
I am having problems with Netscape and post in a form In I.E. post works fine but in netscape it just gives me a Method Not Allowed The requested method POST is not allowed for the URL /scripts/index.html. Why is this doing this. Sometimes I just hate Netscape -- PHP General Mailing List (h

Re: [PHP] Finding out the date on the client machine

2001-05-04 Thread vv
hi, the date from the server side can be taken using php DATE functions.. on the client side u have to us JAVA SRIPT . senthil Andy wrote: > Hi, > > I am trying to find out the date via PHP of the clients machine, or from the > server to store it to a mysql database. > > Does anybody know t

RE: [PHP] apache toolbox

2001-05-04 Thread Chris Schneck
SSL, I forgot to compile the snakeoil cert before hand :/ -Original Message- From: Jerry Lake [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 9:49 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] apache toolbox Just out of curiosity, what problems did you have ? Jerry Lake

Re: [PHP] mosxs build error -- more detail

2001-05-04 Thread Jeff Orrok
Cameron wrote: > in here you want --with-apache=/path/to/your/apache/source instead of > the withapxs, the --activeate-module compiles a static php thank you. :-) I'm curious about the difference between apache and apxs... Anyway, everything built, but now when I try to start, I get dyld: /us

Re: [PHP] PHP on PWS not working!

2001-05-04 Thread Thomas Edison Jr.
Ummm...you could be onto something my dear friend.. > know when I set it up once I had not taken into > account that the .dll files > are in the /sapi/ folder. they in fact are in the /sapi/ folder..do i have to declare this somewhere? in php.ini or something? because i have not referenced to th

php-general Digest 5 May 2001 05:42:34 -0000 Issue 667

2001-05-04 Thread php-general-digest-help
php-general Digest 5 May 2001 05:42:34 - Issue 667 Topics (messages 51451 through 51502): Re: hdml simulator? 51451 by: Jon Rosenberg problem with PHP and .htaccess 51452 by: Tom Carter PHP on PWS not working! 51453 by: Thomas Edison Jr. 51458 by: Data Driv

Re: [PHP] PHP on PWS not working!

2001-05-04 Thread Data Driven Design
In the regedit file where you put the path assuming the path is C:\php\sapi\php4isapi.dll You would enter C:\\php\\sapi\\php4isapi.dll Into the places where it says to put the path. Then save that file, then double click it, and click ok. Then reboot windows. Data Driven Design P.O. Box 1084

Re: [PHP] Netscape and post

2001-05-04 Thread Chris Adams
On 4 May 2001 21:48:46 -0700, Richard Kurth <[EMAIL PROTECTED]> wrote: > I am having problems with Netscape and post in a form > In I.E. post works fine but in netscape it just gives me a > Method Not Allowed > The requested method POST is not allowed for the URL /scripts/index.html. > > > > Why

[PHP] PHP-GTK v0.0.4 released

2001-05-04 Thread Andrei Zmievski
Heads up, new release of PHP-GTK is available from http://gtk.php.net/. The list of changes follows. The Win32 version maintainer hasn't put up a build yet, if you are capable of making one just like 0.0.3 version, please submit it and I will put it up. Version 0.0.4 "indistinguishable from magic

Re: [PHP] nslookup function ?

2001-05-04 Thread Kurth Bemis
At 04:11 PM 5/4/2001, Matthew Luchak wrote: goto zend.com then to the code exchange...then search for kurth bemis...i wrote a fucntion that does just that. ~kurth >I'm working on a email address verification script and need to do a DNS >lookup given the IP number of a remote host. >ie: is [E

Re: [PHP] Script invocation similar to ASP <%= %>

2001-05-04 Thread elias
I believe you just didn' try it: <%=$PAGE_TITLE%> ... -elias www.eassoft.cjb.net ""Bjoern Werkmann"" <[EMAIL PROTECTED]> wrote in message 9cuuc9$9av$[EMAIL PROTECTED]">news:9cuuc9$9av$[EMAIL PROTECTED]... > Hi there, > > pedantic as it might seem, ..., but is there a way to implement t

Re[2]: [PHP] Netscape and post

2001-05-04 Thread Richard Kurth
Hello Chris, Friday, May 04, 2001, 10:40:12 PM, you wrote: Chris> On 4 May 2001 21:48:46 -0700, Richard Kurth <[EMAIL PROTECTED]> wrote: >> I am having problems with Netscape and post in a form >> In I.E. post works fine but in netscape it just gives me a >> Method Not Allowed >> The requested m

[PHP] Script to interpret ssi include calls

2001-05-04 Thread James Hamilton
Hi I am developing pages for a site that has been constructed using nested apache ssi virtual include calls to build each page. Each included page may contain calls to other pages etc This means that if I call page elements into a php page (using include()/require() ) the calls arent parsed b

Re: [PHP] Script to interpret ssi include calls

2001-05-04 Thread Roy Wilson, Jr.
Use the virtual() command to call SSI from PHP. -Roy on 5/5/01 2:43 AM, James Hamilton at [EMAIL PROTECTED] wrote: > Hi > > I am developing pages for a site that has been constructed using nested > apache ssi virtual include calls to build each page. Each included page > may contain calls to o

[PHP] WinNT+Apache+PHP4 can't connect ODBC!!!

2001-05-04 Thread Art
I have Win NT4.0/SP3 with OmniHttpd as my Web Server for S/W dev. project. It's about Web-Base MS Access Database with ODBC and it's run properly. Recently I decided to use Apache instead. So I remove Omni and install Apache instead, and then PHP. After that I move my program to Apache folder and

[PHP] AW: AW: [PHP-CVS] cvs: php4 /ext/dotnet dotnet.cpp

2001-05-04 Thread Harald Radi
hi, here is a patched version of php4.0.5 with the fixed com extension. http://celery.nme.at/php-4.0.5.zip regards harald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list adminis

<    1   2