Jump to content
xisto Community

Erdemir

Members
  • Content Count

    222
  • Joined

  • Last visited

Everything posted by Erdemir

  1. You can install a pdf viewer java application on any java enabled phone via IRDA or bluetooth or SD card or Data cable. You can find lots of java programs at getjar.com. In my old Siemens CX65, I installed PDF Viewer j2me(java) application and I can read pdf formats.
  2. Sanj, want to make a hover effect submit button. I don't think that can make a hover effect.
  3. I am only writing what formula results says. But remember this formula is not using by Google. This formula was the basic of pagerank calculating. No one doesn't know exactly what formula Google is using. They have lots of criterions or extra something in their formula.
  4. Yes, you can be indexed even if your pagerank is 0; but help google to find your site by sending your url or backlink from another sites. No, in search results the links going to your site does not effect on pagerank. Let me write the basic of pagerank formula:PR(yoursite) = (1-d) + d * ( PR(A1) / N(A1) + … + PR(An) / N(An) ) d:constant = 0.85 An: The page which has a link to your site N(An): The number of links which are also going to other sites You have a few links towards you, let's say it is three, than; If all of thast site's page rank 0 => Your page rank will be 0,15 * 3 = 0,45; If all of that site's page rank 1 => Your page rank will be 0,15 * 3 + (1/10)*3 = 0,75; (I thought that each website's has 10 links which are going to other sites). By the way if each site's page rank is different from each other use the formula.
  5. Welcome to Xisto comrade Phero. And greetings to Russia. You will find here excellent hosting properties, and no ads too.By the way, I am from Turkey.You are sending following one another posts. That seems to be spam if you are not in "General Talk" forum. Maybe you should read the rules, before sending posts to another forums. Good luck, comrade...
  6. Flash flash flash! Alex reached the 1000th posts. And now, let's see if he will pass Saint Michael's record (6377 posts), or just obey his rules in Evil Group.
  7. Thank you very much TrueFusion. I tried your code and worked good. However I tried for this variable; $variable='Some texts <a href="google.com/subdirector/level2/page3.html href="microsoft.com/sub/win/page5.html; ';and that function disallowed (didn't allowed) all links and wrote "No links allowed" for each links. This means the code isn't working if the allowed domain link has a subdirectories. So I tried to edit your code and changed your 8th line and I replaced ?$/ to ?([^\/]+)/i This is replaced: if (!preg_match("/(?:".implode("|", $allowedlinks).")\/?$/", $matches[1])){ Replaced to:if (!preg_match("/(?:".implode("|", $allowedlinks).")\/?([^\/]+)/i", $matches[1])){By replacing this now working even the link has a subdirectory. //Edit: I have developed the code and the latest is here, no mistakes detected yet, blocking unwanted sites: $allowedlinks = array("google.com", "Xisto.com", "yahoo.com", "wikipedia.org");function site_filter($matches){ global $allowedlinks; if (!preg_match("/(?:".implode("|", $allowedlinks).")\/?([^\/]+)/i", $matches[2])){ return " Link not allowed. "; } else { return $matches[0]; }}$variable='Some texts <a href="google.com/subdirectory/level2/page3.html&%2334; target="_blank">Google</a><br><a href="microsoft.com/sub/win/page5.html;<a href="http://subdomain.killwithme.com" target="_blank"><font color="Red"><u>Inside</u></font><font color="Blue"><u>tags are no problem now</u></font></a><br><a href="mailto:try@try.com" target="_blank">email</a>';$variable = preg_replace_callback("!<a[^>]*(http|www|mailto)(.*)</a>!siU", "site_filter", $variable);echo $variable; Thanks again TrueFusion, your code is very good. Good job...
  8. Sorry, I couldn't use that directly in php. But your code was too helpful. I will try to use it in preg_replace(). Thanks. Any more suggestions?
  9. Ok, my allowed links array is here $allowedlinks = array ("google.com", "Xisto.com", "yahoo.com", "dmoz.org");Now, how can we integrate switch/case with preg_replace or without preg_replace? Thanks...
  10. Hi, In my website, I don't want to allow writing links to another sites but except some sites. //This is the text which is sent by the guest$variable='Some texts <a href="https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl href="https://www.microsoft.com/de-de; '; //And the following line replaces all <a html tags to "no links allowed" text.$variable = preg_replace("!<a[^>]*(http|www|mailto)(.*)</a>!siU", "no links allowed", $variable);echo($variable); I want to allow only a few sites: google.com, Xisto.com, yahoo.com, etc. I want to disallow microsoft.com, hotmail.com and any other sites. What are your suggestions? What regular expression should I use? or other opinions?
  11. Try this one, <form name="form1" action="target_file.php" method="GET or POST"> //Your form fields//Here is the submit button<a href="java script:document.form1.submit();" title="Submit the Form"><img src="image.png" onmouseover="this.src='image2.png';" onmouseout="this.src='image.png';" border="0"></a></form>
  12. I agree with this. And one more thing we can describe point as everything and nothing. This is from wikipedia Point has no volume, no area, no length.... Point is undefinable, and a circle is collection of points (not lines), so circle is also undefinable. Your opinion will be clear when you can describe what the point is.
  13. I agree with you about Norton Ghost.If my system is not working properly, I don't need to reinstall windows. I was using Norton Ghost to backup whole disk. Now I am using Acronis True Image. Whey my system is down, I only copy important documents from disk c: to disk d:, and then bring back the backup file by Norton Ghost or Acronis True Image. Using this way is only 10 minutes or less. But installing a new windows takes 39 minutes and installing useful programs takes at least 20 minutes, and look, our one hour has already been spent.Using backup programs are advantage, I think.
  14. You are an interesting devil, who can write nice poems like this. Good work Evil Master.
  15. Mysql is not working efficiently for two weeks. And my web site is not working properly for two weeks either. I wonder if there is someone trying to solve this issue. But I know that the administrators here are too helpful. Maybe they are too busy to solve this problem. But we all Xisto members at least I need mysql working efficiently again.Best Regards...Edit: I think the problem is solved right now. Thanks admins.
  16. It is working properly. I tried it a few weeks ago. It can compress with very high ratio, yes, but the highest compression option needs lots of ram and needs very much time to complete. I think time is more valuable than compression ratio.
  17. 10 days passed. I still have the same problem. I wish administrator solves this problem soon.
  18. I agree some of your words...By the way the Russians have captured the city Gori which is out of the South Ossetia. I think this shows, Russia's purpose is different from being peace-keeping ! They captured Gori, or should I say they overrun Gori.
  19. South Ossetia wants to be independent, but why doesn't the North Ossetia want to be independent? Because north Ossetia is belonging to Russia. South Osseita wants to be independent because the Russians will command new independent state, so they will include them into their borders unseen. I didn't see the Russians as peace keeping, even in World War II the Russians were unmerciful to German, Polish... people. Now, Russians take control of South Ossetia, but are still bombarding outside of South Ossetia. Having very high tech nuclear power making Russia too aggressive. The things what Russia is doing are making the other states to be armed with nuclear weapons. After the operations like this, the count of nuclear armed countries will increase.
  20. In my opinion, people are slaves of technology, but technology is a slave of people who are engineers or scientists.If you can't develop technology you are a slave of technology, if you are a developer you make the technology your slave.
  21. My usb drives a little old, I didn't buy a new one.I have 1 GB Kingston and 512 MB Profilic keysmart.I am using them for ages.
  22. Russia should pull back from Georgia immediately. I am from Turkey, and Georgia is our north east neighbour country. Russia's attack makes lots of nearby country people angry, including me . Turkey is trying to make ceasefire between the two side. But Russia doesn't seem to make a ceasefire. If Russians overrun Georgia, they will have to face with Turkey, and NATO too.The cold war was ended in 1991. But it will start again with a hot war, if Russia continues. By the way I don't agree that the South Ossetia to become independent. South Ossetia and Abkhazia should continue to be part of Georgia.
  23. I have been wearing glasses since January 2006. Wearing glasses sometimes give me some advantage, for example while painting my home's wall, my eyes are protected from paint. Or while riding my bicycle my eyes are protected from wind or someting.The disadvantage is I can't be active in social activities while wearing glasses, and so I don't like glasses.I wouldn't have to wear them, but I have to.
  24. Yes, it is safe. While surfing on the internet on your default browser in your mobile phone, TCP/IP headers and contents can be seen only by your GSM Operator, and I am sure this is not their interest. If you are not using default browser, for example you are using Opera Mini, it is safe again, because Opera is a big company and its purpose is only to serve good to its customers. And Opera managers aren't interested in your TCP/IP headers and contents. But, if they want to know what you are doing while surfing, the GSM operators or any other browser program company can learn surely. I think they never want to access their customer's informations. So it is safe to surf internet with your mobile phone.
  25. Not only for you, for everyone who wants to move their site to another hosting, should copy all files and download whole mysql databases in their old hosting. And then upload all files to the new hosting, and run the sql of downloaded mysql database in phpmyadmin in your new cpanel. (If your database is too big, you should split into pieces to run your sql.) Some of database names could be changed or the path of script could be changed. So edit your config.php or configuration.php to the latest. After all these your site should work properly in your new hosting.
×
×
  • 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.