Re: [PHP] I can't do a connection to POSTGRES from PHP4 as NSAPI

2001-03-16 Thread Martin A. Marques
El Vie 16 Mar 2001 19:53, Norberto Rojas escribió: > Hi, > > I built the latest PHP4to use it as NSAPI with postgress connection: > >./configure --with-nsapi=/usr/netscape/server4/ > --with-pgsql=/var/lib/pgsql --enable-libgcc --enable-track-vars >make > make install > "stop web se

Re: [PHP] PostgreSQL vs InterBase

2001-02-27 Thread Martin A. Marques
Mensaje citado por: Ron Wills <[EMAIL PROTECTED]>: > I know this isn't one of the databases that you;re inquiring about, but > we've been using MySQL (www.mysql.com) and it has been working > beautifully. > We have an email server with a MySQL db that's about 4 Gigs now a it's > still running str

Re: [PHP] Parsing a string

2001-02-23 Thread Martin A. Marques
Mensaje citado por: Todd Cary <[EMAIL PROTECTED]>: > I have a comma delimited string that I need to parse into an array. Is > there a PHP function that will do that ? Did you check the string functions? explode for example? Saludos... ;-) System Administration: It's a dirty job, but someone

Re: [PHP] Problemas con conexion Oracle

2001-02-23 Thread Martin A. Marques
Speak in english, even if some of us can understand you. Mensaje citado por: Alex sepúlveda <[EMAIL PROTECTED]>: > Estimados: > He instalado PHP en un servidor Windows NT/2000 y cuando en el primer > archivo php creo una conexion a Oracle, se cae > en la función OCILogon() dando el siguien

Re: [PHP] Sessions and naming a file with SID

2001-02-22 Thread Martin A. Marques
Mensaje citado por: Brandon Orther <[EMAIL PROTECTED]>: > Hello, > > Is there a way to start a session and then save a temp file with the > name of > the Session ID? I thought that was what it did. :-) Read the session manual, the papers published in phpbuilder and check the session options in

Re: [PHP] phpPgAdmin ?

2001-02-22 Thread Martin A. Marques
Mensaje citado por: Oguz Demirkapi <[EMAIL PROTECTED]>: > > Hi, > > We have a PostgreSQL and Php 4.02 preinstalled Cobalt RaQ4r server and > I > want to manage PostgreSQL via pgPgAdmin. But when I try to login I got > error such as : > > > Fatal

Re: [PHP] Session problems

2001-02-21 Thread Martin A. Marques
Mensaje citado por: Jack Davis <[EMAIL PROTECTED]>: > We have designed a web based email program that we have > recently found a problem with...If you open up two email > accounts in two different browser windows, the first window > opened takes on the session that the second window is in. > It a

Re: [PHP] Libraries

2001-02-19 Thread Martin A. Marques
Mensaje citado por: Kath <[EMAIL PROTECTED]>: > Why do a lot of people use libraries like PHPLib? > > I find it a lot better to write my own basic functions. > > Is it just the attitude "Someone else coded it already, why should I?" Like some said to me "Don't re-invent the wheel" Saludos...

Re: [PHP] Help!! IP functions!!!

2001-02-19 Thread Martin A. Marques
Mensaje citado por: Bruno Freire <[EMAIL PROTECTED]>: > Hi!! > > My name is Bruno, From Brazil!!! > > I need to know how can i discovery the ip address when somebody access > my > home page > > What function can I use Bruno, check the phpinfo() function, which will give you lots of i

Re: [PHP] sessions and data missing browser message

2001-02-19 Thread Martin A. Marques
Mensaje citado por: Evelio Martinez <[EMAIL PROTECTED]>: > > Hi! > > is there any relation between use of sessions (php 4.0.4) and the > following browser message ? > > Data Missing > > This document resulted from a POST operation and has expired from the > cache. If you wish you can repost

[PHP] function with 2 arguments

2001-02-19 Thread Martin A. Marques
Hi, I'm about to make a function with two arguments, and I want the second one to be optional. Can I just write the function and use it with one or two arguments without problems (I check if the second argument was passed inside the function). Is this OK? Saludos... :-) Martin Marques -- PHP G

Re: [PHP] php site, parse error

2001-02-15 Thread Martin A. Marques
El Jue 15 Feb 2001 17:41, escribiste: > Looks like the PHP site is down, parse error on site.inc... just an FYI :) Ohhh, I'd love to get me hands on some of the code these great guys do. :-) Saludos... :-) -- System Administration: It's a dirty job, but someone told I had to do it. --

Re: [PHP] case sensitivity checking?

