trinity Posted December 7, 2008 Share Posted December 7, 2008 I'm looking to use PHP to decrypt a large number of text files done using XOREncryption then to display the results on screen, I know how to do this for one file. I wanted to know how I would go about using PHP to cycle through all the text files I might place in a directory on the server, then for example display a table with an entry for each file being a link to the unencrypted version of the text file. Can anyone give me some pointers on how to do this? Link to comment https://forums.phpfreaks.com/topic/135935-solved-hello-new-to-php/ Share on other sites More sharing options...
premiso Posted December 7, 2008 Share Posted December 7, 2008 scandir foreach Hope those will get you started. Link to comment https://forums.phpfreaks.com/topic/135935-solved-hello-new-to-php/#findComment-708589 Share on other sites More sharing options...
priti Posted December 7, 2008 Share Posted December 7, 2008 you can use directory iterator in PHP5. for more you can use below link: http://in2.php.net/manual/en/directoryiterator.construct.php Link to comment https://forums.phpfreaks.com/topic/135935-solved-hello-new-to-php/#findComment-708592 Share on other sites More sharing options...
trinity Posted December 7, 2008 Author Share Posted December 7, 2008 thanks, very helpful Link to comment https://forums.phpfreaks.com/topic/135935-solved-hello-new-to-php/#findComment-708721 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.