Jump to content

scootstah

Staff Alumni
  • Posts

    3,858
  • Joined

  • Last visited

  • Days Won

    29

Everything posted by scootstah

  1. Well in Linux you can get stuff like Webmin, which is a server control interface (like cpanel) where the login is system users. So I'm sure it is possible in Windows too.
  2. You could build a simple search engine pretty easily. But to do something on the scale of Google, massive undertaking. Google has very complex algorithms for its search engine, that it doesn't share with anyone.
  3. I believe the trends are moving more towards fully AJAX/Javascript driven applications. I foresee lots of round corners, dropshadows, outer glows and animations becoming super popular as more people adapt to HTML5+CSS3.
  4. To remove row 2 just do unset($array[1]); Remember that array indexes start at 0 so row 2 is actually index 1. To store it in the database just serialize it. $array = serialize($array). Store it in a TEXT column. To get it back to array format, use unserialize().
  5. Yes, it will still work. $array = array( array('col1', 'col2', 'col3', 'col4', 'col5', 'col6'), array('col1', 'col2', 'col3', 'col4', 'col5', 'col6') ); // remove column 2 from row 2 unset($array[1][1]);
  6. Currently your $img1(2,3,4,5) is just a $_POST value. You'll need to change the $img variables to be the path to your server to the uploaded images.
  7. The MyISAM storage engine uses table locks. I still don't understand what you are trying to do, but I guarantee it could be done with a single more complex query.
  8. Why not store it as a serialized mufti-dimensional array? Something like... array( array(1,2,3,4,5,6), array(1,2,3,4,5,6) ) Then you can traverse to the row and column that you want pretty easily.
  9. I'm talking about the value of $bad_words.
  10. http://stackoverflow.com/questions/1623914/what-is-thread-safe-or-non-thread-safe-in-php This should clear it up.
  11. Does $badwords have parentheses in it?
  12. Simplified it.
  13. There's no difference.
  14. Let's put it this way - if you can do it with a normal request, you can do it with AJAX. If you can't do it with a normal request, you can't do it with AJAX.
  15. It would be nice to add a button to automatically enter the commands. I don't want to copy and paste it every time.
  16. So what's the problem?
  17. Just curious, what are you doing that needs to be updated every 1 minute?
  18. You need to actually have the .exe part.
  19. You don't open up php.exe, you open command prompt and then type in the php.exe.
  20. Do you actually need it to load in a browser? If you just want to run the script you can use the PHP command line tools... C:\PHP5\php.exe -f "Path/to/script/here" Make sure you set the interpreter location to where ever your PHP is installed to.
  21. There's lots of weird little hacky methods, but nothing that is reliable and therefore not using. The only way to do it is to use assume they are no longer on the website if the last_active flag is X minutes old. 30 minutes sounds kind of high, especially for an AJAX chat.
  22. Even if they could, so what? They can also just go to the address bar and put any page in it.
  23. Have you considered using jQuery? You could do this in about 5 lines of Javascript.
  24. array_rand() is your friend here.
  25. I'd like to know your reasoning behind this.
×
×
  • 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.