Code: Alles auswählen
If ReadFile(0, #PB_Compiler_Home + "Examples\Sources\Data\Geebee2.bmp")
Length = Lof(0)
*Buffer = AllocateMemory(Length)
*Base64Output = AllocateMemory(Length * 1.35)
If *Buffer
ReadData(0, *Buffer, Length)
RealLength = Base64Encoder(*Buffer, Length, *Base64Output, Length * 1.35, #PB_Cipher_URL)
; So wie erstelle ich hier den "fn=" teil ?
Request + "&fn=" + PeekS(*Base64Output, RealLength, #PB_UTF8)
EndIf
CloseFile(0)
EndIf