The sound when someone pings me seems to have gotten louder and almost blasted my ears off (I have headphones on)
Is there any way to change the volume of it?
I still want it on but at a MUCH lower volume.
@connor.js nahh never forgotten. There is no point in forgetting about our dark human history. We need to look back on it and take it for what it is... we also don't need to post pictures of army men pointing guns are innocent people (@AbhishekHingnikar) - the word nazi or nazism alone just describes an ideology or the person following it.
@m59 I have a database object that needs to be retrieved from a include file and then to be used by another .php file that is loaded into a div container through ajax.
@connor.js any free person can point a laser at the reflectors on the moon and bounce a signal back. the only way for it to be positioned exactly where we want it to be is for it to be there and setup by someone - so someone was on the moon. We can all agree on that. If you want to choose conspiracy or aliens or giant goat people from mars go ahead.
@m59 There are 3 files. First one is called create.php which has the following line: "$db = new PDO(.....);" The other two files I have are poll.php and index.php. Poll.php uses the database and outputs stuff. index is the main file, the page that the user sees. Inside index.php, there is a div container and with the use of jquery/ajax, i load poll.php into that div container. So whatever is outputted by poll.php prints inside that div container.
@connor.js problem is: you've already seen it. We've (the people doing the research and making the efforts) are giving you all of the information. You instantly dismiss it saying "nope, made up!" so there will never be proof good enough for conspiracy theorist like you because you are ingrained to think everyone and everything is a lie.
@connor.js they also invented every other drug we use to combat it as well as all other known disease (assuming we go with the government created aids theory)
@m59 poll.php assumes that the database variable is already made and the connection has already been made (which has been made). inside create.php (the first file), the line "$db=new pdo(...);" instantiates a new pdo object, but since that file is included in index.php, the object carries over to index.php and since poll.php is also being used in index.php, it is assumed it will have access to the "$db" object since it's already carried over from "include."
I will agree that aids seems MORE LIKELY something man made (and fucked up) but I wouldn't stake my life on it. and I wouldn't ignore science because it has made a few mistakes.
AIDS is caused by the human immunodeficiency virus (HIV), which originated in non-human primates in Sub-Saharan Africa and was transferred to humans during the late 19th or early 20th century.
Two types of HIV exist: HIV-1 and HIV-2. HIV-1 is more virulent, is more easily transmitted and is the cause of the vast majority of HIV infections globally. The pandemic strain of HIV-1 is closely related to a virus found in the chimpanzees of the subspecies Pan troglodytes troglodytes, which lives in the forests of the Central African nations of Cameroon, Equatorial Guinea, Gabon, Republic of Con...
I believe there are secret societies, just because "secret societies are cool". But I don't think they have as much influence as people would make you believe.
@AGirlSaidMySmileIsCute What you have is an X/Y problem. Google it. All of these issues are because of a bad architecture. So, you need to present your goal and ask about a good starting point, then work from there.
> PAGE NOT FOUND It's a bird! It's a plane! Actually, it's nothing. We couldn't find the page you were looking for. Click here to return to the last page you were on.
@connor.js Btw, we already know about hydrogen powered vehicles. The problem is that it takes a lot of energy just to separate enough hydrogen from oxygen in water
A fuel cell is a device that converts the chemical energy from a fuel into electricity through a chemical reaction with oxygen or another oxidizing agent. Hydrogen is the most common fuel, but hydrocarbons such as natural gas and alcohols like methanol are sometimes used. Fuel cells are different from batteries in that they require a constant source of fuel and oxygen/air to sustain the chemical reaction; however, fuel cells can produce electricity continually for as long as these inputs are supplied.
The first fuel cells were invented almost simultaneously in 1838 by two physicists...
A hydrogen vehicle is a vehicle that uses hydrogen as its onboard fuel for motive power. Hydrogen vehicles include hydrogen fueled space rockets, as well as automobiles and other transportation vehicles. The power plants of such vehicles convert the chemical energy of hydrogen to mechanical energy either by burning hydrogen in an internal combustion engine, or by reacting hydrogen with oxygen in a fuel cell to run electric motors. Widespread use of hydrogen for fueling transportation is a key element of a proposed hydrogen economy.
Hydrogen fuel does not occur naturally on Earth and thus...
@m59 Already have a basic custom DB class and custom notification center class. However, I can't just include those objects in the index file and do everything there, right?
It's just highly frustrating considering the amount of bibles in the world (and that you can read it online) and yet people will argue with me about how the bible says this and that and so on just because Zeitgeist said so.
So I have a few other files which deal with different parts of the website, such as fetching from the Database, using the custom object, and displaying the standings of the teams (its a sports website).
it is amazing how many arguments I've been in where people misquote the bible to help their religious position. It is even more amazing how many religious people have never read the bible but feel the need to scripture people like they know what they are talking about (and in those cases they are mostly out of context, or misquoted)
@AGirlSaidMySmileIsCute You need to practice different design patterns. The best thing to do, really, is to try some different stuff locally using WAMP/XAMPP to see what works and what doesn't.
@m59 Sure, but there are like ten files that need access to the DB and I have instantiated the DB class once in the entire code tree. How do all those files get access to the "$db" variable that is instantiated in some other file?
@prog.Dusan Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
poll.php (gets latest poll data from database), articles.php (gets latest posted articles), admin.php (UI for changing stuff in the db like you see in forum software like phpbb or vbulletin). You have all sorts of files like that.
What if I have poll.php in one directory and articles.php in another directory and they have absolutely nothing to do with each other, but both use a $db connection?
new (function(){
var window = null;
var document = null;
var XMLHttpRequest = null;
(function(){
console.log(window,document,XMLHttpRequest,this);
})();
})();
if I am including a file through ajax to be displayed inside a container that is in index.php, then whatever exists in index.php should be visible to that ajax imported file too, but it isn't.
@AGirlSaidMySmileIsCute I'm pretty positive I understood you. Are you sure you understand what I said? Php serves the page and is GONE. that page then makes an ajax call back to the server, php servers that page and is GONE. and the page it gave you is then pulled into the original page.
page starts > include file with code for a new declaration of database > computer reaches end of page > encounters a js file reference between <script> tags > js file uses ajax to fetch the contents of "poll.php" and replaces the contents of an empty div named "container" with whatever the contents of poll.php are > container then loads poll.php (really the output of poll.php, but the code is still loaded in the div)
the external code put into that container uses the DB to fetch and output stuff. The DB variable is already included from the top of the page when the new declaration of DB was created.
but the container code is unable to use that db as it keeps saying that the variable isn't defined.