-
Content Count
1,705 -
Joined
-
Last visited
Everything posted by shadowx
-
Can Someone Help Me Solve This Problem? joomla and smf
shadowx replied to MusicOnly's topic in Websites and Web Designing
Basically in php when ending a command you always have to use a ";" so in the example below you can see the semi colon goes at the end RIGHT ^^ that will display the word hello to the user WRONG ^^ that will give you an error the same as on your website its very easy to fix as said, you could probably only copy and paste lines 5 6 and 7 of the file in question for it to be fixed, or maybe do it yourself if its a line like above but it might be a bit more complicated than that! -
I cant go into details as i dont know myself but the basic proccess of a web server is something like receives http(or ftp etc..)request from a browser for a certain file > locates the file > sends the file to the client thats what a request to Google.com looks like. The get line contains the protocol and request type (i think anyway!) and also the file to be sent, which in this case is the index page but i were to try to get a page called page.htm the get line would read something like GET /page.htm HTTP/1.1. I believe the accept lines tells which types of files and connections are accepted by the client. They are the most important ones i think. Once the web server receives this information it sees that it needs to send a file across a HTTP connection (http://https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl) and it knows what file types the browser will accept. And as default the web server sends the index page as no page is actually specified. t6hats my basic understanding of the process anyway maybe someone else would have a more detailed explanation. To write your own web server basically you would need to accept the above requests, identify which files is to be sent and then presumably use a winsock or other connection to send the data to the client.
-
Security Check Php Register_globals When installing Joomla on trap17
shadowx replied to matak's topic in Web Hosting Support
As those websites and jlhaslip said you can leave it on but i generally turn it off because as said it makes writing vulnerable code so much easier and i think it can also be a risk from SQL injection (eg putting a query into the url and having the website execute it and showing the attacker sensitive information.) The only real difference Ive ever noticed is that by having it on you have to type code like $user = $_POST['user']; because (as is the point with register_globals) the code will not automatically take the value of the post variable 'user' and plant it into the variable $user. For development i also find it easier to have it off so that i must use code like above in the event that a host has it off too and i cant change that then i wont have to modify my code. And definitely use the functions jlhaslip said to make sure that input is safe(ish) for the code to use. -
Script kiddies is right then methinks! I was searching the net and it also said there was a vulnerability in SMF forums so if you use one of those best to update it if possible, not sure how credible it is but its a precaution at least. They could be trying to make people distrust Xisto and xisto network websites for some hidden agenda or just "fun" i guess. But the problem doesn't lie here on the servers its just vulnerable code, i might google for vulnerabilities in SMF forums and see what comes up. I didnt know it was mainly localized to Xisto though, interestingEDIT searched for SMF vulns and i cant find hardly anything, all the ones i did find were related to version 1 of the forums. Plus i wasn't using SMF so methinks SMF is safe
-
Hi all I just checked my site, hosted here at Xisto.com, and my guestbook was full of html code, when i checked the file used to store the content of the guestbook i notice the HTML was as follows So im just wondering if anyone has any info on these people. I recommend not going on the website incase they trace your IP etc....I haven't visited yet either, i might use Google to check them out but was hoping someone might know something? Thankfully it failed as scripts wont work in my guestbook but id like to know who they are. It seems nothing else has been affected but ill keep checking things. Any info would be great
-
I wouldn't want to be on DNCL, even thought i live in england and dont know if they do this kinda thing. But either way i love it when they call because you can lead them on so much its great fun My brother once had one call and it was about a mobile phone contract and they asked how much he spent a month on his phone, he answered with ?300 and in the background heard the guy tell everyone in a whispered voice "?300!!!" hahahaha! then he hung up! And i was once offered a free phone so i offered them a free phone, that was fun too!The way i look at it my phone line is, in a sense, my "land" and by phoning me i have the right to say whatever i want to them! and they have no right to annoy the heck out of me by asking me if i want this or that so they get what they deserve.
-
Hey all, this is my newest piece i just wrote after a loooooong time of not writing. Its about two of my dreams in life, finding someone who loves me and traveling to one of the poles and taking in the breathtaking scenery there --------------------------------------------Icy white feathersAdorn the evening skyNo-one is hereJust you and IThe snow underfootCrunches as we walkHand in handWe make small talkOur breath turns to smokeIn the cold of the nightAn iceberg floats byMidnight blue in fading lightIcy watersNavy skiesLast of the lightReflected in your eyesWhite mountains all aroundIce floats on the seaAn evening show bookedJust for you and meGreen shines from aboveAnd dances in the skyIn ribbons of magicSilent lights up highStars shine behindthe lights still danceThis is where I belong,Snowy romance--------------------------------------------Hope you like it, and if not then cos i do!
-
aha! actually its completely ON topic! as normal earphones wont fit in my mp3 player either. Are normal earphones just slightly too big to fit in? I feel that ipod nano earphones will fit my mp3 player
-
Hey allfirst off this is the most relevant forum i could find for this topic. hope its good enough here.Now i have an mp3 player which is about the same dimensions as the ipod nano, it would fit into a nano case etc except its just an mp3 player in the shape and design etc.. the earphones are plain dodgy and theyre starting to crackle and such and its really annoying, the only thing is being so small the earphones arent the standard size that would fit into a PC or cd player its abit smaller, both shorter and thinner. Im thinking they could be the same sieze jack as the opid nano earphones so if anyone has these earphones could you tell me how big the jack is in width and length so i know if i can get some replacements? Thanks my earphones are 2mm (millimeters) wide at the thickest and 12mm (1.2 centimeters) in length from the plastic to the end of the metal jack.
-
the yanks are at it again, why wont GWB die, some assasinate him please, ill watch and ill laugh. the man is truly scum. He thinks he owns the whole universe like hes the law of the universe, well hes not. the sooner he is dead the better off the world will be. The americans (any that support GWB) need to see a proffessional for help. the man is clearly deluded and his attempt at owning space prooves this. I like the fact that hes allowed to make these rules yet he makes another rule saying no one else can make these rules...my god. what has america got itself into?
-
Id say the best way of doing this would be by using cookies, make a persistent cookie (ive no experience with this atall so ask around!) that can be set to some like "blocked=1" meaning they are blocked and also a date. OR make it expire after a week or so. AS said ip's can change and be used by more than one person. and i know a cookie can be deleted but its more likely that an ip address will change. Mine changes every time i reconect to the internet. Useless banning my IP methinks! Also do as said by banning their username. they can easily make a new one but thats where the cookie can help :)Also if you use any host with a Cpanel like here at Xisto there is a tool to automatically block an ip address or many addresses if you want. All you do is type in the Ip and click a button.
-
I very muc hdoubt this will happen. Think as a terrorist. You dont have to kill or injur to be a terrorist, just spread terror. By posting on that website that they will attack america they have succeeded in their goal as places like CNN and many many posts like this will prove accross the internet. The main thing to fight terrorism is not to show fear. you cant fight a terrorist with guns or bombs. Fight them with no fear, getting on with life, not showing your weaknesses and overcoming the many obstacles they might provide. also as a terrorists if you wanted to kill thousands you wouldnt tell them first.
-
come again?All i really understood was that one electron triggers two detectors in two different phsyical locations (i assume the slits were next to each other or something) which is silly, i dont doubt what you are saying but its just weird. i mean its not possible for anything in this universe to do that (surely?) the only explaination would be that electrons are not only part of this world. but maybe another. also i like the fact that scientists shoot themselves in the feet, as touched on, light consists of small pecies, i belive they are photons but your post says electrons tho i was lead to belive they were the negatively charged parts of an atom? And photons were still similar in that they were small peices of matter which we cant see but that is what light is. Yet according to scicne light is energy, but if photons (or electrons) make up light then light is matter and cannot be energy. unless energy is matter or matter is energy and then theres a whole bucket load of questions such as "doesnt that mean im made of energy", "the whole world is energy?", "if light is matter why cant i touch it?" etc... it baffles me as you can probably tell!leads me to belive my matrix like theory of the universe even more, aling with pea sized balls of matter with almost infinate gravity (black holes) and the like. Space and the world is a strange place indeed
-
Its true, happiness is an illusion and judging by the evidence here, even though it is fictional (isnt it?), it seems like it is created to make our species strive to survive. Which in itself is a shame as we are the ones causing much sadness in the world. Hapiness is something we will never truly reach as you said. We might belive we do but we dont.
-
Is It Hate Or Is It The Truth My feelings on something interesting
shadowx replied to crud2008's topic in General Discussion
While it is completely fine for you to hate gays (i definately dont, theyre as equal as you or me) atleast be a bit calmer about it. Jeez if i was a mod here i would give you a warn at least for being so agressive. First off stop insulting people. The forums arent for insulting people atall theyre supposed to be a nice place to be but if people post things like that its not a nice place to be. And personaly id probably ban you for such a post. On with the issue. Theres nothing wrong with gay. I'll assume you are talking about christianity when you write the above as it sounds that way. in which case some facts if you will. Christianity was based on actient pagan religions when the romans didnt like the tradition pagan religions they stole half of them and made them aspects of christianity. Such as eating bread at church was taken from the anctient pagan rituals of meeting in a sacred space and sharing bread and cakes along with ale (the wine in this crhsitian ritual) coincidence? No. Also the cross with the "halo" around the joining point of the two beams. As you might know the circle is very sacred to most pagan religionsm when wiping it out didnt work they simply incorperated it so that pagans would follow christianity. Also the horned beast as the devil. Not how one depicition of a pagan god is a man with antlers, Not horns as the devil has but antlers as deers have. So the romans decided they would make this figure evil to convert people. Also in pagan religions homosexuality is not frowned on as it is love. Now in any loving religion surely love should be sacred? And love derives from the soul and who says that our soul has a gender? Also the christian religion and many others state something like "do unto others as you would have done to you" so if you would like people to swear at you and insult you on this forum then please insult us all and we will return the favour. Otherwise look at your religion and realize youve acted selfishly, which is also a sin amongst many "mainstream" religions. And dont do it in the future. You could have started a good discussion but instead you have started a rant and an insulting thread. so in conclusion it is a mixture of brainwashing from "mainstream religions" who stole their ideas from pagans and it is hate and not the truth atall. Also what is hell? to a depressed person, this is hell. To an angry person, heaven would be hell. To a person who resides in heaven but whos loved one doesnt surely heaven is actually hell? So you cant just go to hell. You make your own hell. True words And by that you have proved that crud2008 has commited yet another sin by beeing part of a group that has lead to many deaths. The blood of many lies on the hands of people like yourselves who drive people to death in the name of religion. If i were god i would be ashamed i even let someone like that live, forget letting them into "heaven". I think you need to re-evaluate your religious belifs and the post and make an appology. Thanks to everyone else who are able to express their opinion without insulting people. Editted for typo -
HAHA me so stupid! Ive only used that function once and it confused me, there is my defence! either way they will both solve the problem except minew is excessively long
-
Yes! i have a suggestion!! This may well be the sloppiest suggestion around but it does work and you can easilly use an include to keep the scripts looking tidy. I couldnt think of any other way around it so here is my idea (in hide codes as its long!) [hide=code] <?//find string from big string then use search and replace to get rid of spaces in favour of underscores/////////////////////////////////////////////////////////////////////////////////////////////you can delete this line and replace it with something like $string1 = $_POST['string']; or whatever it may //be called And all variable names can be changed just remember to change them all the way through!///////////////////////////////////////////////////////////////////////////////////////////$string1 = $_GET['string'];//first bracket$bracket_1 = strpos($string1, "[");//second bracket$bracket_2 = $bracket_1 + 2; //find first closing bracket to identify the little string to replace spaces within. $c_bracket = strpos($string1, "]", $bracket_2);// get the number of characters between the brackets$chars = $c_bracket - $bracket_2;//now got the bracket's positions we can get this mini string between them$sub = substr($string1, $bracket_2, $chars);//now we can search and replace the spaces :)$no_spaces = str_replace(" ", "_", $sub);//final string with no spacesecho $no_spaces;//shadow-x :) Spread and use as needed!?>[/hide] (hide codes added thanks to jlhaslip for lettng me know how!) Feedback is appreciated by everyone to help me improve! and as in the code if you do use it then its free and give to anyone you want, just dont say you wrote it! Which im sure you wouldnt anyway!
-
to me the whole idea of antimatter is either stupid or very confusing. Matter is something right? and the oposite of something is nothing. so the opposite of matter is nothing = vaccum in which case anti matter is just a creation of a scientists mind. I mean no-one has seen it, seen an anhialation or anything. only anomolies on a scan of the universe i belive?but if it does exsists then i would also agree that that the magnet idea would work unless of course it has no magnetic fields in which case magnets wouldnt work. And technically light is made of photons which are surely matter, in which case lasers or any other kind of light container wouldnt work either.
-
similar to what is already said i belive you can export data from phpmyadmin and then import it from a text file. Has the same effect as already posted but much easier to do. hope that helps a bit as well.
-
Arent cookies solid? atleast in England they are. In whcih case you cant inject anything into them!youd have to make a sort of hollow cookie first, or you could make the cookie abit like a bowl but with straight sides and then just fill it with ice cream and let it sock in a little and then eat it like that. Sounds good to me!