nsion
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
> Davi Marcondes Moreira
tension is now secure for project needs.
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
y($_POST['categoriesIN'])) {
$obligatoryFieldNotPresent = 0;
}
--
Davi R. Tavares
tware 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
work,
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, Natha
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
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
> > > pico :-)
> >
> > ed baby; its all about ed!
>
> hexedit /dev/sda1
>
> ;)
>
Butterflies. :-)
http://xkcd.com/378/
--
Davi Vidal
--
E-mail: [EMAIL PROTECTED]
MSN : [EMAIL PROTECTED]
GTalk : [EMAIL PROTECTED]
Skype : davi vidal
YIM : davi_vid
or if I try to use my mail address ([EMAIL PROTECTED]) it
will be rejected?
My e-mail address isn't in format [EMAIL PROTECTED]
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Por favor não faça top-posting, coloque a sua re
ct?
If you're talking about 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]
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);
> >>
>
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;
>
> [/c
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
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 w
$limit] )
So, I was wrong...
The right way, 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 beca
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&
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
[EM
nt
> WHERE FName like '%jason%' which works in MySQL
>
> I can't find any errors in my log files to even give me a hint as to
> what is going on.
>
> If someone could take a look I would greatly appreciate it.
>
HTH
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTE
; $query = 'SELECT *
> FROM `job listing`
> WHERE open >=$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:
$q
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! =)
--
D
ot; means: use a _good_ Linux distro... If you can use Gentoo [2],
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, l
eryone who uses the Photoshop IDE...
> >
> > Ohh! That's in CS3 right?!? Cool! I've gotta get me one of those!
>
> I'm much more partial to the Gimp IDE :)
>
MS Paint or Xpaint sounds little better to me... =]
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
similar. Jersey City,
> > NJ, 6 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]
--
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 be
ethod 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 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. "
pgplWVNgnpSCv.pgp
Description: PGP signature
gt; someone you know.
>
Sure! =]
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
ust work fine... Otherwise, you must check your php.ini...
--
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. "
pgpD6oFhyNR4X.pgp
Description: PGP signature
; ?>
>
> and I get the error:
>
> *Fatal error*: Call to undefined function mysql_connect()
>
> any ideas?
>
First: have you tried mysql-cli?
Second: have you take a look at phpinfo()?
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
Skip
First: use aptitude instead apt-get... =]
Second: use an debian-list to debian's questions instead 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: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, part
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:
> > > >
> > > > does not give me
r the root password... How can you do
that?
sudo sounds a little better... But... How about security?
>
> If not, you can't do that.
And with a shell-script outputting the MAC to a .txt temp file, reading it
from the PHP script?
BTW, have a look at suPHP [1]... =]
[1] - http://www
read to keep up to date?
>
Have 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
t;echo '$description' >> /tmp/ttt.txt");
>
> 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
text
[EMAIL PROTECTED] ~/documentos/txt $ file coisas.txt
coisas.txt: UTF-8 Unicode English text
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
"If you see an onion ring -- answer it!"
pgpOz8zJQat5e.pgp
Description: PGP signature
0m6.600s
sys 0m20.200s
/mnt/win1/Documents 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
| grep -iE "php$"
ELSE
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.:
1062 becaue it's just a duplicate key insert, and that means I've
> already dealt with whatever I was trying to insert, and just don't
> care.
>
> --
BTW, thanks a lot... =]
[1] - http://ehuss.org/mysql/api/mysql.exceptions-module.html
[2] -
http://java.sun.com/docs/boo
expected '<' in /Users/chris/Sites/php/
> oop/class.calculator.php on line 20"
>
> What concept did I miss, if some online reference is available please
> pass along?
You can have a look at echo docs [1]. You'll found intersting things there...
=]
What about:
an
empoyler... =p
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
o "Impossible connect: ".$e->get_message();
}
catch (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
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:
i
> echo "Found";
>
> Use isset.
>
> if (!isset($result)) {
> echo "No result found";
> }...
>
> Lori
$result is set ($result = mysql_query($query))...
compare to 0 is satisfatory:
$result=mysql_query($query)
$results=mysql_num_rows($result)
if($results=
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, no
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
t? The user authenticated himself, so what is he gonna crack?
>
> Yes, but i guess you're not only storing if the user has
> authenticated, also storing a username?
>
> And if that's not the case, then you could authenticate by creating a
> cookie where it says authenticated
ut
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]
[EMAIL PROTECTED]
--
Agora com fortune:
"Welcome to alt.os.linux.slackwre. We hope you will enjoy your stay.
nown... But it was my job... If I don't do it, I would lose money
and... Another do that!!!
Simple: do a "license agreement" that isents you about *any* legal implication
about the PHP solution... And use the max security you can and charge for
security updates!! =P
It's what *I
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
than assume the riscs... =]
[]s
[1] - www.paypal.com
[2] - 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 ---
t; Thanks a lot in advance,
> Siavash
Just one thing: how about cript the DB data with base64 or anything else?
Some PGP key... Whatever...
JMO...
BTW, I liked your solution (store in DB)... I would use it...
[]s
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
&qu
them.
>
> Does anyone have 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 PRO
you please help me decide
> 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 liv
include_cache.html');
7 else
8 {
9 $output = '';
10 $files = array();
11 $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;am
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
ode']);
> }
> mysql_select_db($database_arubaguide, $arubaguide);
> $query_show_cat = sprintf("SELECT id, catcode, category_name, name, text,
> slogan, main_img FROM items WHERE catcode = %s ORDER BY name ASC",
> GetSQLValueString($colname_show_cat, "text&quo
you please help me decide
> 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.
ide/categories.php?catcode=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
o a 404 page. but
> this works only if the URL is totally wrong. like www.arubaguide.org/blabla
> but not www.arubaguide.org/categories.php?catcode=blabla
>
>
Try something like that:
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
"[Peter and his friend
ctivities
>
>
>
>
>
> $cat_item = $_GET['catcode'];
> if(file_exists($cat_item)) {
> include "$cat_item";
> }
> else {
> include "404.php";
> exit;
> }
>
include exploit:
arq_inc.htm:
window.location="www.mypage.com";
t
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
_name
> > >> 2) the field first_name is empty in the row
> > >>
> > >> greets
> > >> Zoltán Németh
> > >>
> > >> > On 3/27/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
> > >> > > print_r($row_info) displa
> > Zoltán Németh
> >
> > > On 3/27/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
> > > > print_r($row_info) display the entire column contents of the select
> > > > id
> > > >
> > > > However,
> > > >
> > > > *$first = $row_i
ield from my array($my_info) it returns nothing
> at all.
>
How about:
print_r($row_info);
??
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Agora com fortune:
" I want to be so bleeding edge that I cut myself!
agaffney, no, that's just emo
Gentoo is emo :P"
--
PHP G
probably english"... I don't really know how to store those
> rules, and I'm not sure they are good enough (or are there good enough
> rules) to tell several languages apart...
>
> greets
> Zoltán Németh
>
> > Thanks a lot,
> >
> >
> > -Willi
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 fortu
'];
>
> name="my_value"> *However, this box returns no data.*
>
> I should be using if($_POST['max_id'] ='') { and notif($_POST['max_id']
> !=='') { correct? Since it is a comparative function just the = should
> be
; mail( $email, $name, $message, "From: $emailid" );
> header( "Location: thankYouContact.php" );
> ?>
>
>
> Please advice a work around for this if I am doing it wrong. I know I am.
>
> Chris
> --
> View this message in context:
> http://www.na
what to make this to function...
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
70 matches
Mail list logo