-
Content Count
1,210 -
Joined
-
Last visited
Everything posted by pyost
-
Unbelievable! Bots nowadays manage to bypass all possible protections, including image validation and mail validation! On my forums (IPB 2.0.0) I used to get several bots every day, even though I had both protections active. In the end, I started deleting bots and banning their e-mails, since I noticed that many are coming from similar account, such as @mail.ru or @web.de. Luckily, the number of bots registering has now decreased, but it is still a problem
-
Question About cPanel And FTP? how does it look like??
pyost replied to joe.k's topic in Web Hosting Support
I am not quite sure I have understood what you wanted to know, but I will just say that with Xisto you have a fully functional FTP account. Furthermore, you can create additional accounts, and they work with all FTP clients. As for the control panel, Xisto uses cPanel software, probably the latest version. It is well organised, and therefore easy to use. All the main options are available right on the homepage, so a simple Find can help a lot when you are starting off. -
CSSplay is an awesome web site, thumbs up for the creator Though I must say I am not quite fond on the new design - the previou one was better, in my opinion. But I guess it's not that important with all the valuable content, is it?
-
In my opinion, the best site to use for PHP and MySQL basics is http://www.tizag.com/, it helped me alot. If you would, however, like some practical advice/help, why not copy the code you are using here?
-
Merry Christmas To All: :-d
pyost replied to xboxrulz1405241485's topic in Alerts, News & Announcements
And may I add this in Serbia: Срећни празници! (Though I doubt there's anyone who'll understand this ) -
Godfather Of Soul James Brown Pass Away
pyost replied to Saint_Michael's topic in General Discussion
I was shocked when I heard the news, totally unexpected He really was a great man, may he rest in peace -
Actually, none of those "exchange" programs can really help you. The only thing that can help you attract visitors is the site itself. If your site is like thousands of others (for example a technology forum), who would visit it when the other ones are probably better?Create something that people need, and don't have it yet. I know it is a hard task, since almost everything exists - so try to mimic some other site, but make it better. Innovate. Keep it up to date. And if it's good, you won't be worrying about visitors - you';; be worrying about bandwidth
-
Sharing Music Online To what extent is it legal?
pyost replied to pyost's topic in Websites and Web Designing
Wow That's really a long answer (I wonder how much credits you got ). I imagine all of this is a big problem not just for you, but all DJs. But I guess you earn more than you spend, right? :PSo, to sum up, there is no way something like this would be legal And what about covers, when you play some band's song by yourself, or with your band? Does copyright disallow that, too? -
No, because $result is not an array, it is a resource. $name = mysql_fetch_row($result); This, on the other hand, will work. After doing this, you will get $name - and that's an array. But, as Hercco said, you are better off with mysql_fetch_assoc(), because you will be able to use column names instead of numbers. (so that's $name["column"]).
-
Sharing Music Online To what extent is it legal?
pyost replied to pyost's topic in Websites and Web Designing
Phew.. Complicated stuff, so many "security holes" That was never an option, since I would not risk that much no matter what. By the way, I never said the site is on Xisto But it is.. I really don't want to do anything stupid, at least not while I'm hosting it here. When/If I move.. By the way, here's an extract from the biggest Radiohead site concerning various multimedia: Frankly, I didn't quite understand what they are saying, but nobody's causing them trouble, and they've being doing this for years! -
When you use mysql_query, it doesn't return a string/number, but rather a resource. For example, if you select more rows, how would you display them? That's why mysql_result is used. After selecting a row from the table (or rows), you will get $result. In order to use it, you must do this: $someVariable = mysql_result($result,0); By doing this, $someVariable will be assigned the value from the first row of $result (0 is for the first row, 1 for the second etc). You can also add another parameter after the "0" which will indicate what column you want to use, if more have been selected.
-
Sharing Music Online To what extent is it legal?
pyost replied to pyost's topic in Websites and Web Designing
Well, it's not of such great importance, but would certainly help attract visitors. I'll do some more research on how other sites do it, and I'll post if I find something useful. -
Sharing Music Online To what extent is it legal?
pyost replied to pyost's topic in Websites and Web Designing
OK, so there is a slight possibility that sharing links to a certain extent is allowed. Also, which country's laws do apply to a web site? Where the server is hosted, where I am from, or something else? -
I will soon be adding a message board to my web site, which deals with several British bands. Because of that, I would also like to have a "Multimedia" area on my forums, where members would be able to share download links - of course, nothing would be hosted on my server. However, that's where I encounter certain problems. I could swear that nothing like that was legal, but I might be wrong. I have found numerous big forums (and when I say big, I mean over 20,000 members) that also have this. Now, if it were illegal, somebody would have stopped them by now, right? Which brings me to the question I have: According to the law, what are we allowed to share, when it comes to download links only? I know songs from the albums are out of the question, but what about live recordings, b-sides and so on?
-
The Sum Of The Cubes Of The Digits Of Any Non-negative Integer
pyost replied to demolaynyc's topic in Programming
I believe this code is exactly what you need. I shared the same opinion a year ago, when I started programming, but it turned out to be quite different. Sure, some examples aren't really useful when it comes to real programming, but they show you how to deal with some basics (like this one). And it will all be necessary at some point. I am currently developing a PHP application, and whereas I have learned Pascal in school, not PHP, it has helped me a lot. Not because of the code itself, but because of the problem-solving techniques. So just don't complain, it's worth it -
Actually, it's not like HackThisSite. Over there, you are using real hacking techniques to accomplish certain task. On the other hand, in Slavehack everything is done by a single (or two ) push of a button. The thing you must be careful about is covering your tracks - and that is the only thing that is the same in real life. Therefore, it's not illegal, since you are only "attacking" other players of the game, without inflicting them any real damage.
-
Oh, this makes it even easier. Again, you select all the rows, and create a variable $i = 1. In a "while" loop you go through all the rows and check if id is equal to $i. If it is, you just increase $i and go to the next row. If it is not, you update the current row so that id becomes $i, increase $i and move on to the next row. I hope this is what you were asking for
-
The Sum Of The Cubes Of The Digits Of Any Non-negative Integer
pyost replied to demolaynyc's topic in Programming
First of all, you need to go through all numbers from 10 to 9999. Then, by using this code, you will calculate the sum of the cubes of the digits for every number. After that, you will check whether the number itself is equal to the previously calculated sum. If it is, that is one of the numbers you are looking for. -
I don't have time to write the PHP script, so I'll just try to explain what I have in mind.First, you select all the rows in that table. Next, you start a while loop that will go through all those rows. Also, you create a new variable, let's say $i, which is 1. Now, in the loop, if the current row isn't empty, you will save it in the same table, but the row will be $i, and then you will increase $i. If, however, the row is empty, just increase $i without saving anything.What will you accomplish this way? You will go through all the rows, and save them one after another if they are not empty. Be aware, that this would leave you with a certain number of unwanted rows. You can delete this by starting from row $i (as $i will be the row after the last one).I hope I was clear enough
-
Gamma Root Partition Is Out Of Space
pyost replied to xboxrulz1405241485's topic in Websites and Web Designing
Issue resolved, obviously -
Oh, it's so nice someone finally mentioned UltimateGuitar. It is a web site I've been visiting for almost two years now, ever since I started playing the guitar. Really helped me a lot, since I was able to find (almost) any tab I wanted It's a must visit for all the guitar players!
-
I know z-index of 1 would have been enough, but I prefer it this way. If necessary, I can insert more classes with the index between 1 to 100. And 100 is a better-looking muber I didn't want to think about Mac, because I'm 100% sure that 0.01% of the visitors would be using it. In my country, XP is the way to go I didn't quite understand this part. Would you mind exaplaining it again (since I don't have IE7)?