Jump to content

behnampmdg3

New Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About behnampmdg3

  • Rank
    Newbie
  1. Hi; I have a number like 1525183200, which is a result of strtotime. How can I convert it to days * hours * minutes * seconds so I can add it to the js code? I want to load data for a javascript timer using php. I need to feed it like var deadline = new Date(Date.parse(new Date()) + days * hours * minutes * seconds * 1000); Thank you
  2. Hello; No, it doesn't make sense. Life doesn't make sense either. Thank you for your answer. Appreciate it.
  3. Hello; In general, are such things reliable? For example, redirecting via https://developer.mozilla.org/en-US/docs/Web/API/Location/replace Or accessing parameters with http://www.jquerybyexample.net/2012/06/get-url-parameters-using-jquery.html No, I don't have access to PHP. Thank you
  4. Can I access $_GET['id'] if the page is HTML? How does this code do it!!? The get some id in the URL and use it to load content on the page. Apparently, this code can be embedded anywhere. How do they do it with Javascript? <!-- Deadline Funnel --> <script type="text/javascript" data-cfasync="false"> function base64_encode(e) { var r, t, c, a, h, n, o, A, i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", d = 0, l = 0, s = "", u = []; if (!e) return e; do r = e.charCodeAt(d++), t = e.charCodeAt(d++), c = e.charCodeAt(d++), A = r << 16 | t << 8 | c, a = A >> 18 & 63, h = A >> 12 & 63, n = A >> 6 & 63, o = 63 & A, u[l++] = i.charAt(a) + i.charAt(h) + i.charAt(n) + i.charAt(o); while (d < e.length); s = u.join(""); var C = e.length % 3; var decoded = (C ? s.slice(0, C - 3) : s) + "===".slice(C || 3); decoded = decoded.replace("+", "-"); decoded = decoded.replace("/", "_"); return decoded; } var url = base64_encode(location.href); var parentUrl = (parent !== window) ? ('/' + base64_encode(document.referrer)) : ''; (function() { var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.setAttribute("data-scriptid", "dfunifiedcode"); s.src = "https://df.com/runified/eyJpdiI6IisxXC9PODljVXRubjZQU3JyZGFp9ITEE9PSIsIm1hYyI6Ijk0N2NlNTdmNTY2NmQ2ODQ2OTM3YjlhYzEzODI2OThkMTNhMDBmM2RhMDIzMTFhNDM4ZTIwZmU1OWUxNzE4NDUifQ==/" + url + parentUrl; var s2 = document.getElementsByTagName('script')[0]; s2.parentNode.insertBefore(s, s2); })(); </script> Thanks
  5. Do you mean $config['permitted_uri_chars'] = 'a-z 0-9~%.:_()@&\-!\[\]'; ? Seems to work. Thank you
  6. Hi; I need to be able to access local.site.com/e-evergreen/36/ I get I did this but I still get the same error. $config['permitted_uri_chars'] = 'a-z 0-9~%.:_()@&\-![]'; How can I fix it? Thanks
  7. Hello I have simple math formula I wanna convert to PHP, but for some weird reason I can't! (X*X)*(3X)=1200 Its should be easy to calculate it on paper but how can I convert this to PHP? Maybe it's too simple and my retardness has poped! Maybe something like? pow($y, 3)= 1200/3 Still not sure how to get thew reply from that. Thanks
×
×
  • 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.