Ir al contenido principal.
Enlaces relacionados:  Prensa  Compañía  Clientes  Contáctenos
Solsoft

Foros

Re: phph para isis


Autor Mensaje
Escrito en: 03. 10. 2003 [20:36]
braulio
Braulio Solano Rojas
Autor del tema
registrado desde: 16.05.2008
Entradas: 2
¡Hola!

No hay un FAQ. Debería haber, pero no lo hay.

Puedes preguntar en dev @ openisis[dot]org si existe la posibilidad de leer el
archivo de php@openisis.org. Si escribes ahí, lo tienes que hacer en inglés
si esperas que te contesten. Y también sería deseable que a
php @ openisis[dot]org escribieras en inglés.

Hasta pronto,

Braulio

P.S.: Dado que no hay archivo, nadie va a esperar que no se repitan las
preguntas... icon_smile.gif

----- Original Message -----
From: "Molina Leon Guillermo Alfonso" <Gmolinle@banrep.gov.co>
To: "Braulio José Solano Rojas" <braulio@solsoft.co.cr>
Sent: Friday, October 03, 2003 11:15 AM
Subject: RE: phph para isis






Hola Braulio, muchas gracias y disculpa la bobada.


Braulio una última pregunta, donde esta la FAQ de la lista para no hacer
preguntas ya antes propuestas.


Gracias,


Guillermo

-----Original Message-----
From: Braulio José Solano Rojas [mailto:braulio@solsoft.co.cr]
Sent: viernes, 03 de octubre de 2003 11:30
To: PHP-OpenIsis
Cc: Molina Leon Guillermo Alfonso
Subject: Re: phph para isis

¡Hola!

¿Dejaste los punto y coma?

Si los dejaste prueba con quitar los 'punto y coma'. Los punto y coma
sirven para comentarios. V.G.:

; Esto es un comentario.

De otra manera también puedes probar:

[Isis]
isis.default_dir = C:\\WINISIS\\DATA\\
isis.default_database = C:\\WINISIS\\DATA\\GCBIB.MST

(Con doble \.)

Cualquier duda que tengas puedes mandar correos a php@openisis.org. Para
inscribirte a la lista nada más tienes que mandar un correo a
php-subscribe@openisis.org.

Saludos,

B.

----- Original Message -----
From: Molina Leon Guillermo Alfonso
To: braulio @ openisis[dot]org
Sent: Friday, October 03, 2003 10:13 AM
Subject: phph para isis


Hola Braulio me podrias decir porque no me esta leyendo la base isis este es
la parte de mi php.ini

[Isis]
; isis.default_dir = C:\WINISIS\DATA\
; isis.default_database = C:\WINISIS\DATA\GCBIB.MST

gracias,







AVISO LEGAL:
-- Las opiniones que contenga este mensaje son exclusivas de su autor y no
necesariamente representan la opinión oficial del Banco de la República o de
sus autoridades.
-- El receptor deberá verificar posibles virus informáticos que tenga el
correo o cualquier anexo a él, razón por la cual el Banco de la República no
aceptará responsabilidad alguna por daños causados por cualquier virus
transmitido en este correo.
-- La información contenida en este mensaje y en los archivos electrónicos
adjuntos es confidencial y reservada, conforme a lo previsto en la
Constitución y en la Ley del Banco de la República, y está dirigida
exclusivamente a su destinatario, sin la intención de que sea revelada o
divulgada a otras personas. El acceso al contenido de esta comunicación por
cualquier otra persona diferente al destinatario no está autorizado por el
Banco de la República y está sancionado de acuerdo con las normas legales
aplicables.

-- El que ilícitamente sustraiga, oculte, extravíe, destruya, intercepte,
controle o impida esta comunicación, antes de que llegue a su destinatario,
estará sujeto a las sanciones penales correspondientes. Igualmente,
incurrirá en sanciones penales el que, en provecho propio o ajeno o con
perjuicio de otro, divulgue o emplee la información contenida en esta
comunicación. En particular, los servidores públicos que reciban este
mensaje están obligados a asegurar y mantener la confidencialidad de la
información en él contenida y, en general, a cumplir con los deberes de
custodia, cuidado, manejo y demás previstos en el régimen disciplinario.
-- Si por error recibe este mensaje, le solicitamos enviarlo de vuelta al
Banco de la República a la dirección de correo electrónico que se lo envió y
borrarlo de sus archivos electrónicos o destruirlo.

