Welcome
Guest
, you are in:
<root>
•
Anmelden
CP Wiki
Navigation
¶
CP Solutions
Startseite
domizil+
Startseite
Administration
Administration
Neue Seite
Alle Seiten
Kategorien
Navigations-Pfade
Datei Manager
Neuer Benutzer
Suche im wiki
»
Zurück
function DecodeB64(aValue: string): string
Modified on 08/01/2009 11:52
by
CPARAS
Categorized as
Plattform
'''Syntax:'''{BR} {{{{'''function''' DecodeB64(aValue: string): string;}}}}{BR} {BR} '''Beschreibung:'''{BR} {BR} '''DecodeB64''' wandelt den Base64 codierten string aValue in seine String Codierung um.{BR} Mann muss diese Funktion auch dazu verwenden um Binärdaten (Bilder, .doc, .xls) aus der Datenbank auszulesen,{BR} dann sonst die XML Übertragung Probleme bereiten kann.{BR} Natürlich muss der String vorher codiert in die Datenbank abgelegt worden sein.{BR} {BR} '''Beispiel:'''{BR} {BR} <code pascal> procedure codePasword; var aPassword : string; aCodePassword: string; begin aPassword := 'TestPassword'; aCodePassword := EncodeB64(aPassword); message_dlg('Ihr Password in Base64: '+aCodePassword); message_dlg('Ihr Password wieder decodiert: '+DecodeB64(aCodePassword)); end; </code>
ScrewTurn Wiki
version 3.0.1.400. Some of the icons created by
FamFamFam
.