Jump to content
xisto Community

Spectre

Members
  • Content Count

    1,034
  • Joined

  • Last visited

Everything posted by Spectre

  1. I would suggest looking up the reference provided. It explains everything you need to know about using the FTP protocol with PHP. There isn't really anything anyone else can tell you that isn't already contained within the official manual, so try reading about some of the functions and features.
  2. It's not a scam. That's how traffic exchange programs work - you do a little for them, they do a little less for you. You can't expect to be able to come along with your tiny site that probably gets no or very few visitors, and instantly have them give you a 1:1 exchange ratio for free. A 1:10 ratio might be a bit steep, but you shouldn't expect to get any more than 1:3 without paying for it. No offense, but this is a bit like people whining about having to post in order to receive otherwise free hosting - you can't expect to go through life getting everything for nothing.
  3. Maybe don't worry about it, but I certainly wouldn't advise simply brushing it off as insignificant media hype. Just because SARS didn't break out in world-wide, plague-like proportions doesn't mean that there was never a chance of it doing so, and certainly doesn't mean that it means future viruses are going to follow suit. If they give serious warnings about the potential of such a thing happening, it's probably a good idea to listen.
  4. If you intentionally try and cheat Google's AdSense program, you will be discovered, and you will be banned from the without any chance of ever having your account re-instated. It is real money they are paying you, so they are obviously going to do everything they can to ensure you are keeping up your end of the bargain. Which includes delivering real, unique visitors, not the same visitor over and over again.
  5. The last time I checked the AdSense Policies, you can only put up to 3 AdSense frames on any one page. They don't pay you on a CPM rate, but on a CPC rate - and that varies greatly depending on the sponsored link (although they do have what they call an effective CPM rate, which is an estimate of how much you would have earned per 1000 impressions were the program on that payment model).I'm not 100% sure about what they mean by 'Image Results', but it should be specified somewhere in the program's policies.
  6. Yes. You can have has many if statements contained within each other as you like. However, it may be easier simply to be more specific with the original condition. // Multiple If() statements:if( condition1 ) { if( condition2 ) { if( condition3 ) { if( condition4 ) { echo 'Something'; } } }}// A simpler way:if( condition1 && condition2 && condition3 && condition4 ) { echo 'Something';} I should get around to writing more on this some time - probably around mid November when everything else is wrapped up. Thanks to all those who have commented (both positive and negative constructive feedback is appreciated).
  7. Uh... Hey just joined, Posted Mar 3 2005, 09:08 PM, by xtreme (Unregistered). Someone's obviously paying attention.
  8. Welcome to the wonderful world of webmastery. One of the things you're going to have to expect is to experience trouble with search engines.Try checking if any pages within your website are in the Google index, by entering in the search box 'site:yoursite'. If the page in question is indexed and hasn't been dropped completely, then it probably means that Google has decided that your page isn't of as good a quality as another or isn't overly related to the search term in question. In which case, your position would be replaced by another site that the engine feels is of higher quality and relavence.If you aren't aware, a 'Google Dance' happens about once a month, where they update their index and all page rankings. It would seem that the ranking for the particular page on your site has been lowered for that term. Try looking through all results pages, to see if it's there at all (not just the first 10 or 100 results, but all of them). The web is obviously a very competitive environment, and there will always be someone else trying to target the same keywords as you (especially if it is a commonly used term or phrase).
  9. Did you notice how old this topic is? You may want to consider checking the date before replying to very dead topics.The Chinese guy may have 'figured out' how to live forever (or not), but all threads die eventually.
  10. It's probably the configuration file that requires read/write privelages. It needs to be CHMODed to 777, as has been mentioned. Your FTP client should be able to do this for you. In phpBB2, the configuration file is 'config.php' in the installation directory.
  11. If you changed the primary domain name to your top level domain name, then you don't have access to blukirby.trap17.com anymore, and unless another user requests it, it won't exist.
  12. Not really. Anyone with any programming experience could very easily 'decrypt' a page which has been 'encrypted' with JavaScript. There isn't a way to ensure no one is going to be able to rip off the markup of your page. The client obviously has to receive an uncrypted form of it at some stage, so any encryption or form of obsfucation you use is only going to work to a certain exten, and can't be of great security.
  13. Although not a bad post, 'encrypting' your HTML is effectively pointless. Obviously, the browser is going to need to be able to process an unencrypted form of the page - so the client-side script needs to be able to decrypt the HTML. Which means that people wanting to 'steal' your markup are going to be able to anyway by looking at the 'decryption' method. Further more, it's more obfuscation than encryption. If you've ever heard of the SHDocVw control, this processes all JavaScript and presents the HTML with all JavaScript modifications made. <p><script>document.write('Hi');</script></p>Would appear as:<p>Hi</p>When processed with the SHDocVw control. Apart from that, why hide your markup? It's not like the source code of a program, and as far as I'm concerned, there is no reason to hide it. There are a lot of downsides, however - search engines won't be able to read your page, and some visitors won't be able to either (whether by intentionally disabling JavaScript for security purposes or running a browser that doesn't support the scripting language), just to mention a couple. Anyway, good post.
  14. This is because the posts are stored this way in the database, with quotes escaped (for obvious reasons). I think that displaying the latest thread in the index may be some form of mod, but either way, it obviously isn't undergoing the same processing the thread's title otherwise would. A simple 'str_replace('\\"', '"', $title);' would probably fix it.
  15. ciroxyz, $HTTP_POST_VARS is generally considered 'obsolete' now. It may work (I think it may have been completely dropped from PHP 5x, but I don't know), but it's better to use the $_POST variable, in which all content submitted via the POST method is stored. And truefusion, that will not work for a couple of reasons - for one, the $_POST variable is an array, and for two, an index not existing does not return FALSE in itself (although there are functions to reach this state, such as isset()). Further more, some input elements in a form - such as a radio button - will not register themselves at all when submitting the data if not selected - so simply checking whether or not they are empty will not work. Anyway, Tyssen, here's a quick snippet that should work (will only check if entries are null): $array_keys = array_keys($_POST);for( $i=0;$i<count($array_keys);$i++ ) { if( $_POST[$array_keys[$i]] == '' ) { // Not all fields have been enetered. }}
  16. No offense intended, but that site is not of particularly good quality. It is unlikely that people will take anything found on there with a great deal of weight. Further more, it contains little to no information.In response to your first statement - you should either pay or get a quality free host (such as Xisto). Using a host like Bravenet (or Geocities, Tripod, etc) makes your site seem unprofessional and not worth taking the time to read or be taken seriously.And it seems all you are doing is advertising what I'm assuming is your site. Which can be considered spam and may lead to trouble for you at the forums.
  17. I consider power to essentially be the ability to influence others, in small or large groups. Whether this is out of a renowned wealth of knowledge or wisdom, a position in which you have been placed, or however else you managed to attain your sphere of influence, that is what I view power as. But naturally, power comes in many forms.And while $100,000,000,000 couldn't directly protect you from a gun, it could buy you protection (of course, no amount of money can protect you from absolutely everything without exception - there's no escaping this thing we call 'life', part of which involves death).
  18. I wouldn't say there not considered at all, but search engines most certainly do not give you decent rankings for words you list in the 'keywords' meta tag. Obviously. Personally, I would recommend you do use meta keywords and the description, but make sure you don't go overboard or try and target one page with too many keywords. You should also make sure that all of the phrases or words in the keywords do actually appear in the page's content, otherwise the page is likely to incur some form of penalization.Google, and probably most other large search engines, place newly listed sites in a 'sandbox', ranking them poorly for search terms and, in the case of Google, giving them little or no PageRank. A lot of people tend to freak about this when they're sites aren't listed properly, but it's a normal process, and all sites are lifted from the sandbox after a while, afterwhich Google assigns rankings it 'thinks' they deserve. I don't know the official reason for this as I haven't read much about it, but I would assume it is a form of quality control. New sites pop up all the time and disappear again within months (or even weeks), and the search engines obviously don't want to 'recommend' sites to their users which may not exist tomorrow.I'm a little tired, so whatever incoherent garbage I just mumbled may be too incomprehensible to read. My apologies.
  19. Certainly some good tips, but not universally correct. There is no single rule (or single set of rules) that are going to apply to every single website that is ever going to be created. You can read all the guides on SEO from so-called 'experts' you like, but you really need to analyze the needs of your website specifically. What works for someone else probably won't work in the same way for you. There are also a lot of contradictory statements floating around from those who would like to consider themselves experts on the topic of search engine optimization, so don't take any one persons word for it, regardless of what position they are in (even leading SEO firms and other such bodies make SEO mistakes).
  20. Allow to bring one thing to your attention: the title. You know, the first thing you see before reading a post? Anyone Know Any Good Legal Free Graphics Software?, well Photoshop costs ~$800! To me, this suggests the poster is looking for good, legally free graphics-related programs. So you might consider ceasing to post recommendations of Photoshop and the like. Anyway, GIMP (the GNU Image Manipulation Program) is, as has been mentioned, a reasonably good free imaging application. The problem is that decent programs of this sort usually take a lot of time and money to develop, so there isn't many floating around that the developers are willing to part with without a fee. There are certainly alternatives to Photoshop, but not many. There are quite a few free WYSIWYG HTML editors on the web. I use Dreamweaver myself, which obviously isn't free, so I wouldn't know of any to personally recommend, but I have heard good things about the open source editor NVU.
  21. It's primarily relying on MD5 to provide security, so really, it's not an 'encryption system' in itself. If you stripped out its reliance on MD5 and constructed your own hashing function, then maybe it could be titled as such. But anyway, it's simple enough, and still effective. It obviously works by adding up the ASCII character codes for the MD5 hash, then multiplying the character code for each character in the string by this value. This makes it quite difficult to reverse the method, and uncover the actual text without the password.
  22. As long as it doesn't affect you, it has no significance whatsoever, right? Anyway, this has been up in the air for a while. If you remember from around the time Gmail first commenced, a company already operating from Gmail.co.uk filed a suit against them (or sought to take some other form of legal action against Google, I don't really remember).
  23. vBulletin is indeed a good forum package, but it is not free. And please stop spamming.
  24. Well done for making admin, BuffaloHELP. And it must be good to be back in the ranks again, wassie.Congratulations to both of you.
  25. Search engines have a tendancy to suck a little more bandwidth than they deserve - and illegitimate spiders which do not follow 'robots.txt' rules (such as those used by spammers) are notorious for using up one's entire monthly bandwidth limit. The PHP function gethostbyaddr() looks up the hostname corrosponding to the IP address passed to the function, allowing you to identify known spiders (such as Google or Yahoo! and the like) by the hostname (or if you know all of the IP addresses used by nodes on their respective networks). The major search engines also always identify themselves in the 'User Agent' header - but this can obviously be forged by anyone.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.