Re: [PHP] escape \n

2010-04-23 Thread Lupus Michaelis
the context the characters are met. For more inside, Nick could look into http://www.w3.org/TR/html401/struct/text.html. So said, the browser doesn't convert, it renders ;) -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net

[PHP] Re: Want a answer about php-cgi

2010-04-22 Thread Lupus Michaelis
Le 21/04/2010 12:17, Sharl.Jimh.Tsin a écrit : i can not find php-cgi file in the bin/sbin directory. WHY? (--disable-cgi is not used) cd to your build directory, then type next command : find . -name php5-cgi -or -name php-cgi -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org

[PHP] Re: Replace a space with a newline every 2 spaces

2010-04-22 Thread Lupus Michaelis
Le 22/04/2010 19:29, Paul Halliday a écrit : I found some long functions to achieve this but I couldn't help but think that it could be done in a couple lines. Possible? http://us.php.net/manual/en/function.wordwrap.php -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP

[PHP] Re: Display HTML in XSL Style Sheet

2009-10-06 Thread Lupus Michaelis
. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Developer Question [DOMDocument]

2009-10-05 Thread Lupus Michaelis
insensitive class names and function names ? (maybe you did a joke ?) -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-03 Thread Lupus Michaelis
operators had a wall defined behaviour. int a = 2; a = a++; printf(a = [%d]\n, a); Will output a = [3]. At least on Ubuntu 9 using gcc 4.3.3. That's gcc way :) -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net

Re: [PHP] Creating alphanumeric id for a table

2009-09-11 Thread Lupus Michaelis
$id; } You can create a stored procedure or a trigger on inserting that implement your id logic. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Renaming a Directory

2009-09-09 Thread Lupus Michaelis
. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Converting URL's to hyperlinks.

2009-09-08 Thread Lupus Michaelis
. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Converting URL's to hyperlinks.

2009-09-04 Thread Lupus Michaelis
isn't smart (you use the case insensitivity flag, but seek A-Z characters...) :D -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Searching on AlphaNumeric Content Only

2009-09-04 Thread Lupus Michaelis
Ashley Sheridan a écrit : What's wrong with using the wildcards that are built into most SQL variants? Performance issues. Like is an operator to avoid when possible. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Searching on AlphaNumeric Content Only

2009-09-04 Thread Lupus Michaelis
the format of the returned data. Here you can reject the input, or fall through some segment of code that try to interpret the submitted value. But in first time, do it simple and be rough to users. Usability can be improved in a second time. -- Mickaël Wolff aka Lupus Michaelis http

Re: [PHP] Searching on AlphaNumeric Content Only

2009-09-04 Thread Lupus Michaelis
problems. The problem with like operator is it can't use the index (or in a very limited way). So I try to warn about it. So said, I never submit an all-retrieving method. I know it isn't the solution too. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing

[PHP] Re: IRC and English

2009-08-31 Thread Lupus Michaelis
;) -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exclusive File Access

2009-08-27 Thread Lupus Michaelis
Bastien Koert wrote: lock it with www.php.net/flock But you remain to be carefull, because flock is more like a semaphore : it doesn't really lock the file. See man page for flock. (Maybe under MS Windows the lock is hard). -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP

[PHP] Re: Getting backtrace through GDB?

2009-08-27 Thread Lupus Michaelis
the GCC and GDB documentations. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] unset( $anobject) does not invoce __destruct()

2009-08-24 Thread Lupus Michaelis
abstract stuff. So said, the __destuct destructor isn't called, for obvious reasons explained further. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Question on code profiling

2009-07-24 Thread Lupus Michaelis
time ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-24 Thread Lupus Michaelis
Per Jessen wrote: See http://bugs.php.net/?id=48612 I don't understand too the answer. For me it is obvious it is a bug because it breaks the system locale behaviour. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General

Re: [PHP] Doubt regarding session_destroy() in PHP 5

2009-07-23 Thread Lupus Michaelis
the configuration file that lies in my filesystem ? :D -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Structure of PHP files

2009-07-23 Thread Lupus Michaelis
some sed (sed -i 's/\require_once\/require_ondemand/' project/) and a strong mecanism to provide including on demand. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: Exception not being caught

2009-07-17 Thread Lupus Michaelis
Weston C a écrit : If it's catchable, why isn't it caught in my example? This is well-documented here http://php.net/manual/en/class.errorexception.php -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General Mailing List

[PHP] Function parameter passed by reference with default value to null

2009-07-06 Thread Lupus Michaelis
Hi, I would like to know if I am alone to be shoked by this : == 8 == function foo( $bar = null) { } foo() ; // runs foo(null) ; // raise an error == 8 == Why the default value to null for a reference is allowed ? Is it a bug, a feature ? Thanks ! -- Mickaël Wolff aka Lupus

Re: [PHP] Function parameter passed by reference with default value to null

2009-07-06 Thread Lupus Michaelis
) ; I'm in trouble when foo() doesn't. The actual question is : why PHP doesn't raise an error ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Function parameter passed by reference with default value to null

2009-07-06 Thread Lupus Michaelis
for a reference ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Function parameter passed by reference with default value to null

2009-07-06 Thread Lupus Michaelis
David Otton a écrit : So there's some serious impedance mismatch going on there to make both features to work together. Just think of the default value as something I can overwrite, eg: Thanks for this smart explanation. It shines my day. -- Mickaël Wolff aka Lupus Michaelis http

Re: [PHP] calculate the time that day ends

2009-02-03 Thread Lupus Michaelis
Lupus Michaelis http://lupusmic.org Seeking for a position http://lupusmic.org/pro/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Blank page of hell..what to look for

2009-02-02 Thread Lupus Michaelis
Terion Miller a écrit : Is there a certain thing that should be suspected and looked at first when getting the php blank page of hell Did you check error logs from Apache or the one you configured in php.ini ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org Seeking

Re: [PHP] IE Problem Detecting Post Variables

2008-12-31 Thread Lupus Michaelis
L. Herbert a écrit : Each input is a submit button. MSIE pushes input_name.x and input_name.y to the server, when the input is an image. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Good PHP book?

2008-12-17 Thread Lupus Michaelis
Daniel Brown a écrit : You'd be surprised. The For Dummies series is one of the best-selling franchises in mainstream publishing history. Best-selling are not a proof of quality. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net

[PHP] Re: file_Exists() and case

2008-11-28 Thread Lupus Michaelis
, because it is unsafe. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PCRE regex result is different between Linux Windows.

2008-11-08 Thread Lupus Michaelis
first. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] permission failure with fopen

2008-11-07 Thread Lupus Michaelis
Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PCRE regex result is different between Linux Windows.

2008-11-07 Thread Lupus Michaelis
Jochem Maas a écrit : okay, are you using the same PHP version on both machines? anything in the php.ini's that differs? And by the way, what version of PCRE are in use. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net

Re: [PHP] removing text from a string

2008-11-06 Thread Lupus Michaelis
','/$1/', $fileData); Buggy regex. And text,txt is a correct filename, I don't understand why you worry about :D -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] removing text from a string

2008-11-06 Thread Lupus Michaelis
Ashley Sheridan a écrit : Thats a lot of code when a couple of lines and a regex will do ;) Maybe because the use of the regex is pointless here. A bazooka to kill the fly ? :) -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net

Re: [PHP] basic php question...

2008-11-06 Thread Lupus Michaelis
Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Infinite Loop Issue

2008-11-06 Thread Lupus Michaelis
Apache ? ? Some time, the segfault of Apache (due to self or PHP) cause the same effect than an infinite loop. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Weird problem with HTML form and $_POST

2008-11-05 Thread Lupus Michaelis
Michelle Konzack a écrit : and as you can see, there are three items taged... So, this part is working fine, but if I select an additional item and hit SUBMIT I get only: How do you select it ? By a click or a ctrl-click ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org

Re: [PHP] basic php question...

2008-11-04 Thread Lupus Michaelis
Richard Heyes a écrit : users who browse without Javascript enabled, Heretics! No, paranoid :D -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Write my own extensions

2008-11-02 Thread Lupus Michaelis
for PHP in C++ ? C++ interface for writing PHP extension doesn't exists, it is C only. And the best source of documentation for that is the PHP source code. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Mailing lists

2008-10-30 Thread Lupus Michaelis
Daniel Brown a écrit : On Thu, Oct 30, 2008 at 3:06 PM, Richard Heyes [EMAIL PROTECTED] wrote: Pink isn't my colour... And there's no 'U' in 'color' either, you limey! ;-P It depends on what english your are using, isn't it ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org

Re: [PHP] Newbie: can I store flash file into Mysql DB

2008-10-29 Thread Lupus Michaelis
did you run ? With innodb, blobs are stored in separate files, so it doesn't impact the engine performances (they are other problems, like file caching not available). -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] clear a mysql table

2008-10-28 Thread Lupus Michaelis
Daniel P. Brown a écrit : In direct response to your question, you're looking for the TRUNCATE command. I hope he doesn't have any foreign keys nor triggers. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] clear a mysql table

2008-10-28 Thread Lupus Michaelis
Jim Lucas a écrit : I would ass-u-me that if someone had foreign keys and/or triggers setup that they would not need to ask how to clear/empty a table I never assume that kind of thing, because he could be cleaning a database he didn't designed. It happends. :) -- Mickaël Wolff aka Lupus

