-
Posts
250 -
Joined
-
Last visited
Everything posted by greenace92
-
I'm following Apache's directions to install apache and they say to "...unpack them into /httpd_source_tree_root/srclib/apr" and I'm wondering, since even the folder /etc/apache2 doesn't even exist yet, does that mean that the above directory doesn't exist yet? Was that implied? Am I supposed to create that directory? If so, what is the starting point or is the initial / literally the root directory? quick question: when downloading source .zip files or tar.gz whatever, should I put these in a folder outside of the folder where it will be extracted into? OR does that not matter? It's probably a preference thing right? It's not like I have a GUI with icons to see clutter. another question: when downloading all of the aspects of apache, how should I structure my directory, should everything stem from /etc/apache2 ? in the meantime I will reinstall a vps with the older os as they have apache preinstalled and I'll look at their directory structure as a reference. thanks for any help Here is the link I'm following: https://httpd.apache.org/docs/2.4/install.html specifically this paragraph: APR and APR-Util Make sure you have APR and APR-Util already installed on your system. If you don't, or prefer to not use the system-provided versions, download the latest versions of both APR and APR-Util from Apache APR, unpack them into /httpd_source_tree_root/srclib/apr and /httpd_source_tree_root/srclib/apr-util (be sure the directory names do not have version numbers; for example, the APR distribution must be under /httpd_source_tree_root/srclib/apr/) and use ./configure's --with-included-apr option. On some platforms, you may have to install the corresponding -dev packages to allow httpd to build against your installed copy of APR and APR-Util.
-
Age is off on php freaks forums
greenace92 replied to greenace92's topic in PHPFreaks.com Website Feedback
I did remove at least the visible age under my avatar on posts, as that was incorrect. Thanks for the response -
Age is off on php freaks forums
greenace92 replied to greenace92's topic in PHPFreaks.com Website Feedback
I have to correct myself, I don't think it was actually wrong(which is what I think was said above). There are two age fields, the part where you set month,day,year and then the last field where you enter your actual age in terms of 2 digits. That one did not change with time so that was my mistake. -
Age is off on php freaks forums
greenace92 replied to greenace92's topic in PHPFreaks.com Website Feedback
It's not about age see, it's about the content of the mind. -
Age is off on php freaks forums
greenace92 replied to greenace92's topic in PHPFreaks.com Website Feedback
Yeah I guess I did. I don't know why it concerns me. I don't even know why I put my age in, no one else seems to do it. -
Right I asked about it on webhostingtalk regarding the newest apache version. With OVH and Debian 7 it seemed that the 2.2.24?(outdated version) came preinstalled. So to install the newest version I endeded following someone's compiling instructions verbatim but I ran into problems regarding openssl. I meant the stable version on the actual vps. But I really have to figure out what I am doing.
-
I jsut recently got into virtual boxing on my windows computer. Yeah I don't know if it is a good idea to switch to the latest OS version if it is not stable. I tried to compile the latest apache, ran into some errors on openssl. Yeah I have a lot to work on, I started to get into nginx server set too. So much to learn.
-
I don't know if anyone uses the age feature, I don't know why I opted to use it on my end but I noticed it is off by one year, eg. I should be older by one year. I entered the date correctly, I don't know if the reference time of the server is off or something?
-
Well I have backed up my four vps's and reinstalled them, I figure I'll start from scratch. At this point I don't manage anyone or have any users yet so this is not a problem. It's good to catch the potential problems before they happen. I'm really thankful that you guys have caught me up, I have more to research/learn but this is really great. I want to do it right. Much of my work in other interests has been half-ass so, I really want to be competent in what I am doing. Right, alright, I'm going to start from the ground up. I think I might start a thread about the newest version of apache and openssl if I run into problems again. I stuck with the older version of apache as it came preinstalled on debian 7 but there is debian 8 now and I figure I should choose the latest version. Random thought, the age is off on this site, unless it is just me?
-
How can I even tell if I have been "infected" for the lack of a better word. I know the site has a lot of problems, thankfully in a way no one really cares about it. I don't understand about html escaping if I am using parameterized binding. Don't you apply the html escape after the query? I don't check for a real email address. Then once an account has been created you are past the point of session problems. Oh man, so glad to have asked these questions, thanks for the help guys.
-
Safe input using parameterized binding and escaping / other methods?
greenace92 replied to greenace92's topic in MySQL Help
Oh man, I guess I have to really know what I aim to make in the long run as far choosing server os and then database. But I'll keep that in mind. There is so much to learn, such a responsibility. -
Safe input using parameterized binding and escaping / other methods?
greenace92 replied to greenace92's topic in MySQL Help
No I agree, I will opt to learn PDO. I'm pretty early in the game and haven't done too much so it's good to switch to the more common practice. I like the idea of switching databases I have read that Google for example is leaving SQL if I'm not mistaken. Thanks for the great points. -
Okay. I just feel really clueless as far as how to know if I am safe. Currently I use: Password login, session-based access SSL Parameterized binding Not sure much else, it seems that more and more there are companies getting hacked so I agree with starting now to learn about security measures and good practices on secure coding.
-
What is happening when you scroll through a website, and the url changes
greenace92 replied to greenace92's topic in Other
Alright well then this seems to be what I was looking for. I was referring to History.current, History.next, and History.previous there is an obsolete sign next to them. I will get back to this post when I actually implement but I'm glad to have found more information about it thanks to your link and posts. -
Safe input using parameterized binding and escaping / other methods?
greenace92 replied to greenace92's topic in MySQL Help
Is it bad if I don't know how to use PDO? I am only really familiar with MySQLi, and I haven't used it much aside from inserting/querying to display rows. -
How can I get the data of individual pixels?
greenace92 replied to greenace92's topic in Application Design
Is it good? I zoomed into a letter, average scale like readable from a foot or so away from a screen. The letter is say a quarter of an inch tall, when you zoom in on that, it really becomes hard to tell what letter it is. I was going to start trying to write an "algorithm" or something that would be able to tell what letter/number something was by following a top-down pixel shade sorting thing but man... haha that's pretty deep... I keep trying to figure out what to focus on and spend time on that will actually return monetary gains. I know I should pursue something to be happy, pure passion, but at this point in life, my life is not secure so I'm trying to figure something out to help my situation. -
What is happening when you scroll through a website, and the url changes
greenace92 replied to greenace92's topic in Other
I briefly looked at it, saw some were obsolete and wasn't sure how "...browser session history..." applied. What are these methods for? Javascript? This is not huge on my list of things to implement/do but I was curious as to the driving mechanism like how it was accomplished. It's nice not having to keep going to new locations for new content. I have a scrolling project in mind that would use the same idea, loading "blocks" so to speak and adding them to the scroll feed and I could imagine how it may implement something like this. Good point about using the developer console. I hate to think like "stealing" or "copying" an idea by looking at the code... but I guess in some way or another you're going to do that regardless as I'm not the first person to develop these technologies that many people use. I try to figure things out on my own or just blatantly ask how something is done or a hint. Thanks for your input, I appreciate it. -
I am simply trying to figure out if the ip that visited my website is a real person or if it is just a crawler or some other type of bot. I have been logging access times when someone or "something" visits my website and I see what URL they were asking for, I've seen some pretty scary stuff (to me as I don't know what they are) like triple forward slashes or deliberate url queries like admin= something or where it seems like they are deliberately trying to get access to my server / do something they are not supposed to. So what I would do manually is take the recorded ip-address and copy, then paste it into ip-lookup.net who would then tell me who it is. For example, let me find something like what I have described above: Okay here are a couple of examples that worry me as these url queries seem to deliberately be trying to find some sort of access: http://mywebsite.com/?c=4e5e5d7364f443e28fbf0d3ae744a59a http://w3.hideme.ru:80 http://159.ip-192-99-169.net/?x=() http://www.southwest.comwww.southwest.com:443 not related to my website http://192.99.169.159 Connection: Keep-Alive/ http://www.mywebsite.com/?C=D;O=D here's a triple slash which is that wget or not? http:///cgi-sys/entropysearch.cgi See there are a bunch of those, and it scares me because I don't know what they mean. Am I safe? My website is SSL protected with an A rating from Qualys, and I use password login, session required for almost every page,without session,redirect to main page I have some test pages / other websites that don't use sessions(is that bad?) but the sql database is password protected. I was told to implement bcrypt and blowfish as well as some other things. I don't know if I am safe. So, I would take an ip-address and unfortunately I don't have any linked to those queries above, not sure why Actually it looks like I do, I have a bunch of tables jeez... frequency counting and the actual url looked up. For this one here: http://mywebsite.com/?c=4e5e5d7364f443e28fbf0d3ae744a59a This is the ip that requested it 183.60.244.46 So I go to ip-lookup.net and this is what they tell me: IP : 183.60.244.46 Neighborhood Host : ? Country : China What did I have to do in order to get that? 1) Go to ip-lookup.net 2) clear my ip which is the default searched by their website 3) enter ip of interest 4) hit search 5) see result I want to automate that with a web-scraper or something, I started working on it with something to do with php but lost interest It's on my list. So that is what I want to do, figure out how to stop or just deny any weird requests like that, if it doesn't have anything to do with existing directories. I realize I could probably accomplish that with htaccess.
-
What is happening when you scroll through a website, and the url changes
greenace92 replied to greenace92's topic in Other
Hi Jacques1, Thanks for your responses as always. To illustrate what I was talking about above, going from the first link here: http://qz.com/537093/africas-democracies-need-to-reconcile-with-term-limits-and-not-just-to-keep-the-west-happy/ Then as you scroll down, the link suddenly switches to: http://qz.com/537868/the-worlds-first-urine-malaria-test-could-save-thousands-of-lives-in-nigeria-and-beyond/ and then: http://qz.com/538237/ordinary-angolans-are-asking-where-did-all-the-oil-riches-go/ and so on... Every time there is a content divider, the url changes and the scrolling seems "infinite" as the scrollbar distance does not end. But as I said the page is not refreshed, but the url changes and it seems like you are accessing different directories simultaneously as shown by the changing url. Actually it does appear to refresh, but quite quickly where it appears to be continuous. The favicon logo briefly switches to a refreshing symbol and then returns to the Q logo so I guess it is refreshing? -
Oh man... that was a question I was asked. That is a great ability, if you find something wrong you can edit it where you spotted it, as opposed to finding the original source, I think anyway. what are those two leading underscores for in front of construct function name? oh man this-> haha, haven't implemented this in php either, in jQuery and Java Not sure if I am tired or just don't know... How did you pass 4 through multiplyIt if the argument $yourInteger is set to have 2? ahh nevermind, myInteger doesn't change.
-
wow 44 lines haha beats the hell out of 276 haha I like your matrix notation ? Or array notation? not sure not looking at your solution till I condense mine but thanks for your input, shows me how much smaller the code can/should be. Curious if it is scalable? Again, I'm not sure how the values would be entered with varying dimensions... unless they had a bunch of them lying around and fed it into the input...