Re: [PHP] Programacion orientada a objetos

2007-01-31 Thread Juan Pablo Herrera
HI Jairo! This is a list only in english. Please, check other list in spanish. Esta es una lista en inglés. Por favor, verificá otras listas en español. JP On 1/31/07, Jairo Torres <[EMAIL PROTECTED]> wrote: Señores buenas tardes. Tienen un buen ejemplo o manual para programación orientada a

Re: [PHP] exec ping

2005-08-20 Thread Juan Pablo Herrera
On 8/21/05, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote: > Juan Pablo Herrera wrote: > > Thanks Jasper, > > well, i need make a explode of results of the ping. The idea is check > > a host and when the host don´ t response send a email. > > I don't explode

Re: [PHP] exec ping

2005-08-20 Thread Juan Pablo Herrera
On 8/21/05, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote: > Juan Pablo Herrera wrote: > > Hi all! > > I have following script: > > $comando = system('ping 168.192.0.1', $nn); > > echo $nn; > > Well, i need that only show the first ten lines of

[PHP] exec ping

2005-08-20 Thread Juan Pablo Herrera
Hi all! I have following script: $comando = system('ping 168.192.0.1', $nn); echo $nn; Well, i need that only show the first ten lines of the ping and kill the process. How can i make it? Regards, JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

[PHP] Exec don't work

2005-05-10 Thread Juan Pablo Herrera
Hi! I using php version 4.3.10. I have a script that used the exec function. Well it script only work from shell, but not work form web browser. My php.ini: safe_mode Off Off safe_mode_exec_dir no valueno value Have somebody experience in this problem? Regards, JP -- PHP Gen

[PHP] Test Send

2005-03-25 Thread Juan Pablo Herrera
I can't send email. Right? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP4 and PHP5 in virtual Host

2005-03-25 Thread Juan Pablo Herrera
Hi! I have apache, php4 and php5 on my server. I use virtual host in this server. The virtual host have or not PHP4 using: php_admin_flag engine off/on in apache2.conf How can i use PHP5 or PHP4 or both? PHP4 is running as module and PHP5 is running as cgi. Regards, JP -- PHP General Mailing Lis

[PHP] PHP4 and PHP5 in virtual Host

2005-03-24 Thread Juan Pablo Herrera
Hi! I have apache, php4 and php5 on my server. I use virtual host in this server. The virtual host have or not PHP4 using: php_admin_flag engine off/on in apache2.conf How can i use PHP5 or PHP4 or both? PHP4 is running as module and PHP5 is running as cgi. Regards, JP -- PHP General Mailing Lis

Re: [PHP] Fatal error

2004-10-16 Thread Juan Pablo Herrera
In your script use set_time_limit(0), and look http://ar2.php.net/manual/en/function.set-time-limit.php for understand the function. Regards, JP > Dear members,I get an error,What does mean my error? : > Fatal error: Maximum execution time of 30 seconds > exceeded in /var/www/html/votting/vote_imp

[PHP] intenger

2004-10-14 Thread Juan Pablo Herrera
Please, i need output a intenger, what function can i use for this?. Print?, echo? Thank you. JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Memory Usage

2004-10-04 Thread Juan Pablo Herrera
Hi! I need management the use of the memory when a php script is execute. How can i do it?.I know mysql_free_result for free all memory associated with the result, is it all?. Regards, JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Make cron file

2004-09-28 Thread Juan Pablo Herrera
sorry, my cuestion is about the construction of the job file with php. I send parameters via POST: day, hours, minute, sentence for execuite with cron. This is cached for a php file that make the job file. Well, my problem is make this php file.I think to use file() for this, but maybe somebody thi

[PHP] Make cron file

2004-09-28 Thread Juan Pablo Herrera
Hi! I need make a cron file, for example a .job file: #mi hodimeseq jobcomment 45 11** 0-5 php -q /home/test/test.php # Make backup How can make it?. Regards. JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Using '

2004-09-22 Thread Juan Pablo Herrera
x.heredoc >> >> Your code snippet would look like this and do exactly what you had >> intended : >> >> $html = <<> >>YOUR HTML >> >> EOD; >> >> François >> >&g

[PHP] Using '

2004-09-22 Thread Juan Pablo Herrera
Hi! i have: $html = ' MY HTML '; Inside of my html i used ', this produced a parse error, how can i solved it?. Regards, JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ZIP

2004-09-14 Thread Juan Pablo Herrera
HI! I need catch many files in my server and make a zip file. In pear i not see nothing. I think use exec for contruction a zip file. Any idea? Regards, JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Load data and Insert

2004-08-11 Thread Juan Pablo Herrera
> "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> "Juan Pablo Herrera" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> > Hi! >> > i need do two querys in one. >> > First

[PHP] Load data and Insert

2004-08-11 Thread Juan Pablo Herrera
Hi! i need do two querys in one. First query is a load data and the second query is insert into. My idea is to concatenate with "and", but i'not know. Is it possible? Regards, Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Function Mail

