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
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
$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...@
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.
$sCod .= '' . $oErro->code .
'' . utf8_encode( ' Fatal Error: ' . $oErro->message ) .
'';
break;
}
}
}
work here ...
}
}
$server =
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: ',
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,
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
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
.
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
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
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 '
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
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
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
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
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
Hi
I can`t open the pear set up executing the go-pear.bat file.
Alejandro
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
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
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
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 [
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:
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:
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
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
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
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
7;>' );
return strtr( $sText, $trans );
}
When read xml CompEntities
function CompEntities( $sText )
{
$trans = array('&' => '&',
''' => "'",
'"' => '"',
'
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
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
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
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
---
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
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?
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
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
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
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
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
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]
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
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
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
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
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
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
Hi...
..where i can found documentation abour the use and the installation of MCAL library
in Solaris plattform?
Robert Celestino.
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
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
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
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:
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
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
Hello..
..how i can make a extension for this version of PHP3?
..Thanks
:-)
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
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
___
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
--- [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í
> 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
--
60 matches
Mail list logo