Spectre
Members-
Content Count
1,034 -
Joined
-
Last visited
Everything posted by Spectre
-
Are you receiving any error messages? Xisto does experience issues when there are too many people using MySQL at the same time (directly or indirectly), so it may be that there are too many connections. If that's the case, wait a few minutes and try again. Oh, and of course PHP works.
-
Are you trying to put the code in place through the CMS you're using? I would suggest you edit the raw HTML code if you wish to put this code in place. I doubt that it's Xisto telling you that you can't use the tags, but rather the software package you're using.
-
Adobe And Macromedia Adobe and Macromedia
Spectre replied to gbjack's topic in Graphics, Design & Animation
Why would Fireworks and Freehand be 'killed or sold off'? Unless I misread their official statement, they are acquiring the entire company, which should include all of its products and trademarks. That I know of, there was never any mention of just purchasing part of the company or only some of their product line. -
JavaScript is client side only. It has no way of interacting with the server other than retrieving documents from it as a web browser would.If you want to use MySQL, you are going to need to use a server-side language such as PHP or Perl. As has been mentioned, PHP is easier to learn, and has great MySQL functionality.In theory, you could have JavaScript submit information to a script located on the server that would then process the information accordingly; however, this would open up all sorts of security issues and is most definately not a good idea.
-
Although I obviously don't know, I have strong doubts about that program. I'd just be careful what kind of information you give to them before it 'officially' starts, and using an alternate email address probably wouldn't hurt. The details seem sketchy, to say the least, and when it comes to actual money, you can never afford to be too careful.Anyway, it doesn't hurt to sign up and see if it is actually real. I'm not interested myself, but for those who are - don't get too upset if come June, you don't receive anything.
-
It seems to be working fine now. If you still can't get it, outlawspirit, try clearing your browser cache and flushing your DNS cache as NilsC mentioned.
-
Just for the record, you can include extra headers as the fourth argument. One that you might want to take particular note of is the 'From:' header - if it is not specified, the mail will be sent from the server's default email address. In this case, the best choice would probably be to use the values entered as the users' name and email. For example: mail( 'snlildude87@gmail.com', 'Someone Sent You Something!!!', $content, "From: $from <$email>");
-
Can You Stop People Saveing Your Web Pages?
Spectre replied to truman69's topic in Websites and Web Designing
The short answer: No, it's not possible. The relatively long answer: The web browser that your visitors are using obviously has to be able to read the source of your pages in order to display them. So even if it is encrypted or obfuscated, it would be with a relatively simple algorithm that could be reversed almost instantly. Therefore, the determined user will be able to view your HTML code, regardless of what you do with it. A lot of people try things like disabling right-click or placing a large number of blank lines at the top of their document to try and confuse the user; but really, these things amount to nothing. As has been suggested, there are ways of 'encrypting' your code using weak algorithms; but as has also been noted, search engines such as Google are unable to read JavaScript, so will not add your site to their index. However, this doesn't matter to some people, so if you don't mind not being listed in the major search engines, then you might consider looking into such methods. Although, as I've said, it won't throw the determined user off entirely, it will make things slightly more difficult for them. -
Unless I've misunderstood what you're asking, it's impossible. From what I gather, you want to actually execute a file from within PHP - now whilst that in itself is possible, it will only occur on the server, so the visitor won't even know it's happened (unless an error or other output is returned). If you want to use Flash within a web page, then yes, you do have to have the markup to inform the browswer you want it displayed and where. Anyway, although the validator is certainly a useful resource, your HTML (or XHTML or whatever you're using) doesn't have to be strict. The average web browser is much, much more forgiving than W3 is.
-
The idea of the credit system is to that people are encouraged to contribute to the community. Before it was introduced, many people were signing up, posting, requesting hosting accounts, and then never returning to the forums again. This was obviously very, very difficult to manually keep track of, so people were taking advantage of what Xisto offers without giving back anything at all.Although I don't think this is such a bad idea, I think that the winnings would have to be at about 10 credits maximum; and there would also have to be a limit as to how many times one member could win. If it were too easy for people to gain credits, then many of them would otherwise avoid the community all together. That's my opinion, anyway.
-
Good luck with college, life, and whatever else you choose to pursue, Caveman. Hope to see you back here soon.
-
It should specify in the error message which line the error is occuring on within the script ('on line x'). Take a look there, and see what the problem is. It is obviously something to do with the class sql_db - so look for something along the lines of '$sql_db->blah'. As it says that the class is non-existant, I would guess that it is expecting the class to be defined from a second script which is part of the phpNuke library; but perhaps the wrong script is being called, or maybe even a non-existant one (ie. @include('non-existant-script.php'))? Try looking in your configuration file, and make sure you have specified to use MySQL as the database engine. I'm not sure if phpNuke supports anything else, but it might be trying to use a different engine entirely, if you get my drift (I confuse myself at times). Just out of curiosity, did you use Fantastico to install phpNuke, or did you upload it and do it yourself? As for your second problem, what do you mean create a MySQL server? There is only one MySQL server on which all of the databases are stored (which is Xisto). A new one isn't set up for every single hosting account.
-
In cPanel, try looking in the 'Disk Usage Viewer'. It will show you how much space each of the directories is taking up.Where it says '15kb', this is the size of the actual existance of that directory only; not any of the files or other subfolders under it. If that makes any sernse.
-
ASP is effectively Microsoft's equivalent to PHP. It only operates on IIS (Microsoft's web server), and is generally easier to utilize than PHP; however, in my opinion (which is shared with many others), PHP is more powerful and worth any of the extra effort it may take in learning. PHP and MySQL running on an Apache web server - all of which are free and open source - is about as good as it gets.
-
Windows XP (as well as all other NT-based Windows operating systems) utilizes the NTFS file system, and uses it by default - whereas DOS (and Windows 9x/ME) operate on FAT16 (and in later cases, FAT32). So if you are using DOS, it won't be able to interact with the volume that Windows XP is installed on at all, assuming it is NTFS, unless you use third-party commercial software (such as NTFSDOS Pro). As zippy77 has pointed out, it is really more trouble than it's worth. If you absolutely need to use DOS, it would probably be better to purchase a cheap second computer such as a 486 - which you usually can pick up for under $20 - to run DOS, whilst leaving the other with only XP.
-
About Cragllo's Script Time File. Located on support.trap17.com
Spectre replied to Mike's topic in Programming
No offense intended to Cragllo, but none of the scripts provided in the said area are of particularly high quality.In my opinion, displaying script execution time should be left for benchmarking and testing purposes only; in all seriousness, no one really cares that it took 0.003 seconds for your page to load. -
A Function To Count The Number Of Lines In A String?
Spectre replied to beeseven's topic in Programming
I think you're looking for '\n'. And if the data is processed on a Windows-based server (although they usually run ASP and not PHP), '\r\n' is more likely to be the value of a new line. You could use operating-system detection features if you like, and 'explode' the string accordingly; it would make your code slightly more portable. -
Now now, you shouldn't be encouraging software piracy snlildude87, especially as a moderator. I would suggest you find a second-hand copy in computer classifieds, software dealers, or services such as eBay.
-
As has been mentioned, all requests for hosting upgrades are to be directed to the appopriate forums. If you do not have enough hosting credits, then you will have to earn them.*Thread closed.
-
Get Filename Of Referring Url php code to get filename of referring URL
Spectre replied to snlildude87's topic in Programming
You could use the parse_url() function first, which will return just the path as part of the array (index 'path'). Alternatively, you could try checking the string for '?' (question mark), and trimming it from there. -
If you have legally acceptable permission from the rights holder, then yes, it is allowed. If they are unsigned, then the rights holders should be the band or the members of the band themselves; otherwise, it would be their record company under normal conditions.
-
Get Filename Of Referring Url php code to get filename of referring URL
Spectre replied to snlildude87's topic in Programming
mobious, try closing the CODE tag, buddy. I would use something along the lines of: $url = $_SERVER['HTTP_REFERER'];if( $url ) { $url = strrev($url); $last_slash = strlen($url) - strpos($url,'/') - 1; $url = strrev($url); if( $last_slash ) { $file_name = substr($url,$last_slash); }} -
The copying and transferring of copyrighted material without authorization is illegal, and not condoned at Xisto. If you want the game, then go and pay money for it like everyone else.*Topic closed.
-
Adding Downloads Can my website support downloads?
Spectre replied to Cypher's topic in Web Hosting Support
If you create something, then you have all legal rights to it (assuming you haven't given/sold/otherwise transferred them to someone else), and you are free to do as you will with it - give it away for free, charge for it, exchange it for something, or whatever. It would be wise to note that the content is your intellectual property, otherwise it may be deleted or your account suspended/terminated with the assumption you are hosting copyrighted material that isn't yours. -
It's not a virus. It's just a moronic waste of time.