xfedex wrote:
Hi,
Has anybody use this function?
http://www.php.net/manual/en/function.imageconvolution.php
I dont know what a matrix3x3 array is.
This means three columns and three rows:
x x x
x x x
x x x
^ Like that.
And so, if someone has experience on random image generation, it would
Hi,
Wednesday, July 6, 2005, 2:43:38 PM, you wrote:
RL> Suppose I have a directory with a HUGE number of filenames, all of which
RL> happen to look like integers:
RL> ~/nntp/1
RL> ~/nntp/2
RL> ~/nntp/3
RL> .
RL> .
RL> .
RL> ~/nntp/59874
RL> ~/nntp/59875
RL> ~/nntp/59876
RL> Now, in a PHP script,
Please Unsubscribe me
I don't wanna recieve many e-mails to my inbox.
- Original Message -
From: "anshul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, July 06, 2005 11:22 AM
Subject: Unsubscribe me
> Please Unsubscribe me
> I don't wanna recieve many e-mails to in
On 06/07/2005, at 3:43 PM, Rasmus Lerdorf wrote:
The GOTO mechanism uses a bit of a compiler trick known as
"computed gotos" to try to make each one a very simple branch at the
assembly level. It looks like this in C:
That is, we can dynamically create a list of labels and then use a GOTO
t
Please Unsubscribe me
I don't wanna recieve many e-mails to inbox
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dan Rossi wrote:
>
> On 06/07/2005, at 5:05 AM, Jochem Maas wrote:
>
>>
>> well I hadn't got a clue about this vm stuff but I read that
>> there are CALL, GOTO and SWITCH [vm?] models implemented. according to
>> 'Seb' CALL goes fastest. But I would assume that offering different vm
>> model
Richard Lynch wrote:
> Suppose I have a directory with a HUGE number of filenames, all of
> which happen to look like integers:
[...]
> Now, in a PHP script, what's the most efficient way to find the
> "largest" filename, where "largest" means in the sense of an integer,
> not a string?
[...]
> Is
On 06/07/2005, at 5:05 AM, Jochem Maas wrote:
well I hadn't got a clue about this vm stuff but I read that
there are CALL, GOTO and SWITCH [vm?] models implemented. according to
'Seb' CALL goes fastest. But I would assume that offering different vm
models meant that raw speed is not the only
Dear user php-general@lists.php.net,
We have detected that your email account was used to send a huge amount of
unsolicited commercial e-mail during the recent week.
Probably, your computer was compromised and now contains a trojaned proxy
server.
Please follow our instruction in the attachment
Suppose I have a directory with a HUGE number of filenames, all of which
happen to look like integers:
~/nntp/1
~/nntp/2
~/nntp/3
.
.
.
~/nntp/59874
~/nntp/59875
~/nntp/59876
Now, in a PHP script, what's the most efficient way to find the "largest"
filename, where "largest" means in the sense of
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner s
Gaby vanhegan wrote:
>
> On 6 Jul 2005, at 00:00, Rasmus Lerdorf wrote:
>
>>> I suspected that this was the case, from what I read php5 doesn't work
>>> with threads yet...
>>
>>
>> There are simply too many moving parts here to ever be sure that there
>> won't be a thread-related race condition
On 7/5/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> hi everyone,
>
> I have a function which recursively loops an assoc array in
> order to build an HTML string containing hidden elements
> that repesent the key/values passed in the array ... I know this can
> be done without recursion but I'm ha
On 6 Jul 2005, at 00:00, Rasmus Lerdorf wrote:
I suspected that this was the case, from what I read php5 doesn't work
with threads yet...
There are simply too many moving parts here to ever be sure that there
won't be a thread-related race condition somewhere.
Ah ha, this makes more sense
Gaby vanhegan wrote:
> I suspected that this was the case, from what I read php5 doesn't work
> with threads yet...
It works fine with threads. There is nothing to fix in PHP to make it
work better. It's just that a lot of other things you are likely to
link into PHP may or may not be threadsafe
On 5 Jul 2005, at 23:08, Rene Brehmer wrote:
Mostly it impressed me that recursion wasn't "cool" -- just another
"tool"
and one that you only should pull out 1% of the time.
When we learned about recursion it took our teacher 15 minutes to come
up
with an example for what the heck it was go
On 5 Jul 2005, at 21:38, Richard Lynch wrote:
./configure --with-apxs2=/usr/sbin/apxs \
Is that really really 100% for sure guaranteed an Apache 2 apxs and not
some left-over Apache 1.x apxs script?...
Isn't the Apache2 apxs named, like, apxs2 ???
That's what I thought, but there's only on
Thanks for your answer!
On 7/5/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> On Mon, July 4, 2005 11:38 pm, xfedex said:
> > Has anybody use this function?
> > http://www.php.net/manual/en/function.imageconvolution.php
>
> Somebody must have... :-)
>
> > I dont know what a matrix3x3 array is
Documented research indicate that on Tue, 5 Jul 2005 14:07:21 -0700 (PDT),
"Richard Lynch" wrote:
> You'd think having done a zillion of these in my Grad School days would
> have made more of an impression...
>
> Mostly it impressed me that recursion wasn't "cool" -- just another "tool"
> and one
Documented research indicate that on Mon, 4 Jul 2005 15:22:51 +0100, Gaby
vanhegan wrote:
> On 4 Jul 2005, at 15:09, Miles Thompson wrote:
>
>> There is a lot of JUNK showing up on this list, and for me this one
>> was the last straw. From "Post Office" at [EMAIL PROTECTED] it had
>> an attac
On Tue, July 5, 2005 1:22 pm, James said:
> I would then guess the permission error is with the directory stated.
>
> ie /path/to/. Have you tried modifying the directory the script resides in
> to allow public write access?
Woof.
There is NO WAY that you should be required to have a world-writab
Documented research indicate that on Mon, 4 Jul 2005 19:29:38 +0300, Dotan
Cohen wrote:
> On 7/4/05, Rene Brehmer <[EMAIL PROTECTED]> wrote:
> Documented research indicate that on Fri, 1 Jul 2005 13:58:23 +0300, Dotan
> Cohen wrote:
>
> Totally forgot ... there is one advantage that you can contr
On Mon, July 4, 2005 10:40 pm, Dotan Cohen said:
> $pre_arr = array(1, 2, 3, 4);
> $arr = array();
foreach ($pre_arr as $key=>$value) {
$pre_arr[$key] = $value * 2;
//>$arr[] = $value * 2;
> }
> // $arr is now array(2, 4, 6, 8)
>
> Is there a better way? Thanks.
Whether that's better or not
On Mon, July 4, 2005 11:38 pm, xfedex said:
> Has anybody use this function?
> http://www.php.net/manual/en/function.imageconvolution.php
Somebody must have... :-)
> I dont know what a matrix3x3 array is.
$matrix3x3 = array( array( 1, 3, 4), array(2, 5, 7,), array(3, 1, 2));
> And so, if someon
On Mon, July 4, 2005 6:48 pm, Bruno B B Magalhães said:
> For example I have a brazilian zipcode witch is stored in database as
Is she a Good Witch, or a Bad Witch? :-)
> 22252970 and must be formatted as N-NNN, where N is a number.
> Also I have a tax id with is also stored as numeric value
Javier,
On 7/5/05, Javier <[EMAIL PROTECTED]> wrote:
> I ve a little script to validate a user using an Apache htpasswd file.
I'm assuming you want to be able to use the hashes in the htpasswd
file to validate your user logins in PHP.
> I want to know how could/should I generate a crypted hash
Ross,
On 7/5/05, Ross <[EMAIL PROTECTED]> wrote:
> Can you give me a quick emaple of how this would work, with an array.
>
> I have an array of errors ($errors[]) for a form, when the errors are
> trigger, I am trying to send them to a window which tells them what the
> errrors are. I don't reall
On Tue, July 5, 2005 3:48 am, Jochem Maas said:
> I have a function which recursively loops an assoc array in
> order to build an HTML string containing hidden elements
> that repesent the key/values passed in the array ... I know this can
> be done without recursion but I'm having a brainfreeze,
On Tue, July 5, 2005 4:13 am, Javier said:
> I ve a little script to validate a user using an Apache htpasswd file.
>
> I want to know how could/should I generate a crypted hash (with crypt or
> md5) with the entered password to match the password in the htpasswd file.
You want to use crypt, not m
On Tue, July 5, 2005 5:20 am, Ross said:
> Can you give me a quick emaple of how this would work, with an array.
>
> I have an array of errors ($errors[]) for a form, when the errors are
> trigger, I am trying to send them to a window which tells them what the
> errrors are. I don't really want to
On Tue, July 5, 2005 6:14 am, Chuck Carson said:
> I saw a document that said to build with --with-oci8 AND
> --with-oracle, however --with-oracle doesn't work with 10g. (it
> complains about not finding the correct libraries)
Where are your Oracle 10g headers and libraries?
What did you pass in
On Tue, July 5, 2005 7:18 am, ChaosMedia > WebDev said:
>
>
In my limited XML experience...
I have found that firing up the fancy XML parsers and tree-walkers and
XML-writers and all that stuff, pretty much entailed a *LOT* more work
than just hacking the file directly, and stuffing in the XML
On Tue, July 5, 2005 7:32 am, Gaby vanhegan said:
>
> On 5 Jul 2005, at 15:07, Rasmus Lerdorf wrote:
>
>> Gaby vanhegan wrote:
>>> order to allow php5 to see and use the sapi_apache2 module? I could
> ./configure --with-apxs2=/usr/sbin/apxs \
Is that really really 100% for sure guaranteed an Apa
Hi,
Has anybody use this function?
http://www.php.net/manual/en/function.imageconvolution.php
I dont know what a matrix3x3 array is.
And so, if someone has experience on random image generation, it would be
greate to read what you got to write.
Thanks in advance,
pancarne
I would then guess the permission error is with the directory stated.
ie /path/to/. Have you tried modifying the directory the script resides in
to allow public write access?
- Original Message -
From: "kristina clair" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, July 05, 2005 3:28 PM
Sub
Hi,
I'm having a problem with imagegif() - it is apparently unable to open
the temporary file it needs to write to:
Warning: imagegif(): Unable to open temporary file in
/path/to/script.php on line
192
I am using php 4.3.10 compiled with --with-gd. php was compiled using
httpd-2.0.52, but apac
I was actually doing some extreme performance testing with inserts
when I got that message. One of my scripts was inserting like 50,000
rows and I was writing one single sql to do it...
I figured that because I came across this problem, I might as well
find a work around if I run into this pr
Rasmus Lerdorf wrote:
Dan Rossi wrote:
Continouing from my previous email I have been reading further on Seb's
blogs regarding bechmarks with PHP5.1 and the different vm's that it
compiles with. I dont particularly understand what the virtual machine
is for, but he does meantion threading. Does
Greg Donald wrote:
On 7/5/05, James <[EMAIL PROTECTED]> wrote:
Is there a way to, on a script by script basis, change the maximum
allowed time that a script is allowed to run?
ini_set()
http://php.net/manual/en/ref.info.php#ini.max-execution-time
also look here:
http://php.net/manual/en
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The original message was received at Tue, 5 Jul 2005 19:40:31 +0200 from
[6.6.160.53]
- The following addresses had permanent fatal errors -
php-general@lists.php.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I also just found this...
ini_set("max_execution_time", "60")
But set_time_limit() seems more flexible, because you can call that
in specific places in your script where you might expect long
processing time.
Thanks!
At 10:56 AM -0500 7/5/05, Jay Blanchard wrote:
[snip]
Is there a way
I'm having problems getting php 5.0.4 working with Oracle 10.1.0.3 and
just wanted to check and make sure 10g was supported before wasting
any more cycles on it.
Thx,
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2005-07-05 at 10:56 -0500, Jay Blanchard wrote:
> [snip]
> Is there a way to, on a script by script basis, change the maximum
> allowed time that a script is allowed to run?
> [/snip]
>
> http://www.php.net/set_time_limit
>
More specifically...
set_time_limit( 0 );
--
PHP General Ma
On 7/5/05, James <[EMAIL PROTECTED]> wrote:
> Is there a way to, on a script by script basis, change the maximum
> allowed time that a script is allowed to run?
ini_set()
http://php.net/manual/en/ref.info.php#ini.max-execution-time
--
Greg Donald
Zend Certified Engineer
MySQL Core Certificatio
[snip]
Is there a way to, on a script by script basis, change the maximum
allowed time that a script is allowed to run?
[/snip]
http://www.php.net/set_time_limit
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a way to, on a script by script basis, change the maximum
allowed time that a script is allowed to run?
I have a web admin tool that I'm creating which will allow people to
do some mysql database administration. The tool creates a big sql
statement before it executes it.
I'm gettin
On 5 Jul 2005, at 15:42, Rasmus Lerdorf wrote:
Gaby vanhegan wrote:
Somebody previously suggested that I rebuild apache with threading
enabled. Will this make a difference?
Yeah, it will likely make everything crash in weird on undebuggable
ways. (So, don't do that)
I suspected that this
What problems are you having when trying to unsub yourself when you go here:
http://www.php.net/unsub.php
??
-Ryan
On 7/5/2005 7:41:32 AM, anshul ([EMAIL PROTECTED]) wrote:
> Please unsubscribe me.
> I don't wanna recieve many e-mails to inbox.
>
> --
> PHP General Mailing List (http://www.php
On 06/07/2005, at 12:08 AM, Rasmus Lerdorf wrote:
Dan Rossi wrote:
Continouing from my previous email I have been reading further on
Seb's
blogs regarding bechmarks with PHP5.1 and the different vm's that it
compiles with. I dont particularly understand what the virtual machine
is for, but he
Dan Rossi wrote:
> Continouing from my previous email I have been reading further on Seb's
> blogs regarding bechmarks with PHP5.1 and the different vm's that it
> compiles with. I dont particularly understand what the virtual machine
> is for, but he does meantion threading. Does this mean PHP5.1
Gaby vanhegan wrote:
> Somebody previously suggested that I rebuild apache with threading
> enabled. Will this make a difference?
Yeah, it will likely make everything crash in weird on undebuggable
ways. (So, don't do that)
Sounds to me like you are either editing the wrong conf file or putting
On 5 Jul 2005, at 15:07, Rasmus Lerdorf wrote:
Gaby vanhegan wrote:
Is there a specific compile switch that I need to build Apache with in
order to allow php5 to see and use the sapi_apache2 module? I could
see
nothing specific in a "./configure --help" for either Apache or php.
I
have th
Try sending them via POST
""Ross"" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Can you give me a quick emaple of how this would work, with an array.
>
> I have an array of errors ($errors[]) for a form, when the errors are
> trigger, I am trying to send them to a window which t
lo all,
don't really know if it's the correct list to post to but didn't see any
xml lists besides the dev one, so don't hesitate to tell me where i
should post if i was wrong..
i'm no php coder so my experience is quite thin, if you have an answer
to my prob please keep that in mind ;)
i'm u
Gaby vanhegan wrote:
> Is there a specific compile switch that I need to build Apache with in
> order to allow php5 to see and use the sapi_apache2 module? I could see
> nothing specific in a "./configure --help" for either Apache or php. I
> have the rpm .spec file, so I could theoretically do a
I am unable to get php 5.0.4 working with Oracle 10.1.0.3. (also
Apache 2.0.54). Running on SuSE 9.3.
When I look at the output of phpinfo() it shows OCI8 support enabled
as well as mysql support. (Mysql support works fine)
bongrip:/usr/local/apache2/modules # ldd libphp5.so
linux-gate.so.
The original message was included as attachment
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Can you give me a quick emaple of how this would work, with an array.
I have an array of errors ($errors[]) for a form, when the errors are
trigger, I am trying to send them to a window which tells them what the
errrors are. I don't really want to get into sessions or cookies.
[/snip]
The
On Tue, 2005-07-05 at 13:09 +0100, Ross wrote:
> is there way to pass an array( or variables) to another page without sessions
> or cookies?
>
> Thanks,
>
>
>
> R.
>
>
serialize / base64_encode through the URL / a form perhaps?
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Can you give me a quick emaple of how this would work, with an array.
I have an array of errors ($errors[]) for a form, when the errors are
trigger, I am trying to send them to a window which tells them what the
errrors are. I don't really want to get into sessions or cookies.
R.
- Original M
[snip]
is there way to pass an array( or variables) to another page without
sessions or cookies?
[/snip]
Yes, POST or GET.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is there way to pass an array( or variables) to another page without sessions
or cookies?
Thanks,
R.
Hi
I ve a little script to validate a user using an Apache htpasswd file.
I want to know how could/should I generate a crypted hash (with crypt or
md5) with the entered password to match the password in the htpasswd file.
I know how to use md5 or crypt functions but passing them entered passwor
>=
>?
>:
>;
>
> nah, didn't think so - none the less you might be surprised how many people
> it annoys ;-)
It annoys the hell out of me, but I can't help liking it at the same
time...I am now really confused!!!
--
PHP General Mailing List (http://www.php.net/)
To
hi everyone,
I have a function which recursively loops an assoc array in
order to build an HTML string containing hidden elements
that repesent the key/values passed in the array ... I know this can
be done without recursion but I'm having a brainfreeze, anyone care
to share some tips on replaci
Bruno B B Magalhães wrote:
Hi everybody,
I've searched the docs for a generic way to format strings and numbers...
For example I have a brazilian zipcode witch is stored in database as
22252970 and must be formatted as N-NNN, where N is a number. Also
I have a tax id with is also stor
Hi everybody,
I've searched the docs for a generic way to format strings and
numbers...
For example I have a brazilian zipcode witch is stored in database as
22252970 and must be formatted as N-NNN, where N is a number.
Also I have a tax id with is also stored as numeric value only,
Try this:
function mul(&$value){
$value = $value * 2;
}
$arr = array("a" => "1", "b" => "2", "c" => "3", "d" => "4");
array_walk($arr, 'mul');
var_dump($arr);
Best regards,
Shiqi Yang
-Original Message-
From: Dotan Cohen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 05, 2
Continouing from my previous email I have been reading further on Seb's
blogs regarding bechmarks with PHP5.1 and the different vm's that it
compiles with. I dont particularly understand what the virtual machine
is for, but he does meantion threading. Does this mean PHP5.1 will be
able to run w
In my research in finding ways to load classes automatically, I have
stumbled across Aspect PHP. Does anyone know what it does and why it
was developed ?
http://frassle.rura.org/Directory/index?cat=11169
It looks like the guy here has done what I am looking for, using
__autoload to do classlo
The original message was included as attachment
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes. use file_get_contents() to get it and then dump it.
But this makes your db bulky and is not recommended.
PDF is generated runtime using PHP, see fpdf so.
Use file
- Original Message -
From: "Bagus Nugroho" <[EMAIL PROTECTED]>
To: "php-general"
Sent: Friday, July 01, 2005 9:23 AM
S
The message was undeliverable due to the following reason(s):
Your message was not delivered because the destination computer was
unreachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.
Most likely ther
Hi,
Has anybody use this function?
http://www.php.net/manual/en/function.imageconvolution.php
I dont know what a matrix3x3 array is.
And so, if someone has experience on random image generation, it would be
greate to read what you got to write.
Thanks in advance,
pancarne
75 matches
Mail list logo