[PHP] Figuring out file-encoding

2011-02-28 Thread Asmann, Roland
Hi all, I need to read several files from the HD, but they are saved in different encodings. Can I somehow figure out which encoding I should use when reading the file? Thanks. -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790

Re: [PHP] Problem with RegEx for BBCode

2010-11-27 Thread Asmann, Roland
Sorry people for not replying over the list... On 27-11-10 20:08, Daniel P. Brown wrote: > On Sat, Nov 27, 2010 at 14:05, Daniel P. Brown > wrote: > > On Sat, Nov 27, 2010 at 13:55, Asmann, Roland > wrote: > >> > >> $s = preg_replace("/\[i\]((\s|.)+?)\[

Re: [PHP] Problem with RegEx for BBCode

2010-11-27 Thread Asmann, Roland
On 27-11-10 18:44, Asmann, Roland wrote: > On 27-11-10 17:24, Daniel P. Brown wrote: > > On Sat, Nov 27, 2010 at 08:57, Asmann, Roland > > wrote: > > > Hi all, > > > > > > I am playing around with PHP and BBCodes and have found some regex's >

Re: [PHP] Problem with RegEx for BBCode

2010-11-27 Thread Asmann, Roland
On 27-11-10 17:24, Daniel P. Brown wrote: > On Sat, Nov 27, 2010 at 08:57, Asmann, Roland > wrote: > > Hi all, > > > > I am playing around with PHP and BBCodes and have found some regex's > > that should transform my BBCode into correct HTML when rendering.

[PHP] Problem with RegEx for BBCode

2010-11-27 Thread Asmann, Roland
regex I'm using is: /\[i\]((\s|.)+?)\[\/i\]/ And with an input like: This is [i]italic. I get nothing back. What I would like is that when no closing tag is found, the opening tag should just be shown as-is. Anybody have any idea how I can do this? Thanks! -- Roland Asmann Senior Softwar

Re: [PHP] Re: How to structure code for forms

2008-06-08 Thread Roland Häder
s you an idea: http://www.ship-simu.org/repos/ship-simu/trunk/application/ship-simu/templates/de/code/register.ctp Please keep in mind that my software is GNU GPL 3. :) Roland signature.asc Description: This is a digitally signed message part.

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Roland Häder
is that you cannot compare PHP with wether RoR nor Java. RoR is a framework, PHP is not. Java is 99.99% pure OO, PHP is not. Hope that gives you an idea. :) And btw: Hello. I'm new to this list. ;-) Roland On Thursday, 13. March 2008, Greg Donald wrote: > On 3/13/08, Robert Cummings

[PHP] Re: PEAR::SOAP tag trouble in migration to PEAR::SOAP from NuSOAP

2004-12-05 Thread Roland Schorr
I had the same trouble, this is another bug which causes big trouble with many SOAP-Clients. My bugfix now works well with all the clients I use, so maybe this helps you as well: See http://pear.php.net/bugs/bug.php?id=2877 Rgs - Ro!and. Jeff Rodriguez schrieb: I'm trying to migrate to PEAR::SOA

[PHP] Character Encoding Problem

2004-02-23 Thread roland
but it throws an error saying that the function doesn't support MBCS (Multibyte character sets???) I've also tried using utf8_encode() before trying to html encode, but this doesn't work either. Any help gratefully appreciated Thanks In Advance Roland -- PHP General Mailing Lis

[PHP] Sending a http body

2003-06-02 Thread Roland Welker
the browser to timeout (worst case). Is it possible, to send the elements, so far outputed, to the browser, and use that as keep alive, i.e. give the user already something to see:-) And, of course, do that regular, out of my data retrieval loop. Thanks, Roland -- Roland Welker PHP Developer MMS

[PHP] id & name when identifying html elements

2003-05-28 Thread Roland Tarver
submitted to the php page. one two When you use this code, it works fine. "country" gets submitted to the php page? one two Any thoughts? best wishes roland tarver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] register_globals = Off

2002-09-06 Thread Holzner Roland
Hi there In my shop a had this code to add a product to the shoppingcart: session_start(); session_register("cart"); if($action == "addtocart") { $cart[] = "$id,$amount"; } To view the cart i had to explode the session_variable $cart and get more data from the database. session_sta

[PHP] Caching Problem

2002-09-04 Thread Roland Swingler
thing i'm missing. TIA Roland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] AW: Apache not starting after adding php via mod_so.

2001-02-14 Thread Sieger, Roland
se. Mit freundlichen Grüßen G.Roland Sieger, CIT Email : [EMAIL PROTECTED] Phone : (49) 89 5110 413 Fax : (49) 89 5110 532 Postanschrift : Süd-Chemie AG Lenbachplatz 6 80333 München > -Ursprüngliche Nachricht- > Von: Sieger, Roland > Gesendet: Montag, 12. Febr

[PHP] Apache not starting after adding php via mod_so.

2001-02-12 Thread Sieger, Roland
hello gurus, this is the first time, trying to solve a problem with this list. I checked some of the archives, may be not all. So if that has been an already asked question, please forgive. I also do not know anything about the common "behaviour" on this list. But anyway : here is the problem:

RE: [PHP] getimagesize question

2001-02-03 Thread Dundee \(Roland\)
To get the imagesize $PictSize = GetImageSize ($file_image_path . $PictName); $pictW = $PictSize[0]; $pictH = $PictSize[1]; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, 3 February 2001 9:28 PM To: [EMAIL PROTECTED] Subject: [PHP] getimagesize qu

[PHP] Undefined variable

2001-02-03 Thread Dundee \(Roland\)
Hello When creating a page(php) on Win2000 I get alot of 'Undefined variable' error messages, but there are no errors at all running the same page on a apache server. How come? Thanks for some hints. Roland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma