RE: [PHP] populate form input option dropdown box from existing data

2009-06-17 Thread Yuri Yarlei
sorry, maybe I have been lazy in that comment, I admit, whem wrote that solution I was in a such hurry and without time. I dont really read what I wrote, but now I think this solution is good. select name=categories multiple style='width:120px;height:150px' ? $sql = SELECT id,name FROM

RE: [PHP] populate form input option dropdown box from existing data

2009-06-17 Thread Yuri Yarlei
== $row ? selected : ) /option Yuri Yarlei. http://brasil.microsoft.com.br/IE8/mergulhe/?utm_source=MSN%3BHotmailutm_medium=Taglineutm_campaign=IE8 Yuri, I'm still wet behind the ears on this so I don't quite understand what you mean by stored data ; and what

RE: [PHP] sloppiness stupidity

2009-06-17 Thread Yuri Yarlei
I agree, this list is to learn and improve skills in php laguage. not to discriminate the others when they try to help someone or trying to learn somethings Date: Tue, 16 Jun 2009 20:50:57 -0400 From: asny...@noloh.com To: af.gour...@videotron.ca; php-general@lists.php.net Subject: RE:

RE: [PHP] Object of class could not be converted to string

2009-06-18 Thread Yuri Yarlei
But what you trying to pass to the variable? I already see this error, but I see when I write $$ in the variable, you can see if you have some $$ in variables or try casting type with the function settype(); ex: settype($foo, array); settype($foo, integer); settype($foo, string); Or maybe in

RE: [PHP] Object of class could not be converted to string

2009-06-18 Thread Yuri Yarlei
in your class you did not declare the variable ex: private $var1 = NULL; private $var2 = NULL; Yuri Yarlei From: ang...@elemental.co.za To: php-general@lists.php.net Date: Thu, 18 Jun 2009 13:20:59 +0200 Subject: [PHP] Object of class could not be converted to string Dear all, We

RE: [PHP] isset question

2009-06-18 Thread Yuri Yarlei
['mort']) !empty($_POST['mort']) ? The mortgage amount is $mort\n : ); or $msg.= ($_POST['mort'] == '' ? The mortgage amount is $mort\n : ); or $msg.= (strlen($_POST['mort']) 0 ? The mortgage amount is $mort\n : ); Yuri Yarlei. Programmer PHP, CSS, Java, PostregreSQL; Today PHP, tomorrow

RE: [PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Yuri Yarlei
Check the mysql user permissions, then check the root directory permissions, if you use some .htacess file, check this to. This error occurs when you have, permissions errors, server is not working well, .htacess errors and other things, try acess your script to with http://127.0.0.1 Yuri

RE: [PHP] guide me please

2009-06-29 Thread Yuri Yarlei
' '?' maybe this error will go away Yuri Yarlei. Programmer PHP, CSS, Java, PostregreSQL; Today PHP, tomorrow Java, after the world. Kyou wa PHP, ashita wa Java, sono ato sekai desu. Date: Mon, 29 Jun 2009 15:10:22 +0530 From: sures...@zensar.com To: php-general@lists.php.net Subject: [PHP] guide me

RE: [PHP] Session Confusion.

2009-07-22 Thread Yuri Yarlei
, if you want more security for some variables, encode just these for 4 One of the intentions of the session is store informations for the easy aplication access for 5 I think its not a good idea, the ip can change in the middle of the aplication Yuri Yarlei. Programmer PHP, CSS, Java

RE: [PHP] putenv usage

2009-07-22 Thread Yuri Yarlei
You can use the date_default_timezone_set(), it will set the default timezone to your timezone choose, some server denied the access to the environment variable Yuri Yarlei. Programmer PHP, CSS, Java, PostregreSQL; Today PHP, tomorrow Java, after the world. Kyou wa PHP, ashita wa Java, sono

RE: [PHP] Renaming all variables in a repository

2009-07-23 Thread Yuri Yarlei
In a project with this large number of files, is better if you let the way it is, doing this now you can crash the project and lost much much time. Yuri Yarlei. Programmer PHP, CSS, Java, PostregreSQL; Today PHP, tomorrow Java, after the world. Kyou wa PHP, ashita wa Java, sono ato sekai desu

RE: [PHP] Single Quotes in Form Inputs

2009-07-27 Thread Yuri Yarlei
I think mysql_real_escape_string() is work well, but if you are use mysql db, if you are using another db, the best function is addslashes but for another special charactes you will need treat them with another ways Yuri Yarlei. Programmer PHP, CSS, Java, PostregreSQL; Today PHP, tomorrow

RE: [PHP] isset not functioning

2009-08-03 Thread Yuri Yarlei
= $firstName; } else { $name = 'Sir or Madam'; } Yuri Yarlei. Programmer PHP, CSS, Java, PostregreSQL; Today PHP, tomorrow Java, after the world. Kyou wa PHP, ashita wa Java, sono ato sekai desu. Date: Mon, 3 Aug 2009 10:08:08 -0700 From: allenmcc...@gmail.com To: parha...@gmail.com CC

