[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

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] 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[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

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: [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

[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] 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

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

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 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

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] 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] 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

[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

[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] 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

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] 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 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

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] 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

[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

[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] 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] 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] 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,

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 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] 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

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] 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

[PHP] Apache/PHP4/SSL, downloads fail with IE 5.5 only when usingsessions

2001-05-04 Thread Bill Rausch
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 Windows. Netscape works from all clients, IE 4 works, Mac

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

2001-05-04 Thread Nguyen, David M
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 encountered an internal error or misconfiguration a

Re: [PHP] Even more dynamic page

2001-05-04 Thread Philip Olson
Check out : chainedSelectors: A Better Way to Drop-down a PHP List : http://zend.com/zend/tut/drop-down.php Loading JavaScript Arrays with MySQL Data : ht

[PHP] Vanishing files.

2001-05-04 Thread Andrzej Swedrzynski
Hello! Recently I wrote a php script which handle file uploads. I took an example from manual (and added some text fields) and every­ thing seemed to work. After I called move_uploaded_file( $userfile, $destination ) the file appeared in correct place. But after a few minutes the

Re: [PHP] Cant add new Header

2001-05-04 Thread Dan Lowe
See ob_start(). http://php.net/manual/en/function.ob-start.php Previously, Andy said: > > I tryed it like that: > HEADER("Location:http://$HTTP_HOST/admin/admin.php?content=upload";); > > But I did get an errormessage which said that I already have sent a header > ( which was a body tag).

RE: [PHP] trying to activate php4 module

2001-05-04 Thread Andrew Hill
Jeff, You have an extra "/" this: --activate-module=/src/modules/php4/libphp4.a should be: --activate-module=src/modules/php4/libphp4.a Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Data Integration Technology Pro

[PHP] trying to activate php4 module

2001-05-04 Thread Jeff Orrok
Below is the transcript of my attempt and the error that results: [gatchaman:/packages/apache_1.3.19] root# ./configure --enable-module=so --activate-module=/src/modules/php4/libphp4.a Configuring for Apache, Version 1.3.19 + using installation path layout: Mac OS X Server (config.layout) confi

[PHP] nslookup function ?

2001-05-04 Thread Matthew Luchak
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 [EMAIL PROTECTED] a viable address? get IP gethostbyname(here.net); nslookup IP to get mail server address pfsockopen blah...blah..blah... sois there a nifty yet

Re: [PHP] Even more dynamic page

2001-05-04 Thread Steve Werby
"Martin Skjöldebrand" <[EMAIL PROTECTED]> wrote: > Is there some way of making PHP even more dynamic? > What I would like is that selecting a value from a box would > change some info on the page - without having to click a refresh button > or something like that. > > Or do I have to resort to ja

[PHP] Even more dynamic page

2001-05-04 Thread Martin Skjöldebrand
Is there some way of making PHP even more dynamic? What I would like is that selecting a value from a box would change some info on the page - without having to click a refresh button or something like that. Or do I have to resort to javascript for such things? M. -- PHP General Mailing Li

Re: [PHP] how?

2001-05-04 Thread heinisch
At 04.05.01 15:32, you wrote: >// Read myfile.TXT into $lines, The sentence in your textfile is " I have to check my E-Mails $var unnecessary $var1" $var="for"; $var1="Quotes"; $fp=fopen("filename","mode"); //open database connection while(!feof($fp)) { $buffer=fgets($fp,"how many byte

[PHP] session_register() behavior

2001-05-04 Thread Jon Peccarelli
When I was running PHP 4.0.4 on Apache 1.3/RH Linux 6.1, the following code worked perfect: file1.php session_start(); session_register("var1"); $var1 = "a value"; file2.php session_start(); session_register("var2"); $var2 = "some value"; file3.php session_start();

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

2001-05-04 Thread Renzi, Sebastian
... Sebastián Renzi Consultoría & Desarrollo de Sistemas. CODES S.A > -Mensaje original- > De: Bjoern Werkmann [SMTP:[EMAIL PROTECTED]] > Enviado el: viernes 4 de mayo de 2001 16:05 > Para: [EMAIL PROTECTED] > Asunto: [PHP] Script invocation similar to ASP

[PHP] PHP Flat File Support--Where,How?

