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
I don't think so, but I've found this (from PT-BR LIST): $string = 'Lorem ipsum dolor http://site.com sit amet lorem www.google.com '; preg_match_all('!(?:http://|www)[^ ]*!',$string,$links); print_r($links); Zechim -Mensagem original- De:

[PHP] Extract links from strings

2009-09-21 Thread Jônatas Zechim
ngs? They can be [http:// + url] or [www. + url]. Zechim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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-g

RES: [PHP] Case Conversion of US Person Names

2009-07-16 Thread Jônatas Zechim
n[$i];}} return $nR; } echo fNme('a aaa aa aa '); And also make an array inside this function for exceptions like 'vander' or other words which the srtlen is > 3. Zechim -Mensagem original- De: phphelp -- kbk [mailto:phph...@comcast.net] En

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
I have other tables running but only this give me ‘overhead’. I’d know why this table does this and if is bad for my MySQL Server? Is there anyway to avoid it? 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

[PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Jônatas Zechim
UPDATE item_qtd=item_qtd+1 And after: DELETE FROM caffecheckout_compra_itens WHERE compra_key='12448259804a32897ce1116' Zechim -Mensagem original- De: Andrew Ballard [mailto:aball...@gmail.com] Enviada em: sexta-feira, 12 de junho de 2009 09:38 Para: revDAVE Cc: php-gene

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
Look: var/www/vhosts/getpublished.news-leader.com/httpdocs/Warrants/inc/dom.php Is ‘getpublished.news-leader.com’ really a folder? Are u using mod_rewrite? I do thing u r passing a wrong $args var, can u send me the files on a *.zip? If u can: zechim@gmail.com Zechim

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

2009-05-08 Thread Jônatas Zechim
Ok, but u need to confirm the $args vars are being passed to that funtion, because I thing they're blanks. 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 11:52 Para: Jô

RES: RES: [PHP] CURL error help

2009-05-08 Thread Jônatas Zechim
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? Zechim zechim.com São Paulo/Brazil -Mensagem original- De: Miller, Terion [mailto:tmil...@springfi.gannett.com] Enviada em: sexta-f

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

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
i=0;$i<$tVar;$i++){if(strlen($var2[$i])<2){unset($var2[$i]);}else{$var2 [$i]=trim($var2[$i]);}} $var2=array_values($var2); echo ''; print_r($var2); echo ''; Is that u want? Zechim SP/Brazil -Mensagem original- De: Adam Will

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ß wr

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
Ok, i have a app running on a website writen in php that insert data into a database(web) every 3s all day long, and I need to get this data(every 3s too) and save into local database, both are mysql database, but I don't know the best way to do it, with socks, XML, XML-RPC. Thanks Z

[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://

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
That's gives a error: Warning: simplexml_load_file() [function.simplexml-load-file]: http://www.onflex.org/geo/xml/:8: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xE3 0x6F 0x20 0x50 * Anyone Who might help me with this? zechim -- PHP General Mailing List (http://

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 elli

RES: [PHP] Rounded rectangle in php

2009-01-29 Thread Jônatas Zechim
Hi Tedd, i cant imagine doing that pic i've show to u, follow me, I must do 4 ellipse and 1 rectangle and union all to make a rounded rectangle? My problem now is the geometry. *--* | | *--* It can be this? zechim -Mensagem original- De: tedd [mailto:tedd.

[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

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

Re: [PHP] imagejpeg, imagecreatefromjpeg both choke

2009-01-09 Thread Zechim
try, header('Content-type: image/jpeg'); $image = imagecreatefromjpeg($your_file); imagejpeg($image,"", 100); imagedestroy($image); zechim Brian Dunning escreveu: I'm trying a stripped down test just to try to get this work. I have a valid jpeg on disk

Re: [PHP] can a session be used in a query?

2009-01-07 Thread Zechim
$query = "SELECT * FROM admin WHERE AdminID = ".$_SESSION['your_session_name'].""; ?> that's a basic example, did u try it? Terion Miller escreveu: I am still struggling with getting my sessions and logins to pull just the allotted data that each user is allowed... I have the sess

[PHP] php-gtk2, anyone?

2009-01-07 Thread Zechim
anyone who works with php-gtk2 and can tell me if I can make something like msn, skype, a little chat (is it possible to connect to a webserver and sabe in my local server using gtk2?) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] IE7 forçando download de arquivo *.p hp

2009-01-06 Thread Zechim
Boa tarde pessoal, estou com um problema no ie7, tenho um atendimento on-line em um site, funciona corretamente em outros browers, mas no ie7, quando tento abrir a página do chat, ela força o download e não exibe o html na tela, como se fosse um link para download. -- PHP General Mailing List