Jump to content

dcole.ath.cx

Members
  • Posts

    430
  • Joined

  • Last visited

Posts posted by dcole.ath.cx

  1. MrAdam, I will get to you later...xlx_drag00n_xlx, you shouldn't disable right hand click... people need it! Why do you want to? Is it you don't want people STEELING your website code... because that will not help, it only annoys true visitors!I have "Bookmark This Page" in my right hand click, so I guess I will not bookmark your site...

    Learning, PHP | Things I know well, HTML, Javascript, and CSS |
    sounds like you already know Javascript so it shouldn't have a problem write it up quickly.Now, this code I'm going to show you this code that will do the trick but it's hard and complex!!
    <!-- <body> this is html... and the starting body tag --><!-- oncontextmenu means the righthand click menu --><!-- return false means don't do that --><body oncontextmenu="return false">

  2. ...reportingsjr, you should use ajax to update your chat box, not JS!!!ajax works by talking to the server though js, but it doesn't refresh the page to update content... unlike the js comand to refresh the page, which fereshes the page...it's really annoying.

  3. well if you update your news your going to have to edit the file... or a file.$test = $_GET['text']this will get blah from example.com?text=blah and put it into variable $test.Then you can print $test like: print $test;Then to link to the page you have to link to example.com?text=blahIf you change the content, you will have to change the link.

  4. well you have to have $basepath and $filename already defined before you come to the script.$_FILES['lostimage']['name'] ... I don't know what this means. $_FILES['userfile']['name'] ... this means the filename it before it was uploaded. ---- ---you can check the time that the posts was posted and check that to the date on the image. Then if there within a day, delete the image. But if it's greater, then keep it. Does the date change when you upload a file, I forget... but if it does this will work.

  5. A group of sports forums paid them $50 to stop hacking them... that's more like anti-help for the greater good!Good there site is down, who said the site was locked? Did you get it in an email or what?

  6. Well each sub array will have a list of websites that have picked word and a site may have more than one picked word. That's what I was saying but then I wanted to give more value to the location of the URL, depending on what sub array it was in.Like the first word in your search term would have the most value and the last would have the least amout of value. I don't know if I want to do this though because I guess the average search doesn't search like this but just types in all the words in a given sentence like order.

  7. $master_array = $1st_term, $2nd_term, 3rd_term...then each $#_term is an array of URLsI want to now form a new array that has the best answers. If it's in all arrays then it's in group 1, if it's in all but the last array then it's in group 2, if it's in all the arrays but the 2nd to last one then it's in group 3...If that is to hard to figure out and make it dynamic, then I just want to order then by how many arrays they are found in and then order then by points!

  8. I went to whois.com and checked who's server the domain was at, and it was some weird one, so I went to that website and it redirected me to godaddy.

  9. I have a reverse index! That means I have arrays of URLs that have the picked word. So for each word I have an array of URLs that have that word at the web pages.now I have to find the URL that is in the most arrays and stuff.

  10. I'm making this way too hard... I need to take a step back. They way right now I would need to make a script to write a custom script to solve each search.I think I should go like this maybe:Example 2 term: (red OR green yellow) apples are my favoritearray that: (red, OR, green, yellow), apples, are, my, favoritethen get each thing in the DB after removing - + ( ) and checking if it's not OR or AND.so now I have the each array of results in a master array.then find out how many possible combs there are and make another master array but have it blank. Then make a master list of all URLs without repeat.Then check them some how (HELP ME HERE) and plug them into the empty array. How does that sound? please post if you have ANY thoughts!

  11. Skemcin closed payback, so I will post it in here. Justsomeguy, I didn't see that it was hosted by theplanet.com, so I sent an email to godaddy.com complaining about what happened.These people shouldn't be hacked into by W3Schools members... that's just an eye for an eye, doesn't help! We need to write letters to the government, there host, and other people that can take action the right way. Hacking is illegal and is a felony if you are cought.The only legal hacking is when you are asked or hired by the site(company) to help debug and find holes in a given script. This is not what has happened!

  12. Okay, before the hack.. justsome guy way taking about some function. What was that function??How should I do this last part where a script looks up any term in the reverse DB and tries to get data back.Example 1 term: I like (red OR green) birdsExample 2 term: (red OR green yellow) apples are my favoritewell it should look up 1st term and get data for I, like, and bird. Then get data for red and green and combine them into RG . Then it will have arrays I, like, bird, and RG (arrays red and green combined)for the 2nd example, it will get the data for apples, are, my, favorite. But then it will have to get green and yellow data and see if there are matches in the arrays. Then I will want it to out put 3 arrays GY1, GY2, and GY3.I want thing to out put something like: here are results that match: "(red OR green yellow) apples are my favorite"here are results that match: "(red OR green yellow) apples are my" but not "favorite"... so will that be way to hard?

  13. Isn't that the old way? I always believed that's how php did it when it was first made, then they changed to the new way (I don't know for a fact, just in my experence)

  14. mikemanx2, your not on a role today... this is the php section. I ask question about php functions and theory, along with php core setup. I know how to change the default opening program and filetype. Along with that, I know how to take a Print Screen and use paint...---- ---justsomeguy and boen_robot... I see what I was doing wrong, I was putting it in a virtual host and in a Directory and not out side by it's self. I tried looking for x-httpd because I though I saw it once, but I guess not. Anyway I didn't try looking for AddType.Thanks for the help!

  15. It was for my search engine... Justsome guy, what where you talking about before where a php function could find from start to a point, then from that point to another until it reaches the end of a string. For finding words in () or before and after ORs and ANDs..

  16. well you could have it not render js or something, maybe it's for a FM where the users has access to only his folder.you can use AJAX to have it automaticly update without refreshing or submitting a form. A.J.A.X talkes with JS to update the info.

  17. Well I'm going to release the script, but I want to hide part of the script. It doesn't have to be full proof, just a little complex.and I'm not looking for a program that I have to buy..

  18. Is there a way to encode php and still have it function..like take encoded php that's in a var, then decode it and run it.or include an external script that's encoded.. something

  19. put $total1 = 0; before the if statements, other wise it will equal null if nothing is "y".Then it should display something.also it would be better to use:echo "Your total is: " . $total1;or:echo "Your total is: $total1";

×
×
  • Create New...