Re: [PHP] Re: Joining a team, where no wiki or docs are available

2012-09-24 Thread Mihamina Rakotomandimby
On 09/24/2012 05:19 PM, AmirBehzad Eslami wrote: True, but based on my experience, most programmers are not good when it comes to explain stuff. So, I should rely on my own. Choose another team? -- RMA. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Joining a team, where no wiki or docs are available

2012-09-24 Thread Mihamina Rakotomandimby
On 09/24/2012 05:38 PM, AmirBehzad Eslami wrote: #1 Start using the software as an End-User (don't care about the code) to understand the business-value of the software #2 Take a look at the database scheme, try to understand the entities and their relations #3 As you use the software, you'll

Re: [PHP] How to limit source IP in PHP

2012-09-13 Thread Mihamina Rakotomandimby
On 09/12/2012 07:02 PM, Daniel Brown wrote: So, the answer is no, PHP is not able to do that. There is an (heavy) BASEDIR directive for disk, but nothing equivalent (and simpler) for IP. That's correct. However, that doesn't mean you can't put in a feature request at

Re: [PHP] How to limit source IP in PHP

2012-09-13 Thread Mihamina Rakotomandimby
On 09/12/2012 04:53 PM, Tonix (Antonio Nati) wrote: PHP script can freely choose which IP to bind. PHP doesnt bind at all. The HTTP server (Apache, Lighthttpd,...) does. PHP is called only when the HTTP server wants (you configure it that way): make Apache handle PHP on conditionnal

Re: [PHP] templeting

2012-09-05 Thread Mihamina Rakotomandimby
On 09/04/2012 04:14 AM, David McGlone wrote: Does anyone use any templeting system for any projects? If so what would anyone recommend? I looked at Code Ignitor, but it seems the templeting system is optional and left out by default. - Jelix / jTpl - Symfony / Twig -- RMA. -- PHP General

[PHP] Movable Type (MT) *client*

2012-08-27 Thread Mihamina Rakotomandimby
I all, I'm looking for a Class or a PHP bundle in order to programatically fetch blog entries from a Dotclear Movable Type (MT) blog, with their tags, categories, all available attributes. I found http://goo.gl/JUbCN in order to almost do the job. I could deal with it, but I'm looking for a

Re: [PHP] Two ways to obtain an object property

2012-08-16 Thread Mihamina Rakotomandimby
On 08/15/2012 11:28 AM, phplist wrote: This relates to a minor dilemma I come across from time and time, and I'm looking for advice [...] Within a site I have a User object, and within page code would like to have if ($crntUser-isASubscriber) {...} [...] if ($crntUser-isASubscriber()) {...}

[PHP] Re: [PECL-DEV] php-rsync installation howto

2012-08-07 Thread Mihamina Rakotomandimby
On 08/06/2012 01:02 PM, Anatoliy Belsky wrote: download and unpack the tarball, then use the instructions from here http://de2.php.net/manual/en/install.pecl.phpize.php Thank you, but you missed it. I would be intrested in installing this: http://pecl.php.net/package/rsync I dont see any

Re: [PHP] Re: [PECL-DEV] php-rsync installation howto

2012-08-07 Thread Mihamina Rakotomandimby
On 08/08/2012 08:29 AM, tamouse mailing lists wrote: It's not just: phpize ./configure make sudo make install To be honnest, I dont know. If it's really just about that, I'll submit a patch for this. Is phpize; ./configure; make; sudo make install the default *manual* INSTALL process for a

[PHP] php-rsync installation howto

2012-08-06 Thread Mihamina Rakotomandimby
Hi all, I would be intrested in installing this: http://pecl.php.net/package/rsync I got used with PECL packages with at least 2 ways of installation - with pear install or pecl install - without those tools (with some configure; phpize; make install) I have a preference for the latter (for

[PHP] difference PEAR PECL

2012-07-19 Thread Mihamina Rakotomandimby
Hi all, Wondering about the difference between PECL and PEAR, I found: http://board.phpbuilder.com/showthread.php?10339238-Pecl-vs-Pear Is it a suitable answer? If so, several Linux ditribution have: * php-pecl-xxx (PECL) * php-pear-vvv (PEAR) * php-yyy (???) packages (rpm and deb). What

Re: [PHP] Contribute to PHP

2012-07-12 Thread Mihamina Rakotomandimby
On 07/12/2012 10:45 AM, Sebastian Krebs wrote: Nowadays contributing to an OSS-project is (thankfully) often just a matter of creating a github account and sending a pull request. Clone, commit, pull, push then send the pull request. Also note that contributing to PHP means contributing to

Re: [PHP] log tailing

2012-07-02 Thread Mihamina Rakotomandimby
On 06/30/2012 09:32 PM, Daniel Brown wrote: ?php $ssh_entries = explode(PHP_EOL,trim(`tail /var/log/syslog | awk {'print $1,$2,$3 | $5 | $11'}`)); This will tail a default number of lines. I'm looking for a way to identify the last line, and when launching the PHP script I get the added line

