Ir al contenido principal.
Enlaces relacionados:  Press Room  Company  Clients  Contact us
Solsoft

Forum

a mfnrange patch for php-openisis


Author Message
Written on: 19. 05. 2003 [10:01]
roger@infomed.sld.cu
Roger Peña Escob
registered since: 31.12.1969
Posts: 0
---MOQ10533528625e6f688048f92499c5e833f5c45a8c94
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

hi

this weekend i work with php-openisis, the work was based on isis_flech_flat_array

the new function is isis_fetch_mfnrange_flat_array

also, here is a php page as an example of how to use this function

i don't know if this can be inserted into the main code, what did you say braulio? icon_smile.gif

roger

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

---MOQ10533528625e6f688048f92499c5e833f5c45a8c94
Content-Type: text/plain; name="php-openisis-mfnrange-patch.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="php-openisis-mfnrange-patch.txt"

ZGlmZiAtTnVyIGlzaXMtb3JpL2lzaXMuYyBpc2lzL2lzaXMuYwotLS0gaXNpcy1vcmkvaXNpcy5j
CTIwMDMtMDUtMTUgMTc6MzM6MTEuMDAwMDAwMDAwIC0wNDAwCisrKyBpc2lzL2lzaXMuYwkyMDAz
LTA1LTE4IDE5OjM1OjI0LjAwMDAwMDAwMCAtMDQwMApAQCAtNjEsNiArNjEsNyBAQAogCVpFTkRf
RkUoaXNpc190ZXJtcywJTlVMTCkKIAlaRU5EX0ZFKGlzaXNfZmV0Y2hfYXJyYXksCU5VTEwpCiAJ
WkVORF9GRShpc2lzX2ZldGNoX2ZsYXRfYXJyYXksCU5VTEwpCisJWkVORF9GRShpc2lzX2ZldGNo
X21mbnJhbmdlX2ZsYXRfYXJyYXksCU5VTEwpCiAJWkVORF9GRShpc2lzX251bV9yb3dzLAlOVUxM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c190ZXJtcyk7CiBaRU5EX0ZVTkNUSU9OKGlzaXNfZmV0Y2hfYXJyYXkpOwogWkVO
RF9GVU5DVElPTihpc2lzX2ZldGNoX2ZsYXRfYXJyYXkpOworWkVORF9GVU5DVElPTihpc2lzX2Zl
dGNoX21mbnJhbmdlX2ZsYXRfYXJyYXkpOwogWkVORF9GVU5DVElPTihpc2lzX251bV9yb3dzKTsK
IFpFTkRfRlVOQ1RJT04oaXNpc19kYXRhX3NlZWspOwogWkVORF9GVU5DVElPTihpc2lzX2ZyZWVf
cmVzdWx0KTsK

---MOQ10533528625e6f688048f92499c5e833f5c45a8c94
Content-Type: application/octet-stream; name="php_openisis-mfnrange.php"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="php_openisis-mfnrange.php"

PD9waHAgIAkNCiRtZm5zdGFydCA9ICRfUE9TVFttZm5zdGFydF07DQokbWZuc3RvcCA9ICRfUE9T
VFttZm5zdG9wXTsNCiRkYiA9ICRfUE9TVFtkYl07DQo/Pg0KPGh0bWw+DQo8aGVhZD4NCiAgPHRp
dGxlPk9wZW5Jc2lzIFBIUCBkZW1vPC90aXRsZT4NCjwvaGVhZD4NCjxib2R5Pg0KCTxmb3JtIGFj
dGlvbj0icGhwX29wZW5pc2lzLW1mbnJhbmdlLnBocCIgbWV0aG9kPSJwb3N0Ij4NCgkJQ29tZW56
YXIgcG9yIGVsIE1GTjogPGlucHV0IHR5cGU9InRleHQiIG5hbWU9Im1mbnN0YXJ0IiB2YWx1ZT0i
PD8gZWNobyAkbWZuc3RhcnQgPz4iPjxicj4NCgkJVGVybWluYXIgcG9yIGVsIE1GTjogPGlucHV0
IHR5cGU9InRleHQiIG5hbWU9Im1mbnN0b3AiIHZhbHVlPSI8PyBlY2hvICRtZm5zdG9wID8+Ij48
YnI+DQoJCWluDQoJCTxzZWxlY3QgbmFtZT0iZGIiPg0KCQk8b3B0aW9uIHZhbHVlPSJjYXRhbGci
IDw/IGlmICgkZGIgPT0gImNhdGFsZyIpIG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AgICAgICBpZiAoJHZhbHVlKSB7DQogICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWlzX2FycmF5KCR2YWx1
ZSkpDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgIGVjaG8gIjx0cj48dGQ+JGtleTwvdGQ+PHRkPiIgLiBodG1sc3BlY2lhbGNoYXJzKCR2YWx1
ZSkgLiAiPC90ZD48L3RyPlxuIjsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICBlY2hvICI8dHI+PHRkPiRrZXk8L3RkPjx0ZD48dGFibGU+XG5c
dFx0PHRyPjx0ZD5TdWJjYW1wbzwvdGQ+PHRkPlZhbG9yPC90ZD48L3RyPlxuIjsNCiAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yZWFjaCgg
JHZhbHVlIGFzICRzdWJjYW1wID0+ICRzdWJjYW1wX3ZhbHVlICkNCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlY2hvICJcdFx0
PHRyPjx0ZD4iIC4gY2hyKCRzdWJjYW1wKSAuICI8L3RkPjx0ZD4iIC4gaHRtbHNwZWNpYWxjaGFy
cygkc3ViY2FtcF92YWx1ZSkgLiAiPC90ZD48L3RyPlxuIjsNCiAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWNobyAiPC90YWJsZT48L3RkPjwv
dHI+XG4iOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
fTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9Ow0KICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICBlY2hvICI8L3RhYmxlPlxuPGJyPjxicj5cbiI7DQoNCiAg
ICAgICAgICAgICAgICB9Ow0KDQoNCmlzaXNfY2xvc2UoJGRiaWQpOw0KfTsNCj8+DQo8L2JvZHk+
DQo8L2h0bWw+DQo
---MOQ10533528625e6f688048f92499c5e833f5c45a8c94--

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



Forgot your password?

Please enter your username or email address. Instructions for resetting the password will be immediately emailed to you.
Reset Password

Return to login form 


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