2004-08-07 Thread Juan Pablo Herrera
Hi everybody, I have a cuestion about the features on function mail. I think that it send the email one to one address. Is it ok?. Regards, Juan Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sending attachments

2004-07-07 Thread Juan Pablo Herrera
Hi! I'm testing HTML Mime Mail Class, it's really complete. Features: - text - text + attached - html - html + attached - html + Embeds Who has experience with this class? Regards, Juan > This class > http://www.phpbuilder.net/snippet/detail.php?type=snippet&id=614 it's > good., but i can't emb

Re: [PHP] sending attachments

2004-07-07 Thread Juan Pablo Herrera
Thix class http://www.phpbuilder.net/snippet/detail.php?type=snippet&id=614 it's good., but i can't embed Image in message body, i used function embed_image.Who have experience in this class?. Regards, Juan > Hi! > The class it ok. > How can I put a GIF in Base64 in the message body? > > Regards

Re: [PHP] sending attachments

2004-07-07 Thread Juan Pablo Herrera
Hi! The class it ok. How can I put a GIF in Base64 in the message body? Regards, Juan > - Original Message - > From: "Curlys" <[EMAIL PROTECTED]> > To: "PHP" <[EMAIL PROTECTED]> > Sent: Wednesday, July 07, 2004 1:04 PM > Subject: [PHP] sending attachments > > >> can some body help me to s

RE: [PHP] CHAT

2004-06-29 Thread Juan Pablo Herrera
> Juan Pablo Herrera wrote: >> Hi! >> I need a chat program in php with GNU License. What's experience whith >> chat program in PHP? regards, Juan Pablo > > G-O-O-G-L-E: > > Search: php chat program gnu > > http://www.google.ca/search?q=php+chat+progra

[PHP] CHAT

2004-06-29 Thread Juan Pablo Herrera
Hi! I need a chat program in php with GNU License. What's experience whith chat program in PHP? regards, Juan Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: MHTML in email

2004-06-24 Thread Juan Pablo Herrera
Thank you Manuel, Tomorrow i work on this class. My idea is make a app that send newsletters with html + image included. It app shows "tracert" when the email is open.Know you some app that make this?. Regards, Juan > Hello, > > On 06/24/2004 01:59 PM, Juan Pablo Herrera

Re: [PHP] Re: MHTML in email

2004-06-24 Thread Juan Pablo Herrera
Thank you, really i need incluided in email body a image (jpg or gif), too see html. The MHTML file is a idea, but i think that not function with dinamic content.How can i do this? Thank you! Juan > Hello, > > On 06/23/2004 06:15 PM, Juan Pablo Herrera wrote: >> I need to attach a

[PHP] MHTML in email

2004-06-23 Thread Juan Pablo Herrera
Hi! I need to attach a file extension .mhtml in function mail, but i too need view the content from the body of e-mail.That is everything! Regards, Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Image Map

2004-06-14 Thread Juan Pablo Herrera
Hi! How can i make an image map with image function php? My idea is make a similar concept to http://www.infobae.com/ediciondigital/paginas.php Thank you! Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Function Date

2004-06-14 Thread Juan Pablo Herrera
Yes! That's right! Thank you Juan > Hello Juan, > > Monday, June 14, 2004, 6:04:56 PM, you wrote: > > JPH> I am using date("j M Y"), the format date is 14 Jun 2004, but i > need this JPH> format 14 JUN 2004. The unique difference is Jun -> JUN. > How can i change JPH> this?. > > $date = strtouppe

[PHP] Function Date

2004-06-14 Thread Juan Pablo Herrera
Hi! I am using date("j M Y"), the format date is 14 Jun 2004, but i need this format 14 JUN 2004. The unique difference is Jun -> JUN. How can i change this?. Thank You, Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Load Data

2004-06-10 Thread Juan Pablo Herrera
Hello! I need a problem with mysql "Load Data". PHP say: "Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)", but my user and password is correct.The sql query is: $query_string2 = "LOAD DATA INFILE '/usr/local/psa/home/vhosts/allaria.com.ar/httpdocs/XLS/precios' REPLACE INTO TABLE

Re: [PHP] Load Data infile

2004-05-13 Thread Juan Pablo Herrera
> [snip] > I need do load data infile in mysql: > $query_string2 = "LOAD DATA INFILE '/var/www/xls/test' REPLACE INTO > TABLE > `test` FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '\\' LINES > TERMINATED BY '\n'";$query_db_string2 = mysql_query($query_string2); > But not realize nothing wit

[PHP] Load Data infile

2004-05-13 Thread Juan Pablo Herrera
Hi! I need do load data infile in mysql: $query_string2 = "LOAD DATA INFILE '/var/www/xls/test' REPLACE INTO TABLE `test` FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '\\' LINES TERMINATED BY '\n'";$query_db_string2 = mysql_query($query_string2); But not realize nothing with execution the s

[PHP] Socket

2004-05-06 Thread Juan Pablo Herrera
Hi! Please, i need a tutorial about socket. I read php.net but the examples is lost. Regards, Juan Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php