RE: [PHP] What makes _SERVER stop working

2009-08-03 Thread Yuri Yarlei
Maybe the $_SERVER variable has been disable in the server, if is it, you will just need enable the $_SERVER again Yuri Yarlei. Programmer PHP, CSS, Java, PostregreSQL; Today PHP, tomorrow Java, after the world. Kyou wa PHP, ashita wa Java, sono ato sekai desu. From: tmil

RE: [PHP] Spam opinions please

2009-10-20 Thread Yuri Yarlei
I agree, o good captcha will be better, but the idea to redirect can be better, you can save in db the ip, and send then to fbi in a periodic time. Yuri Yarlei. www.yuriyarlei.net (under construction) Programmer PHP, CSS, Java, PostregreSQL; Today PHP, tomorrow Java, after the world. Kyou wa

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Yuri Yarlei
Hi all, If the basic functions of php not work, maybe the extension for php5 or 4 are disabled, or the library is missing, sometimes apache does not show the erros for missing library, or yet, the library for php4 or 5 are both on, or they crash Yuri Yarlei. www.yuriyarlei.net (under

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Yuri Yarlei
Hi all, If the basic functions of php not work, maybe the extension for php5 or 4 are disabled, or the library is missing, sometimes apache does not show the erros for missing library, or yet, the library for php4 or 5 are both on, or they crash Yuri Yarlei. www.yuriyarlei.net (under

RE: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Yuri Yarlei
Ash, I think the apache is working, because he recieve the error [27-Oct-2009 13:05:00] PHP Fatal error: Call to undefined function, if apache are not started he will receive some error about apache starting or someting like that. Yuri Yarlei. http://www.yuriyarlei.net.net (under

[PHP] [OFF] Looking a developer team

2010-06-17 Thread Yuri Yarlei
, PLSQL, JAVA... ATT, Yuri Yarlei. Programmer PHP, JAVA, CSS, ORACLE 10g, PostgreSQL;

[PHP] Integrating zend-facebook error

2010-10-31 Thread Yuri Yarlei
to integrate facebook to some php site? Atenciosamente, Yuri Yarlei. www.yuriyarlei.net (under construction) Programmer PHP, JAVA, CSS, ORACLE 10g, PostgreSQL; Next step is the SCJP. Se você ainda não esta com dor de cabeça, é por que ainda cabe um pouco mais de conhecimento.

[PHP] ZCE

2011-08-23 Thread Yuri Yarlei
Hi, I like to share with the list, that I passed in the ZCE and now I'm a Zend Certified Engineer. I did a post when I started studying in my blog: http://www.yuriyarlei.net/en/zend-php-certification Att, Yuri Yarlei. OCJP 6, ZCE - Zend Certified Engineer for php 5.3 www.yuriyarlei.net/en

[PHP] Zend Framework Tutorial

2012-01-30 Thread Yuri Yarlei
Hi people, I wanna share the tutorial about Zend Framework there I'm doing http://www.yuriyarlei.net/en/zend-framework-how-to-develop-introduction Att, Yuri Yarlei. Java - OCJP 6 ZCE - Zend Certified Engineer for php 5.3 www.yuriyarlei.net/en PHP, JAVA, CSS, ORACLE 10g, PostgreSQL;

[PHP] Tutorial zend framework p2

2012-02-11 Thread Yuri Yarlei
Hello, The second part of Zend Framework is now on my blog, this time is about layouts http://yuriyarlei.net/en/zend-framework-how-to-develop-layouts Yuri Yarlei. http://www.yuriyarlei.net.net (under construction) Programmer PHP, JAVA, CSS, PostregreSQL; Today PHP, tomorrow Java, after