Jump to content

ajetrumpet

Members
  • Content Count

    160
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ajetrumpet

  • Rank
    Advanced Member
  • Birthday 05/26/1980

Profile Information

  • Gender
    Male
  • Location
    USA
  • Age
    39

Recent Profile Visitors

861 profile views
  1. I think I've got pretty much everything I need here. thanks for letting me bother you about this. 😃 I'll keep feeding my curiosity about whether or not you are retired and just passing on knowledge for the enjoyment of it like @Barand
  2. thanks man. I don't think I have any interest in delving into XML transformations, as it seems like your first example would be an easier way to do this. I took a look here: https://en.wikipedia.org/wiki/Markdown#Example the only other question I suppose I have about this whole thing, is if content in the db record looks like this: # Page Header This is article 1's first paragraph of text. * ![some image](image.jpg "CAPTION") then wouldn't that require an extensive amount of application coding to decipher the symbolisms and transform them into actual rendered HTML during the request? per the wiki article example, there are many symbolisms involved to indicate what an author would want. does the code required for this type of transformation have to be written from scratch all the time, or have there been tools developed already that can make that process easier? I suppose this article would be a great example of how a markdown process and database querying could be used? This page looks like what I'm talking about. content printed out onto a template layout page: https://www.thestreet.com/investing/bitcoin-scams-14640202
  3. thanks req. just a follow up question here if you don't mind. Is front end code ever stored in a database and echoed out with server side code like PHP, along with plain text content like what I'm talking about in my previous post? so for instance, according to professional programming standards, would doing something like this ever be needed? either that, or would there ever be a reason to do it? DB content in field 1: <h1>PAGE HEADER</h1> <p> This is article 1's first paragraph of text. </p> <ul> <li><a href="image.jpg" target="_blank">CAPTION</a></li> </ul> code on the page: <?php $var = $_GET operation here to get above content; echo $var; ?>
  4. Most of the websites I have built have not been large and not dynamic in nature, but I need to make one now with a boatload of content on it. and I’m needing a little resource help where I can research something. I’m sure all developers do this, and I know I need a massive database or 2 and the PHP knowledge I already have, but I’m just looking for a little guidance about how to do this the easiest way. It may actually sound like a stupid question and I might be over-thinking a bit. So… Lets say I have 500 articles that I want to make available to a site visitor and give them the option to choose what they want to look at through nav menus and submenus. I want the same page to display to the user, regardless of what article is chosen. how does PHP play a part in that? Would I be right by saying the following? If the home page had this content on it: This website is a course in PHP coding. <a href="courseTemplate.php" target="_blank">Click here</a> to view course #1. and I wanted all the course content to be displayed through the use of the “courseTemplate.php” file, how simple is that? I would assume that these types of things would be the results and the techniques to accomplish the goal, right? => a resulting URL that looks like this: www.site.com/courseTemplate.php?id=1 => storing all the text of the course material in one single field of a DB record. NOT storing the layout-oriented code (HTML, etc.) and echoing it out with the rest of the text. => making use of the GET() function somehow to pull the course’s text content out of the database. Can someone show me a website that demonstrates this? I don’t think this is very difficult, and I’m sure there are web resources available that show how this is done. I’m almost sure that most news agency websites do this, and I know for a fact that most forum software has this template technique written into it, regardless if SEO is included or not. Sorry for the basic nature of this question. I know some of my previous posts have been such where I’ve asked much more difficult questions than this. I have seen youtube tutorials on issues similar to this, but nothing pulled up by google really shows this in a very simplistic nature. thanks.
  5. req, I appreciate your advice. I will take what you said and see what I can do with it. If I have issues with it, I will get back to you. thanks again for your help on this. sorry it took so long for me to respond here.
  6. well the site that I'm referring to is not set up yet. but yes, that's right. Once content is exposed, you can't let them "unknow" it, now can I? the reason I mentioned them looking at "a few pages" is simply because after they have done that, they really should not get a refund on their money, but I'm sure I would have to provide proof to them that they were visiting multiple pages. the money spending has not been set up yet. that code has yet to be written, if it can even be written at all. do you have another idea for this? I'm talking about giving away intellectual property. Once it's gone, you can not get it back. so what other choice do I have besides doing things this way? I was not going to so far as having accounts be required, but I supposed that could solve the TOR browser issue. There are no accounts really required to view what I've got to show.
  7. from what I've heard req, a lot of the world has that ability. what i'm trying to do here, possibly, is charge for reading the content on one of my sites and not issue a refunds if ''X'' number of pages are viewed. and I can't do that if I'm detecting a page render with INCLUDE() or REQUIRE() and everytime a render comes through it lists a different TOR exit node, now can I? If the page requests come from the same ip address, more than likely I can tell its the same person reading the different pages. I have no idea how fast those onion systems cycle through their nodes, but I would assume it's fairly fast. so for instance, if 2 pages are read 10 minutes apart from each other more than likely PHP would pick up 2 different IP addresses for those 2 different page visits if someone is using TOR, wouldn't it?
  8. I would like to be able to detect, for instance, people who are using the TOR browser when they attempt to log in to one of my sites. my traffic report globals can already tell me if they are coming from a TOR node, but I would like to reject a login if an onion system or an anonymity browser is being used. I have only ran into one other site that has the capability of doing this, in terms of talking about forums only, and that is MrExcel: https://www.mrexcel.com/board/ if you try to register an account there with TOR, the page renders and says “we have detected you are trying to use automated queries to register an account”. there are of course, ways to get around that, if you click buttons in a timely manner, so they are not that good. but regardless, the pre-packaged software they bought does the job fairly well. can anyone offer any help in this regard? I know for a fact that most of the big banks in the USA have this covered, so I know that technology exists to block traffic coming from these sources, but I don’t know if it’s available to the little guy like me.
  9. req, I just want to make sure that these 2 things are not related. it doesn't make sense that they would be. Are the "allowed PHP modules" on a shared server related at all to the HTTPD software implementations listed here? https://en.wikipedia.org/wiki/Httpd . Your instruction guide says it is HTTPD. considering that HTTP is a protocol and PHP is a language, I'm thinking this is completely irrelevant. from GoDaddy: https://techmipro.com/php-mods-on-godaddy-shared-hosting/
  10. are you talking about SSH? apparently programs like PUTTY can be used for this, purpose.
  11. Req, In that resource you pointed me to, it looks like everything that has to be done is being done through the command line and the appropriate statements in it. is that correct? is this a common way to do things when working with a server directly?
  12. this might be exactly what I'm looking for, mac! thanks! so the rest of you guys....I have changed all of the files on my website to this: <?php include("relative_path_pointer/r/pagevisit.php"); ?> so essentially what I did for a file that is nested ''x'' dirs deep, to capture traffic, is THIS: <?php include("../../../r/pagevisit.php"); ?> there's nothing wrong with that, is there you guys? that isn't a security risk, is it? thanks!
  13. I appreciate it, cyberR.. I will bookmark the manual.
  14. that's always a good idea, ian. good for you.
  15. did you check the spam folder? additionally, perhaps you need more lines of REQUIRE() code, like in my script? don't quote me, ian, I'm no PHP expert.
×
×
  • 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.