Re: [PHP] $_POST value disappearing?

2011-08-02 Thread Jônatas Zechim
Hi.. You need to use $_FILES ( http://php.net/manual/pt_BR/reserved.variables.files.php) Regards, Jônatas Zechim PHP & jQuery specialist http://zechim.com mob +55 11 7053 2239 skype ID zechim On 2 August 2011 12:04, Donovan Brooke wrote: > Hello!, > > I must not be understand

RES: [PHP] PHP live chat

2009-12-15 Thread Jônatas Zechim
http://www.livezilla.net/ -Mensagem original- De: Angelo Zanetti [mailto:ang...@zlogic.co.za] Enviada em: terça-feira, 15 de dezembro de 2009 09:59 Para: 'Ghodmode'; php-general@lists.php.net Assunto: RE: [PHP] PHP live chat -Original Message- From: Ghodmode [mailto:ghodm...@gh

RES: [PHP] CSS and variables

2009-11-20 Thread Jônatas Zechim
Try: echo '' . $row[1] . ''; -Mensagem original- De: Phil Matt [mailto:ad...@philmatt.com] Enviada em: sexta-feira, 20 de novembro de 2009 14:12 Para: php-general@lists.php.net Assunto: [PHP] CSS and variables De-lurking here. I'm trying, with no success, to use some CSS styling on my

RES: [PHP] Extract links from strings

2009-09-21 Thread Jônatas Zechim
Mattias Thorslund [mailto:matt...@thorslund.us] Enviada em: segunda-feira, 21 de setembro de 2009 15:07 Para: 'PHP-General List' Assunto: Re: [PHP] Extract links from strings Jônatas Zechim wrote: > Hi there, i've the following strings: > > $string1 = 'Lorem ipsum dolor http

[PHP] Extract links from strings

2009-09-21 Thread Jônatas Zechim
Hi there, i've the following strings: $string1 = 'Lorem ipsum dolor http://site.com sit amet'; $string2 = 'Lorem ipsum dolor http://www.site.com/ sit amet'; $string3 = 'Lorem ipsum dolor http://www.site.net sit amet'; How can I extract the URL from these strings? They can be [http:// + url] or [w

RES: [PHP] Login should not allow users to login if the application is logged in with the same login credentials

2009-08-27 Thread Jônatas Zechim
Use a "DB session handler" or save a time() on the user table every refresh, when loggin verify this "time()". Zechim -Mensagem original- De: Balasubramanyam A [mailto:knowledge.wea...@gmail.com] Enviada em: quinta-feira, 27 de agosto de 2009 08:24 Para: php-general@lists.php.net Assunto

RES: [PHP] Case Conversion of US Person Names

2009-07-16 Thread Jônatas Zechim
U can try this: function fNme($n){ $tN=count($n=explode(' ',strtolower($n))); $nR=''; for($i=0;$i<$tN;$i++){if($i==0){$nR.=strlen($n[$i])>3?ucwords($n[$i]):$n[$i] ;}else{$nR.=strlen($n[$i])>3?' '.ucwords($n[$i]):' '.$n[$i];}} return $nR; } echo fNme('a

RES: [PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Jônatas Zechim
I really don’t know the differences betwen MyISAM and InnoDB yet but I’ll google for it right now. Thank u. Zechim De: Eddie Drapkin [mailto:oorza...@gmail.com] Enviada em: sexta-feira, 12 de junho de 2009 15:05 Para: Nitsan Bin-Nun Cc: Jônatas Zechim; php-general@lists.php.net

RES: [PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Jônatas Zechim
Thank u Nitsan. I’ll proceed with my app now. Zechim De: nit...@binnun.co.il [mailto:nit...@binnun.co.il] Em nome de Nitsan Bin-Nun Enviada em: sexta-feira, 12 de junho de 2009 15:01 Para: Jônatas Zechim Cc: php-general@lists.php.net Assunto: Re: [PHP] phpMyAdmin, localhost, mysql overhead

RES: [PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Jônatas Zechim
2009 14:33 Para: Jônatas Zechim Cc: php-general@lists.php.net Assunto: Re: [PHP] phpMyAdmin, localhost, mysql overhead I haven't read all your mail, I'm sorry for it in advance, but I think that you should know that "overheard" is just a blasting phrase for something

[PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Jônatas Zechim
Hi there, i have this table running on my localhost: CREATE TABLE `caffecheckout_compra_itens` ( `compra_key` varchar(23) NOT NULL, `item_id` int(5) NOT NULL, `item_valor` decimal(10,2) NOT NULL, `item_peso` decimal(5,3) NOT NULL, `item_qtd` int(3) NOT NULL, `item_data` int(10) NOT NUL

RES: RES: [PHP] CURL problems still

2009-05-12 Thread Jônatas Zechim
$file=$letters[$i+1];}break;}} #header('Location:'.$file.'.php?L='.$nextLetter); } U'll need to make A.php, B.php, C.php, D.php, etc... file, with the same content., did u get it? Zechim -Mensagem original- De: Miller, Terion [mailto:tmil...@springfi.gann

RES: [PHP] CURL problems still

2009-05-11 Thread Jônatas Zechim
Hey Guy, try to change the 'max_execution_time' ini_set('max_execution_time','1800'); -Mensagem original- De: Miller, Terion [mailto:tmil...@springfi.gannett.com] Enviada em: segunda-feira, 11 de maio de 2009 16:41 Para: PHP-General List Assunto: [PHP] CURL problems still I'm back.

RES: RES: RES: RES: [PHP] CURL error help

2009-05-08 Thread Jônatas Zechim
U r correct! It's ok know. -Mensagem original- De: Shawn McKenzie [mailto:nos...@mckenzies.net] Enviada em: sexta-feira, 8 de maio de 2009 13:34 Para: Miller, Terion Cc: Jônatas Zechim; PHP-General List Assunto: Re: RES: RES: RES: [PHP] CURL error help Miller, Terion wrote: >

RES: RES: RES: RES: [PHP] CURL error help

2009-05-08 Thread Jônatas Zechim
zechim.com São Paulo/Brazil -Mensagem original- De: Miller, Terion [mailto:tmil...@springfi.gannett.com] Enviada em: sexta-feira, 8 de maio de 2009 13:19 Para: Jônatas Zechim; Miller, Terion; PHP-General List Assunto: Re: RES: RES: RES: [PHP] CURL error help On 5/8/09 10:55 AM

RES: RES: RES: [PHP] CURL error help

2009-05-08 Thread Jônatas Zechim
natas Zechim; Miller, Terion; PHP-General List Assunto: Re: RES: RES: [PHP] CURL error help On 5/8/09 8:49 AM, "Jônatas Zechim" wrote: Try to echo the $target_url var. What's on it? Try to echo the $args var. What's on it? How do you pass the $args? I echo'd the

RES: RES: [PHP] CURL error help

2009-05-08 Thread Jônatas Zechim
eira, 8 de maio de 2009 10:27 Para: Jônatas Zechim; Miller, Terion; PHP-General List Assunto: Re: RES: [PHP] CURL error help On 5/8/09 8:04 AM, "Jônatas Zechim" wrote: Try to change this: curl_setopt($ch,CURLOPT_URL,$targets); to: curl_setopt($ch,CURL

RES: [PHP] CURL error help

2009-05-08 Thread Jônatas Zechim
Try to change this: curl_setopt($ch,CURLOPT_URL,$targets); to: curl_setopt($ch,CURLOPT_URL, $target_url); Zechim zechim.com São Paulo/Brazil -Mensagem original- De: Miller, Terion [mailto:tmil...@springfi.gannett.com] Enviada em: sexta-feira, 8 de maio de 2009 09:50 Para: PHP-General

RES: [PHP] inexplicable behaviour

2009-04-24 Thread Jônatas Zechim
Is the $Count++.. -Mensagem original- De: PJ [mailto:af.gour...@videotron.ca] Enviada em: sexta-feira, 24 de abril de 2009 21:14 Para: php-general@lists.php.net Assunto: [PHP] inexplicable behaviour Frankly, I don't know what to look for or why something so weird would happen: I have pag

RES: [PHP] help with explode()

2009-04-24 Thread Jônatas Zechim
$var = "John \"Jill\" \"Judy Smith\""; echo $var; $var2=explode("\"",$var); echo ''; print_r($var2); echo ''; $tVar=count($var2); for($i=0;$i<$tVar;$i++){if(strlen($var2[$i])<2){unset($var2[$i]);}else{$var2

RES: [PHP] paging

2009-02-10 Thread Jônatas Zechim
MySql or MsSql or other dB? -Mensagem original- De: tedd [mailto:tedd.sperl...@gmail.com] Enviada em: terça-feira, 10 de fevereiro de 2009 11:26 Para: Jim Douglas; php-general@lists.php.net Assunto: Re: [PHP] paging At 3:26 AM + 2/10/09, Jim Douglas wrote: >Does anyone have a link to

RES: [PHP] maybe we could all?

2009-02-09 Thread Jônatas Zechim
Me too.. Zechim from Brazil. -Mensagem original- De: Marcus Gnaß [mailto:gona...@gmx.de] Enviada em: segunda-feira, 9 de fevereiro de 2009 19:59 Para: nrix...@gmail.com Cc: PHP-General; Paul M Foster Assunto: Re: [PHP] maybe we could all? Nathan Rixham wrote: > Marcus Gnaß wrote: >> Nat

RES: [PHP] Read a XML (not a file)

2009-02-06 Thread Jônatas Zechim
et_element_handler($xp,"ctalk_se","ctalk_ee"); xml_set_character_data_handler($xp,"ctalk_dt"); xml_parse($xp,ctalk_fopen($u),true); print_r($f); returns an array of the XML that server.php had output. Zechim -Mensagem original- De: Jim Lucas [mailto:li..

[PHP] Read a XML (not a file)

2009-02-06 Thread Jônatas Zechim
Hi there, i want do read a XML like this: Server.php 1 teste /images/teste.jpg "; ?> How can do this? zechim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RES: [PHP] Connect local app to a web app

2009-02-05 Thread Jônatas Zechim
;> >> 2009/2/5 Paul M Foster >> >> On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote: >>>> Hi there, i'm here again, but now with another doubt. >>>> >>>> What's the best way to connect a local app write in php or php-gtk

[PHP] Connect local app to a web app

2009-02-05 Thread Jônatas Zechim
Hi there, i'm here again, but now with another doubt. What's the best way to connect a local app write in php or php-gtk to a web app writen in php. The database is MySql, and i need to do this connection every 3s to check data, get the data back and save into localhost database. -- PHP General

RES: [PHP] Bad words [SQL, database, txt, whatever]

2009-02-04 Thread Jônatas Zechim
Thank you, but i thought one of you had the .sql or .txt, .xls, etc. I had already find that results. But it's ok now.. zechim -Mensagem original- De: Andrew Ballard [mailto:aball...@gmail.com] Enviada em: quarta-feira, 4 de fevereiro de 2009 18:19 Para: Jônatas Zechim Cc: PHP-Ge

[PHP] Bad words [SQL, database, txt, whatever]

2009-02-04 Thread Jônatas Zechim
Hi there I don't know how to say 'palavrões'(i mean bad words, like f*** you, your bi***, as*) in English, but I need that. Anyone has or know where I can get a database, txt, whatever of 'bad words or 'palavrões'' zechim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RES: RES: [PHP] Mutiple SQL request

2009-02-04 Thread Jônatas Zechim
Thank i'll try these to see the perfomance.. Thanks Zechim -Mensagem original- De: Jim Lucas [mailto:li...@cmsws.com] Enviada em: quarta-feira, 4 de fevereiro de 2009 16:11 Para: Jônatas Zechim Cc: 'Bastien Koert'; php-general@lists.php.net Assunto: Re: RES: [PHP] Muti

RES: [PHP] Is it possible to send POST vars through a header redirect?

2009-02-04 Thread Jônatas Zechim
U can do it by using a session, or using a XML request via JS to save the vars. -Mensagem original- De: Morris [mailto:morris...@gmail.com] Enviada em: quarta-feira, 4 de fevereiro de 2009 16:00 Para: tedd Cc: Mike Roberts; php-general@lists.php.net Assunto: Re: [PHP] Is it possible to se

RES: [PHP] Mutiple SQL request

2009-02-04 Thread Jônatas Zechim
Can you dump the table structure to show us how you've set it up? Bastien Cat, the other other white meat Yeah, that’s it: CREATE TABLE `ctalk_admin` ( `admin_id` int(9) NOT NULL auto_increment, `admin_nome` varchar(50) NOT NULL, `admin_login_nome` varchar(32) NOT NULL, `admi

RES: [PHP] Mutiple SQL request

2009-02-04 Thread Jônatas Zechim
can i optimize this query? Is there some tutorial on the net? Thanks, Zechim De: Bastien Koert [mailto:phps...@gmail.com] Enviada em: quarta-feira, 4 de fevereiro de 2009 12:46 Para: Jônatas Zechim Cc: php-general@lists.php.net Assunto: Re: [PHP] Mutiple SQL request On Wed, Fe

[PHP] Mutiple SQL request

2009-02-04 Thread Jônatas Zechim
Hi there, i've a system that do a query each 3s, does it impact on mysql Server? I mean, can this slow my Server? zechim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RES: [PHP] Is it possible to send POST vars through a header redirect?

2009-02-04 Thread Jônatas Zechim
Try curl -Mensagem original- De: Stuart [mailto:stut...@gmail.com] Enviada em: quarta-feira, 4 de fevereiro de 2009 07:52 Para: TS Cc: php-general@lists.php.net Assunto: Re: [PHP] Is it possible to send POST vars through a header redirect? 2009/2/3 TS : > I'm trying to send vars via POST

RES: [PHP] calculate the time that day ends

2009-02-03 Thread Jônatas Zechim
Try: echo date("H:i:s", mktime(23-date("H"), 59-date("i"), 59-date("s")); -Mensagem original- De: Thodoris [mailto:t...@kinetix.gr] Enviada em: terça-feira, 3 de fevereiro de 2009 14:38 Para: Stuart Cc: php-general@lists.php.net Assunto: Re: [PHP] calculate the time that day ends > 200

[PHP] RES: IP to location / XML

2009-02-02 Thread Jônatas Zechim
Hi Nathan, i'll try max minds geo ip, that's what i want. -Mensagem original- De: Nathan Rixham [mailto:nat...@gmail.com] Enviada em: segunda-feira, 2 de fevereiro de 2009 16:13 Para: php-general@lists.php.net; Jônatas Zechim Cc: 'PHP General' Assunto: Re: IP to loc

[PHP] IP to location / XML

2009-02-02 Thread Jônatas Zechim
Hi there, I want do discover the location from a IP, I use this url ' http://www.onflex.org/geo/xml/ ', that's does a XML file, it's ok on my browser, but when i try to read this file with php: $myxml = simplexml_load_file ('http://www.onflex.org/geo/xml/'); That's gives a error: Warning: simpl

RES: [PHP] Rounded rectangle in php

2009-01-29 Thread Jônatas Zechim
Thank u, i'll try, when I do, i'll post here. zechim -Mensagem original- De: c...@l-i-e.com [mailto:c...@l-i-e.com] Enviada em: quinta-feira, 29 de janeiro de 2009 13:52 Para: php-general@lists.php.net Assunto: Re: [PHP] Rounded rectangle in php Yes, you will need four ellipses, arcs,

RES: [PHP] Rounded rectangle in php

2009-01-29 Thread Jônatas Zechim
sperl...@gmail.com] Enviada em: quinta-feira, 29 de janeiro de 2009 13:21 Para: Jônatas Zechim; php-general@lists.php.net Assunto: Re: [PHP] Rounded rectangle in php At 11:36 AM -0200 1/29/09, Jônatas Zechim wrote: >Hi there, is it possible do make a rounded rectangle in php, i can do a >ellipse, b

[PHP] Rounded rectangle in php

2009-01-29 Thread Jônatas Zechim
Hi there, is it possible do make a rounded rectangle in php, i can do a ellipse, but i need a space between the corners, i need to make something like this: http://superbrush.files.wordpress.com/2008/03/086.jpg not the color and the shadows, only the form. zechim -- PHP General Mailing List

RES: [PHP] Create $var with some function

2009-01-22 Thread Jônatas Zechim
No, that's not the point yet. -Mensagem original- De: Robert Stankiewicz [mailto:robe...@belfabriek.nl] Enviada em: quinta-feira, 22 de janeiro de 2009 10:49 Para: Jônatas Zechim; php-general@lists.php.net Assunto: Re: [PHP] Create $var with some function > function c

[PHP] Create $var with some function

2009-01-22 Thread Jônatas Zechim
Hi there, Someone know if can (if possible, how) i create a $var on my script like this: function createvar($var) { $var = 'foo'; global $var; //or global $$var, i don't know it yet. } so i'd call, createvar('myvar'); so

RES: [PHP] Finger

2009-01-15 Thread Jônatas Zechim
U can find sometinhg on http://www.phpclasses.org/, http://www.phpclasses.org/browse/package/1519.html, there's a lot of sugestions there zechim -Mensagem original- De: Sándor Tamás (HostWare Kft.) [mailto:sandorta...@hostware.hu] Enviada em: quinta-feira, 15 de janeiro de 2009 09:30 Par

RES: [PHP] Quotes in querys

2009-01-14 Thread Jônatas Zechim
Try session_start(); $sql = "SELECT Netid FROM User WHERE Netid='".$_SESSION['phpCAS']['user']."'"; -Mensagem original- De: MikeP [mailto:mpel...@princeton.edu] Enviada em: quarta-feira, 14 de janeiro de 2009 14:17 Para: php-general@lists.php.net Assunto: [PHP] Quotes in querys Hello,

[PHP] Query string question

2009-01-13 Thread Jônatas Zechim
I have something like this on my site: mysite.com/índex.php?msg=Transa%25E7%25E3o+n%25E3o+autorizada i need to convert " Transa%25E7%25E3o+n%25E3o+autorizada" to "Transação não autorizada". The letters ç ã, and others (é, í, ...). Someone can help me? -Mensagem original- De: Eric Bu