-
Content Count
1,705 -
Joined
-
Last visited
Everything posted by shadowx
-
I dont think thats true... You *can* pay boe indexed by google but then you are clearly labelled as a sponsored link on the right. Anyone thatis *not* in that list hasnt paid. Thats the whole point of google, it clearly shows you who has paid to be linked and so you can tell a genuine good site found by keywords from an unrelated site that just paid so it could appear in your search results.
-
It would have to be site.com/remove.php?remove=yes&email_remove=email@domain.com Judging by the two GET variables. So you can send out a link with the newsletter with a premade HREF tag that plugs in the individual user's email address into the email_remove variable.
-
The idea of Meta Refresh is just to redirect a user, so like when you login on certain sites you see a "Redirecting... If you dont see the next page within 5 seconds click HERE" or "logging in... please wait" and then the page automatically changes, you can use Meta Refresh with that. I think meta refresh can use a time delay anyway, i could be wrong. The basic error the OP is having is that PHP is trying to send out headers, either from header(...blah); or from the session start command. PHP needs these headers to be the first thing on the page, and they arent, somewhere the code has an Echo command (or maybe print etc...) or some plain HTML before the PHP starts, so you have a situation where half of the HTML page has already been made by PHP/HTML and then PHP tries to send out headers, which *must* be at the top of the page, and they get put in half way into the page and it all goes horribly wrong. Think of it like building a house with bricks and putting the foundations in half way up the building. Its impossible. The solution is simply to move the header output up to the top of the page making sure nothing comes before it. IF the PHP code thats causing the error is included by another PHP script you need to take all the headers and session_start() commands to the top of that "master" page: [u][b]page1.php:[/b][/u]<?//php page one... this page has an include in it as well as some other rubbish...echo "<HTML><HEAD><TITLE>My site</title>.....";include("page2.php")here is some other rubbish..................?>[u][b]page2.php:[/b][/u]<?headers("something.....");some other stuff...............?>So you can see that page1.php includes the code from page2.php, but in page1.php we have ECHO and then include, so the actual layout of the code once page2 has been included is: ECHO HEADERS Other stuff.... So even though the headers come at the very start of the second file in the grand scheme of the code, they actually come second after an ECHO (which sents output, hence the "Output already sent...." message) If this is how the code is you need to move those HEADER commands to very top of the chain.
-
In fairness the iPhone really isnt that great. Its the advertising that makes it great, yeh im sure it can make the moon turn pink and you can email 51 people at the same time as watching a video and asking a donkey (using the dokey-sp33k app, of course) directions to the nearest pizza place. But up until a couple of months ago you couldnt even copy/paste on the thing... I mean seriously my <?100 Nokia handset can copy and paste, catch up apple. Factor in the EXTREMELY overpriced contracts and price tags, very poor 3g coverage (and actually only recent support for it) and the general bulkiness of the thing. Oh and then the exploding batteries that cause injury, and the fact that Apple places gagging orders on those who experience the exploding phone so they cant tell anyone and spread the word...Its not a pretty picture. Oh and then theres the moisture sensors inside that seem to trip at the slightest hint of moisture like a sweaty pocket, a humid day etc... and void your warranty...Bet old Steve Jobs loves you little fanboys!!!Microsoft phones will be no better at all. You're better sticking to linux based systems that are reliable, light, effective and very useful, not to mention established and tried and tested.
-
The Google OS may not live up to your expectations.. Its a cloud computing type OS which means that it will be made for netbooks, rather than PCs or laptops and it is meant almost exclusively for emails, light word processing and the internet. It wont be able to support heavier programs like (for example) microsoft office, (i know it wont support Microsoft stuff, but im giving it as an example of a large software suite that simply wont work on the Google OS) and no photoshop or complex image editing suites either. Though i expect the GIMP will work.Its meant for travelling business people who need to email, edit documents and surf the web while at a cafe, on a train etc... It's not particularly suitable for the home user who might want movies, music, image editing, office suites, gaming etc... though it would be ideal for university students who can research things and do coursework while out and about.I also think its heavily based on Linux (but what isnt, the Vista GUI smacks of the classic linux large icons and special effects, Mac OS's are linux with a pretty face and good marketing, most mobile phone operating systems and PDA systems (and probably book readers) are heavily linux based....) so it might not be that different, it could just be another flavour of linux. I expect it will fail to be honest, much like Google Chrome which is terrible in respect to usable and useful features, though excellent in regards to stability and system resource usage. I still dont like or use it but i do have it installed.
-
It does, i was on shared hosting, in fact i still am, and i run all my own scripts that i write myself (well most of them) the limitations of shared hosting are space, BW and restrictions on cpu usage (Eg huge scripts that slow the server down, if everyone on one server used intensive codes then the servers would just crash) im sure there are restrictions on certain types of content too but custom scripts isnt one of them.
-
Is Your Mother Talking About That You Should Learn Cooking?
shadowx replied to TheDarkHacker's topic in Health & Fitness
If you hate cooking then how will you cope when you move out?I dont *like* cooking but if im hungry and my mum aint in (and sometimes if she is, im just a nice person ) I'll cook something to eat, even if its just oven cooked food its still cooking. Plus you get to eat what *you* want, so if i want a stir fry i can just cook it and if im home alone (im not a kid i might add, im 20...) i can just whip up something nice to eat rather than just pot noodles... though there is a time and a place! -
EDIT: Doh... It was the drivers, i installed the disk when i got the machine and tried un-installing using the disk last night and the problem went away, i was too busy respawning last night to reply
-
Highly recommend Filezilla, brilliant little program for FTP transactions.To use it you just open it up, enter the host (usually something like ftp.yourusername.trap17.com or ftp.mysite.com) and your username and password which you can find in control panel/your welcome email and clicking connect. Once connected i have it set up so my local drives are on the left and the remote server (which is your website) on the right, you just then need to drag the file from the left window to the right and it will upload it for you. By default i think its set with one window above the other. Just browse to the folder you want and drag and drop
-
Update its drivers if possible, find it in device manager, Right click then click "update drivers", check the "look online" and click next, then click on the option that mentions "automatically search for..." see if that helps.If not try it in another computer. If it works then it is your computer that is the problem. if it still doesnt work the drive may be damaged.(i realize the thread itself is 4 years old... however this guy's comments are relevant and it saves another post going up in the forums with the same problem so meh, makes sense to reply here rather than report/tell him to make a new topic)
-
Ive never used drupal, so i may be wrong. Anyway, make a backup. now! I would imagine changing the CSS would solve the login alignment problem. View the source of the page (right click, not the HTML files on the server) and look for the CSS file it is using up the top probably "default.css" or something. Now find that file on the server, make a copy if you havent already just in case this makes the world end. At least the aliens will know why because they can read your backup CSS file. Now look at the source code (again right click on the page in IE) and find the login part of the code and see what CSS tag is linked there perhaps "<input type=text name=username style=login_user> Thats the bit you need. The style info. Now search the CSS file for "login_user" (or whatever its called in the real file). If you find it then good, just change it with something like "align: left" or whatever make it flash purple and yellow, why not. Give it a fur coat (faux fur of course!) If you dont find any CSS reference for it then em.... Give up Nah i dont know what to do if you dont find the CSS reference. But it's worth a look. I cant help with anything drupal specific though!
-
Safari is a bad browser to use, its very insecure (in fact it is blocked by paypal due to its terrible security)Anyway... How much RAM do you have?Have you done a quick virus scan?And how many addons, plugins and webpages do you have open/are you using when it eats your RAM?Firefox isnt terrible with RAM usage, its worse than chrome and opera but better than IE and it has a lot more features than chrome and opera so its acceptable to use more RAM but if its using a lot of RAM then you need to disable some addons and close some pages!
-
Actually you should be able to keep your current ISP, though it depends... Are you still on Dial up? If so it might not be as simple as a router acts like a modem only it is *always* conncted (unless you fiddle with it anyway...) so if you are on a "pay $XX per month and have unlimited internet" then get a router (check with your ISP first but it shouldnt matter) a router is basically a box, in that box is a switch, a modem and stuff to connect the two together. A switch is like the old telephone switch boards where a person would sit inside a room with loads of connectors (imagine a board in front of you full of leads with two identical ends and lots of holes) when a call came in on line 5 (which has a telephone number of 0123456789) and they were calling someone on line 12 (lets say their number is 9876543210) the person would take that lead, plug one end into hole 5, and the other into hole 12 and the two lines would be connected. Nowadays its computer controlled and is software based so theres no unplugging leads etc...but a switch does the exact same thing. If a pc on port 1 sends a message it sends it like: "To:192.168.1.5 from:192.168.1.2 message:hello, i have some data for you...." obviously its more complex but thats the basics. The router then sees the TO address, and has a table which it looks at called an ARP table (usually) which has entries like:192.168.1.2 Port 2 (ethernet)192.168.1.5: port 3 (ethernet)172.52.212.7 port 1 (Broadband)so it sees that the computer 192.168.1.5 is on the 3rd port/connection so it sends all the data to the wire that is plugged in to port 3 and so the second computer gets its data and everyone is happy. In a router you also have the internet connection (see above) and a complex system of NAT (network address translation) because the websites and the internet only sees the *outside* connection to your router (172.52.212.7 in our example) so it must send all data to that address, but what if PC1 on port 2 wants the data but pc 2 (port 3) doesnt want it. The router performs NAT that basically looks at the data from the internet, sees the name of the PC that asked for it, checks its ARP tables and then sends it on to Port 2 for PC1 and PC2 doesnt know or care! (Im rusty on my NAT so try googling it)And thats it really... A router usually contains a modem (or at least broadband routers do, you probably wont find too many enterprise level routers in PC world or whatever). The idea of a router is it "routes" traffic from one network to another. Imagine it has two sides, one goes to the internet and one goes to your home computers. The router will route all traffic between the two, so if PC1 and PC2 want to talk to each other the router doesnt send that traffic out to the internet, it doesnt need to. It acts as a sort of connector, or forwarder between the two.
-
your ISP may not block proxy surfing (though disgraceful countries like China do block access so they can hide what really happens in their precious little country...) but they may require you to have a specific IP address so they know who you are. In that case a proxy SITE will probably work (google proxy site) but proxy software may not because the proxy site works thus:Trusted IP>ISP>proxy site>different IP>websiteso your ISP still sees a trusted IP address. But software may work like this instead:Trusted IP>Changed by software>Untrusted IP>ISP>*BLOCKED*But meh, it could just be your government blocking it by law or just a weird ISP
-
They dont always get blocked, thats the key here. In theory you just need to add some nice META tags to your proxy site that mention maths, or language or something that sounds educational, dont mention the word "proxy" "anonymous" etc... and it wont get auto-blocked. Though it doesnt take a super smart teacher to realize what you're doing and get the proxy blocked.Like The Simpleton said, its not all bad, there are good reasons to use them and bad.As for why google translate (and google cache) work is because google acts as a proxy: YOU>(Ask google for a translate)>GOOGLE>(GET https://www.salesforce.com/products/platform/overview/)>GOOGLE>(Translate page)>GOOGLE(Send page to YOU)>YOU(receive page, and read it)So in effect, you are simply accessing google, and not https://www.salesforce.com/products/platform/overview/.
-
This is a company that, when you buy a new pc, almost threatens you into buying security software.. Not to mention PC World and microsoft share the same bed... But i digress... As its a free app i would be tempted to try it, only i have better stuff for free anyway (Comodo and Avast) but if you currently have no security software and not enough knowledge to find and configure an alternative then I'd say its suitable, but if you have tech know-how you'd be better off going with a more configurable option.
-
Sata 2 Hard Drive Not Recognised, Please Help!
shadowx replied to shadowx's topic in Hardware Workshop
=====================================EDIT=================================== All sorted, see the first post for an explanation Bloody SATA leads! Am i to assume that as they are a newer specification (compared with IDE) that universal compatibility isnt around yet? (Ive never heard of or had problems installing to an IDE driver so Im assuming SATA just isnt standardized yet?) I would try what you suggested but the case has warranty seals on it, and if the hardware is faulty i cant send it back with broken warranty seals or they will just blame me and send it back to me still broken I emailed tech support and they are gonig to ask the manufacturer to call me, they said the cables may have come loose.. Marvelous.... That's whats worrying me, i can accept that windows or linux might not have up to date drivers, fair enough, but if the *BIOS* isnt detecting the drive then it just screams of a hardware problem to me. Hopefully tech support will "talk me through" the process of checking the connections inside and ship me some shiny new warranty seals or something but i wont be happy if he tells me i need to get it shipped to them so they can check it... thatll be a week of wasted time... I'm more than capable of checking a few connections and jumpers (provided im given the corect jumper configuration anyway ) Cheers for the advice though, im not 100% on the system specs as without opening it i cant see serial numbers etc... but i know it runs on an asrock G31M-GS mobo (though actually, that could just be the BIOS...) the southbridge is Intel ICH7 chipset (and this is where the SATA controllers should be methinks....But i tried the ICH7 chipset drivers with no luck) and there is also an Intel G31 Express chipset in there somewhere. Its a quad core system: "Core 2 Duo, Core 2 Extreme, Core 2 Quad, Pentium Dual Core, Celeron Dual Core" this is the link for the system on the sellers website, they arent the manufacturers though. I dont expect you to devote your time to this by the way Im grateful for what you've suggested, and ifit wasnt for the bloody warranty id try that and we have a few SATA drivers sitting around so id try a new drive too to see if its the drive the bus or the lead but meh, cant do that.... Better not mention that i used a linux live CD either or the phone will probably just go dead... Microsoft fanboys! -
=====================================EDIT===================================Problem solved, emailed tech support and was given permission to open the case to check the SATA leads, the data lead was unplugged... Apparently i got the last of the batch with SATA leads that arent clip on. The next batch all have clip on leads so it seems this is a common issue. But its all fixed now. Just need to install my GFX drivers which are at home and i can run a test. The windows performance thing rates me at a 1.... A 1.... because i havent installed my GFX drivers though. Not all bad!Right so my new machine arrived today and comes with a 1.5TB SATA 2 drive pre-installed. all i had to do was plug in the power etc...I assumed vista came pre-installed but when i was met with a "No OS" type message i realized id have to install, whacked the DVD in loaded up and got to the "Select installation drive" part, only vista couldnt see any drives and suggested i look for drivers, so i tried the automatic option and it found none, browsed to the DVD drive, found none. Looked through my stuff and found an Intel DVD which said "support" and "drivers" no luck..it only contains LAN, video and audio drivers. Looked online for drivers for the mobo but found none. the BIOS doesnt seem to have detected any HDD (it has a stupid BIOS logo screen but when entering the BIOS you get a brief flash of the "real" BIOS screen showing POST data and using the pause key there is still no HDD found during POST, just a DVD drive) Im not a pro with SATA drives, im good with computers, i work with them, but never used a SATA machine before but the only settings ive found relate to compatibility mode for older OS's like win98, tried that anyway and no luck with that. Tried fail safe BIOS settings and Optimized settings, nothing. Tried an Ubuntu live disk, cant see any HDD either. I cant open the machine up as it has warranty seals on the case so there might not even be a hard drive in the machine at all.ITs doing my head in. Please if anyone has any triicks to try to see if the HDD is actually present please let me know!!! Im going to take it into work tomorrow, like i say i work in ICT so ill see if i can get the head guy to take a look, (im new so meh) and if not im going to ring tech support and get them to talk me through the process. this is ridic so please if anyone knows anything share it!EDIT: I looked further on the disk supplied and found some intel drivers (im faiurly sure the SATA controller chipset is intel) loaded them in the dialogue box and tried selecting the drivers, i can only try one at a time so i tried the two SATA controller drivers (one was IDE i think and the other ID2 or something) no luck, Vista still says there are no HDDs in there, tried some others that related to IDE and "Storage" but no luck. Nothing. Its like someone forgot to put it in!Please if anyone can point me in the direction of a download for the ICH7 intel chipset drivers please please please post a link!!!
-
Should All Games Have Manual Save/checkpoints?
shadowx replied to The Simpleton's topic in Computer Gaming
But doesnt that make you *not* want to die? Like in MMORPGs itd be pointless if when you died you just respawned straight away with no loss of items, XP, money or health/mana/stamina. There would be no incentive to stay alive, but that threat of losing something you had to work for (even if its just a temporary malus like lowered attack power or HP makes you run away when you get too low on HP, or take a risky move like going for finisher and hoping that he dies before you. Thats a much better idea, and the same thing applies to single player games, except without the XP, gold and item system the only real penalty is being put back to a checkpoint. I agree though that some checkpoints are very harsh but they have to be there! -
Should All Games Have Manual Save/checkpoints?
shadowx replied to The Simpleton's topic in Computer Gaming
I would agree that there should be a point every 20-30 mins, otherwise its unreasonable to expect the player to pause the game for perhaps hours while they take care of something more important in their real life.I played prototype on the xbox (which is a good game by the way!) and it had the manual save option but if you saved it mid-mission/task it would start you back at the start of the mission, which was good in a way because it prevented the game being "grindable" with multiple saves every time you done something right. There was however a tough boss at the end of the game that took me ages to do! (well actually he wasnt that tough, i was trying to beat his brains out with various abilities or cut him limb from limb but i shouldve been throwing jet planes, helicopters and missiles at him...) But even doing it the way the game makers suggested it was still a 20-30 minute battle but the game had a checkpoint about halfway where some event happened, i cant remember what it was) so in effect if you got killed, which happened regularly when i first tried him, you only had to fight another 10-15 minutes to complete the boss which i think was very reasonable. It wasnt too easy but it wasnt life wasting either.Something like that would be very useful in a lot of games! -
It all depends how they tie the game to the system i guess, if they do it much like WGA by generating a hash based on the hardware present then it wont have any effect....Im not sure whether its worth upgrading to 7 or not now... I cant stand Vista, its just XP on RAM-Munching steroids and im hoping w7 has reduced that RAM munching to a more suitable level. It has 4gb RAM and quad core (yeh, im just bragging ) so i dont suppose Vista will cripple it in any way, i plan on doing a few tweak once the initial "ZOMG! Look at this thing! I have to install and run a game on full GFX right NOW!" period has cooled off so i can get a few extra ticks out of it.Most of the games ill be playing are online so the game-save data isnt too important, not yet anyway and i can easily copy patches and what not over using an external drive, save me several hours of patch downloading.Does anyone know if theres a vast difference in performance between Vista and 7? Im assuming the US has had w7 for a little while now.
-
Should All Games Have Manual Save/checkpoints?
shadowx replied to The Simpleton's topic in Computer Gaming
In your example where would you have liked to save the game? During the chariot ride? Just before battle begins? I would agree that a save point just before the battle begins would be ideal, presumably you get off the chariot, bare your weapons and go about cutting those two guys down to size, so a save point could easily have been added at the "get off the chariot" part. But having the user able to save at any point is a bit awkward, at least if they want to save during the middle of a battle. For instance in your example you could be cutting those guys down and perhaps at 50% hp they get more powerful of something so you could just pop the save button at 51% hp and then you can just "grind" your way through the battle, saving it if you are doing well and loading if you are doing badly and just crawl through it with no skill. Not to mention the logistics of saving the exact skills used, cooldowns (if any) the *exact* positions of the characters, including the stage of their attack/defence animations at the exact time you clicked save etc...I dont see it as practical in many games. But it would be nice to have more checkpoints -
Heres the dealio. Ive bought a gaming PC. nothing spectacular but compared to my 2-3yr old laptop its a beast. Its arrived today while im here at work and it comes with Vista, which we all know is the worst OS ever written since... Well whatever came before XP really. MY machine also comes with a free upgrade to Windows 7 (w7) when it comes out here in the UK.Excellence, assuming w7 is a decent OS i can just do an "in place upgrade" and keep my games etc... WRONG!Microsoft is throwing a hissy fit because the EU doesnt like the way they force IE, windows media player etc... down your throat so w7 comes without IE and presumably during install asks you which browser you want to use from a list including FF, opera etc... and then downloads it for you or unpacks it from the disk. Because of this MS are trying to irritate users and the EU into letting it off by making the european version of w7 require a CLEAN install so all my Vista settings and all my downloaded (legal) programs get deleted.Not good, really not good. But im thinking, if i partition the drive as soon as i get it and keep the windows crap to one partition (lets say C:) and then install everything to a D: partition (or x, y, z depending where my DVD drive is) then when it comes to install perhaps w7 will only erase the C: partition and ill keep all my stuff.What do you guys think? and also, if i did that would the programs still work, because presumably the registry entries will go bye bye too so game settings and what not wont be kept. And with the pay to play type games with serial codes im guessing that the games wont recognise the w7 upgrade and will think they have been installed twice so the keys wont work?What a mess...