Irish SEO,  Marketing & Webmaster Discussion

 

PHP Mcrypt

This is a discussion on PHP Mcrypt within the Coding Help forums, part of the Webmaster Help category; EDIT: Fixed it i just use trim() on the data before displaying it, seems this is only an issue with ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Calendar Search Today's Posts Mark Forums Read

  #1 (permalink)  
Old 17-10-2008, 12:07 AM
ziycon's Avatar
Wannabe Geek
 
Join Date: Jan 2007
Location: Dublin
Posts: 427
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ziycon will become famous soon enough
Send a message via MSN to ziycon
Default PHP Mcrypt

EDIT: Fixed it i just use trim() on the data before displaying it, seems this is only an issue with firefox.

I'm messing around mcrypt below is the data before and after. What i'm wondering is about how to remove the strange symbol at the end of the decrypted data!?

Before:
Quote:
Adam
Encrypted:
Quote:
;˜”ŒlG nei›‡uU} 9g<
Decrypted:
Quote:
Adam����������������������������
__________________
Irish Gaming Network

Last edited by ziycon; 17-10-2008 at 01:04 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 19-10-2008, 11:20 PM
ziycon's Avatar
Wannabe Geek
 
Join Date: Jan 2007
Location: Dublin
Posts: 427
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ziycon will become famous soon enough
Send a message via MSN to ziycon
Default

I've hit my first snag with using Mcrypt, when i try to insert data into a mysql DB its throwing errors on characters like a box with for characters in it like two zeros on top and maybe a 09 underneath, can anyone explain what these characters are and a way around forcing the DB to except them??

Last edited by ziycon; 20-10-2008 at 11:37 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
mcrypt, php

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Sponsored links

Pepperjam Network
Paid On Results www.zanox.com


All times are GMT +1. The time now is 04:17 PM.


Powered by: vBulletin Version 3.8.2, Copyright ©2000 - 2009, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51