2001-05-04 Thread John Monfort
Hello everyone, I remember noticing a "PHP Flat File Support" function, or script, or something. While reading the PHP manuals, and online tutorials. However, I have not been able to find concreate information about it. Does that function exists? If so, then where can I find some in

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

2001-05-04 Thread Hoover, Josh
I believe you want something like this: ... For the short cut syntax on echo checkout: http://www.php.net/manual/en/function.echo.php This assumes that you have shortags on in your php.ini file. Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching for a new IT solut

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

2001-05-04 Thread Bjoern Werkmann
Hi there, pedantic as it might seem, ..., but is there a way to implement the following ASP snippet in PHP <% Dim PAGE_TITLE PAGE_TITLE = "My Page" %> <%=PAGE_TITLE%> ... Especially important is the use of '<%='. I'd like to get rid of the echo in ''. -- PHP General Mail

Re: [PHP] BET News

2001-05-04 Thread John Monfort
**Ouch !! ** __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com "The world is waiting, are you ready?" -+___+- On Fri, 4 May 2001, Hrishi wrote: > > > MTV Jams wrote:

Re: [PHP] Need to know this

2001-05-04 Thread John Monfort
PHP Stands for Hypertext Pre-Processor (PHP) You can more info at www.php.net The battle between ASP and PHP is ongoing. Same thing for Perl. www.UDzone.com has an article on this, it's called 'Seven Reasons Why PHP is better than ASP". __John Monfort_

Re: [PHP] Need to know this

2001-05-04 Thread John Monfort
www.php.net __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com "The world is waiting, are you ready?" -+___+- On Fri, 4 May 2001, YoBro wrote: > Hello, > > I need to fin

Re: [PHP] PHP on PWS not working!

2001-05-04 Thread Data Driven Design
Did you check the execute box uder the home directory properties? I think that's when I got that error. Also you need to reboot after you make the registry entries, even though the instructions don't say so. Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084 http://www.datadrivende

Re: [PHP] Array Assignment

2001-05-04 Thread Christian Reiniger
On Saturday 05 May 2001 16:55, Mark Cain wrote: > In Perl I can assign dynamic keys ad infinitum to an array such as: > > $sku{$id}{$line}{$price} = 99; Same in PHP: $sku [$id] [$line] [$price] = 99; if $sku is an array. If unsure, initialize it as one: $sku = array (); > Here is the test cod

Re: [PHP] PHP on PWS not working!

2001-05-04 Thread Thomas Edison Jr.
i'm not getting errors, when i do open my page (http://localhost/test.php3) or any php3 page on my PWS, i get an "HTTP 500 - Internal server error". All the HTML files and stuff are running on my PWS. Only php3 is not!! i did not make any changes to my PWS while installing this new php4.0.5 file

Re: [PHP] PHP on PWS not working!

2001-05-04 Thread Data Driven Design
I use PWS what errors are you getting? Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084 http://www.datadrivendesign.com http://www.rossidesigns.net - Original Message - From: Thomas Edison Jr. <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 04, 2001 2:00 PM

RE: [PHP] Can not send new Header

