RES: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Alejandro Michelin Salomon
Use this: echo preg_replace('#(\d{2})/(\d{2})/(\d{4})#' , \\3-\\2-\\1, '24/07/2013' ); RESULT = 2013-07-24 Alejandro M.S -Mensagem original- De: Jim Giner [mailto:jim.gi...@albanyhandball.com] Enviada em: sexta-feira, 26 de julho de 2013 11:12 Para: php-general@lists.php.net Assunto

RES: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Alejandro Michelin Salomon
jomali: Use this: echo preg_replace('#(\d{2})/(\d{2})/(\d{4})#' , \\3-\\2-\\1, '24/07/2013' ); RESULT = 2013-07-24 Alejandro M.S -Mensagem original- De: jomali [mailto:jomali3...@gmail.com] Enviada em: sexta-feira, 26 de julho de 2013 17:38 Para: Robert Cummings Cc: Karl-Arne Gjersøyen

RES: [PHP] cURL issues posting to an end point

2012-10-04 Thread Alejandro Michelin Salomon
Bastien: -Mensagem original- De: Bastien Koert [mailto:phps...@gmail.com] Enviada em: quinta-feira, 4 de outubro de 2012 11:54 Para: PHP-General Assunto: [PHP] cURL issues posting to an end point Hi All, I have a page that receives third party data into my app, xml data via https post.

RES: [PHP] cURL issues posting to an end point

2012-10-04 Thread Alejandro Michelin Salomon
/soap+xml; charset=utf-8', 'Content-Length: ' . strlen($xml_builder) ) --- This is missing ); Alejandro M.S -Mensagem original- De: Bastien Koert [mailto:phps...@gmail.com] Enviada em: quinta-feira, 4 de outubro de 2012 15:49 Para: Alejandro

RES: [PHP] XML/PHP web service

2012-08-09 Thread Alejandro Michelin Salomon
-handle(); Alejandro M.S -Mensagem original- De: Phillip Baker [mailto:phil...@freewolf.net] Enviada em: quarta-feira, 8 de agosto de 2012 19:12 Para: php-general@lists.php.net Assunto: [PHP] XML/PHP web service Greetings all, I am looking for some options here. I am in need of creating

RES: [PHP] CURL -d

2012-03-26 Thread Alejandro Michelin Salomon
-Encoding: gzip, deflate', 'POST some post data HTTP/1.1', 'Host: some host', 'Content-type: application/soap+xml; charset=utf-8', The content type 'Content-Length: ', length of data // This for soap action 'SOAPAction: action here ') ); $xResult = curl_exec($ch); Alejandro M.S. -Mensagem

RES: [PHP] '?=' with PHP5.3.10

2012-03-05 Thread Alejandro Michelin Salomon
only use this ?php, 100% safe. Alejandro M.S. -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk

RES: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Alejandro Michelin Salomon
to be made. The main code only pass the type of format ant factory returns de right code for the operation. The main code remains untouched, when the factory chance each time a i need other type of process or exportation results. Alejandro M.S. -Mensagem original- De: Mike Mackintosh

RES: [PHP] Re: Getting Column Names from an AS400 Database

2012-01-26 Thread Alejandro Michelin Salomon
in the connection processes? Alejandro M.S. -Mensagem original- De: Cheryl Sullivan [mailto:csull...@shh.org] Enviada em: quinta-feira, 26 de janeiro de 2012 13:41 Para: Jim Giner; php-general@lists.php.net Assunto: RE: [PHP] Re: Getting Column Names from an AS400 Database Thanks for your response

RES: [PHP] Printing

2012-01-06 Thread Alejandro Michelin Salomon
. Alejandro MS -Mensagem original- De: Jim Giner [mailto:jim.gi...@albanyhandball.com] Enviada em: quinta-feira, 5 de janeiro de 2012 17:13 Para: Alejandro Michelin Salomon Assunto: Re: [PHP] Printing I don't know what you mean. How do I create a pdf with php? Do I have to have my host

RES: [PHP] Installing PHP

2011-09-20 Thread Alejandro Michelin Salomon (Hotmail)
IfModule dir_module DirectoryIndex index.html index.php == add index.php to be a default file to search /IfModule Alejandro M.S. PAO/RS Brasil -Mensagem original- De: Mateus Almeida [mailto:supor...@avanutri.com.br] Enviada em: segunda-feira, 19 de setembro de 2011 18:32 Para: php

[PHP] REQUEST and COOKIE