LEGAL NOTICE:
-- Any opinions contained in this message are exclusive of its author and
not necessarily represent the official position of Banco de la República or
of its authorities.
-- The recipient must verify the presence of possible informatic viruses in
the mail or in any annex thereto, and for this reason Banco de la República
shall not be made liable for any damages caused by viruses transmitted
hereby
-- The information contained in this message and in any electronic files
annexed thereto is confidential and privileged, as per the Colombian
Constitution and the Law that governs Banco de la República, and is directed
exclusively to its addressee, with no intention of it being disclosed or
revealed to third parties. The access to the content of this communication
by any person different from its addressee is not authorized by Banco de la
República and shall be penalized in accordance with the applicable legal
dispositions.

-- Any person who illicitly removes, hides, distracts, destroys, intercepts,
controls, or otherwise prevents this communication from arriving to its
addressee, shall be subject to the appropriate criminal penalties. Likewise,
criminal penalties shall be incurred by any who, either for his/her own
benefit or on behalf of third parties, or with prejudice of a third party,
discloses or employs the information contained in this communication. In
particular, public servants that may receive this message shall be obliged
to ensure and keep the confidentiality of the information contained therein
and, in general, to comply with the duties of custody, care, handling and
other provided under the disciplinary regime.
-- If you should happen to receive this message by mistake, please send it
back to Banco de la República to the same e-mail address and either delete
it from your electronic files or destroy it.

------------------------------------------
Posted to Phorum via PhorumMail
Escrito en: 04. 10. 2003 [08:41]
paul@OpenIsis.org
Klaus Ripke
registrado desde: 31.12.1969
Entradas: 0
Hola a todos

we are still very busy doying a complete rewrite of all OpenIsis,
but are making big progress and hope to release an OpenIsis 1.0
by early November.

Then, on this basis, we will also set up a searchable archive of
this list. (Actually the list IS archived, i.e. all the mails are still there,
and you can retrieve them one-by-one from ezmlm with get requests
like sending an empty mail to php-get.123@openisis.org).


saludos

------------------------------------------
Posted to Phorum via PhorumMail
Escrito en: 09. 10. 2003 [17:57]
jmlongo@uncu.edu.ar
Martín Longo
registrado desde: 31.12.1969
Entradas: 0
¡Hola!

I had the very same problem that Ximenes did...

the problem, it seemed... was with the line:

$result = isis_search("$",$dbid);

...cause the lines:

if (!$dbid) {
echo "Can't Open the database";
}

never gave me the "Can't Open..." message

Well... I tested, like Braulio said, with the openisis executable and it
turned out that something was worng with my inverted file... I fixed it, so
I could search the database from the command line.
The problem remained though... trying to search the same database from my
php script...

Then... what I did was call the open_isis() function without any arguments:

$dbid = isis_open();
if (!$dbid) {
echo "Can't Open the database";
}
$result = isis_search("$",$dbid);

while ($record = isis_fetch_array($result)){
echo "<pre>";
var_dump($record);
echo "<pre><br/>";
}
isis_close($dbid);

... relaying in the settings I wrote on my php.ini file:

[Isis]
isis.default_dir = /home/base
isis.default_database = cds


and... voila!.... I've got a nice "database's guts exposed" page ....

now.. with this I know it works... but I still don't know why can't we set
the database manually.... any tips on this?


One more thin.. I tried isis_fetch_flat_array() function... but got a Fatal
Error saying that it's not defined.... could it be? :-S

Hasta pronto y Gracias!!

Juan Martín Longo
Encargado de Informática
SID - UNCuyo
http://sid.uncu.edu.ar




> Anyway, to be sure where is the problem try to run your queries with the
> openisis executable. I can't remember exactly what was the syntax, but
> openisis --help could give you a hint.