2001-02-15 Thread Martin A. Marques
El Jue 15 Feb 2001 16:41, James, Yz escribió: > > Oh, another thing. Anyone know of any tools like PHP MyAdmin for > PostGresSQL ? phpPgAdmin? http://www.greatbridge.org/project/phppgadmin/projdisplay.php Saludos... ;-) -- System Administration: It's a dirty job, but someone told I had to d

Re: [PHP] unstable execution of mysql_db_query($db, $myQuery)

2001-02-15 Thread Martin A. Marques
El Jue 15 Feb 2001 13:32, escribiste: > I am using MySQL 3.22.32 and PHP 4.01PL2, but it seems that > mysql_db_query($db, $myQuery) is not quite stable, actually, in my code, it > is like > > mysql_db_query($db, $myQuery) or die "Something wrong during query"); > > 1 out of 15 (the same query), it

Re: [PHP] Session Questions...

2001-02-15 Thread Martin A. Marques
El Jue 15 Feb 2001 12:32, escribiste: > I was reading through the documentation on sessions at > http://www.php.net/manual/en/html/ref.session.html > > I have a few questions.. > > 1) How do I explicitly close a session, so that any subsequent attempts to > use pages would require a new session st

Re: [PHP] Compiling PHP for Apache.

2001-02-15 Thread Martin A. Marques
El Jue 15 Feb 2001 11:47, escribiste: > Hi! > > Right now, I'm trying to figure out which step in order is > appropriate. I'm going to put it down now, if I got it wrong then help me > out with the correct order. Whether it is from scratch or from existing > softwares. > > > 1) O

[PHP] PHP 4 sessions and PHPLIB

2001-02-14 Thread Martin A. Marques
Hi, I've been using horde, IMP for a while with PHP4 pretty well, no problem at all (uses PHPLIB for session and database storage). But now I need to built some code and I'm using PHP4's native session functions. The problem was that when coding I got an error related with PHPLIB's session obje

Re: [PHP] HTTP Authentication not getting unset

2001-02-14 Thread Martin A. Marques
El Mié 14 Feb 2001 13:44, Chris Lee escribió: > Ive found the same thing and currently do not have a workaround, it seems > that browsers cache this. one method Ive thought of and never tested is to > set a session variable, cross reference that SessionID, PHP_AUTH_PW, > PHP_AUTH_USER are all vali

Re: [PHP] HTTP Authentication not getting unset

2001-02-14 Thread Martin A. Marques
El Mié 14 Feb 2001 13:04, Toby Miller escribió: > Sorry, I meant common header, not footer. > > Inside my common "header" on my site .. > (which also includes the same "header") ... Don't worry, I understood it. ;-) -- System Administration: It's a dirty job, but someone told I had to

Re: [PHP] HTTP Authentication not getting unset

2001-02-14 Thread Martin A. Marques
El Mié 14 Feb 2001 12:37, Toby Miller escribió: > Hey all, Hi, This is far to long, so I'll strip a part of it. > Now if I try to read the $PHP_AUTH_USER or $PHP_AUTH_PW variables anyplace > on the site they don't exist, until I go back to one of the protected > pages. Then they miraculously re-

Re: [PHP] mysql not reporting errors

2001-02-09 Thread Martin A. Marques
El Vie 09 Feb 2001 11:38, Christian Dechery escribió: > WHy PHP is not showing SQL syntax (or any) errors? > > I'm using Win98Me with Apache 1.3.12 and PHP 4.x. > > it works... if I run a correct query it runs normally, but if I go like: > > $query="selct nonexistingfield from nonexistingtable wit

Re: [PHP] copy PEAR

2001-02-09 Thread Martin A. Marques
El Vie 09 Feb 2001 10:37, Conover, Ryan escribió: > I was wondering if PEAR is built into the Win distribuition of php > 4.0.4pl1. Or can I download it somewhere, and where? PEAR is just a bunch of very good php code which you can include in your code. It comes with the source. Saludos... ;-)

Re: [PHP] How to make PHP work in all sub-directories?

2001-02-08 Thread Martin A. Marques
El Jue 08 Feb 2001 05:34, SED escribió: > Hi, > > I´m hosting a PHP-doc in sub-directorie (http://myserver/subdirectory/) on > my IIS server Win2000 but it doesn't run, though it runs in the root > (http://myserver/). > > Is there something in the PHP.ini to config (and how) or is it something > e

Re: [PHP] base dir

2001-02-08 Thread Martin A. Marques
El Jue 08 Feb 2001 01:44, Steve Werby escribió: > "Brandon Orther" <[EMAIL PROTECTED]> wrote: > > I am sure this is a dumb/easy question but I can't seem to find it > > looking at the php manual... can someone tell me the function that gets > > the path > > of > > > where the script is? > > Create

Re: [PHP] Compiling php??

2001-02-08 Thread Martin A. Marques
El Jue 08 Feb 2001 00:48, GAYTAN BAHAMONDEZ DANIEL EDUARDO escribió: > Hi there, > Is there a way to compile php files so that no one can read them > but php will undestand them?? something like .exe in win I think zend will (or is) do that. Saludos... ;-) -- System Administration: It's

