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 Pa

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

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

2012-10-04 Thread Alejandro Michelin Salomon
$sHost, 'Content-type: application/soap+xml; charset="utf-8"', 'Content-Length: ' . strlen($xml_builder) ) --- This is missing ); Alejandro M.S -Mensagem original- De: Bastien Koert [mailto:phps...@

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] XML/PHP web service

2012-08-09 Thread Alejandro Michelin Salomon
$sCod .= '' . $oErro->code . '' . utf8_encode( ' Fatal Error: ' . $oErro->message ) . ''; break; } } } work here ... } } $server =

RES: [PHP] CURL -d

2012-03-26 Thread Alejandro Michelin Salomon
ay( 'User-Agent: Some name', 'Accept-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: ',

RES: [PHP] '

2012-03-05 Thread Alejandro Michelin Salomon
Leste Wrote: >-Mensagem original- >De: Lester Caine [mailto:les...@lsces.co.uk] >Enviada em: segunda-feira, 5 de março de 2012 08:18 >Para: php-general@lists.php.net >Assunto: Re: [PHP] 'Ashley Sheridan wrote: >> You can set it in php.ini itself, or possibly from .htaccess. failing that,

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

2012-02-07 Thread Alejandro Michelin Salomon
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
ect ? You check if has no errors 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

RES: [PHP] Printing

2012-01-06 Thread Alejandro Michelin Salomon
. The library has a folder with a lot of examples. 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

RES: [PHP] Installing PHP

2011-09-20 Thread Alejandro Michelin Salomon (Hotmail)
ONLY ON UNINSTALL 2 ) Change the directory index on apache DirectoryIndex index.html index.php ==> add index.php to be a default file to search 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

