thiagoafc Posted December 25, 2011 Share Posted December 25, 2011 I have the following code in javascript, I would like to rewrite it in PHP, if someone can help thank you very much. my code: http://pastebin.com/Jnt8RiYj Quote Link to comment https://forums.phpfreaks.com/topic/253827-convert-js-for-php/ Share on other sites More sharing options...
trq Posted December 25, 2011 Share Posted December 25, 2011 Where exactly are you stuck? Quote Link to comment https://forums.phpfreaks.com/topic/253827-convert-js-for-php/#findComment-1301287 Share on other sites More sharing options...
thiagoafc Posted December 26, 2011 Author Share Posted December 26, 2011 Where exactly are you stuck? Hello I have on my website link for servers, so I would like to encrypt to base 64, only the more servers that I specify. example: <a href="http://www.fileserve.com/file/jdf7326823">Fileserver Pics</a> <a href="http://www.fileserve.com/file/sadc238923">Fileserver Web</a> <a href="http://www.fileserve.com/file/09683vn3">Fileserver Monters</a> <a href="http://www.filesonic.com/file/435345355345345">Ugaga</a> <a href="http://www.filesonic.com/file/758764557jgas">test</a> <a href="http://www.megaupload.com/?d=HGHG4324">vAI TEST</a> <a href="http://www.megaupload.com/?d=4615364213">vAI TEST</a> encrypt base64 (fileserve and megaupload) and show html for visits This would be used for me to protect my links, now I do cm pasterbin the code I posted, most wanted the same in PHP I'm even paying for the service. Quote Link to comment https://forums.phpfreaks.com/topic/253827-convert-js-for-php/#findComment-1301294 Share on other sites More sharing options...
trq Posted December 26, 2011 Share Posted December 26, 2011 That doesn't answer the question. Where exactly are you stuck? Quote Link to comment https://forums.phpfreaks.com/topic/253827-convert-js-for-php/#findComment-1301310 Share on other sites More sharing options...
thiagoafc Posted December 26, 2011 Author Share Posted December 26, 2011 That doesn't answer the question. Where exactly are you stuck? I'm stuck in the part that I read to get my html code (a and href) Quote Link to comment https://forums.phpfreaks.com/topic/253827-convert-js-for-php/#findComment-1301362 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.