a
seperate issue (see tedd's explaination)
2008/9/10 Jochem Maas [EMAIL PROTECTED]
tedd schreef:
At 6:46 PM -0600 8/31/08, Govinda wrote:
Not that it is an issue, but just to understand the logic-
Why do we have to use 'break' statements in each case?
switch ($i) {
case 0:
echo i equals 0
Maciek Sokolewicz schreef:
Forwarding to php-general.
I think /dev/null would have been a better place.
wtf is anyone supposed to do with this? (apart from ignore it?)
Original Message
Subject: Re: [DOC-BUGS] #46054 [NEW]: comment of addcslashes 'A..z' is
wrong
Date:
Lester Caine schreef:
Luke wrote:
yeah, make an official no-support date. That would be great- it would
help
with the whole IE6 problem.
It needs to be phased out, yet I know many companies that still haven't
upgraded to IE7 yet!
That's a big security problem as well as being a headache for
Ben Stones schreef:
Hi,
I'm going to make a small browser based file system for ease of small
updates that I make frequently on my Website. First of all I want to loop
all the files on the same directory and to tell PHP read the same directory,
I think I'd need to use the magic constant I think
Nathan Rixham schreef:
Stut wrote:
On 11 Sep 2008, at 13:12, Ben Stones wrote:
I'm going to make a small browser based file system for ease of small
updates that I make frequently on my Website. First of all I want to
loop
all the files on the same directory and to tell PHP read the same
Jason Pruim schreef:
On Sep 11, 2008, at 8:58 AM, Micah Gersten wrote:
There is only 1 military service person that should be thanked for
actions on 9/11 and that is the man who was brave enough to disobey
orders and shoot down the flight over Pennsylvania. The rest who were
involved obeyed
Colin Guthrie schreef:
Lester Caine wrote:
Jochem - You not had the problem of M$ changing default font sizes in
different versions of windows? IT departments have enough problems
with INSTALLING an upgrade without asking them to CHANGE the font size
as well :)
The complaint from THIS site
Thomas Bolioli schreef:
I want to return an array from a function.
I have this:
return array($found, $username, $email, $nickname);
as my code. I have a bug in the code and I am not sure where yet. Should
the above statement with this:
array($vars);
not sure what you meant with the line
has anyone here downloaded/compiled 5.3 and played with namespaces?
have you encountered any issues/problems?
I'd like to hear from you as I've been asked to compile a reference documenting
anything/everything
people may have come across (so far as namespaces go), if you have some
reproduce
Nathan Rixham schreef:
Jochem Maas wrote:
Nathan Rixham schreef:
Stut wrote:
maybe this is into coding standards and ethics.. but this may be
acceptable:
if( !defined('__DIR__') ) {
define('__DIR__' , dirname(__FILE__));
}
however realistically you'd have to do this in every file and nto
Jay Blanchard schreef:
[snip]
OK, this is getting ridiculous. I think we need a new PHP list.
Something like [EMAIL PROTECTED] sounds about right.
[/snip]
I knew jealousy would rear its ugly head eventually.
what's a pen?
--
PHP General Mailing List (http://www.php.net/)
To
Jason Pruim schreef:
On Sep 10, 2008, at 1:10 PM, Jochem Maas wrote:
Jay Blanchard schreef:
[snip]
OK, this is getting ridiculous. I think we need a new PHP list.
Something like [EMAIL PROTECTED] sounds about right.
[/snip]
I knew jealousy would rear its ugly head eventually.
what's
Ben Stones schreef:
Hi, just installed WAMP and wondering how do I setup a root password for
accessing phpMyAdmin, MySQL, etc. Couldn't find anything on the WAMP's
Website how to do this. I realise this has got nothing to do with PHP
specifically but any help will be appreciated!
STFW? I'm
dont top post.
Jay Moore schreef:
Probably not totally work safe ;)
Ah the perks of controlling the company network. I determine what is
NSFW (nothing).
Jay
PS - If you guys are gonna gripe about top posting, you really need to
learn to prune messages better. :P
--
PHP General
Nathan Rixham schreef:
Not sure why I'm sharing this; but it could be a gotcha
been there, got the T-shirt, see below for my work around.
class testOuter {
private $base;
public function __construct()
{
$this-base = new testBase;
}
public function __call(
Peter Ford schreef:
Jochem Maas wrote:
ANR Daemon schreef:
Greetings, Jochem Maas.
In reply to Your message dated Sunday, September 7, 2008, 20:56:37,
I've been working on some PEAR-based app last week and I ran into
problem.
While I debugging app, my backtrace always trimmed at some point
Ross McKay schreef:
Arnie Shore wrote:
Folks, I need to take a given float value to, say, two decimals, as per
subject JS. I've RTFM, but to no avail.
On Mon, 08 Sep 2008 22:03:54 +0200, Sjoerd wrote:
$str = sprintf(%01.2f, $number);
Skinning cat, method two:
$str =
Colin Guthrie schreef:
Nathan Rixham wrote:
Short and sweet; does anybody have any practical experience; thoughts
or case studies in regards to implementing the Zend Platform.
I like it.
I'm slowly converting across my companies applications to it, but it's a
long process (mainly due to
Jason Pruim schreef:
On Sep 9, 2008, at 5:02 PM, Nathan Rixham wrote:
Jason Pruim wrote:
On Sep 9, 2008, at 4:38 PM, Nathan Rixham wrote:
Jason Pruim wrote:
Hey everyone,
Not completely specific to php but I know you guys know regex's
better then I do! :)
I am attempting to match
Nathan Rixham schreef:
Jochem Maas wrote:
Ross McKay schreef:
Arnie Shore wrote:
Folks, I need to take a given float value to, say, two decimals, as
per
subject JS. I've RTFM, but to no avail.
On Mon, 08 Sep 2008 22:03:54 +0200, Sjoerd wrote:
$str = sprintf(%01.2f, $number);
Skinning
Nathan Rixham schreef:
Ben Stones wrote:
Hi,
The following bit of code doesn't output anything:
?php
class output {
var $text;
function outputText() {
$this-text = Hello World;
echo $this-text;
}
}
$class = new output();
Jason Pruim schreef:
On Sep 9, 2008, at 12:18 PM, Jochem Maas wrote:
...
I'll have to do some searching :)
always ;-)
The problem with the internet is there is so much out there... Trying to
weed the crap from the food can be a long digestive process which ends
up with MORE crap
tedd schreef:
At 6:46 PM -0600 8/31/08, Govinda wrote:
Not that it is an issue, but just to understand the logic-
Why do we have to use 'break' statements in each case?
switch ($i) {
case 0:
echo i equals 0;
break;
case 1:
echo i equals 1;
break;
case 2:
echo i equals 2;
don't top post.
Ali Çevik schreef:
Hi,
I guess the word meaningless depends on what you are trying to do.
So, I guess I have to describe what I'm trying to do. The problem is, I need
to pass a php object to javascript via json and then back to php again
using json. However, while doing that,
David Lidstone schreef:
Thanks very much to both of you.
This does the trick! I had (stupidly) tried:
foreach ($c as new RecursiveIteratorIterator($item))
which with hindsight is completely illogical! I also wasn't aware of the
constants. Is there a simple tutorial / docs you know of for
ANR Daemon schreef:
Greetings, Jochem Maas.
In reply to Your message dated Sunday, September 7, 2008, 20:56:37,
I've been working on some PEAR-based app last week and I ran into problem.
While I debugging app, my backtrace always trimmed at some point.
First time I though it was my mistake
a classloader that scans a given directory tree for files named
ala point 1. and caches the results in a file or shared memory and uses that
info
to load classes via autoload, works very well.
On Mon, Sep 8, 2008 at 12:24 PM, Jochem Maas [EMAIL PROTECTED] wrote:
don't top post.
Ali Çevik
Ross McKay schreef:
On Mon, 8 Sep 2008 13:03:18 +0100, Richard Heyes wrote:
I really don't want to install a beta (though I did install Chrome, so
maybe that should be an MS beta) but I am interested in how it
performs.
That's what God invented the virtual machine for. Load up Windows XP in
ANR Daemon schreef:
Greetings, All.
I've been working on some PEAR-based app last week and I ran into problem.
While I debugging app, my backtrace always trimmed at some point.
First time I though it was my mistake, and switched back to standard
Exception class.
But nothing changed.
If I print
David Lidstone schreef:
Hi
I am getting myself quite confused while trying to use SPL to
recursively iterate through a collection of objects, and any help would
be greatly appreciated!
My collection of objects is contained in a class (which I frequently use
to iterate through objects
Reese schreef:
b wrote:
javasac wrote:
[lots of stuff ...]
Second, at least one of the image paths is relative to your own
desktop computer's drive (why is it that this always happens on a
Windows box?)
td width=11
Robert Cummings schreef:
On Fri, 2008-09-05 at 03:15 +0200, Jochem Maas wrote:
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 5:22 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 4:31 PM, Dan Shirah [EMAIL PROTECTED] wrote:
Yippie, Chrome already
Jay Moore schreef:
Wolf wrote:
Jay Moore wrote:
Greetings list!
Is it possible (and if so, how) to send username and password
information to a website with PHP?
In one word...
CURL
A couple of people have responded (to me; not the list) with that very
same response. I've heard of it,
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 4:31 PM, Dan Shirah [EMAIL PROTECTED] wrote:
Yippie, Chrome already exploited for DoS attacks?
http://blogs.zdnet.com/security/?p=1847tag=nl.e539
Its not a DoS, its just a browser crash
so forcing a browser to crash is not 'Denial of
Tom Shaw schreef:
Thanks for every ones help. I just used a bunch of control structures and
issest's to add it up. Not pretty but works.
if (isset($data['order_product_amount_0'])) {
$data['order_product_total'] =
number_format($data['order_product_amount_0'], 2, '.', '');
}
if
Diogo Neves schreef:
On Wed, Sep 3, 2008 at 12:35 AM, Vernon [EMAIL PROTECTED] wrote:
I've gotten the one array down and I've figured out how to sort that array,
however, I need to sort the array by the modified date of the file. Here's
what I got so far:
?php
// Open current directory
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 5:22 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Bastien Koert schreef:
On Thu, Sep 4, 2008 at 4:31 PM, Dan Shirah [EMAIL PROTECTED] wrote:
Yippie, Chrome already exploited for DoS attacks?
http://blogs.zdnet.com/security/?p=1847tag=nl.e539
Haig Dedeyan schreef:
On September 2, 2008 05:56:23 pm Haig Dedeyan wrote:
Does anyone know what this implies? It's the 2nd section from their license
agreement:
By submitting, posting or displaying the content you give Google a perpetual,
irrevocable, worldwide, royalty-free, and
Jason Pruim schreef:
On Sep 2, 2008, at 3:08 PM, Jay Blanchard wrote:
[snip]
...
[/snip]
Who is going to create the group?
just a quick search of groups on linked in showed 134 groups related to
php.
And my profile: http://www.linkedin.com/pub/9/59a/b41
:)
and the guy that started
Robert Cummings schreef:
On Wed, 2008-09-03 at 06:28 -0700, alexander lind wrote:
Hi All
I just tested my PHP app on Ubuntu 64bit, and found that all my php
scripts would consume about 5x more RAM memory there, compared to how
much they use on my macbook pro (which to make things a bit
Jim Lucas schreef:
Nathan Nobbe wrote:
On Wed, Sep 3, 2008 at 3:27 AM, Richard Heyes [EMAIL PROTECTED] wrote:
when will Google bring out the Google levitation device...?
i heard they programmed it in c++ :)
-nathan
I would think something that sophisticated should be written in LISP
Rene Veerman schreef:
Hi. Today, i've got a chicken-and-egg puzzle for your enjoyment :)
to me you've created a problem that doesn't exist .. if you use
gracefully degrading, valdating content that therefore doesn't *rely*
on script to make something usable.
In order to properly support
Colin Guthrie schreef:
Robert Cummings wrote:
On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote:
For anyone that might be following this thread because they also
have a memory problem (on a 64 bit platform or not), here is some
advice on how to alleviate it:
- Use a bytecode cacher
Micah Gersten schreef:
This seems like a futile activity. It's a waste of time to have to hunt
down an error if you can be told where it is. I suggest spending time
improving coding standards that error chasing.
besides, try grepping the archives for the number of posts that post errors
Martin Zvarík schreef:
Hi,
I am working on CMS-Blog system, which will be using approx. 10 000 users.
using them? sounds like google or M$
I have a basic question - I believe there are only two options - which
one is better?
1) having separate databases for each blog = fast
(problem:
the info in the format:
handler ( int $errno , string $errstr [, string $errfile [, int
$errline [, array $errcontext ]]] )
you could print out the first two pieces, and not the last 3...
On Wed, Sep 3, 2008 at 5:10 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Micah Gersten schreef:
This seems like
Dave M G schreef:
PHP List,
I have a script, part of which is taken from a script I found on the
'net, which tries to detect the user agent of the browser accessing the
site. One of the reasons I'm doing this is to find out if the browser is
a desktop or mobile.
Part of the code looks like
Robert Cummings schreef:
On Mon, 2008-09-01 at 14:34 +0200, Merlin Morgenstern wrote:
Per Jessen schrieb:
Jochem Maas wrote:
lockfile=/var/lock//file
# clear out a lock older than 60mins
find $lockfile -cmin +60 | xargs rm
test ! -f $lockfile (
touch $lockfile
run some php
rm -f
Richard Heyes schreef:
Hi,
Looks like Google chrome is being released today (or soon). IE,
Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser
war?
http://www.google.com/googlebooks/chrome/
to quote Han Solo : I have a bad feeling about this
--
PHP General Mailing List
Richard Heyes schreef:
Hi,
Looks like Google chrome is being released today (or soon). IE,
Firefox, Opera, Safari and now Chrome, hmmm, can anyone say browser
war?
http://www.google.com/googlebooks/chrome/
I've been reading this ... very well done all in all, on page 37 they
say But Google
Shawn McKenzie schreef:
Jochem Maas wrote:
Dave M G schreef:
PHP List,
I have a script, part of which is taken from a script I found on the
'net, which tries to detect the user agent of the browser accessing
the site. One of the reasons I'm doing this is to find out if the
browser
Per Jessen schreef:
Robert Cummings wrote:
#!/bin/sh
while true
do
yourscript
sleep 300
done
I accomplish the same with cron scripts by using locks with expiry.
got an example? my cat skinning skills need to be improved, the cat
won't like it but screw the cat, right?
[snip code]
I
Colin Guthrie schreef:
Jochem Maas wrote:
either way, I've just learn't something new as far as shellscripting
goes :-)
apart from the xargs command ... that still does my head in (don't worry
I'll look it up ... for the umpteenth time).
find $lockfile -cmin +60 | xargs rm
FWIW, it's nicer
Per Jessen schreef:
Jochem Maas wrote:
lockfile=/var/lock//file
# clear out a lock older than 60mins
find $lockfile -cmin +60 | xargs rm
test ! -f $lockfile (
touch $lockfile
run some php
rm -f $lockfile
)
wouldn't creating a dir be better here? (with regard to atomicity)
I haven't
Diogo Neves schreef:
Hi all,
Why a static var don't cast as a dynamic one?
See file for more info...
attachments get stripped.
don't cross post to internals, it's bad form.
try and formulate your questions a bit better
(it should take you more time to write your post than
it takes for someone
Robert Cummings schreef:
On Sun, 2008-08-31 at 12:12 +0200, Per Jessen wrote:
Robert Cummings wrote:
That's easily taken care of. Instead of a cron-job, you could have a
script running as a daemon, checking for emails to be sent every
5mins.
That's the same as running a cron every 5 minutes
believe yes
On Sun, Aug 31, 2008 at 5:37 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Sun, 2008-08-31 at 17:09 +0200, Jochem Maas wrote:
Diogo Neves schreef:
Hi all,
Why a static var don't cast as a dynamic one?
See file for more info...
attachments get stripped.
don't cross post to internals
() { echo \$this-e =
{$this-e}; }}'
On Sun, Aug 31, 2008 at 7:09 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Diogo Neves schreef:
Sorry, i have no webserver... but I can send all code in the email, right?
you can use pastebin.com.
I also recommend you write reproduce/example code like
Robert Cummings schreef:
On Sun, 2008-08-31 at 17:10 +0200, Jochem Maas wrote:
Robert Cummings schreef:
On Sun, 2008-08-31 at 12:12 +0200, Per Jessen wrote:
Robert Cummings wrote:
That's easily taken care of. Instead of a cron-job, you could have a
script running as a daemon, checking
Diogo Neves schreef:
Newbie :(
another tip: don't top post :-)
that said don't feel bad, you make a lot more effort than most
noobs ... personally I wish every newcomer would be so open
to pointers/critism/tips/etc and made as much effort as you do,
this place would be better off.
so ...
Robert Cummings schreef:
On Sun, 2008-08-31 at 21:42 +0200, Jochem Maas wrote:
Robert Cummings schreef:
I assume that this is coming from your interjinn lib, and that it's
aimed at php4 (given the ampersands your throwing about)
also your LockManager object seems to have a get
tedd schreef:
At 10:58 AM +0100 8/31/08, Diogo Neves wrote:
Well, I don't know how, but google folks @ gmail are doing a great job
with anti-spam tecnology... i believe that is has something to do with
the massive user base that can more accuratly say what is spam and
blacklist it plus
Robert Cummings schreef:
On Sun, 2008-08-31 at 10:46 -0400, tedd wrote:
At 5:39 AM -0400 8/31/08, Robert Cummings wrote:
On Sat, 2008-08-30 at 10:17 -0400, tedd wrote:
At 3:27 PM +0200 8/30/08, Jochem Maas wrote:
2. you can't shut him down either, he does'nt have an off button.
Yeah
Stut schreef:
Good points all, but I'd add two more from my own collection...
nice posts, both of you! it's time I rewrote my general form submission
routines ... I'll be taking all your suggestions and putting them into
practice (in so far as I don't do so already).
free specs for better
Dan Shirah schreef:
Hello,
I'm hoping to get a few good ideas on the best way to perform a search of
PHP results.
Currently I have a page that returns a list of collapsed customer data:
Example
+ John Smith
+ Jane Doe
+ Robert Jones
+ Dale Bennett
If the user clicks on a customer name it
Robert Cummings schreef:
On Sun, 2008-08-31 at 16:25 -0400, Robert Cummings wrote:
On Sun, 2008-08-31 at 22:21 +0200, Jochem Maas wrote:
Robert Cummings schreef:
On Sun, 2008-08-31 at 21:42 +0200, Jochem Maas wrote:
Robert Cummings schreef:
I assume that this is coming from your
Ross McKay schreef:
On Sun, 31 Aug 2008 18:49:15 +0100, Stut wrote:
Field names
Don't name fields things like name, email, address, postcode, message,
etc. Instead name them a, b, c, d, e, etc but name your hidden field
email. That should provoke most bots into changing that value and
Govinda schreef:
On Aug 31, 2008, at 2:17 PM, Jochem Maas wrote:
another tip: don't top post :-)
does top post mean to puts one's reply text at the top of the email?
exactly.
People prefer it to be at the bottom?
generally yes, the longer you hang around on mailing list and the like
Michael S. Dunsavage schreef:
This is my date array:
$months = array (1 = 'January', 'February', 'March', 'April', 'May',
'June', 'July', 'August', 'September', 'October', 'November',
'December');
you want, if you ask me, to get you head round the following functions.
Ross McKay schreef:
Jochem Maas wrote:
any idea as to whether auto-fill can recognize stuff like:
foo[email] or email[foo] or email_foo
[...]
AFAIK, the auto-fill form stuff works off previously entered field
names. If a user enters their email address into a field called 'email
redirecting to generals mailing list ...
Diogo Neves schreef:
php -r 'class B { private static function a() {} public function
__callStatic($method, $parms) { echo $method, \n; } } $a = new B;
$a::a();'
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in Command line
code on line 1
Govinda schreef:
Not that it is an issue, but just to understand the logic-
Why do we have to use 'break' statements in each case?
switch ($i) {
case 0:
echo i equals 0;
break;
case 1:
echo i equals 1;
break;
case 2:
echo i equals 2;
break;
}
all 3 cases fire, even
Robert Cummings schreef:
...
using bots to crack Google’s captchas.
I really don't see how this story supports your arguments in the least
and as such I will not be answering anymore of your drivel. You appear
to have nothing of usefulness to add to the conversation.
I didn't think it
Diogo Neves schreef:
hi all,
I'm sending this email only to ask if someone know if the works of
__call in private methods is bug or feature.
ex.
class user {
public function __call ( $name, $arguments ) {
do something
return call_user_func( array( $this, $name ), $arguments );
the fatal
Jim Lucas schreef:
Robert Cummings wrote:
On Sat, 2008-08-30 at 00:01 -0400, Eric Gorr wrote:
No, I will not help you troll. But, I certainly cannot prevent you
from doing so.
Hopefully the list moderators will shut you down.
This is PHP General. We discuss PHP and related issues.
a method private
then you want to expose the very same method publically via __call(),
quite simply the method should be public in that example.
On Sat, Aug 30, 2008 at 2:38 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Diogo Neves schreef:
hi all,
I'm sending this email only to ask if someone know
Korgan schreef:
Korgan napsal(a):
Jim Lucas napsal(a):
Korgan wrote:
Hi,
I have a problem with array_key_exists in if statement.
I have a class with this function
class XXX {
private items = array();
...
...
...
public function addXXX($id, $count)
{
$count = (int)$cout;
please keep replies on list unless your intending to pay me
an hourly fee ...
Diogo Neves schreef:
On Sat, Aug 30, 2008 at 4:40 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Diogo Neves schreef:
...
nop... I wanna manipulate the $this and the $arguments, and possible
don't even execute
tedd schreef:
At 3:25 PM +0100 8/30/08, Stut wrote:
in the meantime I stand by my assertion that a 'phone number people
can call with any type of telephone to interact with another human who
can get them past the check without compromising the protection the
check affords is ultimate
Diogo Neves schreef:
Hi,
On Sat, Aug 30, 2008 at 6:20 PM, Jochem Maas [EMAIL PROTECTED] wrote:
please keep replies on list unless your intending to pay me
an hourly fee ...
Yeap, i'm new in the list and i missed te cc of list... i'll try to
remember, sorry
okay.
Diogo Neves schreef
Robert Cummings schreef:
On Fri, 2008-08-29 at 04:48 +0200, Jochem Maas wrote:
Micah Gersten schreef:
I suggest creating a shell wrapper for PHP that will write the command
to a file for you and then call PHP with the appropriate arguments. PHP
won't even see most of the command that you
David Otton schreef:
2008/8/28 Jochem Maas [EMAIL PROTECTED]:
I have a feeling I'm out of luck - probably security issues that keep
you from doing such a thing as well.
I did have the idea of grabbing the PID and then grepping the output of
ps via exec() ... that would do it, but I reckon
Mark Weaver schreef:
Hi All,
Go figure... I sat down today to get some more work on my current
project; I got to a certain point where I need to step through an array
with a foreach loop. I found that I need to test for the current pointer
position of the array, but I haven't a clue as to
Stut schreef:
On 29 Aug 2008, at 19:46, Jochem Maas wrote:
David Otton schreef:
2008/8/28 Jochem Maas [EMAIL PROTECTED]:
I have a feeling I'm out of luck - probably security issues that keep
you from doing such a thing as well.
I did have the idea of grabbing the PID and then grepping
Dan Joseph schreef:
On Fri, Aug 29, 2008 at 2:40 PM, Mark Weaver [EMAIL PROTECTED] wrote:
...
This may also help as well as Jochem's suggestion: http://us2.php.net/key
not unless you wan't a headache (re-read the bit about foreach's internal
pointer):
php -r '$r = array(a,b,c);
Robert Cummings schreef:
On Fri, 2008-08-29 at 15:36 -0400, Robert Cummings wrote:
On Fri, 2008-08-29 at 20:42 +0200, Jochem Maas wrote:
Robert Cummings schreef:
On Fri, 2008-08-29 at 04:48 +0200, Jochem Maas wrote:
Micah Gersten schreef:
I suggest creating a shell wrapper for PHP
David Otton schreef:
2008/8/29 Jochem Maas [EMAIL PROTECTED]:
in what sense won't it work? the complete line is in the output of ps
somewhere
albeit after wildcard/shell expansion.
With the pipe? I'd really like to see an example, beacuse I couldn't
coax it out of ps, and it might be handy
kind of beast, I'm of another genus :)
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jochem Maas wrote:
David Otton schreef:
Quote the entire command as a string. Pass it to a shell script that
sets an environment variable to that string, then executes
Mark Weaver schreef:
tedd wrote:
...
Try looking at current
http://www.php.net/current
Maybe that will help.
not in the context of foreach() (I'll repeat the oneliner here
because tedd's old and has a crap email client ;-):
php -r '$r = array(a,b,c); next($r); $K = key($r); foreach ($r
T Lensselink schreef:
Catalin Zamfir Alexandru, DATAGRAM SRL wrote:
Hello guys,
I've been stalking on the list for some time. Didn't have
anything to report/talk, until now. I have a code like this, maybe you guys
can reproduce it, with output buffering started:
Echo
tedd schreef:
At 9:32 PM +0100 8/29/08, Stut wrote:
That's ultimate accessibility, assuming it supports all types of
telephone, but it's also a major expense needing 24/7 coverage. Not
something my company of 5 people could hope to support on a
free-to-use site.
-Stut
-Stut:
I hesitated
Eric Gorr schreef:
On Aug 29, 2008, at 5:19 PM, tedd wrote:
...
There is no documentation anywhere which claims, as you do, that it is
impossible to design a captcha which deals with accessibility issues.
a lack of evidence proving the impossible ... there is a logic flaw
there somewhere.
Michelle Konzack schreef:
* Do not Cc: me, because I READ THIS LIST, if I write here *
*Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe*
Eric Gorr schreef:
On Aug 29, 2008, at 5:51 PM, Jochem Maas wrote:
Eric Gorr schreef:
On Aug 29, 2008, at 5:19 PM, tedd wrote:
...
There is no documentation anywhere which claims, as you do, that it
is impossible to design a captcha which deals with accessibility issues.
a lack
James Ausmus schreef:
On Tue, Aug 26, 2008 at 10:08 AM, Ford, Mike [EMAIL PROTECTED] wrote:
On 26 August 2008 17:15, James Ausmus advised:
On Tue, Aug 26, 2008 at 8:57 AM, Ford, Mike
[EMAIL PROTECTED] wrote:
On 25 August 2008 00:54, Govinda advised:
snip
Personally, I might be tempted to
Edward Diener schreef:
I have a JPG file on the server which I want to convert to a Windows BMP
file. How can I do this in PHP ? I did not see a GD image function for
doing this.
looks like you can do it using imagemagick:
http://www.imagemagick.org/Usage/formats/#bmp
--
PHP General
Auto-Deppe, C. Haensel schreef:
Hi all!
And again, a slightly off topic subject for you all from yours truly :o)
I have a customer (helicopter company) who is willing to give me some free
flights for a small website.
Now, I have been talking to my sister in law who is a designer (note:
hiya,
anyone know if it's possible to grab the entire commandline
that was used to start up a php script on the CLI, an example
of what I'm looking to grab from within the script (test.php in
this example):
php -qC -ddisplay_errors=1 ./test.php -o -d -e [EMAIL PROTECTED] -f ./last.log |
grep
Carlos Medina schreef:
Watch him go... there is Carloos, the man infront of all the
others. He
is WAY ahead, and he is gaining more and more speed. He is an adult,
and he
is sooo adult that he can't even take a laugh... see him run from the
humor! Faster and faster he runs... and there
Robert Cummings schreef:
On Thu, 2008-08-28 at 10:22 -0500, Micah Gersten wrote:
Does this work?
$command = implode(' ', $argv);
no syntax errors, so in that sense it works.
but it doesn't answer my question (check the body of the post as
well as the subject and that might become clear).
301 - 400 of 3344 matches
Mail list logo