Jump to content

awavekidornah

New Members
  • Posts

    4
  • Joined

  • Last visited

awavekidornah's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi phpfreaks! I am trying to add a code to my site that shows extra content that I would like only mobile device users to be able to see it. These are the sites: http://demo.mobiledetect.net/ https://github.com/serbanghita/mobile-detect If anyone knows how to go about this, I would really appreciate it if you can help me. Edit: There's more information here: http://www.betterhostreview.com/wp-mobile-detect-wordpress-plugin-hide-content-mobile.html However, none of my sites are affiliated with WordPress. I don't plan on using Wordpress either. I would like to know how to take the plugin code for mobiledetect or whatever and somehow use it on my sites that I edit using Dreamweaver. BTW: I barely know any PHP coding - all of my sites are coded in HTML. If anybody knows how I can do this and show extra content like a side-note to only mobile device users and not desktop users, I would greatly appreciate the help. Thanks!
  2. I don't think I ever asked "How do I make these codes?" I think you are misunderstanding my question and I apologize if I am not writing it clear enough. Forget the codes and forget the psn codes. All I know that this It's a PHP script because it has .com/claim.php in the domain. Again: This is probably a basic PHP script or something and every time you refresh the paqe, it shows a different number. Note that the number/code/text (whatever) is after "YOUR CODE IS:" doesn't stay the same after you refresh the browser. This code or those numbers could be anything, it can be a sentence or whatever. What matters is that it changes, and I would like to know the PHP code on how to do that. And if we're still talking about the code whether it being a psn code, they could be fake. Made up numbers, I am not talking anything official. I don't know any PHP or coding at all, hence the fact that I came and joined here for some help. 1. I know about databases, however as I already mentioned - I don't know ANY coding. I am not a professional. I am not looking for something professional like this at all. If you want, I can make a video of the site and refresh the browser and show you what's after "YOUR CODE IS:" which are these made up numbers: H2x9-NXN2-****". Though to add on, these numbers can be a sentence, anything. They don't have to be psn codes, I am just looking for the PHP code on how I can add it to my own site and have a duplicate of the site in the screenshot of my OP. 2. I don't know how to enter them, that's why I uploaded a screenshot on my original post to show the example of the site I would like to properly duplicate, and that is impossible because you cannot copy a php script with website copiers. I don't already have a admin-type area, that is highly professional and I am still a beginner to all of this so I wouldn't want something that difficult to implant on my site. As I think I have already mentioned in my post here, the codes can be fake. Or they can be real. As long as when someone (a visitor on my site) see's that when he goes to where the code is being displayed after "YOUR CODE IS:" and if he refreshes his browser and see's the same code then it will look unprofessional and I would like the PHP script (or HTML/javascript) whatever it is to change these numbers/codes every time someone refreshes the page. If you don't know the PHP code or how to do that, I guess I would have to keep looking on Google for some help. If you are wondering how I would support the codes, can't I just purchase them? I don't know if you are purposely trying to get off-topic from the main question or not, but that is honestly not relevant to my question. Moreover, to clear up more of what I have said: The codes or "numbers" being displayed after "YOUR CODE IS:" can be fake. I think on the screenshot I posted above displays fake codes. But that is also not relevant. What's relevant is that is it possible to make a duplicate of this page and to add my own numbers being displayed after "YOUR CODE IS:" and for these numbers to change around a bit every time a user refreshes the page? Here is a video GIF of me refreshing the domain.com/claim.php if you would like to see what I mean by what's after "YOUR CODE IS:" changes: https://gyazo.com/28800ab0109ab27e341bb0c33192bdd9 I would hate to post or tell anybody the real domain because it would violate the owner's privacy. Anyway, if anyone knows how to do this - I would highly appreciate it if you can still help me. Thanks!
  3. You basically ignored my question and told me something I already know, but I don't do that. I do buy codes and I offer them away for a prize on my sites. I do it via e-mail but I was wondering how I can implant this by using PHP on my site like how the site above screenshot I shared previously. Do you know the PHP code on how to do this?
  4. I just came across this website that generates a unique code (a number) for people who want a PSN code. The site looks like this: It shows the domain as domain.com/claim.php The code/numbers listed after "YOUR CODE IS:" changes every time someone revisits the website. Does anyone know how to do this? The reason I would like to know how to add this code is that I would like to create my own site that offers a variety of codes like the site above. If anyone can help and or provide the PHP code on how to do this, I would appreciate it a lot! 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.