Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. http://php.net/oop5.object-comparison
  2. Well, it should display the link you have in your database.
  3. Have you tried some of the solutions here?: http://www.google.com/search?q=hotmail+php+mail
  4. Try to change echo "<a href=\"$results[url]\">URL</a>"; to echo "<a href=\"{$results['URL']}\">URL</a>";
  5. curl sends a request from the server. It does make the user send the requests. I don't think it's possible to force the user to do so.
  6. str_replace(' ','whatever',$text); Will replace spaces with 'whatever'.
  7. Do you mean for testing your scripts or do you wish the user to send form data without having to submit a form?
  8. What program are you using? Is it on the server or on your computer they don't show up?
  9. Why wouldn't it? Doesn't a touch on the screen just act like a mouse click?
  10. Heh... Did you fish there (ad) ("where wise men fish")...? [attachment deleted by admin]
  11. Avant Browser uses Trident, so it should render pages like IE.
  12. It looks pretty good. It's just sort of annoying that it requires admin privileges to run...
  13. Just access the variables directly or name them differently...
  14. The point in the above is that if you can get a user to click the link, then YOU choose what Javascript that should be executed. You could e.g. send document.cookie data to another page where some sort of harvester script is. In that way you can steal a user's cookies and possibly log in as that user using those cookies. That's called a Type-1 XSS attack. Example from Wikipedia:
  15. There you go: http://www.phpfreaks.com/forums/index.php?action=profile;u=50464;sa=showTopics Profile > Show Topics
  16. You should probably report it to them instead of us.
  17. You could use tidy to format the HTML code so you can read it.
  18. I'd probably just uninstall and then install a LAMP like this aptitude intall apache2 php5-mysql libapache2-mod-php5 mysql-server
  19. In the script I provided, if the user doesn't have Javascript enabled, then it'll use a regular submit. If you rewrite /search/whatever to search.php?words=whatever then it'll work.
  20. Hmm... you could use Javascript... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Search</title> <script type='text/javascript'> function search() { location.href = 'search/'+document.getElementById('search_query').value.replace(' ','+'); } </script> </head> <body> <h1>Search</h1> <form action='search.php' onsubmit='search(); return false;'> <label for='query'>Search query:</label> <input type='text' name='words' id='search_query' /> <button type='submit'>Search</button> </form> </form> </body> </html>
  21. Could you post the full code of your download script? I don't see how you would not be able to view the rest of the page while downloading the file.
  22. Nope. It is the correct one. I don't get what you need help with.
  23. Did you install it manually or through aptitude/apt-get? Yes.
  24. I don't get it... what isn't working?
  25. I'm afraid you can't do that.
×
×
  • Create New...

Important Information

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.