ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder

ioncube_write_file() question

Author Message
marsjn



Joined: 05 May 2006
Posts: 11

PostPosted: Mon Jul 10, 2006 7:46 am    Post subject: ioncube_write_file() question Reply with quote

Hello,

I write a php script and use ioncube_wrtie_file() for test. And use the function write "test" string. After, use the ioncube_read_file() to read the file and it will show some string like as:
!odMbo!
/cNoigXx1Fu05t/w6F/0LW40000000006dSbE+eEWvGrC2XPrKlHWG==

---
Does it enougth secure or not to store some system variable?

Thank you.
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Mon Jul 10, 2006 9:44 am    Post subject: Reply with quote

Hi

Sorry but I'm not exactly sure of your question, but with regards to the encryption, this uses industry standard key based encryption algorithms.
_________________
Community Admin
Back to top
View user's profile Send private message
marsjn



Joined: 05 May 2006
Posts: 11

PostPosted: Mon Jul 10, 2006 12:00 pm    Post subject: Reply with quote

<?php
echo ioncube_write_file("test_write.php","Test");
$k = ioncube_read_file("test_write.php");
echo $k;
?>
---
About the script, write "test" into test_write.php use ioncube_write_file. When open the file with IE it show some string llike "!odMbo!
/cNoigXx1Fu05t/w6F/0LW40000000006dSbE+eEWvGrC2XPrKlHWG==".

Question: Does the ioncube_write_file() function to suit store configuration info ?

Thank you.
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Mon Jul 10, 2006 12:36 pm    Post subject: Reply with quote

This is correct because the file can only be decrypted by ioncube_read_file() from an encoded file and with the correct key.

You can use the encryption functions for reading and writing any files where you want to store encrypted data. Config files might be one use.
_________________
Community Admin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum