Jump to content

ilikemath2002

Members
  • Posts

    29
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ilikemath2002's Achievements

Member

Member (2/5)

0

Reputation

  1. How can I get that to work with? if ( $check == "PASSWORD" ) { define('INCLUDED', true); include 'userprofile.php'; include 'index.php';
  2. How can I include two files, but have them split 50/50 like an iframe?
  3. Thanks CV, that's what I needed, I thought it would need \ or something before the tags.
  4. Can I use cURL instead of file_get_contents? It would look something like this: <?php SOMECURLCODE $data = curl_exec($ch); $regex = '/Page 1 of (.+?) results/'; preg_match($regex,$data,$match); var_dump($match); echo $match[1]; ?> Also, how do I change this source to be used as $regex: <span class="billing funorb"> <span class="credits"><b>(.+?)</b><br />Days</span>
  5. The file is .htaccess anti-leech, normally I would just create the file AFTER I added the URL to anti-leech, but I thought this would be easier: In this file, I am trying to replace "replace" with a URL: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://(www\.)?replace/ [NC] RewriteRule \.(jpg|jpeg|png|gif|swf|bmp|ico|)$ - [NC,F,L] Maybe you can see how you helped me with the other thread(to CV).
  6. I'm not sure if this goes here or not, but my last thread was moved here. How do I str_replace something IN a file?
  7. What's the easiest way to remove http://, www, or both from user inputted content?
  8. Try "\'"
  9. I don't think you understand. You input HTML source-code, and the Javascript encrypts it to Javascript. I want to input whole files(get the source-code from that file). I know Javascript can be disabled AND this can be decrypted, but I still would like to use it.
  10. No, this is javascript code to encrypt HTML. I thought this was the right forum.
  11. Make a new dir for the competition site, then put the .htaccess in there, it shouldn't affect the whole site.
  12. I have this code: <script language="JavaScript"> function doencrypt(theform) { if (theform.code.value == "") { alert("No HTML code to encrypt"); return false; } else { enctext=encrypt(theform.code.value); codetocopy="<Script Language='Javascript'>\n"; codetocopy+="<!-- HTML Encryption -->\n"; codetocopy+="<!--\n"; codetocopy+="document.write(unescape('"+enctext+"'));\n"; codetocopy+="//-->\n"; codetocopy+="</Script\>"; theform.ecode.value=codetocopy; theform.sac.disabled = false; } return false; } function sandc(thisform) { thisform.ecode.focus(); thisform.ecode.select(); copytext=thisform.ecode.createTextRange(); copytext.execCommand("Copy"); alert("Copied the Encrypted HTML Code to clipboard, you may now paste this into your website"); } function encrypt(tx) { var hex=''; var i; for (i=0; i<tx.length; i++) { hex += '%'+hexfromdec(tx.charCodeAt(i)) } return hex; } function hexfromdec(num) { if (num > 65535) { return ("err!") } first = Math.round(num/4096 - .5); temp1 = num - first * 4096; second = Math.round(temp1/256 -.5); temp2 = temp1 - second * 256; third = Math.round(temp2/16 - .5); fourth = temp2 - third * 16; return (""+getletter(third)+getletter(fourth)); } function getletter(num) { if (num < 10) { return num; } else { if (num == 10) { return "A" } if (num == 11) { return "B" } if (num == 12) { return "C" } if (num == 13) { return "D" } if (num == 14) { return "E" } if (num == 15) { return "F" } } } </script> <form name="pageform" onsubmit="return doencrypt(this);"> I basically want to encrypt whole files at a time without having to enter the source code, is this possible?
  13. Anyone know of a way???
  14. Is there some sort of PHP function I can create so it does something like this website: http://www.iwebtool.com/html_encrypter? Like: <?php $file = "file.php"; html_encrypt($file) ?>
  15. Has anyone found a way around this yet?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.