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
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
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
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:
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
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
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
I really dont know the differences betwen MyISAM and InnoDB yet but Ill
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
Thank u Nitsan. Ill 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
I have other tables running but only this give me overhead.
Id 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
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
$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
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.
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:
>
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
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ô
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
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
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
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
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
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
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..
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
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
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
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
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://
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
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
Can you dump the table structure to show us how you've set it up?
Bastien
Cat, the other other white meat
Yeah, thats 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
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
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
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
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
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
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://
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
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.
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
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
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
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
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,
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
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
$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
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
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
49 matches
Mail list logo