Jump to content
xisto Community

matak

Members
  • Content Count

    419
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by matak

  1. Just a simple function to mark your queries <?php$uzorak = 'Hosting credit'; //use post to get $uzorak variable$tapeti = "Hosting credits are collected by posting at the forums. The hosting credits are given after your posts are filtered and depending on its size, you get proportional hosting credits. Once you get the required credits you can post an application for hosting. One of our admins will then approve your application after which you can register an account at https://support.xisto.com/ Do not try to spam and collect Hosting credits. Any methods of spamming will not be tolerated. Your Account will be banned if you are caught spamming. After you get hosting, you will have to maintain your hosting credits by staying active. Remember the amount of posts has no effect on Hosting Credits. We look for Quality rather than Quantity.";//use file get contents to get $tapeti variable$tagovi = array();work ($uzorak, $tapeti);function work($uzorak, $tapeti) {$duzina = strlen($uzorak);$velicina = strlen($tapeti);$b = array();$a = 0;while ($a <= $velicina){$newstr = substr($tapeti, $a, $duzina);if ($newstr == $uzorak){ $tagovi[]= $a;}elseif ($a == $velicina && !empty($tagovi)){ uredi_tagove($tagovi, $tapeti, $duzina);}elseif ($a == $velicina && empty($tagovi)) { echo "sorry no matches found"; break;}$a++;}}function uredi_tagove($tagovi, $tapeti, $duzina){ $newstring =""; $count = count($tagovi); $nextchar = 0; for($i = 0;$i<$count;$i++) { $newstring .= substr($tapeti,$nextchar,$tagovi[$i]-$nextchar); $newstring .= "<strong>". substr($tapeti,$tagovi[$i],$duzina) ."</strong>"; $nextchar = $tagovi[$i]+$duzina; } $newstring .= substr($tapeti,$nextchar); print $newstring;}?> You can see it in action here. Just search for something (note: it might not always work as it's rather simple f-ion) If you want to work with me on a certain project just send me a PM
  2. I don't think you need to bother learning CSS. If you know how to work in Corel Draw, or Photoshop than learning CSS is a good option. If you just want to program things and applications, then yes - CSS is a waste of your time. Most CSS is done by Web Designers, and not Web programmers. Web programmers don't need to know CSS. Maybe you should learn more of semantic HTML instead of CSS. And btw, CSS maybe looks simple, and it is at certain level but later it can be a real pain. For as programmer all you need to do is know how to arrange application in basic HTML tables. Web designers who know photoshop, corel and CSS will make the same thing with div's easily. It's not bad to learn anything, it's up to you what you want to specialize in.
  3. First you need to know what kind of application you want to make. Will you need database at all for that application. Maybe if you just started programming few days ago, you shouldn't get into creating complex application, couse you'll just get confused and drop the whole thing.When you start programming, first start by creating simple script snippets (pieces of code) that you'll often use. Like counters, login/register systems, BBCode examples, maybe simple PHP/HTML templates. With that scripts you'll get the hang of the PHP more, and then you'll be ready for your first application.If you are already experienced programmer, then you should know this things already
  4. @SM, you might provide explanation to how to avoid this error with PHP. urlencode() didn't work right for me. i read on w3 standards but it seems like you have to modify php.ini in order to avoid errors with these kind of links.maybe just using preg_replace on your link generator script would be a good solution...
  5. You have problems with left side menu. And like sylenzednuke said it looks to basic. Maybe you should try some nicer colors. even basic templates can look nicer.Also try using some doctype, and validate it properly
  6. Yes i edited the post, just replace the & with '&a m p;' bolded, without spaces..
  7. If you try to put a link that has an & in your xHTML strict page, you need to change & to & in order for the page to be xHTML Strict.. eg.. BAD LINK: http://jasamza.korisnik.com/forums/viewtopic.php?f=19&t=7&sid=6c2e9120dcff6e0b83698c4aa7be929a GOOD LINK: http://jasamza.korisnik.com/forums/viewtopic.php?f=19&t=7&sid=6c2e9120dcff6e0b83698c4aa7be929a copy pasted &
  8. Here's few songs i like from Pixies, what do you think Here comes the man Monkey gonne to heaven I really like them. What do you think. If you have any special requests, i have few albums home with some of the songs... Comment and relieve your pain...
  9. Don't worry there are some great members here that are always willing to help
  10. Ultimately simple script that allows you getting google search results to your localhost. This is the first part of the Crawler script i'm developing, and if you are interested in developing the script with me, IM me @icq328866661@msn/evil_matak/a\hotmail-com. Here's the form part... search.php NOTE: This script shouldn't be used for public services, couse it is against google TOS. This should only be used for learning purposes. Also beacouse of those facts i added limits to the script so that you can't use it for all searches. Also google has custom search engines like the one I created here where you can help with adding good pages, and labeling bad pages. Join the community and help us make google even better search engine!
  11. Here's a sloppy 3 files login script. First file is Login file that looks like this login.php <form action="check.php" method="post">Username: <input type="text" name="username1"><br />Password: <input type="password" name="password1"><br /><input type="submit" value="Login"></form> Basicly that is HTML form that's used for input Second part of the script is the check.php that we call from our login.php form Third part is toview.php, which we are loging in to. I call it sloppy couse this @ in code is used to disable error reporting, which is generated if $approve variable isn't set. That error apears only if user directly tries to reach toview.php part, and if $_SESSION is NULL we don't approve that, and just echo the login PHP part. Hope u find this useful mAtAk
  12. I lost 117 credits. If i knew i would probably transfered them to one of my friends here. Guess it's to LATE NOW!! I haven't seen the warning anywhere. I canceled hosting couse now i have to study for my college, and right after my exams are through (about month and a half), i'm going to work far away from home to finish my "specialization" part of college. Loosing that much is a shame but, what can you do. Win some lose a lot.. It would be good that someone EDITS this post, to put this warning inside.. http://forums.xisto.com/topic/48270-cancel-my-hosting-account-resolved/#
  13. When you cancel your hosting, you lose ALL your credits. Ah, i feel much better now. http://forums.xisto.com/topic/48270-cancel-my-hosting-account-resolved/#
  14. I gotta warn you! PHP error on line 15 index.php ;)

  15. Really nice website! You will probably be the first person in the world to hack into pentagon with CSS :)

  16. Really nice list of commands. I use some of them now and then (msconfig). There are also few commands that you can use.. Winkey+R to start "Run" Prompt
  17. I saw pirates few days ago, and although it wasn't as good as the 2nd part i still like the movie. It's hard to make such a great movie like the 2nd part was, but there were some great scenes in movie that really make you wonder. I hope that this will not be the last pirates, but also it would be good if they take at least 10 year break before making 4th ore more sequals. Comments from people when movie ended were mostly "i wish they stayed only on 1st part", "this is not that great" etc, so maybe for people who didn't feel so good when watching the second part this part is going to be bad.I'm huge johnny depp fan, and whole that pirates story and feeling, so my report can't be taken for real.
  18. I think this is the intro you were reffering in first post http://forums.xisto.com/no_longer_exists/
  19. Really nice looking website. I was searching for that "Old paper" background for quite some time, and now i see you found one really great looking. Thanks for that .Looks like IE doesn't display your page correct so u might try to work on that. validator.w3.org shows some errors on your HTML 4.01 transitional encoding, i would suggest you to fix that.Also i suggest that you use xHTML strict encoding. It's great for getting rid of most Quirks modes both in IE and Firefox, and your Google rank is higher when using that encoding.GFX on website is really nice, and shows that you have sense for design.
  20. that is about Boot floppy disk to install windows XP. Older computers didn't have ability to reckognize CD-Rom as boot device, so u needed to make boot floppy disk, that would than after boot have the ability to boot from CD-Rom. I think that problem from the first topic was installing windows without any CD-Rom device. Although i'm not sure what author wanted to say...
  21. I posted this couse i'm sure that Xisto forum quality doesn't depend only beacouse of the hosting feature that same provides. Also there is several pros and cons for this idea. If you look at the number 3 posts a day, i guess it's most average number of posts on Xisto forums. Most members that are new rush on to gather as much credits as possible to ensure themselves a default hosting package. Some of the forums that are most useful in achieving that goal is Introduction, an My Theories Possibilities and Inovations.@SM you speak of Xisto forums, only reason for quality is credits-hosting system, but i think that there are plenty members here who are just that- members and who really don't care about hosting credits, as they are not hosted. Also lot's of members use Xisto as start for serious website, and soon as they exceed limit, their website is popular enough to sustain hosting expenses on its own.Also some members are not regular on forums, couse they gather enough credits for maybe month or two, and then set their alarm clock when they expire, and then get back on forums, looking for topics and answering mostly outdated subjects in order to gather their credits supply for another few months.Maybe 3 posts a day limit, and maybe few days transfer if you really can't get it, could force member to be more regular on forums. And that is quite important factor too.But like i said, i'm maybe wrong about this, and most hosted users here would agree, but this community is not only built of hosted members who strive for credits, but also from regular members who just enjoy high quality of moderation of the forums.Note:You wouldn't be limited to POST only 3 posts, you could a same post 10 or 20 or 100 posts a day, it's just that 3 posts would be counted in for credits, as it is average of most members on forums. Maybe even 5 posts a day. But you could still write another 10 posts if you feel like, it's just that it wouldn't be counted for credits.And i really don't think that your analogy with water holds water on this matter. Like i noted above, you could post how much you want, but you would only be credite for 3 posts.
  22. hey! that's a really great explanation. of course there's no need to change something that's really flowing mainstream , but i can't help myself to post a suggestion, that maybe even before i post it i know it's not going to be accepted.really great post there master, you swept me off my feet
  23. It's rarely that first timer get's approved in one day. It takes couple of days, in which you can get credits in no time. I think that this way maybe trap could prune users that get here only for hosting and not contributing with quality but rather posting anything just in order to get enough credits to be hosted.
  24. I think that i'm misinterpreted, probably beacouse i didn't explain right.I'm not suggesting that posts are limited to 3 credits, but that only 3 posts a day can get creditsEDIT: I'm rereading my posts, and still don't get how should i put it, so that it can be understood. So i repeat, it's not about limiting POST CREDITs to 3, but limiting NUMBER of POSTS that can get CREDITS in one day, at 3 POSTS.Um.. Is that right now
×
×
  • 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.