User Profile

Collapse

Profile Sidebar

Collapse
Mat Son
Mat Son
Last Activity: Aug 15 '13, 07:36 AM
Joined: Jul 26 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Mat Son
    started a topic Proofing Class-Name with preg_match
    in PHP

    Proofing Class-Name with preg_match

    Hello guys,

    I just started with using Regular Expressions and I already found some good regex´ on the net, but I´d prefer to have my own version working.
    I want to check that my AutoLoader only allows for class or interface names that consist of a-z, A-Z and 0-9 letters and that it begins with an uppercase letter.

    Code:
    if(preg_match("/^([A-Z]+[a-z0-9]*)([A-Z]*[a-z0-9]*)*/", $class, $name)) {
    ...
    See more | Go to post

  • Mat Son
    replied to PHP and MySQL umlauts communication
    in PHP
    Okaay.. I got it by now.. I made a stupid mistake, my own files were not encoded as UTF-8.

    http://sonsol.de/example/umlauts.php

    I wrote this little file to check where the error occurs.. and in the end, when I checked both html and mysql charsets, all was fine - except the content that was added via my php file.
    So I found out I have to encode the file as well, did that.. now everythings fine... thanks anyway ;-)...
    See more | Go to post

    Leave a comment:


  • Mat Son
    replied to PHP and MySQL umlauts communication
    in PHP
    Yeah unfortunately I already tried that but still, when I enter data via PHP in my database the umlauts get encrypted..
    See more | Go to post

    Leave a comment:


  • Mat Son
    started a topic PHP and MySQL umlauts communication
    in PHP

    PHP and MySQL umlauts communication

    Dear Community,

    I have a concern which I think I never had before - when I add data to my MySQL Database from PHP, the umlauts (ä,ö,ü) get encrypted.
    This happens only when I do it via PHP.
    I see the encrypted form when I log on to phpMyAdmin and when I visit the website.
    When I edit the content via phpMyAdmin I can use the normal umlauts and they are both shown good (on the website and phpMyAdmin).
    ...
    See more | Go to post

  • My Treeview Project 5

    via this URL there is a sort of "tutorial" where someone makes use of the treeview in access.
    When I download his files the same errors appear. So I think it definitely has to do with the Treeview-ActiveX controls.
    Do the files work at your computer? If so, why so?
    Hopefully someone has an idea..
    See more | Go to post

    Leave a comment:


  • Mat Son
    started a topic MS Access Treeview error loading ActiveX control

    MS Access Treeview error loading ActiveX control

    recently an error appeared with a Treeview element in my access form.

    The expression Expand you entered as the event property setting produced the following error: There was an error laoding an ActiveX control on one of your forms or reports.

    When I click "OK" (only opportunity) the next error appears (Expand is replaced by MouseMove, MouseDown/Up, DblClick etc.), when I press Keys the KeyDown/Up/Press Message...
    See more | Go to post
    Last edited by zmbd; Aug 20 '12, 02:56 PM. Reason: Made the error message easer to read without scrolling.

  • Mat Son
    started a topic Binding OLE Object to Bitmap without Record Source

    Binding OLE Object to Bitmap without Record Source

    Hey folks.

    I have a problem concerning an ole object in reports and forms which I´d like to fill with Bitmap Data from a seperate table which is not part of the record source.

    The Bitmap-containing table is build up as follows:

    Logos (ID, Name, Logo, Actual)

    Logo contains the oleObject, Actual is a Yes/No field.

    I´ll make sure that only one record can be set to be actual....
    See more | Go to post
No activity results to display
Show More
Working...