Re: [PHP] Regex validation

2008-10-28 Thread Lupus Michaelis
VamVan a écrit : This is where it messes up. So I have decided not to allow people to use that as well. By that way, you're making a lot of ennemies on this very list :D -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net

Re: [PHP] How to submit form via PHP

2008-09-29 Thread Lupus Michaelis
;) ). -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to submit form via PHP

2008-09-29 Thread Lupus Michaelis
, it is quite clear that an empty string is a valid URI *into* a document served by HTTP. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Prevent execution bad commands

2008-09-27 Thread Lupus Michaelis
-rf /` ; It exists a function http://fr2.php.net/manual/en/function.escapeshellcmd.php that escape shuch kind of string. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Math problems (No not high school math!)

2008-09-25 Thread Lupus Michaelis
Jason Pruim a écrit : $totalday = $totalday/60/60; If you're working with legal dates, this is wrong. A day can be 23 or 25 hours long. Thing about time changing (winter and summer time). Use strtotime to avoid this kind of problems. -- Mickaël Wolff aka Lupus Michaelis

Re: [PHP] br was [PHP] Re: render html

2008-09-23 Thread Lupus Michaelis
Nathan Rixham a écrit : wbr / is an interesting one; and very rarely used Maybe because it isn't part of the normalized W3C markup languages ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Reading a Word document from PHP

2008-09-23 Thread Lupus Michaelis
Robert Cummings a écrit : If it were me... and I REALLY needed to do this... I'd probably start look into how to make Open Office do a command line conversion of word documents to plain text. If you're on Debian, seek for the openoffice.org-headless package ;) -- Mickaël Wolff aka Lupus

Re: [PHP] SESSIONS vs. MySQL

2008-09-22 Thread Lupus Michaelis
. The last fashion is to use a tmpfs to mount /tmp -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: render html

2008-09-21 Thread Lupus Michaelis
Michelle Konzack a écrit : $body = hellobr/ulier/ulhellohello; ^ Should be br / Definitely no : http://www.w3.org/TR/2006/REC-xml-20060816/#dt-empty http://www.w3.org/TR/2006/REC-xml-20060816/#NT-S Or maybe for buggy browsers ? -- Mickaël Wolff aka Lupus

[PHP] Re: Header() - POST

2008-09-21 Thread Lupus Michaelis
Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Browser could not get mp3 files from http site

2008-09-21 Thread Lupus Michaelis
Michelle Konzack a écrit : It is a Netscape/Mozilla Extension: Are you kidding ? This is normalized thing : http://www.w3.org/TR/html4/struct/objects.html -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: Header() - POST

2008-09-21 Thread Lupus Michaelis
. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: OOP - Calling methods from classes that are inheriting?

2008-09-21 Thread Lupus Michaelis
Ben Stones a écrit : Hope I have made myself as clear as possible! I did'nt understand what you mean, but I guess you're seeking for the parent keyword. Read again the PHP manual about OOP. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http

[PHP] Re: Calculation assistance.. :)

2008-09-20 Thread Lupus Michaelis
: 12 % of 100 is 12 but if you get 1 % each month : 1 % of 100 the first month 1 % of 99 the second month etc. so it will be less than 12. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email Verification

2008-09-17 Thread Lupus Michaelis
Richard Heyes a écrit : New domain name extensions can be accounted for easily, eg: \.(?:[a-z]){2,4} It excludes .museum tld. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Using DOM textContent Property

2008-09-03 Thread Lupus Michaelis
with no title attribute or empty title attribute : '//a[not(@title) or @title = ]' ; -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Google Chrome

2008-09-03 Thread Lupus Michaelis
Shawn McKenzie a écrit : Will somebody volunteer to test on Wine or Mono? Google don't allow the downloading from Linux (I now, I can easily work around, but I don't workaround when the other site won't). -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Lupus Michaelis
the memory needed to store the variable, but you can easily understand that they'll not be twice the previous memory footprint, but a little more. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: Using DOM textContent Property

2008-09-03 Thread Lupus Michaelis
[EMAIL PROTECTED] a écrit : That example was for finding email addresses and turning them into links, not the other thing about adding missing attributes. XPATH would be no help with the former. You're right, I misunderstood :-/ sorry for the noise. -- Mickaël Wolff aka Lupus Michaelis

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread Lupus Michaelis
to watch the memory consumption when playing with optimizations options ;) -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: skinning a cat

2008-09-01 Thread Lupus Michaelis
Robert Cummings a écrit : Try running that on windows. No problem http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: switch case - to require the break statements seems strange to me

2008-08-31 Thread Lupus Michaelis
Govinda a écrit : Or is there a better reason? What is exactly in $i ? A scalar integer, a string containing an integer ? A boolean ? What version of PHP ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] [HS] Howto answer Was: [PHP] casting static property

2008-08-31 Thread Lupus Michaelis
don't have to scroll if everybody clean as it must. expect/prefer so I can maximize my chance to get help when I need it ;-) Yeah, because morron like me autoscroll ;) If I see nothing, I don't answer and stroke n key to reach the next message :) -- Mickaël Wolff aka Lupus Michaelis http

Re: [PHP] Re: switch case - to require the break statements seems strange to me

2008-08-31 Thread Lupus Michaelis
Diogo Neves a écrit : Hi, Well, I see a good reason anyway... U can have a lot of entry points and only one to exit... Like: I misunderstood the question :-/ I read Govinda had a strange behavior that ignore the break :-D -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP

Re: [PHP] PHP IDE needed

2008-08-28 Thread Lupus Michaelis
Shelley a écrit : Though vim is not a so-called IDE, actually it's quite handy. Actually, it is. An IDE is a glue between a set of tools. Vim provides every services you need, and it is scriptable. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http

[PHP] [OT|Troll] Re: [PHP] Re: PHP IDE needed

2008-08-27 Thread Lupus Michaelis
Sancar Saran a écrit : Whats wrong with echo ?php echo Hello World; ? index.php Two syntacticals errors ? :p is there anything to satisfy your needs... I prefer cat for that purpose, more flexible. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing

Re: [PHP] Regex for email validation

2008-08-27 Thread Lupus Michaelis
Mickael Doodoo@lupusmic.com nor [EMAIL PROTECTED] ; and they are valuable email addresses. Without the fact that a top level domain isn't always between two and three characters (think about .museum). -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http

Re: [PHP] Regex for email validation

2008-08-27 Thread Lupus Michaelis
Per Jessen a écrit : That format is about as dead as the dinosaurs. Why ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for email validation

2008-08-27 Thread Lupus Michaelis
ago, it was Lotus Mail habits of the end users ;) -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie Q: How to say, if the fileNAME is equal to..., or better yet, if the fileNAME ends with '.jpg'?

2008-08-26 Thread Lupus Michaelis
Ford, Mike a écrit : case '.gif': case '.png': case '.jpg': case '.jpeg': echo $file; Be carefull. The « extension » is just a clue to know what filled the file. See http://fr3.php.net/manual/en/book.fileinfo.php. -- Mickaël Wolff aka Lupus

Re: [PHP] newbie Q: How to say, if the fileNAME is equal to..., or better yet, if the fileNAME ends with '.jpg'?

2008-08-26 Thread Lupus Michaelis
Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] concatenating with . or ,

2008-08-26 Thread Lupus Michaelis
as you can see ;) -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Bug in array_key_exist?

2008-08-26 Thread Lupus Michaelis
Korgan a écrit : public function addXXX($id, $count) { $count = (int)$cout; Try to work with error_reporting set to E_ALL ;) session_start(); var_dump($_SESSION['XX']); /** A **/ If XX is a right value for a variable name, they are no problem. -- Mickaël Wolff aka Lupus

[PHP] Re: php not reading file properly

2008-08-20 Thread Lupus Michaelis
/httpd/access_log ? What mode accesses on the file ? What user runs the webserver (www-data, apache, someunprivileged) ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Negative Look Ahead Regex - Code Mistake or Bug?

2008-08-18 Thread Lupus Michaelis
Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Negative Look Ahead Regex - Code Mistake or Bug?

2008-08-18 Thread Lupus Michaelis
]+)' ; $re = sprintf(`%s%s?%s`, $domain, $path, $search_part) ; $buffer = '\1\2?PHPSESSID=t9gksvpdcuobsnqt98qloe6lg4;' ; $buffer = preg_match($re, $url, $buffer) ; So said, it doesn't work anymore when you'll have other parameters in your search part. -- Mickaël Wolff aka Lupus

[PHP] Re: Breaking a line in two

2008-08-17 Thread Lupus Michaelis
Ron Piggott a écrit : This is 23 characters long. I want br added after the 12th character, following the first space: I guess you want to use wordwrap http://www.php.net/wordwrap and nl2br http://www.php.net/nl2br. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP

[PHP] Re: Open Source Classifides

2008-08-16 Thread Lupus Michaelis
Joey a écrit : Does anyone know of a good php based classified system? What do you mean by classified system ? -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Buffering problem

2008-08-15 Thread Lupus Michaelis
Anders Norrbring a écrit : I'm running out of ideas to where to look for this, so can you please give me some pointers? I guess it is that you're seeking for : http://fr.php.net/manual/en/outcontrol.configuration.php#ini.implicit-flush -- Mickaël Wolff aka Lupus Michaelis http