[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 location.href='request2.php'"; ?> In this case, I'm setting the variable 'name' with value '

RES: [PHP] Installing PHP

2011-07-04 Thread Alejandro Michelin Salomon (Hotmail)
s the apache version 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:j

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

2011-05-11 Thread Alejandro Michelin Salomon (Hotmail)
ptions. 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 Polykanine

RES: [PHP] Acentos en tpl

2011-03-18 Thread Alejandro Michelin Salomon
es como é o ú. Y utilizo varios .tpl, deves 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 preci

[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

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

RES: [PHP] Bar Charts in PDFs

2011-02-11 Thread Alejandro Michelin Salomon
th and height '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-gene

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

ENC: RES: [PHP] I am a Windows programmer and getting started on PHP

2010-11-19 Thread Alejandro Michelin Salomon
De: Alejandro Michelin Salomon [mailto:amichel...@hotmail.com] Enviada em: sexta-feira, 19 de novembro de 2010 14:45 Para: 'a...@ashleysheridan.co.uk' Assunto: RES: RES: [PHP] I am a Windows programmer and getting started on PHP Daevid Vincent: For me is no problem if Lin

RES: [PHP] I am a Windows programmer and getting started on PHP

2010-11-19 Thread Alejandro Michelin Salomon
t with php ( 4.0x ), apache is configured manually. Now is automatic. All the php developers that i know are windows users. OS is not a problem to use php. What install a VM to run linux? If i could run php on windows directly? Alejandro M.S. -Mensagem original- De: Daevid Vincent [

RES: [PHP] Class mysqli not found

2010-10-06 Thread Alejandro Michelin Salomon
Sorry, but it is a class... C:\php\ext folder has the php_mysql.dll and php_mysqli.dll ? Alejandro M.S. -Mensagem original- De: Alejandro Michelin Salomon [mailto:amichel...@hotmail.com] Enviada em: quarta-feira, 6 de outubro de 2010 17:34 Para: 'sueandant' Cc: &#

RES: [PHP] Class mysqli not found

2010-10-06 Thread Alejandro Michelin Salomon
t;Connect failed: %s\n", mysqli_connect_error()); exit(); } else { printf("Host information: %s\n", mysqli_get_host_info($mysqli)); } Try adodb lib for php ( http://adodb.sourceforge.net/ ), is great layer on top of php db functions. Alejandro M.S. -Mensagem original- De:

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] Connecting to MySql with PHP

2010-10-05 Thread Alejandro Michelin Salomon
pipes Alejandro M.S. -Mensagem original- De: sueandant [mailto:hollandsath...@tiscali.co.uk] Enviada em: segunda-feira, 4 de outubro de 2010 18:08 Para: php-general@lists.php.net Assunto: [PHP] Connecting to MySql with PHP I am running PHP 5.3.3, with Apache 2.0 Handler and MySql Server 5.1. My

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

2010-10-04 Thread Alejandro Michelin Salomon
he end of the file this lines : My php installation folder is D:/PHP/, change D:/PHP/ to your installation folder. #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "D:/PHP/" # Php as Apache module LoadModule php5_module "D:/PHP/php5apache2_2.dll" Restart

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 d

RES: [PHP] Invalid chars in XML

2010-09-21 Thread Alejandro Michelin Salomon
7;>' ); return strtr( $sText, $trans ); } When read xml CompEntities function CompEntities( $sText ) { $trans = array('&' => '&', ''' => "'", '"' => '"', '

[PHP] Valid Xml not validate with xsd

2010-09-16 Thread Alejandro Michelin Salomon
stinatário In the xml file the line 59 has : The pattern for this tag is : When i change this to work ok, buts each document that has ISENTO fails validation. I attached 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] 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] 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 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] 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] 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: ereg("<\?.*\?>",$Tex

[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

[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] apache don´t understand php!!----¡¡apache no entiende php!!

2001-11-15 Thread Alejandro
I have a problem:I have a php page wich runs well when I run it, but when I run a html page and links the php file, the source code is seen on the screen. It´s like apache wouldn't understand php!!. Any ideas? Thanks Hola!.tengo un problema y es que tengo una página .php que, cuando la llamo por

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

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

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

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

[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... ... i get this error: Warning: java.lang.ClassNotFoundException: java.awt.geom.QuadCurve2D.Double Can anybody help me? , please if you c

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

php-general@lists.php.net

2001-03-12 Thread Celestino Roberto Alejandro
Hello..i'm trying PHP&JAVA ..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: [EMA

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

[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] GTK-PHP install doubt?

2001-03-08 Thread Celestino Roberto Alejandro
Friends, i get the source of the GTK-PHP module, or library, as you want to say, but, when i going to do, the steps that describe in their ebpage( http://gtk.php.net/), i do phpize ./configure make (This failed) make install (obviously failed) When i do the make, this say that the function php

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

2001-03-08 Thread Celestino Roberto Alejandro
ant compile the driver alone (Ex: icap), this also 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 PROTE

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

Re: [PHP] Help with IMAP_open please

2001-01-16 Thread Alejandro Garin
Affected line is: > > $connection = IMAP_Open("{localhost:143}", $name, > $psw); Try with : $connection = IMAP_Open("{localhost:143}INBOX", $name, $psw); regards = == Ing. Alejandro Garín Telecom Internet ___

Re: [PHP] Zend Optimizer

2001-01-15 Thread Alejandro Garin
needs to be done? > with phpinfo() you see: This program 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 regar

Re: [PHP] simple division.. but how?

2001-01-15 Thread Alejandro Garin
--- [EMAIL PROTECTED] wrote: > if you want to do > 10 / 3 > i want it to show 3 and not 3.3 > > how do I control that? > $a= 10/3; echo (int)$a; echo $a; Result 3 3.3 regards = ==== Ing. Alejandro Garí

Re: [PHP] How does PHP handle %20 (blank spaces)

2001-01-15 Thread Alejandro Garín
> There is no problem if the search string is say, "ABC". However, it will > give a problem > if the string is "Mr ABC". I display this string at every page so that > users know > what they searched for. > For example: > You search for: $searchstring > Try urlencode/urldecode. regards --