If calling the backup function can wait till after your output is generated, then
you can echo/print the output call " flush(); " and then call the backup routine.
Then the backup won't apper to be slowing down as it is running after the output is
send to the user.
brgds
QT sagde:
> Dear sirs,
Tom Rogers sagde:
>
>
> This works with perl regular expressions
>
> http://weitz.de/files/regex-coach.exe
>
Thanks! Great tool! I really needed something like that.
It just seems like it can't handle $1, $2 ...$x in the replacement string?
Isn't there a way to make that work ?
--
PHP General
Robin Vickery sagde:
>
> The S modifier that you're using means that it's storing the studied
> expression. If the regexp changes each time around the loop then over
> 3 iterations, that'll add up. See if removing that modifier helps
> at all.
>
The S modifier wasn't needed, I added it because
The problem is that I call preg_replace a little more than 3 times and that
causes quite a lot of memory to be allocated.
Doesn't anybody know if this is a problem in preg_replace or is there a better
maillist/forum for this kind of questions?
Any answer will be appreciated :)
Lester Caine sagde:
> R'Twick Niceorgaw wrote:
>
>> Is this some kind of virus? anybody else receiving it?
>>
>> I have received 3 mails from this address through the list today all with a .bmp
>> attachment
>>
>> It has passed clam av + fprot on linux as well as norton on windows but still
>> wan
Justin Patrin sagde:
> Ulrik S. Kofod wrote:
>
> Why are you using eval? Eval is slow and is a hack... Just do:
> $y = $$x;
>
>> if(isset($y))
>> {
>> echo "$x:$y";
>> }
>> }
>
True ! I just tested
Dennis Freise sagde:
> On Tue, 15 Jun 2004 10:24:45 +0530
> "Sriranganath" <[EMAIL PROTECTED]> wrote:
>
>> $conn = mysql_connect("localhost:3308","user","password");
>> Warning: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in
>> /var/www/html/whatnew/a.php on line 3
>
> Maybe
[EMAIL PROTECTED] sagde:
>
> Hi,
> I have variables called Cookie1 to Cookie35.
>
> I would like to print the values of Cookie1 to Cookie35 using for loop.
>
> Could anybody correct the below code to print the variables.
>
> =for($i=1;$i<34;$i++)
> {
> $x="Cookie
I'm not sure but I think that it is because you give the port number :3308 in the
connect.
the connection is not established the same way as when you just give just
"localhost" and mysql might not see "user" the same way.
I think it will work if you grant access to '[EMAIL PROTECTED]' or 'user@'
John Nichel sagde:
> QT wrote:
>> Dear Sirs,
>>
>> When I use where statement, I see that there is no meaning small and big
>> letter. Without looking small caps or big, result comes back. But I want to
>> match only small letters. How can I do that?
>>
>> Best REgards
>>
>
> Where statement for w
$replace = "/^(([a-z]+?[^a-z]+?){".($count)."})(".$typedmask.")(.*)/iS";
$with = "$1$3$4";
$text = preg_replace ($replace,$with,$text,1);
Above preg_replace works as expected, I have it inside a loop that processes 1000
texts and replaces a total of 3 words.
The problem is that it accumulat
11 matches
Mail list logo