2011-09-06 Thread ALEJANDRO ZAPIOLA
Seeing the $_REQUEST[] and it is a matrix that has the content of $_GET, $_POST and $_COOKIE, I think this can be used maliciously into the script. i.e.: request1.php ?php setCookie(name,alejandro); echo scriptlocation.href='request2.php'/script; ? In this case, I'm setting

RES: [PHP] Installing PHP

2011-07-04 Thread Alejandro Michelin Salomon (Hotmail)
that you install? I have the apache 2.2.17 This php5apache2.dll is for the version 2.0.x And this php5apache2_2.dll for the version 2.2.x Maybe the dll files is in the brong version. Alejandro M.S. -Mensagem original- De: Jim Giner [mailto:jim.gi...@albanyhandball.com] Enviada em: segunda

RES: [PHP] Short tag: why is it bad practice?

2011-05-11 Thread Alejandro Michelin Salomon (Hotmail)
options. Alejandro M.S. -Mensagem original- De: Joshua Kehn [mailto:josh.k...@gmail.com] Enviada em: terça-feira, 10 de maio de 2011 12:19 Para: Andre Polykanine Cc: php-general@lists.php.net Assunto: Re: [PHP] Short tag: why is it bad practice? On May 10, 2011, at 11:11 AM, Andre

RES: [PHP] Acentos en tpl

2011-03-18 Thread Alejandro Michelin Salomon
fijarte en los .tpl para saber qual Content-Type estan utilizando. Otra cosa importante es saber si la información viene de una base de datos, y si esta utiliza LATIN1 como conjunto de caracteres o UTF-8. Para hacer las conversiones que fueren precisas Alejandro M.S. English version: Lorena : I

[PHP] Problems with pear install

