RE: [PHP] I'm new

2009-04-04 Thread Andrés Robinet
> -Original Message- > From: doctortomor...@gmail.com [mailto:doctortomor...@gmail.com] On Behalf > Of 9el > Sent: Sábado, 04 de Abril de 2009 12:52 p.m. > To: Andrés Robinet; php-general@lists.php.net > Subject: Re: [PHP] I'm new > > > Hi Roly, > >

RE: [PHP] Thank you everyone, What a wonderful world

2009-01-03 Thread Andrés Robinet
> -Original Message- > From: Behzad [mailto:behzad.esl...@gmail.com] > Sent: Thursday, January 01, 2009 12:43 PM > To: Zend Framework General; PHP General Mailing List; IxDA > Subject: [PHP] Thank you everyone, What a wonderful world > > Hi List, > > I would like to appreciate from you al

RE: [PHP] PHP and #if

2008-03-14 Thread Andrés Robinet
e() { echo "arse 2\n"; } } arse(); ?> I didn't test this, but it should work I think... I remember nuSoap doing something similar for soap proxys (though not using output buffering). There are alternatives that are way be

RE: [PHP] Last Friday of every month

2008-03-13 Thread Andrés Robinet
= date('j', $intDate); If ($dayOfWeek == 5 && $numDaysInMonth - $dayOfMonth < 7) { echo "Friday Party!"; } else { echo "Sorry dude, you missed it"; } Btw, read the manual (and don't think to be so lucky to not found any bugs in my co

RE: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Andrés Robinet
> -Original Message- > From: Greg Donald [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2008 4:17 PM > To: php-general@lists.php.net > Subject: Re: [PHP] What's wrong the __autoload()? > > On 3/13/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > So... there we have it everyone

RE: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Andrés Robinet
> -Original Message- > From: Dave Goodchild [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 5:37 PM > To: Robert Cummings > Cc: Aschwin Wesselius; Greg Donald; php-general@lists.php.net > Subject: Re: [PHP] What's wrong the __autoload()? > > Will you two pricks cut it out. How

RE: [PHP] Frameworks

2008-03-12 Thread Andrés Robinet
> -Original Message- > From: Aschwin Wesselius [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 5:04 PM > To: Andrés Robinet > Cc: php-general@lists.php.net > Subject: Re: [PHP] Frameworks > > Andrés Robinet wrote: > > I want a framework I can plu

RE: [PHP] Frameworks

2008-03-12 Thread Andrés Robinet
If you are rich, you can pay us (the PHP-list members) to build one for you :D. It will be a complete disaster because we'll never agree on the features, but you'll entertain yourself with our discussions for months. If your IQ is greater than 150 you can try writing your own. Otherwise, ask

RE: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Andrés Robinet
l but still pragmatic features like traits are being discussed on the internals list. PHP's success has its roots in raw pragmatism, easy to learn, easy to deal with. Still fast and OO capable. When RoR starts becoming a REAL PHP competitor, I'll think of learning it and pushing it into

RE: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Andrés Robinet
> -Original Message- > From: Nathan Nobbe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 3:08 PM > To: Andrés Robinet > Cc: Robert Cummings; Zoltán Németh; Greg Donald; php-general@lists.php.net > Subject: Re: [PHP] What's wrong the __autoload()? > &

RE: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Andrés Robinet
e exceptions for custom error handling. I don't see why autoload and error handling can't be implemented in a stack-like way, returning false from the callback moves to the next error handler / autoloader, returning true ends the "handler search" process... though this is mor

RE: [PHP] A Quick Reminder....

2008-03-12 Thread Andrés Robinet
I don't know... but... > -Original Message- > From: Wolf [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 11:30 AM > To: Jason Pruim > Cc: TG; Daniel Brown; PHP General List > Subject: Re: [PHP] A Quick Reminder > > > Jason Pruim <[EMAIL PROTECTED]> wrote: > > > > On

RE: [PHP] Comparing files

2008-03-12 Thread Andrés Robinet
sidered equal by md5_file and they are not) and probably use some diff-like solution instead of md5_file. Anyway, having compared sizes and random bytes (steps 1 through 3), it's very likely that md5_file will catch it if two files are different in just a few bytes. Regards, Rob Andrés Robi

RE: [PHP] SMTP

2008-03-10 Thread Andrés Robinet
PHP 5.2.4 > C# 2005-2008 I'm curious what's the error you get when you use the "mail" function? Also, if you have SMTP running on port 25 you should be able to "telnet localhost 25" and run some SMTP commands (EHLO, etc). Beware as well that some ISPs block po

RE: [PHP] SMTP

2008-03-09 Thread Andrés Robinet
>Subject = 'You know what this is'; $mail->Body = 'Your email message'; $mail->AddAddress('[EMAIL PROTECTED]', 'Mr X-Man'); $mail->AddReplyTo('[EMAIL PROTECTED]', 'My Beautiful Website'); $mail

RE: [PHP] CVS Scripts

2008-03-06 Thread Andrés Robinet
ation that can be of some value for anybody reading my posts. It says who I am, who I work with, where we are and the many to contact us. It's not about bandwidth, it's just about removing "noise". Many times I even remove the whole footer so the messages are more readable. If it w

RE: [PHP] Anyone jump from Studio 5.5.x -> Zend Eclipse?

2008-03-02 Thread Andrés Robinet
be wrong. I'd LOVE to hear a "real voice", speaking about "real projects" and "real teams", where you need a common environment to avoid development chaos. I would buy a book on the subject if you can recommend one (but one about the "real thing" and n

RE: [PHP] reading incoming xml

2008-03-01 Thread Andrés Robinet
rch for it as it's not part of this help pack ;) ). Regards, Rob(inet) Andrés Robinet | Lead Developer | BESTPLACE CORPORATION  5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 | Email: [EMAIL PROTECTED]  | MSN C

RE: [PHP] PHP on Windows

2008-03-01 Thread Andrés Robinet
Windows Server 2003 with IIS 6 > ; Mail-1.1.14 mail pkg with Net_SMTP-1.2.11 pkg > > --Erik Did you try this http://email.about.com/od/emailprogrammingtips/qt/et073006.htm ? Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION  5100 Bayview Drive 206, Royal Lauderdal

RE: [PHP] Get country from Phone number

2008-02-29 Thread Andrés Robinet
Cummings) will come up with a "solve-it-all" regex that will save your day. Regards, Rob(inet) Andrés Robinet | Lead Developer | BESTPLACE CORPORATION  5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 | Email: [EMA

RE: [PHP] output buffering in CLI script.

2008-02-28 Thread Andrés Robinet
ob_get_clean()); if ($output[0] && preg_match('%^#!\/%', $output[0])) unset($output[0]); echo join("\n", $output); // You need to echo this, since you lost your buffer by doing ob_get_clean Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORAT

RE: [PHP] Functions not available when run as Scheduled Task?

2008-02-27 Thread Andrés Robinet
> -Original Message- > From: Ray Hauge [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 27, 2008 6:42 PM > To: Brian Dunning > Cc: php-general@lists.php.net > Subject: Re: [PHP] Functions not available when run as Scheduled Task? > > Brian Dunning wrote: > > Don't laugh but we have a

RE: [PHP] Uppercase first letter of each new line?

2008-02-27 Thread Andrés Robinet
#x27;t handle CSS and/or Javascript properly. You have to set a limit somewhere (otherwise, why don't we use HTML 3.2 and that's it?). Mine is at IE 6+ and latest FF/Opera/Safari. For the webs I develop, that's more than enough (it covers more than 90% of the market). Anyway...

RE: [PHP] Re: Getting the name of a function

2008-02-27 Thread Andrés Robinet
nt "The function that called the error was: $fn"; } Function bad_function($param) { error ("This is dumb", __FUNCTION__); return false; } You can get better (and more complex) information using debug_backtrace http://php.net/debug_backtrace. Probably doing something like: function

RE: [PHP] Uppercase first letter of each new line?

2008-02-27 Thread Andrés Robinet
\r"), this should work as well (for "\n" or "\r\n" as line separators) $text = getTextFromSomewhereElse(); $newText = join("\n", array_map('ucfirst', explode("\n", $text))); (fist thing that came to my mind, just posting because of that... use the reg

RE: [PHP] email with style (again)

2008-02-26 Thread Andrés Robinet
;.$eol; $headers .= "Content-Transfer-Encoding: 8bit".$eol.$eol; $headers .= "From: ".$fromname."<".$fromaddress.">".$eol; $headers .= "Reply-To: ".$fromname."<".$fromaddress.">".$eol; $headers .= "Return-Path: ".$f

RE: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Andrés Robinet
edd <[EMAIL PROTECTED]> wrote: > > At 5:10 PM -0500 2/26/08, Andrés Robinet wrote: > > >let's play soccer tomorrow > > > > Oh No, that's not the way you guys say it. You say it like: > > > > Let's play OOC to

RE: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Andrés Robinet
> -Original Message- > From: Shawn McKenzie [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 26, 2008 3:44 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Question about PHP Licence and it's future! > > tedd wrote: > > At 12:53 PM -05

RE: [PHP] Re: PHP cuts download process prematurely

2008-02-25 Thread Andrés Robinet
t solving this issue using compression as a workaround, you may also want to add at the beginning of the script: ob_start("ob_gzhandler") Or... you can use "zlib.output_compression" INI setting in an .htaccess file or in php.ini. Compressed files will require more server proces

RE: [PHP] Question about PHP Licence and it's future!

2008-02-25 Thread Andrés Robinet
> -Original Message- > From: Daniel Brown [mailto:[EMAIL PROTECTED] > Sent: Monday, February 25, 2008 1:24 PM > To: Andrés Robinet > Cc: tedd; php-general@lists.php.net > Subject: Re: [PHP] Question about PHP Licence and it's future! > > On Mon, Feb 25,

RE: [PHP] Question about PHP Licence and it's future!

2008-02-25 Thread Andrés Robinet
s is the best name ever! :). But my opinion might be just a bit biased (*bias* is such a fashion these days :)) Also, It's likely that you will find spelling and grammar issues all over in my writing, since I'm a Spanish speaker by birth and I still live in Argentina. Thanks for pointing ou

RE: [PHP] URL modification

2008-02-25 Thread Andrés Robinet
actors that can have much more weight for generating SEO problems than having index.php everywhere. Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION  5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 | Email: [EM

RE: [PHP] RE: temprorary error

2008-02-25 Thread Andrés Robinet
> -Original Message- > From: Nathan Rixham [mailto:[EMAIL PROTECTED] > Sent: Monday, February 25, 2008 11:32 AM > To: php-general@lists.php.net > Subject: Re: [PHP] RE: temprorary error > > Robert Cummings wrote: > > On Mon, 2008-02-25 at 11:18 -0500, Daniel Brown wrote: > >> I didn't thin

RE: [PHP] Re: temporary error

2008-02-25 Thread Andrés Robinet
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 24, 2008 4:57 AM > To: Andrés Robinet > Cc: php-general@lists.php.net > Subject: RE: [PHP] Re: temporary error > > On Sun, 2008-02-24 at 03:34 -0500, Andrés Robinet wr

RE: [PHP] Question about PHP Licence and it's future!

2008-02-24 Thread Andrés Robinet
> -Original Message- > From: Andrés Robinet [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 24, 2008 3:41 AM > To: 'Robert Cummings'; 'Tamer Higazi' > Cc: php-general@lists.php.net > Subject: RE: [PHP] Question about PHP Licence and it&

RE: [PHP] Question about PHP Licence and it's future!

2008-02-24 Thread Andrés Robinet
doesn't matter, I don't think PHP will change its license in a substantial way, it wouldn't be profitable to anybody on the long run (including Zend) and everyone would start switching to, say, RoR. Just my uninformed and honest opinion. Regards, Rob (Other Rob that is actua

RE: [PHP] Re: temporary error

2008-02-24 Thread Andrés Robinet
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 24, 2008 2:34 AM > To: Andrés Robinet > Cc: php-general@lists.php.net > Subject: RE: [PHP] Re: temporary error > > > On Sat, 2008-02-23 at 20:11

RE: [PHP] Question about PHP Licence and it's future!

2008-02-23 Thread Andrés Robinet
l never happen to PHP. It can happen to some extensions, but only those that rely on third-party functionality (say, the mysql extension), so the problem is not PHP itself (and you'll have the same problem for every other language). As this is not an authoritative answer, you'd better of

RE: [PHP] Re: temporary error

2008-02-23 Thread Andrés Robinet
oza's God, who reveals Himself in the lawful harmony of the world, not in a God Who concerns Himself with the fate and the doings of mankind." - Albert Einstein At least this God seems not to incite people to kill other people, and doesn't ask you to go to church every Sunday t

RE: [PHP] URL modification

2008-02-21 Thread Andrés Robinet
u allow for something like: http://www.example.com/index.php/myaccount/profile (that is, you don't need mod_rewrite unless you want to remove the index.php part of the URI path) However, if you have an existing website, migrating it to use one of the MVC frameworks (or just using a stand-alone

RE: [PHP] form cleaner class

2008-02-21 Thread Andrés Robinet
$changexssto = ''; > $UserInput = preg_replace($notallowedattribs, $changexssto, > $UserInput); > $UserInput = strip_tags($UserInput, $allowedtags); > $UserInput = nl2br($UserInput); > return $UserIn

RE: [PHP] Exception vs exception

2008-02-21 Thread Andrés Robinet
27;s just a typo). And, what other exceptions are you expecting to be thrown out of the try block to use the second *generic* catch? If you and only you are throwing the custom * MySQLException* exception (which you should code and throw under the proper conditions) why do you need a generic *Except

RE: [PHP] Problem with quotes

2008-02-21 Thread Andrés Robinet
> What am I missing here ? > > Any help would be appreciated. > > Warm Regards, > Mário Gamito Mmm... It may have to do with operator precedence Try either: echo ($host . "" . " "); Or, $output = $host . "" . " "

RE: [PHP] AMP installer

2008-02-21 Thread Andrés Robinet
PHPMyadmin, which I use only for exporting - that comes with XAMPP) http://dev.mysql.com/downloads/gui-tools/5.0.html. Hope this helps, though you will get other options as well, this is much of a personal choice (One year ago I installed them all separately, to get very familiar with the setup

RE: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)

2008-02-21 Thread Andrés Robinet
such as installing an opcode cache, or accelerator (Zend Optimizer, eAccelerator, XCache, etc). Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION  5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 | Email: [EMAIL PRO

RE: [PHP] All Survey leading to PHP

2008-02-21 Thread Andrés Robinet
close to that (and I don't know how high are the runtime requirements to run PHP-VCL applications). There are very good PHP IDEs, such as Zend Studio, PHPDesigner, and NuSphere, etc... but forget about clicking and dragging components on a form if that's your choice. Regards, Rob Andrés

RE: [PHP] Re: temporary error

2008-02-21 Thread Andrés Robinet
> -Original Message- > From: Shawn McKenzie [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 21, 2008 10:36 AM > To: php-general@lists.php.net > Subject: [PHP] Re: temporary error > > Mirco Soderi wrote: > > In my opinion, variable names are a personal choice, I think the time > > you

RE: [PHP] Php warning message

2008-02-20 Thread Andrés Robinet
gt; Holland, MI, 49424 > www.raoset.com > [EMAIL PROTECTED] > % is the modulus (= remainder most of the time) operator. 8 % 2 == 0, 9 % 4 == 1, etc You are missing a $ at fgets(boardFilehandle); (should be fgets($boardFilehandle);). Are you sure the file handle is valid anyway? //

RE: [PHP] More than one values returned?

2008-02-19 Thread Andrés Robinet
re at least half of php has been > designed badly..? > > ps: when working with co-ordinates / GIS data you should really be using > wkb data instead, it's much faster. [unpack] > So returning multiple values is a bad thing? How about Matlab for which it is such a common thin

RE: [PHP] Gzipped output

2008-02-10 Thread Andrés Robinet
;s similar to streaming concept. I > >> hope you can see what I mean. > >> > > > > Maybe apaches mod_deflate is what you're after? That will do in-flight > > compression. > > > > > > /Per Jessen, Zürich How about something like this? (Needs

RE: [PHP] killing a process through php webservice

2008-02-07 Thread Andrés Robinet
talled as an apache module (everyone can read your files and your login info, don't they? But at least it is more secure than letting somebody read your sudo command line) 3 - PHP SSH2 extension could be a way... but it is still a HUGE security hole if you have your root password in plain text on y

RE: [PHP] PHP Source code protection

2008-02-07 Thread Andrés Robinet
st contract someone else, source code or not. It doesn't make any difference. 3 - Either you have to buy encoding software and beg all your clients have the "decoding" counterpart installed in their servers, or force all your development clients to host with you, or you have to use

RE: [PHP] php installation problem

2008-01-27 Thread Andrés Robinet
> -Original Message- > From: Andrés Robinet [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 27, 2008 11:03 AM > To: php-general@lists.php.net > Subject: RE: [PHP] php installation problem > > > -Original Message- > > From: Umar [mailto:[EMAIL PROTEC

RE: [PHP] determine file-upload's tmp-filename

2008-01-27 Thread Andrés Robinet
ionid"."_postdata"; > $monitor_file = "$tmp_dir/$sessionid"."_flength"; > $error_file = "$tmp_dir/$sessionid"."_err"; > $signal_file = "$tmp_dir/$sessionid"."_signal"; > $qstring_file = "$tmp_dir/$sessionid&qu

RE: [PHP] php installation problem

2008-01-27 Thread Andrés Robinet
to `libiconv_open' > /home/data/pkgs_docs/unix-pkgs/web/php/php- > 5.2.5/ext/xmlrpc/libxmlrpc/encodings. > c:81: undefined reference to `libiconv' > /home/data/pkgs_docs/unix-pkgs/web/php/php- > 5.2.5/ext/xmlrpc/libxmlrpc/encodings. > c:101: undefined reference to `libiconv_close&#

RE: [PHP] password hashing and crypt()

2008-01-19 Thread Andrés Robinet
He must know how the salt was used to generate the password (was it concatenated before the password, after the password or both)? 2 - He has to generate 10 dictionary hashes (one for each salt value, assuming each salt value is different). So now the hashed dictionary has actually 1000 entries instea

RE: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Andrés Robinet
e fault does not cover another" and the other one is "Hakuna Matata" (yes, I saw the lion king baby! lol). Just one more thing, about... > If treating someone's complaint with contempt, even if you don't agree > with the substance of it, is the way this "c

RE: [PHP] Foreach

2008-01-18 Thread Andrés Robinet
an, isn't it supposed to be a garbage collection feature in any session implementation (that is what the session timeout is for, isn't it)? Or is it just that I'm missing something? Regards, Rob PS. Yes, I know you can have persistent cookies, and you can store session data

RE: [PHP] Re: Expand variable in comparison

2008-01-18 Thread Andrés Robinet
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Marcus > Sent: Friday, January 18, 2008 9:56 PM > To: php-general@lists.php.net > Subject: [PHP] Re: Expand variable in comparison > > Andrés Robinet wrote: > >> -Original Messag

RE: [PHP] Question About Blocking Email Addresses in Forms

2008-01-18 Thread Andrés Robinet
t to keep your server load low and avoid breaking some apps like phpMyAdmin), but sometimes you may need it (specially if you deal with code not written by you). 6 - mod_throttle or similar when it starts becoming more of a DOS/DDOS attack (anybody sharing experience on this?). Regards, R

RE: [PHP] Expand variable in comparison

2008-01-18 Thread Andrés Robinet
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Marcus > Sent: Friday, January 18, 2008 4:51 PM > To: php-general@lists.php.net > Subject: [PHP] Expand variable in comparison > > Hi! > > > Is there any way to get the following snippet returning a true? > > > ..

RE: [PHP] Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-18 Thread Andrés Robinet
Hey, your script doesn't like me, is it that you need quoted_printable_decode? =?iso-8859-1?Q?Andr=E9s_Robinet?= Rob > -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Friday, January 18, 2008 7:38 PM > To: PostTrack [Dan Brown]; php-general@lists.php.net > Subje

RE: [PHP] Don't search for domains on Network Solutions...

2008-01-16 Thread Andrés Robinet
> -Original Message- > From: Daniel Brown [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 16, 2008 5:06 PM > To: Eric Butera > Cc: Andrés Robinet; php php > Subject: Re: [PHP] Don't search for domains on Network Solutions... > > On Jan 16, 2008 2:29 PM,

RE: [PHP] green bean question on singleton php5

2008-01-16 Thread Andrés Robinet
; Example#2 Singleton Function > > > > Not the ideal solution, but this is what I meant: class dbaccess { private static $db = null; public static function GetDb() { if (!isset(self::$db)) { self::$db = new mysqli("localhost", USER, PASSWD, DB); if

RE: [PHP] green bean question on singleton php5

2008-01-16 Thread Andrés Robinet
; } > > } > > > > > > $db=dbaccess::GetDb(); > > $db->query(..); // Your query here. > > ?> > > > > dbaccess has no "query" method as you are not inheriting from mysqli. So dbaccess::$db will have no query method

RE: [PHP] QNX build

2008-01-16 Thread Andrés Robinet
> -Original Message- > From: Richard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 16, 2008 12:48 PM > To: php-general@lists.php.net > Subject: [PHP] QNX build > > Hi, > > After installing PHP on a Windows machine I see a very small > PHP-executable and several extension dll's that

RE: [PHP] Don't search for domains on Network Solutions...

2008-01-16 Thread Andrés Robinet
.1.11) Gecko/20071127 Firefox/2.0.0.11'); > curl_setopt($c, CURLOPT_POST, true); > curl_setopt($c, CURLOPT_POSTFIELDS, $values); > curl_setopt($c, CURLOPT_URL, $url); > curl_setopt($c, CURLOPT_RETURNTRANSFER, true); > curl_setopt($c, CURLOPT_FOLLOWLOCATION, true); > >

RE: [PHP] re[PHP] gister_globals

2008-01-15 Thread Andrés Robinet
very top (I wouldn't even enable register_globals but...) http://php.net/manual/en/function.extract.php or using a loop to populate $_GLOBALS with the $_GET, $_POST and $_COOKIE keys/values. Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings,

RE: [PHP] Encryption failing

2008-01-15 Thread Andrés Robinet
range characters in db, variables, etc $text_out = base64_encode(mcrypt_generic($cypher, $text)); } // Do not trim results if the clear text message ends with nulls I'll have to work on something similar very soon, so I might have my own headaches later. If you have success (or even more

RE: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA

2008-01-15 Thread Andrés Robinet
find more reasons to argue on the second one). There's people sharing their expertise for free, I appreciate that. It just needs to get cleaned up a bit... but last time I checked, the rating system was working, so maybe we can use it (just FYI, I'm very guilty of not using it, ever)

RE: [PHP] Encryption failing

2008-01-15 Thread Andrés Robinet
; be some kind of programming flaw.> > FWIW, there was no discernible > pattern to the failed strings, at > least not to me. (Not that it > matters.)> > Ken> > -- > PHP General Mailing List > (http://www.php.net/)> To unsubscribe, visit: > http://www.php.net/un

RE: [PHP] PHP SOAP Client formats

2008-01-14 Thread Andrés Robinet
speed is more than enough for my taste, when caching the WSDL object (in fact, most of the time will be spent in the server to server roundtrip). So... my vote for nuSOAP. However, if you are using the native extension and have specific needs for the XML request, you can override the __doRequest() m

RE: [PHP] $_GET and multiple spaces.

2008-01-14 Thread Andrés Robinet
> -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: Monday, January 14, 2008 8:34 PM > To: Andrés Robinet > Cc: php-general@lists.php.net > Subject: Re: [PHP] $_GET and multiple spaces. > > Andrés Robinet schreef: > >> -Origina

RE: [PHP] Freebsd 6.2 amd64 PHP 5.2.5 Internal Server Error

2008-01-14 Thread Andrés Robinet
it with several browsers do it (IE has caused me trouble at least on my development box, it was kind of throwing a GET request twice, and one of the times without the last part of the URL path... weird). Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview

RE: [PHP] $_GET and multiple spaces.

2008-01-14 Thread Andrés Robinet
> -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED] > Sent: Monday, January 14, 2008 7:08 PM > To: Andrés Robinet > Cc: php-general@lists.php.net > Subject: RE: [PHP] $_GET and multiple spaces. > > On Mon, January 14, 2008 1:33 pm, Andrés Robinet w

RE: [PHP] $_GET and multiple spaces.

2008-01-14 Thread Andrés Robinet
> -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED] > Sent: Monday, January 14, 2008 2:11 PM > To: Jochem Maas > Cc: clive; Churchill, Craig; php-general@lists.php.net > Subject: Re: [PHP] $_GET and multiple spaces. > > On Mon, January 14, 2008 3:17 am, Jochem Maas wrote:

RE: [PHP] Guestbook

2008-01-13 Thread Andrés Robinet
> -Original Message- > From: Børge Holen [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 13, 2008 7:48 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Guestbook > > On Sunday 13 January 2008 01:32:53 Andrés Robinet wrote: > > Hi Guys, > > >

RE: [PHP] PHP shell commands

2008-01-12 Thread Andrés Robinet
despite of the headaches (mostly to your customers' poor PHP code, but in the end to your support department)... though many hosting providers, just don't care and run the risk (suPHP is not very old anyway). Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100

[PHP] Guestbook

2008-01-12 Thread Andrés Robinet
Hi Guys, Anybody knows of a free and decent PHP Multilanguage guestbook (or at least supporting German and English)? I don't care if it is db-driven or uses flat files. I know how to write one, but it's for a website we didn't develop (but will now host) and I'm feeling a bit lazy... maybe someone

RE: [PHP] PHP shell commands

2008-01-11 Thread Andrés Robinet
e could use Directory tags and set different rules to different > sets of files. > What do you think about it? I guess what you are looking for is mod_suphp. STFW or ask the list, someone will give you good hints for sure (sorry, have little time right now). Rob Andrés Robinet | Lead Devel

RE: [PHP] Re: HTML form upload works, CURL fails when uploading file from c:

2008-01-05 Thread Andrés Robinet
vascript+PHP alone. You will need plugin support (a Java applet, an ActiveX control, Flash). Google for "swfupload", though there are similar projects, it seems to be one of the easiest solutions as it only requires you to know javascript (no guarantees anyway). Rob Andrés Robinet | Lead D

RE: [PHP] control browser with tag

2007-12-27 Thread Andrés Robinet
thanks Yes, you will need something like this http://www.wildbit.com/labs/modalbox/ or a regular javascript popup (window.open). Modalbox is based on prototype and scriptaculous, but there are other lightweight solutions over there too (someone mentioned jQuery and Thickbox I think, and there

RE: [PHP] Connecting to MySQL database

2007-12-26 Thread Andrés Robinet
For a quick installation, try this http://www.apachefriends.org/en/xampp.html (XAMPP for windows). You will also have mercury mail and FileZilla FTP Server (watchout your firewall and change the passwords... you're warned). Your PHP.INI will be at /apache/php.ini, but for the most part, you won't

RE: [PHP] Sayonara PHP

2007-12-26 Thread Andrés Robinet
http://en.wikipedia.org/wiki/Mate_(beverage)) in the world, and that you cannot work without it. I know that, even if you wish to leave PHP forever, you’ll come back… all the roads will lead you to it. So, you’d better take a smart decision now… than have no other choice in the future (...

RE: [PHP] Writing text into images, and setting text size [SOLVED]

2007-12-19 Thread Andrés Robinet
. But GD with TTF, Freetype, JPG and PNG support is pretty standard, like mbstring, cURL, or the sockets extension. Best Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 95

RE: [PHP] control browser with tag

2007-12-18 Thread Andrés Robinet
> -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 18, 2007 11:57 PM > To: Hiep Nguyen > Cc: php-general@lists.php.net > Subject: Re: [PHP] control browser with tag > > > > On Tue, December 18, 2007 12:23 pm, Hiep Nguyen wrote: > > hi friends,

RE: [PHP] Writing text into images, and setting text size

2007-12-18 Thread Andrés Robinet
ob > -Original Message- > From: Dave M G [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 18, 2007 7:06 AM > To: Andrés Robinet > Cc: 'PHP List' > Subject: Re: [PHP] Writing text into images, and setting text size > > Rob, > > Thank you for re

RE: [PHP] Writing text into images, and setting text size

2007-12-17 Thread Andrés Robinet
Just a correction... Replace at the beginning of the script (I had some typos, while extracting the code from the original script) > $imW = 200; > $imH = 100; By this.. $imgW = 200; $imgH = 100; Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Dri

RE: [PHP] Writing text into images, and setting text size

2007-12-17 Thread Andrés Robinet
which is project deadlines). Hope this helps, Rob > -Original Message- > From: Dave M G [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 18, 2007 12:31 AM > To: Andrés Robinet > Cc: 'PHP List' > Subject: Re: [PHP] Writing text into images, and setting text size >

RE: [PHP] Writing text into images, and setting text size

2007-12-17 Thread Andrés Robinet
han what I've explored > here, > >> then I would be open to those too. You can get some free fonts, and deploy them along with every project. I do so for a custom CAPTCHA script I've made. > > Thank you for any advice. > > -- > Dave M G > > -- > PH

[PHP] RE: [SOLVED] [PHP] FW: ezmlm warning

2007-12-15 Thread Andrés Robinet
warning. Thank you all, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 Email: [EMAIL PROTECTED] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace | Web: http:/

[PHP] FW: ezmlm warning

2007-12-15 Thread Andrés Robinet
I've just got this message... I also see no updates here http://news.php.net/php.general/ since Friday. Any clues on what's going on?? Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, December 15, 2007 11:55 AM To: [EMAIL PROTECTED] Subject: ezmlm

RE: [PHP] safe_mode_include_dir

2007-12-13 Thread Andrés Robinet
E__) . '/../php/support.php'); > > but I still don't understand why the relative link doesn't work. > > > On Dec 12, 2007 6:38 PM, Andrés Robinet <[EMAIL PROTECTED]> > wrote: > > > > > -Original Message- > > > From: Tony

RE: [PHP] Generating Random Numbers with Normal Distribution

2007-12-12 Thread Andrés Robinet
to run into such a philosophical meditation, lol. Anyway, being an existentialist and empiricist... I won't believe in a random number until I see it, smell it, hear it, taste it and touch it here and now! lol Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Ba

RE: [PHP] safe_mode_include_dir

2007-12-12 Thread Andrés Robinet
ory" can be anything except the expected one, so I'd rather use absolute paths (if it's my own code) or fix it using .htaccess files (this is your case as you are a sysadmin) like this: php_value include_path "/one/path;/another/path;./" ... but for that to work

RE: [PHP] How to install ISAPI version on Vista IIS 6

2007-12-11 Thread Andrés Robinet
ope you manage to get it installed, and when you do... POST IT BACK, there will surely be other people willing to know about it in this list. Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207

RE: [PHP] How to install ISAPI version on Vista IIS 6

2007-12-11 Thread Andrés Robinet
ance for installing PHP 5 on Vista running IIS > 6.0? > > > > Regards, > > SED > Hope you don't get offended but... check http://www.apple.com/getamac/ads/ (the last one "choose a vista" is very instructive). I've never had a Mac, but I've la

RE: [PHP] Mysqli support - test or complain?

2007-12-10 Thread Andrés Robinet
de the PHP 5 hosting yourself, and have a "PHP 5 Required" rule in the TOS for development projects. But if you are a freelancer... you risk loosing the client with such a requirement. Despite the EOL for PHP 4 has been announced, I still see webhosts bundled with PHP 4.1 and MySQL

RE: [PHP] include "config.php" does not work anymore after PHP 5.2

2007-12-02 Thread Andrés Robinet
crifice your coding practices if your apache installation allows .htaccess files. Try the following in an .htaccess file: php_flag short_open_tag on That will allow you to have instead of Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderda

RE: [PHP] Join question

2007-11-30 Thread Andrés Robinet
> -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 01, 2007 2:09 AM > To: Crayon Shin Chan; php-general@lists.php.net > Subject: Re: [PHP] Join question > > At 12:53 PM +0800 12/1/07, Crayon Shin Chan wrote: > >On Saturday 01 December 2007, tedd wrote: >

  1   2   >