2001-05-04 Thread Altunergil, Oktay
You have to send the HEADER before anything is sent to the browser. If you have sent html tags like , etc or anything else the browser will parse, subsequent calls to HEADER stuff will not work. (that is unless you do output buffering of some sort) oktay -Original Message- From: Andy [ma

[PHP] Can not send new Header

2001-05-04 Thread Andy
Hello, I am a newbi. Currently I try to relocate the viewed page after entering successful a form. I tryed it like that: HEADER("Location:http://$HTTP_HOST/admin/admin.php?content=upload";); But I did get an errormessage which said that I already have sent a header ( which was a body tag).

[PHP] Finding out the date on the client machine

2001-05-04 Thread Andy
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 the syntax? Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

[PHP] Cant add new Header

2001-05-04 Thread Andy
Hello, I am a newi. Currently I try to relocate the viewed page after entering successful a form. I tryed it like that: HEADER("Location:http://$HTTP_HOST/admin/admin.php?content=upload";); But I did get an errormessage which said that I already have sent a header ( which was a body tag). Can

[PHP] PHP on PWS not working!

2001-05-04 Thread Thomas Edison Jr.
don't know why still my PHP 4.0.5 is NOT working on my PWS 4.0!! the PHP module is now working perfectly on my Apache server (At Last)!! but what is wrong with PWS??? I have left the doc_root field blank in php.ini And the extension_dir points to C:\php4 which actually contains php.exe and only

[PHP] problem with PHP and .htaccess

2001-05-04 Thread Tom Carter
Hi, I have a quite complex site organised into a series of subdirectories, all referrencing one single include directory, specified by a global variable required on each page. This file has sym links to all the directories, and I've done a test output so that is not the cause of the problem. Wh

Re: [PHP] hdml simulator?

2001-05-04 Thread Jon Rosenberg
The up.sdk phone sim works for me with both wml and hdml as well. You just have to make sure you are sending the correct headers, etc... Jon - Original Message - From: "Data Driven Design" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 04, 2001 1:39 PM Subject: [PHP] hdm

php-general Digest 4 May 2001 17:36:44 -0000 Issue 666

2001-05-04 Thread php-general-digest-help
php-general Digest 4 May 2001 17:36:44 - Issue 666 Topics (messages 51369 through 51450): Re: Working with numbers 51369 by: Jennifer 51374 by: Oliver Heinisch 51397 by: Gyozo Papp Re: Searching for array keys 51370 by: mailing_list.gmx.at 51375 by:

[PHP] hdml simulator?

2001-05-04 Thread Data Driven Design
I'm writing some wireless content in PHP and I've found several wml simulators but none for hdml. The up.sdk says it works for hdml but displays my wml content. Anybody know where to find a hdml simulator? Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084 http://www.datadrivendesig

RE: [PHP] PHP & Java ?

2001-05-04 Thread Brian Paulson
Is there any way that we can see the page? That might help in sorting out the problem Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Jack Sasportas [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 11:22

Re: [PHP] PHP & Java ?

2001-05-04 Thread Jack Sasportas
I am echoing the javascript and other html, and at this point *not* putting values into the javascript. I take a string like so: $string=" JavaCode HTML "; I make sure that *everything* in the quotes has only sinlge quotes no double quotes so that PHP doesn't think its the end of the string,

Re: [PHP] restrict access of Copy command

2001-05-04 Thread Pandrac
Yep, that was most of the problem. I was coding and testing from one machine on my network so all the files had the same owner. When I changed the owner for the files for each virtual host to the user for that virtual hosts, and set permissions to 705, everything seems to work as it should. Now I

Re: [PHP] PHP & Java ?

2001-05-04 Thread Peter Dudley
If it's javascript, then be careful about echoing PHP variables into Javascript strings. If you have something like (in Javascript) var myString = ''; and $phpString contains any apostrophes, then the javascript will break because Javascript thinks the string has ended prematurely. E.g, if $ph

Re: [PHP] PHP & Java ?

2001-05-04 Thread Michael Stearne
They are totally un-related. Make sure that the final HTML on the page (some of it generated by PHP) is corrent and doesn't break the Java/Javascript. Michael Jack Sasportas wrote: >While working on some web sites which contain mouse over java, and then >adding in some db stuff via php/mys

Re: [PHP] PHP & Java ?

2001-05-04 Thread Tom Carter
I assume by java you mean some permutation of javascript. PHP runs server-side which means all the PHP processing is done before it is sent to the client. What the client recieves has nothing to do with PHP, that is all effectively "removed" ie parsed by the PHP engine. The client just recieves H

Re: [PHP] HELP!! PHP not working Suddenly!!!

2001-05-04 Thread Thomas Edison Jr.
i was gonna die until u came along, at least you have given me some hope. i'm not able 2 eat since this happened. anyway, > already have contained the correct stuff - did you > change anything? yes, because the earlier php were in very different folders..i had a pretty pretty early version of PH

[PHP] PHP & Java ?

2001-05-04 Thread Jack Sasportas
While working on some web sites which contain mouse over java, and then adding in some db stuff via php/mysql, the java seems to break. Is there something special I need to do to prevent that break? Is this a common problem? Does using templates get around that problem ? Thanks !

Re: [PHP] HELP!! PHP not working Suddenly!!!

2001-05-04 Thread Phil Driscoll
If you were replacing an earlier version of php, your registry should already have contained the correct stuff - did you change anything? What does ka-BOom actually mean in terms of error messages etc? >From the command line, change to the folder containing php.exe, type php.exe -i and see if yo

[PHP] preg vs ereg (performance)

2001-05-04 Thread Matthew Aznoe
I am in the process of writing an application that does a lot of parsing in which performance is the key. In the process, I performed some rudimentary speed testing that yielded some interesting results. Rather than keep them to myself, I thought I would share them. I am currently parsing out t

RE: [PHP] Need to know this

2001-05-04 Thread S.J. Black
> People Hate Perl ;) That's gorgeous! Alpha -- 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: [EMAIL PROTECTED]

Re: [PHP] Generating thumbnails of JPEG/GIF images

2001-05-04 Thread Web master
I wrote a small function like the following to create my won thumbnails. function make_tumb_nail($url){ $size=GetImageSize("image/$url"); $ht=$size[1]; $wd=$size[0]; if($ht>$wd){ $h=$ht; for($i=1.01;;){ if($h<121){ break; } $h=$ht/$i; $w=$wd/$i; $i=$i+0.01; }

[PHP] HELP!! PHP not working Suddenly!!!

2001-05-04 Thread Thomas Edison Jr.
gosh, i just downloaded the new PHP file from www.php.net, the file i downloaded is : *** PHP 4.0.5 [4,590Kb] - 30 April 2001 (CGI binary plus server API versions for Apache, AOLserver, ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged as zip) *** i'm using win98 & PWS

[PHP] Generating thumbnails of JPEG/GIF images

2001-05-04 Thread Richard
Greetings. Is there any quick way to generate thumbnails of existing pictures in a directory? It would seem quite worthless to create 120x120 images of ones that already exist, and upload duplicates.. Therefore, dynamic thumbnails would be perfect. Any solutions? PHP 4.0+ thanks. - Rich

RE: [PHP] Array Assignment

2001-05-04 Thread Gyozo Papp
"Mark Cain" <[EMAIL PROTECTED]> wrote in message 9cufuv$s20$[EMAIL PROTECTED]">news:9cufuv$s20$[EMAIL PROTECTED]... > > Two things: > 1) Why does the code below produce this result? > 2) How do I assign to an multidimensional array with dynamic keys? > > Here is the test code: > > $first = "E

RE: [PHP] session_register()

2001-05-04 Thread Matthew Luchak
I would be very interested in hearing of any developments with session anomilies.. Netscape® Communicator 4.76 M$2000 PHP Version 4.0.4pl1 System Windows NT 5.0 build 2195 Server API CGI ZEND_DEBUG disabled Thread Safety enabled "works" using: Hello visitor, you have seen this page ti

RE: [PHP] PHP using Forms

2001-05-04 Thread Mike Mike
Thank you all!! :-) --- "Altunergil, Oktay" <[EMAIL PROTECTED]> wrote: > The below does the newline and takes care of html > tags which might otherwise > get parsed by the web browser. > > # This function is to fix the characters. It > replaces all htmlentities with > their & kind representation

RE: [PHP] session_register()

2001-05-04 Thread Johnson, Kirk
> -Original Message- > From: Jennifer [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] session_register() > > 1. What browser are you using? I, and others, have seen > erratic results with > > sessions using Netscape 4.x. If this is your browser, try > your code with > > another browser,

Re: [PHP] BET News

2001-05-04 Thread John Monfort
Ok...all together now, in how many languages can you say, OUT OF PLACE !!! --Spammers, sheesh ! -- On Thu, 3 May 2001, MTV Jams wrote: > http://www.mp3.com/mcpedro from [EMAIL PROTECTED] > > The question is this, If you placed a Jamaican born MC on a Hip > Hop/Trance/Techno track and

[PHP] HTTP_HOST or SERVER_ADDR

2001-05-04 Thread Wei Weng
Which one is more adequate for representing server ip? Thanks -- Wei Weng Network Software Engineer KenCast Inc. -- 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

RE: [PHP] Need to know this

2001-05-04 Thread Johnson, Kirk
People Hate Perl ;) Kirk > I need to find out what PHP stands for. -- 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: [EMAIL PROTECTED]

Re: [PHP] date calculation

2001-05-04 Thread James Holloway
Gary, Yes. Check the manual for mktime(); and getdate(); http://www.php.net/quickref.php James > Is there a way to do calculations with dates? Preferably ignoring weekends. > > Thanks, Gary > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] >

[PHP] Need help cookie

2001-05-04 Thread Alain ROMERO
This code works fine on Win NT/IIS with Netscape but not with IE4 : cookie is not set ? "; print "var expdate=new Date ();"; print "expdate.setTime(expdate.getTime()+(24*60*60*1000*31));"; print "document.cookie='MYCOOKIE='+escape('".$username.":".md5($username.$userpass)."') +';

RE: [PHP] PHP using Forms

2001-05-04 Thread Altunergil, Oktay
The below does the newline and takes care of html tags which might otherwise get parsed by the web browser. # This function is to fix the characters. It replaces all htmlentities with their & kind representation # and converts newlines to html breaks () function fix($string) {

[PHP] Help please

2001-05-04 Thread Alain ROMERO
This code works fine on Win NT/IIS with Netscape but not with IE4 : cookie is not set ? "; print "var expdate=new Date ();"; print "expdate.setTime(expdate.getTime()+(24*60*60*1000*31));"; print "document.cookie='MYCOOKIE='+escape('".$username.":".md5($username.$userpass)."') +';e

Re: [PHP] ISAPI

2001-05-04 Thread Phil Driscoll
As it says in the installation notes, the ISAPI module is not ready for production use - and what you are witnessing is its favourite trick! If you are an IIS wizard and are able to investigate why it goes wrong, your input would be most welcome! Cheers -- Phil Driscoll Dial Solutions +44 (0)113

[PHP] Array Assignment

2001-05-04 Thread Mark Cain
I'm new to PHP (which will be obvious in just a minute). In Perl I can assign dynamic keys ad infinitum to an array such as: $sku{$id}{$line}{$price} = 99; But the syntax is escaping me for the same function in PHP. As I was trying to debug my thinking, I ran the following little test and am c

[PHP] date calculation

2001-05-04 Thread Gary
Is there a way to do calculations with dates? Preferably ignoring weekends. Thanks, Gary -- 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: [EMAIL PROTECTED]

[PHP] IMAP, krb4 and PHP4.

2001-05-04 Thread Liam Hoekenga
I'm trying to use UW IMAP c-client w/ the kerberos v4 patches with PHP 4.0.x and IMP 2.2.x I've tried both IMAP 4.7c and IMAP2000 - both the c-clients build fine. I had some problems getting IMAP 4.7c working with PHP4, but I've confirmed that it does work (I can open IMAP streams using a clear

Re: [PHP] MD5 password

2001-05-04 Thread Thimo von Rauchhaupt
> Hi there assume that I had a password field in md5 format like this > $1$uJ8d$jJKOHnfh^79824/. > how do i compare an input password to the password that I sore in database > > so it can return right or wrong password Just compare the md5 hashed password with the md5 hashed string from the datab

RE: [PHP] PHP using Forms

2001-05-04 Thread Jon Haworth
Try this: $Home = nl2br($Home); // nl2br converts newlines to s See http://www.php.net/nl2br for more info. (Incidentally, I answered exactly the same question yesterday, in exactly the same way. *Please* check the list archives/last few days postings/manual before posting this sort of thin

[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

Re: [PHP] PHP using Forms

2001-05-04 Thread Zak Greant
Use the nl2br() function --zak - Original Message - From: "Mike Mike" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 04, 2001 8:11 AM Subject: [PHP] PHP using Forms > Hello, > I have a form field COLS=40> > with this data in it: > > My Home > 11 North 5th St > St. P

[PHP] PHP using Forms

2001-05-04 Thread Mike Mike
Hello, I have a form field with this data in it: My Home 11 North 5th St St. Paul MN Phone: (555) 555- Fax: (555) 555- E-Mail: [EMAIL PROTECTED] When submited it goes into a mysql database. The problem i'm running into is that the output looks like this after the call from the mysql

[PHP] user tool to > admin groups, subgroups, and users.

2001-05-04 Thread Delbono
Is there any? I need to create a tool for creating administering users like this. user1, user2, user3, etc.. Under user1 there are subuserA, subuserB, subuserC, etc.. Under subuserA there are many other users... it's like a piramyd. Does anyone know any link about such a tool? Thanks Ni

[PHP] ISAPI

2001-05-04 Thread Hassan Arteaga
I want to setup PHP on W2000 + IIS 5 PC as ISAPI..When I change from CGI to ISAPI ..I receive this error messages: 500 Internal Server Error Steps followed to install ISAPI.. IIS 4.0+ (isapi): 1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it t

  1   2   >