[PHP] log tailing

2012-06-29 Thread Mihamina Rakotomandimby
Hi all, I have a /var/log/messages and /var/log/syslog file to parse to extract information from. It's mainly to insert the data to several SQL tables. I have the to extract the date, and some information in the line. Doing it with preg_match() and extracting the data is the first solution

Re: [PHP] IE9 Large Post Hangs for 5 Minutes Plus

2012-06-18 Thread Mihamina Rakotomandimby
On 06/18/2012 08:21 AM, Christopher Cowan wrote: Any suggestions on how to fix this issue? If IE9 has a specific problem, I think one very good place is http://goo.gl/Eug3a -- RMA. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] looking for a PHP texte indexer

2012-06-11 Thread Mihamina Rakotomandimby
Hi all, I have a small job ad website, where some poster tend to flood with the same ad, just in order to be on top of the recent sort. To perturb the strict duplication detection (yes it's weak), they add one or two words that makes difference. The result is a duplication of many ads. I

Re: [PHP] Re: show info from mysql db

2012-06-10 Thread Mihamina Rakotomandimby
On 06/10/2012 07:50 PM, Tim Dunphy wrote: Glad you got it fixed. Typos can be little buggers to find sometimes. me too.. fell back to the old 'echo hello' test strategy .. have to try to remember that strategy before i go running for help..:) I dont agree: If you used exceptions (with real

[PHP] Hungarian Notation interest with PHP

2012-06-04 Thread Mihamina Rakotomandimby
Hi all, I have a colleague stuck with this thing named Hungarian Notation http://goo.gl/xYv8O We try to define our internal coding standards, which is very close to the Symfony ones http://goo.gl/f2rcO But we're in conflict because the colleague really argue about his Hungarian Notation.

Re: [PHP] Hungarian Notation interest with PHP

2012-06-04 Thread Mihamina Rakotomandimby
On 06/04/2012 05:58 PM, Ashley Sheridan wrote: The two don't look to be mutually exclusive, Sure, they're not. It's not forbiden to prefix variables. but Hungarian notation doesn't make much sense to me for php. Php is a loose typed language, That's the first point I told him. No way: for

[PHP] looking for some PECL PHP GTK tutorial

2012-05-13 Thread Mihamina Rakotomandimby
Hi all As PHP-GTK has moved to the PECL, I suppose several part of this documentation are not relevent anymore: http://gtk.php.net/manual/en/tutorials.installation.linux.php Would you know a place where I could find some way to work with it? Thank you! -- RMA. -- PHP General Mailing List

[PHP] PHP Emacs

2012-05-02 Thread Mihamina Rakotomandimby
Hi all, For curiosity, are there people here using Emacs to code in PHP? What modes do you add? cedet, ecb,... I see (just for the example) that Drupal has a short documentation page for Emacs http://drupal.org/node/59868 Have you got some in your bookmarks for general PHP coding? -- RMA.

Re: [PHP] Blocking URL hacking attemps

2012-04-22 Thread Mihamina Rakotomandimby
On 04/22/2012 07:55 PM, sono...@fannullone.us wrote: Is there a way that I can trap the extra info in the URL's and pass it to the I miss the interest of that system: the URL doesnt exist, so the nasty client will get a 404 and you're done. If you want to do more filtering, I would suggest

[PHP] Flat PHP projects and Firebug

2012-04-12 Thread Mihamina Rakotomandimby
Hi all, For flat PHP projects (I mean without framework such as Jelix or Symfony), what Firebug logging tooldo you recommend to use? - FirePHP? - in-the-code Javascript console.log() generation? - other tools? These are for training project, not really real-world ones, in order to train

Re: [PHP] Variable representation

2012-04-01 Thread Mihamina Rakotomandimby
On 04/02/2012 06:52 AM, Ron Piggott wrote: $image_1 = stripslashes( $row['image_1'] ); $image_2 = stripslashes( $row['image_2'] ); $image_3 = stripslashes( $row['image_3'] ); $image_4 = stripslashes( $row['image_4'] ); [...] (Not all 4 variables have an image.) How is it meant in the database?

Re: [PHP] Variable representation

2012-04-01 Thread Mihamina Rakotomandimby
On 04/02/2012 07:46 AM, Adam Randall wrote: $images[] = stripslashes( $row['image_1'] ); $images[] = stripslashes( $row['image_2'] ); $images[] = stripslashes( $row['image_3'] ); $images[] = stripslashes( $row['image_4'] ); $images[1] = stripslashes( $row['image_1'] ); $images[2] =

Re: [PHP] PHP run from console - automatic password input

2011-11-29 Thread Mihamina Rakotomandimby
On 11/30/2011 01:11 AM, Peter wrote: I wrote a shell script Please would you show it? AFAIK, if Bash can do it, PHP should also... Thanks. -- RMA. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php