| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Account Closed Join Date: May 2004 Location: /etc/passwd
Posts: 2,178
![]() ![]() ![]() ![]() ![]() ![]() | looking someone that knows javascript REALLY well.... I have a php project im doing on my spare time, a CMS and im looking for someone that can make a javascript that can decrypt some php output with a equation i use in php, and instead of printing the content the javascript will print the value of the encryption. The reason i want to do this is cause people dont like spiders crawling for email addresses and this way it will be impossible for a spider unless they can decrypt it. Which i know wouldnt take much but i mean... yea it would be able to be toggled on/off depending on the CMS administrator. I HATE SPAMMERS!!!! if you are intrested please let me know, this CMS will not be a free script, and if you help me with this part i will give you a reseller of this script as payment! look in my profile for ways to contact me IM or pm me!! Cody Selzer I know this can be done. |
| |
| | #2 (permalink) |
| Senior Member Join Date: Mar 2004
Posts: 1,402
![]() ![]() ![]() | Sure it can be done, I've done this many times. It really just depends on your algorithm and how you are going to pass it to the js. Perhaps post a few more details so people have a better idea of the scope of the job. |
| |
| | THREAD STARTER #3 (permalink) |
| Account Closed Join Date: May 2004 Location: /etc/passwd
Posts: 2,178
![]() ![]() ![]() ![]() ![]() ![]() | yea your right ;P heres the code: PHP Code: |
| |
| | #4 (permalink) |
| Senior Member Join Date: Mar 2004
Posts: 1,402
![]() ![]() ![]() | That's straight forward enough. What I'd do is put the decrypt function into your header as JS. Then encode the address in PHP and write out something like this: <script> document.write( mydecrypt( “[endoded data here], ”[key here]” ) </script> Can't get much easier than that. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| JavaScript | Jamison54 | Website Development | 3 | 01-30-2005 08:37 PM |
| javascript vs asp.net validation | tzigone | Web Design Discussion | 0 | 01-21-2004 01:37 AM |
| How do you detect resolution & launch an app with javascript? | Rhino1616 | Programming | 14 | 12-04-2003 05:10 PM |
| Javascript Functions: Your needs. | Mp)Tarh | Web Design Discussion | 1 | 11-15-2003 06:50 AM |
| Javascript Problems in IE | republic | Programming | 3 | 10-23-2003 03:17 AM |