Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. You should do fine with mysql_real_escape_string().
  2. You could try to put exit() or die() at the end, but I don't see why it doesn't stop by it self.
  3. What's up with the............................. excessive amount of dots (and in...... the middle of sentences too....................................................................)?
  4. Remove the strtotime().
  5. Some search engines use other search engines' results when searching. It's a little lame in my opinion though...
  6. I'm quite sure that I've seen a page on Google ending with .py somewhere...
  7. You can use <img> tags inside <button> tags...
  8. Gmail does that for file attachments...
  9. I use echo. If it's large amounts of HTML (or other data) I need to echo, then I use heredoc. Shouldn't this be in "Polls" by the way?
  10. It's not full of errors. It's the end user (you) who doesn't know how to use it. You obviously didn't copy the file from the config folder, which you created, to the top level directory (the one with index.php in) just like they told you.
  11. Ok... say you installed phpMyAdmin in C:\apache2\htdocs\phpmyadmin then you need to create the folder C:\apache2\htdocs\phpmyadmin\config
  12. Is it the looks of the button you wish to change? You can use CSS for that. The below would make a PHP Freaks logo button: <style type='text/css'> .custom_button { background: url(http://www.phpfreaks.com/images/logo_main.jpg); height: 94px; width: 510px; border: 0; } </style> <input type='button' class='custom_button' value='Click Me!' />
  13. If you do that then you'll need to kill all the process ids, not just one. You could also try killall V3Uploader.php
  14. It's just a folder which the server is able to write to. "config" is probably what they want you to call it.
  15. Run from CLI: <?php $config = array( 'file' => 'file.txt', 'interval' => 30, ); while(1) { $file_contents = file_get_contents($config['file']); // upload code here sleep($config['interval']); } ?>
  16. You probably has to create a database for it and configure some file in that game.
  17. I already told you how to install it. You asked what the document root is and I answered that as well.
  18. It's under the advanced tab. It's called something like "Play animations on web pages".
  19. Have you installed Apache, MySQL and PHP on your computer? You can do it manually by downloading the software from the web pages or you can use a bundled package, on Windows that'll be called a WAMP and on Linux it'll be a LAMP. Here is a comparison of WAMPs: http://en.wikipedia.org/wiki/Comparison_of_WAMPs Your document root of your web server is the folder in which you place your files. It can be something like C:\apache2\htdocs, /var/www or /home/somebody/public_html.
  20. Oh, read this as well: http://catb.org/~esr/faqs/smart-questions.html
  21. From your other topic:
  22. Hmm... I really don't wish to help you anymore when you ask where your "freakin web server is" and things doesn't "make freakin sense" and when you call people trying to help you "lifeless nerds". Things aren't bullshit or crap just because you can't figure out how to use it. Go RTMF. Apache manual: http://httpd.apache.org/docs/ phpMyAdmin manual: http://www.phpmyadmin.net/home_page/docs.php MySQL: http://dev.mysql.com/doc/ PHP manual: http://php.net/manual Now you'll have to figure things out yourself.
  23. http://www.phpmyadmin.net/documentation/#setup
  24. Make a folder in your document root and put the files in it. You also need to configure the config file. Read phpMyAdmin's documentation.
  25. It does print the lines... it's just that a browser sees the lines as whitespace and therefore ignores it. You need to use HTML line breaks (<br />). Use the nl2br() function for 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.