AW: [PHP] Serial Communication

2004-10-23 Thread Ulrik Witschass
Thanks for the help, when communicating to it via hyperterminal (or other software) it responds immidiately. I will try it on different machines within the next few days...hopefully it is just a hardware/software problem with my dev-system... best regards Ulrik //You could try the same thing

[PHP] Serial Communication

2004-10-23 Thread Ulrik Witschass
to "com1" and not the COM system of Win32. Any help is greatly appreciated! best regards Ulrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

AW: [PHP] Serial Communication

2004-10-22 Thread Ulrik Witschass
I need, I will take a closer look at migrating to PHP 5 (which shouldn't be a problem) and using the DIO functions. Thanx to everybody for the help they provided! best regards Ulrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Serial Communication

2004-10-22 Thread Ulrik Witschass
infos about this? I searched the web for some hours now but didn't find anything worthy. Any help is greatly appreciated! thanks in advance! best regards Ulrik Witschass

[PHP] B/W Image

2004-10-12 Thread Ulrik Witschass
with PHP Image functions (maybe colorallicate and stuff like that) or is it possible to actually do that in PDFLib? thanks in advance for any help Ulrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: I don't want to use include

2004-06-23 Thread Ulrik S. Kofod
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,

Re: [PHP] Regular Expressions Tester/designer

2004-06-20 Thread Ulrik S. Kofod
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

Re: Re: [PHP] Regular Expression - it works but uses way too much memory ?

2004-06-19 Thread Ulrik S. Kofod
ted: PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 7843 root 17 0 269M 269M 3328 R41.7 53.6 0:19 php This isn't a huge problem anymore, as we have been allowed to move the project to a 3 times faster server with less activity (because of this). But I would still like to know if there is a solution to this because it seems quite insane that it allocates more than 250MB memory generate 4MB output. Thanks Robin! I really appreciate your answer. Brgds Ulrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regular Expression - it works but uses way too much memory ?

2004-06-18 Thread Ulrik S. Kofod
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 :)

Re: [PHP] RE: Text message

2004-06-15 Thread Ulrik S. Kofod
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

Re: [PHP] Regarding variable reference

2004-06-15 Thread Ulrik S. Kofod
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

Re: [PHP] Fw:

2004-06-15 Thread Ulrik S. Kofod
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

Re: [PHP] Regarding variable reference

2004-06-15 Thread Ulrik S. Kofod
[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

Re: [PHP] Fw:

2004-06-14 Thread Ulrik S. Kofod
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@'

Re: [PHP] small and big letter in WHERE statement

2004-06-14 Thread Ulrik S. Kofod
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

[PHP] Regular Expression - it works but uses way too much memory ?

2004-06-14 Thread Ulrik S. Kofod
$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

RE: [PHP] Re: weird problem with index page

2004-05-17 Thread Ulrik Wildy
Rule ^(.+[^/])$ $1/ [L,R] #append trailing slash redirect [snip] So: www.mystite.com/dir would become: www.mystite.com/dir/ ... hence the the index file will be served Regards, Ulrik -Original Message- From: loll [mailto:[EMAIL PROTECTED] Sent: Monday, 17 May 2004 3:39 PM To: [EMAIL PROTE

Re: [PHP] regarding tags

2003-06-13 Thread Ulrik NIelsen
have loved this feature.... -- ulrik - ulrik(@)lazy.dk excuse of the day : Domain controller not responding from bofh : http://www.cs.wisc.edu/~ballard/bofh/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] regarding tags

2003-06-13 Thread Ulrik NIelsen
Hi NG, Does any og you know why it's not possible to use the syntax: when you can use this: it would be a nice feature when mixing xml and php ... -- >> ulrik - ulrik(@)lazy.dk excuse of the day : Domain controller not responding from bofh : http://www.cs.wisc.edu/~b

[PHP] PHP in VS.Net

2003-06-10 Thread Ulrik
ybody knows what I am talking about it would be great if he or she could post the link again! Thanx in advance Ulrik

[PHP] Visual Studio .Net PHP Registry Hack

2003-06-07 Thread Ulrik
ybody knows what I am talking about it would be great if he or she could post the link again! Thanx in advance Ulrik

[PHP] PHP and Visual Studio.Net

2003-03-30 Thread Ulrik
se to handle PHP files like C++ files, which helps at least a bit, but I haven't found a similar function in VS.Net Any help is greatly appreciated! thanx ulrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to get the IP of a visitor

2002-03-18 Thread Ulrik Witschass
Hi, I am new to this list and to PHP, so please excuse any newbie questions :) Want I need to know is how to get either the ISP or the IP of the visitor of a page. I guess this is a environment variable, but I don't know which. Any help is greatly appreciated :) Thanx! Ulrik -- PHP Ge