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.p
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
-
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://lu
.
--
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
P has case 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
increment 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 Gener
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://www.php.net/unsub.php
e me, get the source.
--
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
know, I feel like some spanish windmill hunter.
--
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
wer to all
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
--
P), you have to check 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
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 unsubs
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
learn better way to speack, please accept our apologies ;)
--
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
more information, you can read 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
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
-
that implements
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
t call the dtor
unset($v2) ; // call the dtor
--
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
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/&
take 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
ink it'll
need some sed (sed -i 's/\/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.p
t 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
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/>
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
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
ror on foo(null) ;
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 un
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
!
--
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
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 for a
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://w
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 Mai
SIX filesystems, 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
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
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
Enjoy :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
from PHP, from 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
Wolff aka Lupus Michaelis
http://lupusmic.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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/)
To
Data);
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
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
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
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:
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 ?
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 unsubs
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
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
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 unsubscr
)
But for me, 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
;) ).
--
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
earh_criteria = "`rm -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
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 Mich
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
Nathan Rixham a écrit :
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://www.ph
tributions. 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
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
ernet.
--
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
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,
Michelle Konzack a écrit :
Why using JS?
echo "";
would do the trick...
No, because it'll not send back the datas in the hide form. And if
you suggest to pass datas in a HTTP GET, I'll answer XSS in the scope :)
--
Mickaël Wolff aka Lupus Michaelis
http://
Michelle Konzack a écrit :
$body = "helloierhellohello";
^
Should be
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 Wol
Because :
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
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
nteresting 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
[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 Mich
lculate 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: ht
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
ry.php>
This query fetch all a elements 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
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.p
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
the new part
You 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 key to reach the next message :)
--
Mickaël
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
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
quot;@ndd
five years 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
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
like "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 Genera
Sancar Saran a écrit :
Whats wrong with
echo "" > 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 List (http:
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
benchmark on english 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
more
acurate result.
--
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
/book.fileinfo.php>.
--
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
Who owned /var/log/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
7;(/\\w*)+' ;
$search_part = 'PHPSESSID=(?:[\w\d]+)' ;
$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 an
--
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
Ron Piggott a écrit :
This is 23 characters long. I want 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
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
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 Lupu
85 matches
Mail list logo