2011-03-13 Thread Alejandro Crosa
Hi     I can`t open the pear set up executing the go-pear.bat file.   Alejandro

[PHP] Help for pear

2011-03-13 Thread Alejandro Crosa
HiI try execute the go-pear.bat file to open the pear set up, but I get the error messaje   The go-pear.phar.dll is not a valid image of windows.   Any help is very important form me.   Thanks 

[PHP] Probem with go-pear.bat

2011-03-13 Thread Alejandro Crosa
Hi...I try install pear by executing the go-pear.bat file, but I get a follow   message:   The go.pear.phar.dll is not a image valid of  windows.   Please, any help is important for me.   Thanks.   Alejandro

RES: [PHP] Bar Charts in PDFs

2011-02-11 Thread Alejandro Michelin Salomon
'PNG', '', 'T', false, 300 ); With this tcpdf i create a legal documents for Brazilian government. Alejandro MS -Mensagem original- De: Tom Barrett [mailto:t...@miramedia.co.uk] Enviada em: sexta-feira, 11 de fevereiro de 2011 06:55 Para: php-general@lists.php.net Assunto: [PHP] Bar Charts

RES: [PHP] email address syntax checker

2011-01-21 Thread Alejandro Michelin Salomon
Donovan: Try this function EmailCheck ( $sEmail ) { $regexp=/^[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+\\.[a-z ]{2,}$/i; if ( !preg_match($regexp, $sEmail) ) return false; return true; } Alejandro M.S. -Mensagem original- De: Donovan Brooke

RES: [PHP] Connecting to MySql with PHP

2010-10-05 Thread Alejandro Michelin Salomon
Sueandant : Goto your my.ini file In my case located in C:\Arquivos de programas\MySQL\MySQL Server 5.1 Search is this configuration option is enabled = skip-networking And comment to enabled listen on a TCP/IP port. Default port 3306 Or Put = enable-named-pipe to enable named pipes Alejandro

RES: [PHP] Connecting to MySql with PHP

2010-10-05 Thread Alejandro Michelin Salomon
Sueandant : Reading more carefully your email, and search for this error in the net. Y find this page http://coreygilmore.com/blog/2009/11/20/fix-php-5-3-hang-on-windows/ Try this Alejandro M.S. -Mensagem original- De: Alejandro Michelin Salomon [mailto:amichel...@hotmail.com] Enviada

RES: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Alejandro Michelin Salomon
. Browse to localhost Alejandro M.S. -Mensagem original- De: Col Day [mailto:colind...@aol.com] Enviada em: segunda-feira, 4 de outubro de 2010 06:31 Para: php-general@lists.php.net Assunto: [PHP] New to PHP and struggling with the basics Hi all, Working with the PHP5 for Dummies book

RES: [PHP] converting a mysql date value

2010-09-29 Thread Alejandro Michelin Salomon
David : Try this : $a = explode('-', '2010-01-23'); $b = array( $a[1], $a[2], $a[0] ); echo implode( '/', $b); // 01/23/2010 Alejandro M.S. -Mensagem original- De: David Mehler [mailto:dave.meh...@gmail.com] Enviada em: quarta-feira, 29 de setembro de 2010 16:12 Para: php-general

RES: [PHP] Invalid chars in XML

2010-09-21 Thread Alejandro Michelin Salomon
;' = ', 'quot;' = '', 'lt;' = '', 'gt;' = '' ); return strtr( $sText, $trans ); } Alejandro M.S. -Mensagem original- De: robert mena [mailto:robert.m...@gmail.com] Enviada em: segunda-feira, 20 de setembro de 2010 17:08

[PHP] Valid Xml not validate with xsd

2010-09-16 Thread Alejandro Michelin Salomon
a small rar file with the test case. How to change the pattern to meets the requirements: or value ISENTO ou number [0-9]{0,14} or empty ? Thanks in advance Alejandro M.S. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] linux console on the PHP

2009-04-13 Thread Alejandro Esteban Galvez
english, I speak little english. Bye --- Alejandro Esteban Galvez Administrador de Red IPICHMC Rimed, Radio-Aficionado CL2AEG Linux User #472120 - http://i18n.counter.li.org/ Correo: alejan...@infomed.sld.cu Correo y Jabber: alejan

[PHP] Sobre Login PHP

2009-04-11 Thread Alejandro Esteban Galvez
Saludos colegas, los otros dias, estuve escribiendo acerca de esto, y bueno ya tengo una parte ahora necesito que cuando se cierre el navegador, se cierre la sesion de login tambien. Saludos --- Alejandro Esteban Galvez Administrador de

[PHP] About Login on PHP

2009-04-08 Thread Alejandro Esteban Galvez
--- Alejandro Esteban Galvez Administrador de Red IPICHMC Rimed, Radio-Aficionado CL2AEG Linux User #472120 - http://i18n.counter.li.org/ Correo: alejan...@infomed.sld.cu Correo y Jabber: alejan...@ipichmc.rimed.cu www.ipichmc.rimed.cu

[PHP] PHP and Send Mail

2009-04-08 Thread Alejandro Esteban Galvez
Hi!, I am making a web system and i need known how send a mail using PHP Bye --- Alejandro Esteban Galvez Administrador de Red IPICHMC Rimed, Radio-Aficionado CL2AEG Linux User #472120 - http://i18n.counter.li.org/ Correo: alejan

[PHP] PHP code to analize email HELP

2005-01-09 Thread Alejandro Marín Uribe
Hi all I really need help. I have an idea about to create a piece of code that it analyze an email, extract certain data (this email contains Name, email and telephone of a person in a standar html) and insert this data in MySQL database. It this posible? I'm a newbie in PHP/MySQL, any ideas?

[PHP] A small problem

2003-03-11 Thread Alejandro
Hi all in the PHP list. I'm trying to deal with Regular Expressions, but somehow it is getting more difficult. I´m trying to do the folowing: Read a text and get all of the PHP code out of it, highlight it and then print all in nice HTML. I'm using this to get the PHP code:

[PHP] Help with ereg()

2003-03-11 Thread Alejandro
Hi all. I'm trying to deal with Regular Expressions, but somehow it is getting more difficult. I´m trying to do the folowing: Read a text and get all of the PHP code out of it, highlight it and then print all in nice HTML. I'm using this to get the PHP code: ereg(\?.*\?,$Text,$PHP_code); It

[PHP] Re: PHP and DB2 on AS400

2003-03-07 Thread Alejandro Trujillo J.
I never do that, but, you can do it with the ODBC that is supported in Windows PHP version, that is my idea for you. -- Alejandro Trujillo J. Cube Systems LTDA. web : csltda.com Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- PHP General Mailing List (http

[PHP] Re: problem in writing into an html text file

2003-02-27 Thread Alejandro Trujillo J.
what software are you using ??? -- Alejandro Trujillo J. Cube Systems LTDA. web : csltda.com Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help with dbase!!!

2001-10-27 Thread Alejandro Viana
I'm trying to read a record from a dbase data base so I've previously opened it successfully. The problem is that I call the function dbase_get_record, but it returns no records. The database is ok because I call the funcion dbase_numfields and dbase_numrecords and they give me correct

[PHP] RE: help with dbase!!!

2001-10-27 Thread Alejandro Viana
It has only 1 table . Thanks -- 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] Help! ¡Ayuda!

2001-10-26 Thread Alejandro Viana
I'm trying to read a record from a dbase data base so I've previously opened it successfully. The problem is that I call the function dbase_get_record, but it returns no records. The database is ok because I call the funcion dbase_numfields and dbase_numrecords and they give me correct

[PHP] help with data base!!!

2001-10-26 Thread Alejandro Viana
I'm trying to read a record from a dbase data base so I've previously opened it successfully. The problem is that I call the function dbase_get_record, but it returns no records. The database is ok because I call the funcion dbase_numfields and dbase_numrecords and they give me correct

[PHP] urlencode

2001-09-07 Thread Alejandro Molina
Hi, I need to know wich is the best way to send variables through an URL,that if the variables are of the string type, and what if the variable has spaces like $string='this is a test'. I have read about the use of urlencode(), but I have a strange behaviour using this function, sometimes it work

[PHP] Hello! PHP

2001-03-16 Thread Celestino Roberto Alejandro
Hello, i'm working with PHP, and i need use a classes that this company have developed in java, can i use it from php? ...yes, i know that i can, but, when i make the configuration of the php.ini, run the hello example, all rights, but, when i make a class that use a frame of awt, for show a

[PHP] (rac)MCAL, doubt, again

2001-03-15 Thread Celestino Roberto Alejandro
Hi... ..where i can found documentation abour the use and the installation of MCAL library in Solaris plattform? Robert Celestino.

[PHP] Error working

2001-03-15 Thread Celestino Roberto Alejandro
Hello..i'm veri tired, and i am going to require your help. I need to make some operations with a cuadratic curve. But with the current php code... ?php $curve = new Java("java.awt.geom.QuadCurve2D.Double") ? ... i get this error: Warning: java.lang.ClassNotFoundException:

[PHP] (rac)Php dobut with an extension

2001-03-14 Thread Celestino Roberto Alejandro
Hey !! How are you I've tried to do run PHP with JAVA support enabled, (in a Win32 plattform in this case), and when i uncommented the extension=php_java.dll, all is ok, then i configure the [JAVA] section, with... [Java] java.home = c:\java java.library = c:\java\jre\bin\classic\jvm.dll

[PHP] (doubt)MCAL installation

2001-03-12 Thread Celestino Roberto Alejandro
How i can get further information about the installation of MCAL extension in a Solaris 2.7 environment? Roberto Celestino Universidad Nacional de la Matanza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] (doubt)PHP console run

2001-03-12 Thread Celestino Roberto Alejandro
Hello..friend... ..i have a doubt? how i can do for run php in console mode, or better say, that run script in my shell not in a browser... ..and, you give me a hand an i get the arm, how i can get the argument of the line of command?exist ARGV or ARGC? Roberto Celestino El sitio, "Tu portal en

[PHP] (roberto)PHPJVA

2001-03-12 Thread Celestino Roberto Alejandro
Hello..i'm trying PHPJAVA ..we can in my .java file import javax.swing classes, and the how i can do that runnin it with php, don't say the Error...of javax.swinng...etc..can't loaded...! thanks... Roberto Celestino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] [PHP-ES] (roberto celestino)MCAL! set-up.

2001-03-08 Thread Celestino Roberto Alejandro
give some errors...? Thanks, and Sorry..! I'm running in a Solaris 2.7, thanks! Celestino, Roberto Alejandro Argentina, Universidad Nacional de la Matanza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] (roberto)Standar of modules of PHP3 ...how i can make a extension in C/c++ for this version?

2001-02-14 Thread Celestino Roberto Alejandro
Hello.. ..how i can make a extension for this version of PHP3? ..Thanks :-)

[PHP] (robert)HELLO...all doubts about XML/APACHE/PERL/PHP/MOD

2001-02-13 Thread Celestino Roberto Alejandro
Hello...'m new in this list,and for this...Hello Hello to all people. ...and begin, with my first doubt... ..We (I, a friend, for the our job, need make application with xml, = better say, migrate a current system of news, to the structured of XML, = and procceses it with XLS, for generate

Re: [PHP] Help with IMAP_open please

2001-01-16 Thread Alejandro Garin
("{localhost:143}", $name, $psw); Try with : $connection = IMAP_Open("{localhost:143}INBOX", $name, $psw); regards = == Ing. Alejandro Garín Telecom Internet __ Do You Yahoo!? Get email at your own domain wit

Re: [PHP] Zend Optimizer

2001-01-15 Thread Alejandro Garin
makes use of the Zend scripting language engine: Zend Engine v1.0.3, Copyright (c) 1998-2000 Zend Technologies with Zend Optimizer v0.99, Copyright (c) 1998-2000, by Zend Technologies regards = == Ing. Alejandro Garín Telecom Internet ___