functions. Unfortunately I can't share the code here, due to ethics
contract. But I'll stay in touch in the discussion group you've sent and
keep informed. Certainly I'll find more PHP/Firebird developers there.
Sincerely,
2012/9/21 Lester Caine les...@lsces.co.uk
Davi Marcondes Moreira wrote
.
The question is: why the warning message was removed, and now this
extension is safe for use, without risks of being discontinued or
depreciated?
Sincerely,
--
Davi Marcondes Moreira
+ Info: http://about.me/davi.m.moreira
Usually a single transaction is faster than an insert a time (with or without
union)
What do you mean?
START TRANSACTION;
INSERT;
INSERT;
INSERT;
COMMIT;
Is that?
Thank you very much
davi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
;
}
elseif (strlen($_POST[ISBNIN]) == 0 ) {
$obligatoryFieldNotPresent = 1;
}
elseif (strlen($_POST[languageIN]) == 0 ) {
$obligatoryFieldNotPresent = 1;
}
elseif (!empty($_POST['categoriesIN'])) {
$obligatoryFieldNotPresent = 0;
}
--
Davi R. Tavares
outputed.
I would like to output xml even on fatal errors (in that case, telling that
something gone wrong). I tried using register_shutdown_function but it is
crashing (as the nature of fatal errors that make the envirionment
unstable).
Any idea?
Thanks!
--
Davi R. Tavares
,
but it crashes when using my php stream mock implementation (that I use to
simulate calls to the script).
Thanks anyway Nathan!
PS. Is there some plan to make PHP full exception-ready, dropping the usual
way of return values?
Davi
On Fri, Feb 27, 2009 at 9:51 PM, Nathan Rixham nrix
not work.
I have the backtrace and a ready to debug environment (PHP 5.2.6 and Apache
2.2) with GDB.
--
Davi R. Tavares
On Monday 13 October 2008 13:44:27 TG wrote:
I concede only that the PHP list has a requested style (bottom posting). I
disagree on it's usefulness OVER top posting.
So, this is the only list that you read.
--
Davi Vidal
--
E-mail: davividal at siscompar dot com dot br
MSN
/dev/sda1
;)
Butterflies. :-)
http://xkcd.com/378/
--
Davi Vidal
--
E-mail: [EMAIL PROTECTED]
MSN : [EMAIL PROTECTED]
GTalk : [EMAIL PROTECTED]
Skype : davi vidal
YIM : davi_vidal
ICQ : 138815296
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
in format [EMAIL PROTECTED]
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Por favor não faça top-posting, coloque a sua resposta abaixo desta linha.
Eu não respondo top-post/HTML post. Obrigado.
Please don't do top-posting, put your reply
a personal visit counter, run away OOP.
If you're talking about a really big project (And yes, CMS _is_ a big
project), go ahead and use OOP.
OOP is better to mantain... :-)
HTH
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Religion, ideology, resources, land,
spite
Em Quarta 06 Junho 2007 02:50, Jim Lucas escreveu:
Chris wrote:
Davi wrote:
Em Terça 05 Junho 2007 23:52, [EMAIL PROTECTED] escreveu:
That's exactly correct. Except I /think/ you should use \n instead of
'\n'.
array explode ( string $delimiter, string $string [, int $limit] )
So
Em Quarta 06 Junho 2007 10:54, Davi escreveu:
But... Why does it happen:
[code]
$object=mysql_fetch_object($result);
$texto = $object-texto;
$texto=preg_replace(/\r|\n/,,stripslashes($texto));
echo $texto;
[/code]
[output]
Teste
\r\nde formatação!
\r\nTudo funcionando...
\r\n
Em Quarta 06 Junho 2007 13:20, Jim Lucas escreveu:
Davi wrote:
Em Quarta 06 Junho 2007 10:54, Davi escreveu:
But... Why does it happen:
[code]
$object=mysql_fetch_object($result);
$texto = $object-texto;
$texto=preg_replace(/\r|\n/,,stripslashes($texto));
echo $texto
Hi all.
I've the fowlling string:
$_POST[my_text]=hi...\nthis is my multi-line\ntext;
Can I use explode to have something like:
$str[0]=hi...;
$str[1]=this is my multi-line;
$str[2]=text;
$str=explode($_POST[my_text],'\n');
TIA and sorry the *very* poor english.
--
Davi Vidal
[EMAIL
, probaly, is:
$str=explode(\n,$_POST[my_text]);
Thank you very much.
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Religion, ideology, resources, land,
spite, love or just because...
No matter how pathetic the reason,
it's enough to start a war
Em Quarta 06 Junho 2007 00:18, Chris escreveu:
Davi wrote:
Em Terça 05 Junho 2007 23:52, [EMAIL PROTECTED] escreveu:
That's exactly correct. Except I /think/ you should use \n instead of
'\n'.
So, I was wrong...
The right way, probaly, is:
$str=explode(\n,$_POST[my_text
appreciate it.
HTH
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Religion, ideology, resources, land,
spite, love or just because...
No matter how pathetic the reason,
it's enough to start a war.
Por favor não faça top-posting, coloque
Em Quinta 31 Maio 2007 16:38, Jason Pruim escreveu:
while($result_row = mysql_fetch_array($result) {
Worked perfectly after adding a closing ) Thanks for the tip!
Forgive me for that!!! #'_'#
I *always* forget the closing )... =P
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED
=$today
LIMIT 0 , 30 ';
I have assigned $today this way $today=date(Y-m-d);
Can you tell me what I did wrong??
Sure! =)
You must scape your PHP variables in any SQL query...
Try this:
$query=SELECT *
FROM `joblisting`
WHERE open = '$today'
LIMIT 0,30;
HTH
--
Davi Vidal
[EMAIL PROTECTED
Em Terça 22 Maio 2007 22:39, Robert Cummings escreveu:
On Tue, 2007-05-22 at 21:13 -0400, [EMAIL PROTECTED] wrote:
Mom! Dad! Stop fighting!
In case anyone is wondering... I'm the Dad!! :)
Just read my sig... =)
Time to sleep... Good bye! =)
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL
],
you'll get better results...
[1] - http://archives.gentoo.org/gentoo-user-br/msg_11719.xml
[2] - www.gentoo.org
HTH
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Religion, ideology, resources, land,
spite, love or just because...
No matter how pathetic the reason,
it's enough to start
months ongoing. $560/day C2C.
Hands up everyone who uses the Photoshop IDE...
=P
_o/
hehehe
How can I do an while loop in Photoshop CS 3?? =]
Using the pen tool? On which layer?
thanks! =]
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Religion, ideology, resources, land,
spite, love
to the Gimp IDE :)
MS Paint or Xpaint sounds little better to me... =]
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Religion, ideology, resources, land,
spite, love or just because...
No matter how pathetic the reason,
it's enough to start a war.
pgpwVNnRgmJnk.pgp
Description: PGP
()?
HTH
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Religion, ideology, resources, land,
spite, love or just because...
No matter how pathetic the reason,
it's enough to start a war.
pgpqTKyP488jG.pgp
Description: PGP signature
to the correct name,
php.ini, and now phpinfo shows C:\PHP\php.ini
so i know it's finding the right file.
still the same problem, though.
Yeah... But you must look at mysql section in phpinfo()...
If it's there, all must work fine... Otherwise, you must check your php.ini...
--
Davi Vidal
[EMAIL
! =]
But... Consider reply to list next time... =]
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Religion, ideology, resources, land,
spite, love or just because...
No matter how pathetic the reason,
it's enough to start a war.
pgplrhIY4ZYw1.pgp
Description: PGP signature
);
}
?
The problem is I get a java.lang.ClassNotFoundException.
Is there a way to change a reference like this
'on-the-fly' so to speak?
Is my code wrong and this method can be modified
to work?
Change the content-type?
I don't known how to do it... But I would try it... =]
HTH
--
Davi Vidal
[EMAIL
Em Segunda 07 Maio 2007 16:46, Joey escreveu:
Does anyone know of any good open source CMS system? ( content management
system )
XOOPS is a good one...
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Religion, ideology, resources, land,
spite, love or just because...
No matter how
an php-list... =]
HTH
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Religion, ideology, resources, land,
spite, love or just because...
No matter how pathetic the reason,
it's enough to start a war.
pgp5RWUxpURPp.pgp
Description: PGP signature
Em Terça 24 Abril 2007 10:07, Tijnema ! escreveu:
On 4/23/07, Davi [EMAIL PROTECTED] wrote:
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
?php $MAC = system(arp 192.168.200.254); echo $MAC; ?
does not give me any
Em Terça 24 Abril 2007 10:49, Tijnema ! escreveu:
On 4/24/07, Davi [EMAIL PROTECTED] wrote:
How you'll type your root pwd? =P
Something with the proc_* functions as you need bi-directional streams
(input/output). Something like this: (not tested, partly copied form
example 1926)
?php
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
Most people will listen to your unreasonable demands, if you'll consider
their unacceptable offer.
pgp7magXR3qDc.pgp
Description: PGP signature
a look at PHP metting [1] and PHP-wiki [2]... =]
[1] - http://www.php.net/~derick/meeting-notes.html
[2] - http://oss.backendmedia.com/PhP60
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
Many have marked the speed with which Muad'Dib learned the necessities of
Arrakis
);
inside of /tmp/ttt.txt I can see
Vérifie que le service
Charset issue?? =P
What's the charset of your DB?
What's the charset of your Debian sys?
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
Carpal Tunnel Syndrome? No. Lumber Lung? No. Jugglers despair
mac.txt: ASCII text
[EMAIL PROTECTED] ~/documentos/txt $ file noob.txt
noob.txt: UTF-8 Unicode text
[EMAIL PROTECTED] ~/documentos/txt $ file endereços.txt
endereços.txt: ASCII text
[EMAIL PROTECTED] ~/documentos/txt $ file coisas.txt
coisas.txt: UTF-8 Unicode English text
--
Davi Vidal
[EMAIL
and Settings/Davi/Desktop/stellar/codigo/php/combate.php
/mnt/win1/Documents and Settings/Davi/Meus
documentos/stellar/codigo/php/combate.php
/mnt/win3/backup 021106/Desktop/jogos/combate.php
/mnt/win3/backup 021106/Desktop/stellar/combate.php
/mnt/win3/backup 021106/Desktop/stellar/stellar
cd / ls php -Rv
END-IF
END-IF
END-IF
ELSE
cd \
dir php*.exe /s
END-IF
Check if I don't miss any END-IF... =P
[]s
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
rugged, adj.:
Too heavy to lift.
--
PHP General Mailing List (http://www.php.net
buildInt(){
echo MY_FORM
!--Script 10.1- calculator.php--
form action=calculator.php method=post
//Form elements omitted for brevity
/form
MY_FORM;
}
Enjoy!! =]
[1] - http://www.php.net/manual/en/function.echo.php
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com
/advantages.html
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
You know you're using the computer too much when:
when your life becomes routine enough to write a script to do it for you.
-- smonijhay1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
solution... And use the max security you can and charge for
security updates!! =P
It's what *I* would do, at least...
Thanks again,
Siavash
Well... Sorry my poor english and let me known if you don't understand
*anything*...
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com
that, the answer to your question is... not unless your code
is exploitable to allow the user to arbitratily set session variables.
-Stut
Sessions are stored in the temporary's server folder... So... If I known my
session ID and where it's stored, I can do something...
--
Davi Vidal
[EMAIL PROTECTED
authenticated, also storing a username?
And if that's not the case, then you could authenticate by creating a
cookie where it says authenticated = yes, and you're authenticated...
Tijnema
... and we get a security crater... =]
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com
Em Segunda 09 Abril 2007 13:05, Robert Cummings escreveu:
(...) Hasn't anyone here had a boring
day (yeears ago) when they created an auto vote bot for some stupid
poll? :B
I never do this!!! =P
But I changed a cookie of an browser game XD
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL
Em Segunda 09 Abril 2007 13:47, Martin Marques escreveu:
Davi escribió:
Sessions are stored in the temporary's server folder... So... If I known
my session ID and where it's stored, I can do something...
Have you tried it? I mean, as a non-root, non-apache user. :-P
No. And I known
)
$results=mysql_num_rows($result)
if($results==0)
{
echo no result found;
}
elseif($results0)
{
echo Some error? .mysql_error();
}
else
{
//your code here
}
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
I imagine bugs and girls have a dim perception that nature
Hi all!
I'm developing an OOP app using PHP 5.
I want to use try-catch with mysql functions.
So, the question is: what are the exceptions classes of MySQL?
Where can I found it?
TIA
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
BOFH Excuse #426:
internet
(SELECT_EXCEPTION $e)
{
echo Impossible select db: .$e-get_message();
}
catch (ANOTHER_USEFUL_EXCEPTION $e)
{
echo another error: .$e-get_message();
}
catch (Exception $e)
{
echo Unknown error: .$e-get_message();
}
I'm right?
TIA
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com
What about you develop your personal web log?
Later, you can develop your own personal calendar, to schelude that importante
meeting...
And going to make your own portfoilo... =]
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
Al, there are plenty of good people
...
BTW, I liked your solution (store in DB)... I would use it...
[]s
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
If a nation values anything more than freedom, it will lose its freedom;
and the irony of it is that if it is comfort or money it values more, it
will lose
] - www.f2b.com.br
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
FORTUNE'S RANDOM QUOTES FROM MATCH GAME 75, NO. 1:
Gene Rayburn: We'd like to close with a thought for the day, friends ---
something ...
Someone: (interrupting) Uh-oh
Gene Rayburn
Em Domingo 08 Abril 2007 18:54, Jochem Maas escreveu:
So... What about PayPal or another similar service?? =]
well:
a, your not paypal or F2B.
b, they are both payment providers.
Sorry... I didn't understand! =x
[]s
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com
a better way to store/recall functions?
R.
For my projects, I'm using OOP... =]
But if your projects are just contact forms, you don't need OOP.
I believe that just split your files is a good way! =]
[]s
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
Fortune finishes
and also
tell me some other IDE's if possible
Does anyone knows any IDE for PHP like VisualStudio.net?
TIA
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
Beneath this stone lies Murphy,
They buried him today,
He lived the life of Riley,
While Riley was away.
--
PHP General
=http://www.mypage.com/arc_inc.htm
o/
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
The government is not the surplus's money, Vice President.
George W. Bush
November 5, 2000
From The Washington Post.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
) {
if ( file_exists ( HTML.$_GET[catcode]...$file_ext ) )
{
$exists = true;
break;
}
}
if ( ! ( $exists ) ){
include ( 404.php );
}
else {
include ( HTML.$_GET[catcode]...$file_ext );
}
?
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL
=art
http://arubaguide.org/arubaguide/categories.php?catcode=blabla
Well... Check some typing issue... =P
This code is working for me... =]
http://www.turbineseusite.com.br/index.php?cat=contate-nos
http://www.turbineseusite.com.br/index.php?cat=blablabla
[]s
--
Davi Vidal
[EMAIL PROTECTED
and also
tell me some other IDE's if possible
Zend Studio.
http://www.zend.com
[]s
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
I did this 'cause Linux gives me a woody. It doesn't generate revenue.
-- Dave '-ddt-` Taylor, announcing DOOM for Linux
--
PHP General
');
exit;
}
?
Try
$found_catcode=$row_show_cat['catdode'];
instead
$found_catcode = $show_cat['catcode'];
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
Marge: You will not be getting a tattoo for Christmas.
Homer: Yeah. If you want one, you'll have to pay
My mistake:
Try
$found_catcode=$row_show_cat['catcode'];
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
Thus mathematics may be defined as the subject in which we never know
what we are talking about, nor whether what we are saying is true
$dir = opendir(SEARCH_DIR);
12 while($file = readdir($dir))
13 if($file != '.' $file != '..' $file != THIS_FILE
14 amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;am
15 p;amp;amp; $file != CACHE_FILE)
16 {
17 $files[] = $file;
18 }
Try remove the amp;s...
[]s
--
Davi
Hi all.
I've reading on some sites [1,2] that PHP 6 is comming soon...
What should I do?
Migrate my server and apps to PHP 5 now and, later to PHP 6, or wait some more
time and migrate all to PHP 6?
TIA
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
The main thing
, $_GET and $_POST instead $_HTTP_SESSION_VARS and
$_REQUEST...
best regards,
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
A young girl once committed suicide because her mother refused her a new
bonnet. Coroner's verdict: Death from excessive spunk
Em Terça 27 Março 2007 17:02, Dave Goodchild escreveu:
use: $_POST['max_id'] ==
or even better:
if (empty($_POST['max_id']))
Why not:
if (!(isset($_POST[max_id)))
?
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
Around computers it is difficult to find
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
Take a lesson from the whale; the only time he gets speared is when he
raises to spout.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
) it returns nothing
at all.
How about:
print_r($row_info);
??
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
agaffney I want to be so bleeding edge that I cut myself!
robbat2 agaffney, no, that's just emo
agaffney Gentoo is emo :P
--
PHP General Mailing List (http
returns nothing.
On 3/27/07, Davi [EMAIL PROTECTED] wrote:
Em Terça 27 Março 2007 17:40, Dan Shirah escreveu:
I have echoed something out after virtually every line of code :)
When I echo out my result ($result_info) it returns Resource id#2
When I echo out my
$cc_first;*
the above echo still returns nothing.
On 3/27/07, Davi [EMAIL PROTECTED] wrote:
Em Terça 27 Março 2007 17:40, Dan Shirah escreveu:
I have echoed something out after virtually every line of
code :)
When I echo out my result ($result_info
...
Somebody please, help me.
My environment is the following one:
- COMPUTER K6-2 500
- HD 10GB, MEM RAM 64 MB
- WINDOWS 2000 ADVANCED SERVER
- INFORMIX NT 7.31
Thanks!
Davi Costa
69 matches
Mail list logo