>
> Regards,
>
> B.
>
> ----- Original Message -----
> From: "Jose Ximenes De Mesquita - IBAMA" <Jose.Ximenes@ibama.gov.br>
> To: "PHP-OpenIsis" <php@OpenIsis.org>
> Sent: Tuesday, September 23, 2003 3:26 PM
> Subject: Re: php-OpenISIS under Sun OS
>
>
> > Hi!
> >
> > thanks for your help.
> >
> > I have tried all your suggested:
> >
> > 1 - Although, I could not get what kind of information one should put in
> $args,
> > I used the contents of that function put by Mr. Braulio in the 7th
slides
> of
> > his presentation to the Trinidad meeting ('-encoding Cp850'). (Could
> anyone,
> > please tell me what information should be placed in this variable?):
> >
> > $dbname = '/home/jximenes/www/isis-db/video/video';
> > $args = "-encoding Cp850";
> > $dbid = isis_open($dbname, $args);
> >
> > The same error message was returned. Or the error message did not
change.
> >
> > 2- I included the peace of code suggested by Roger Peña Escobio
> > (roger@infomed.sld.cu):
> >
> > $dbname = '/home/jximenes/www/isis-db/video/video';
> > $dbid = isis_open($dbname, $args);
> > if (!$dbid) { echo "Can't Open the database"; }
> >
> > The same error message was returned.
> >
> > I concluded that the problem was not in the function that opens the
> database,
> > but in the peace of code that returns the result of the search:
> >
> > $result = isis_search("amazonas",$dbid);
> >
> >
> > And I dont know what to try now.
> >
> > I must say that the code (without $arg):
> >
> > $dbid = isis_open("/home/jximenes/www/isis-db/cds/cds");
> > $result = isis_search("$",$dbid);
> > while ($record = isis_fetch_array($result))
> > {
> > echo "<pre>" ;
> > var_dump($record);
> > echo "<pre><br/>";
> > }
> > isis_close($dbid);
> >
> > worked nicely in the Windows XP environment. And so did all (or almost)
> the
> > other examples from the Mr. Braulio presentation.
> >
> > Is there any special information that should be taken care of in order
to
> > compile the source code in the Unix SUN OS environment? Should I have
> taken any
> > care for the compilation process?
> >
> > Well I would appreciate any information, or any idea to solve this
> problem.
> >
> > Muchas gracias,
> >
> > Ximenes
> >
> > Citando Braulio José Solano Rojas <braulio@solsoft.co.cr>:
> >
> > > Hi!
> > >
> > > > it looks to me that it is a problem in the way you call open_isis
> function
> > > Yes, try to add arguments. I am sorry that this is not documented,
but
> this
> > > is OpenIsis functionality, not from the extension.
> > >
> > > > maybe you should use ' insted of " insight isis_open arguments,
> > > > or none, just the complete name and path to the isisdb
> > > The difference between " and ', is that with " escape characters, like
> when
> > > you add new-line "\n", are parsed. With ' those characters are not
> parsed.
> > >
> > > Best regards,
> > >
> > > B.
> > >
> > > Mensaje citado por Jose Ximenes De Mesquita - IBAMA
> > > <Jose.Ximenes@ibama.gov.br>:
> > >
> > > > Mr. Barulio,
> > > >
> > > > I am ataching the codes I used to test under the sun OS environment.
> > > >
> > > > Thanks for your help.
> > > >
> > > > Jose Ximenes
> > > >
> > > > ----- Mensagem encaminhada de Braulio José Solano Rojas
> > > > <braulio@solsoft.co.cr> -----
> > > > Data: Mon, 22 Sep 2003 16:25:35 -0600
> > > > De: Braulio José Solano Rojas <braulio@solsoft.co.cr>
> > > > Reponder para: Braulio José Solano Rojas <braulio@solsoft.co.cr>
> > > > Assunto: Re: php-OpenISIS
> > > > Para: Jose Ximenes De Mesquita - IBAMA
<Jose.Ximenes@ibama.gov.br>
> > > >
> > > > Hello.
> > > >
> > > > > the "isis_mfn_data_seek" function (which returned that the
function
> is
> > > not
> > > > > defined (the windows version I dowloaded from your hame page is
date
> d
> > > > > 11/08/03), all other functions worked out nicely.
> > > >
> > > > Yes this is an error in the code, I'll fix it.
> > > >
> > > > > To test the same examples in my institutional environment, I
> exported
> > > the
> > > > > database CDS I used in the Windows environment using the format
> iso2709,
> > > > > uploaded it into the database (in the Sun OS environment) and
> inverted
> > > it.
> > > > I
> > > > > teste the examples using the lines of code:
> > > > >
> > > > > "
> > > > > $result = isis_search("$",$dbid);
> > > > >
> > > > > or
> > > > >
> > > > > $result = isis_query("agriculture",$dbid);
> > > > > "
> > > > >
> > > > > It was expected to receive variable of the type "resource" as the
> return
> > > > to
> > > > > this fucntions, however it returned a boolean. See the message:
> > > > >
> > > > > Warning: isis_fetch_flat_array() expects parameter 1 to be
resource,
> > > > boolean
> > > > > given in /home/jximenes/www/php-openisis/isis_query.php on line 17
> > > > >
> > > > >
> > > > > I am sure that neither the database is empty nor is the inverted
> file.
> > > > >
> > > > > Otherwise I have also tried to use those php-openisis functions to
> > > access
> > > > ours
> > > > > databases already working in the same machine which are accessed
> using
> > > > Wxis (by
> > > > > BIREME). And the result is the same. The variable $result comes as
> an
> > > > boolean
> > > > > instead of a resource.
> > > > >
> > > > > Why?
> > > >
> > > > I do not know. Could you please show your code? Maybe that way
I'll
> know
> > > > better how to help you.
> > > >
> > > > Also, please write your questions to php@openisis.org. I am
listening
> > > > there, but there is more people. In fact, maybe someone had your
> problem
> > > > and solved it.
> > > >
> > > > Regards,
> > > >
> > > > B.
> > > >
> > > >
> > > > ----- Finalizar mensagem encaminhada -----
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------
> > > > IBAMA - Instituto Brasileiro do Meio Ambiente e
> > > > dos Recursos Naturais Renováveis
> > > > http://www.ibama.gov.br
> > > >
> > >
> > >
> > > ----------------------------------------------------------------------
> > > Nodo central de la red Infomed (http://www.sld.cu)
> > > Usuario linux: 97152 (http://counter.li.org)
> > > Miembro del grupo de coordinacion de LinuxCuba (http://www.linux.cu)
> > > ----------------------------------------------------------------------
> > >
> > >
> > > -------------------------------------------------
> > > Este mensaje fue enviado usando el servicio de correo en web de
Infomed
> > > http://webmail.sld.cu
> > >
> > >
> > >
> >
> >
> >
> >
> > -------------------------------------------------
> > IBAMA - Instituto Brasileiro do Meio Ambiente e
> > dos Recursos Naturais Renováveis
> > http://www.ibama.gov.br
> >
> >
>

------------------------------------------
Posted to Phorum via PhorumMail
Escrito en: 10. 10. 2003 [10:56]
braulio
Braulio Solano Rojas
Autor del tema
registrado desde: 16.05.2008
Entradas: 2
Hi!

Thank you very much for sharing your experience with the list.

> One more thin.. I tried isis_fetch_flat_array() function... but got a
Fatal
> Error saying that it's not defined.... could it be? :-S

You should reinstall the last version. Because the function
isis_fetch_flat_array is actually defined (and implemented icon_smile.gif.

If that does not work, please tell.

Right now, there are three places you can download the latest version:
http://www.sf.net/projects/isis
http://www.bsolano.com/modules.php?op=modload&name=Downloads&file=index
http://solsoft.co.cr/descargas.html

Hasta pronto,

Braulio

------------------------------------------
Posted to Phorum via PhorumMail
Escrito en: 10. 10. 2003 [18:40]
braulio
Braulio Solano Rojas
Autor del tema
registrado desde: 16.05.2008
Entradas: 2
Hi!

> Ok... I installed PHP-Openisis 1.0 (guess it's the latest version)... and
> the problem wirth isis_open() is fixed... I cand open any base I want,
with
> or without $args... great!

Sorry Martín, but PHP-OpenIsis 1.0 is not the latest version. Latest is
1.0.3p2. Just download it at:
http://solsoft.co.cr/descargas.html

Best regards,

Braulio

------------------------------------------
Posted to Phorum via PhorumMail



Iniciar sesión de usuario

Introduzca su nombre de usuario y contraseña para iniciar su sesión en el sitio web:
Iniciar sesión

¿Ha olvidado su contraseña?


Copyright © 2003-2009, Solsoft de Costa Rica S.A.
Declaración de privacidad