Re: [PHP] base dir

2001-02-07 Thread Martin A. Marques
El Mié 07 Feb 2001 19:20, Brandon Orther escribió: > Hello, > > I am sure this is a dumb/easy question but I can't seem to find it looking > at the php manual... can someone tell me the function that gets the path of > where the script is? Check the variable $HTTP_SERVER_VARS["SCRIPT_FILENAME"] a

Re: [PHP] PHP/Majordomo web interface

2001-02-06 Thread Martin A. Marques
El Mar 06 Feb 2001 18:39, Jaguwar escribió: > Oh bother! What you are doing sounds like it's on the way to what I'm > looking for, at the very least! I guess it will take me longer than I'd > thought, though. On the other hand, it'll be one heck of a learning > ground! Well, when I sent the ma

Re: [PHP] PHP/Majordomo web interface

2001-02-06 Thread Martin A. Marques
El Mar 06 Feb 2001 16:38, Jaguwar escribió: > I'm wondering if such a thing already exists as a "package". I'd like to > be able not only to manage a mailing list, but also to view message > archives, have users subscribe and so on. A bit like eGroups. I have been looking for something that tho

Re: [PHP] PHP & mySQL on Sun Solaris OS

2001-02-06 Thread Martin A. Marques
El Mar 06 Feb 2001 10:06, Thomas Edison Jr. escribió: > Thanks for the info... we'll download the source .. > but how do we install on the Solaris machine? is there > any doc available for that? it comes with the source > file? Do you have gcc (or another compiler) installed? The sources comes wi

Re: [PHP] PHP & mySQL on Sun Solaris OS

2001-02-06 Thread Martin A. Marques
El Mar 06 Feb 2001 09:37, Thomas Edison Jr. escribió: > Does PHP work on Sun Solaris? if so..where can i get > the version that needs to be downloaded & installed on > solaris machine and the documentation to install it > there? Download the source and compile them. We work with PHP on Solaris 7

[PHP] getting STDIO

2001-02-02 Thread Martin A. Marques
I want to use PHP to build a script that would run from the comand line. Now me problem is how do I make PHP interpretate a chunk of text that is piped to it? Lets say my script is named script1.php and I do: $ less file1 | script1.php just like if I send variables with info with a put in the

Re: [PHP] Tab character

2001-02-02 Thread Martin A. Marques
El Jue 01 Feb 2001 13:49, Alexander Skwar escribió: > So sprach Martin A. Marques am Thu, Feb 01, 2001 at 12:20:54PM -0300: > > yes (depending) > > On what? It depends on the charset you use. Saludos... :-) -- System Administration: It's a dirty job, but someone

Re: [PHP] Tab character

2001-02-01 Thread Martin A. Marques
El Jue 01 Feb 2001 12:17, Karl J. Stubsjoen escribió: > Is this a tab character \t yes (depending) -- System Administration: It's a dirty job, but someone told I had to do it. - Martín Marqués email: [EMAIL PROTE

Re: [PHP] Exit Function

2001-01-31 Thread Martin A. Marques
El Mié 31 Ene 2001 19:34, Karl J. Stubsjoen escribió: > What is the way to exit a function? For example: > > function FooBar() { > > if ($foo = $bar) > Exit_this_Function; > > ## otherwise execute the rest of this function > } return is what you want. -- System Administration:

Re: [PHP] PostgreSQL + PHP + SQL warning messages

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 16:36, Evelio Martinez escribió: > Hi! > > Is there any way to get the equivalent sqlca.sqlcode value of informix > in PostgreSQL from php ? > > I would like to use the sqlcode to print the messages in Spanish. The problem is that informix puts in an array (sort of) all the inf

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 16:49, Frank Joerdens escribió: > On Thu, Jan 25, 2001 at 04:04:24PM -0300, Martin A. Marques wrote: > [ . . . ] > > > Of course. But the persistent connection are not working as the manuals > > say they should work. > > It appears this riddle has

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 14:34, Frank Joerdens escribió: > On Thu, Jan 25, 2001 at 11:18:49AM -0300, Martin A. Marques wrote: > [ . . . ] > > > No, and thats why in the postgres list we talked about persistent > > connections not having much benefits. That is because the connection

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 10:21, Frank Joerdens escribió: > On the PostgreSQL lists there has been some discussion recently as to > the mechanism behind, benefits and drawbacks, of persistent connections. > In particular a scenario similar to the following was brought up: > > Browser A connects to Apache