Jump to content

Irate

Members
  • Posts

    354
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Irate

  1. The OP was able to figure it out on another support forum.
  2. What would the k2 parameter do and do you know where in your database it is saved?
  3. O'Reilly's PHP Pocket Reference and php.net are blessings after you figured out how to program in PHP.
  4. lol Eh... try using variable assignments within the if clause and then refer to the variable with the case statement? Also, don't you use case statements only in switch statements? O_O
  5. That did the job, wonder why I didn't come to think of it yet...
  6. You would laugh, it works on my mobile browser (Opera-based) but not on my Windows PC. Best option would be to exploit the background-image feature of CSS for this...
  7. I just talked to my IT Teacher at school, he said that I could download such data freely and then play it on a CD. Thank you for the suggestion, I'll reply once I have more information on this matter.
  8. I uninstalled XAMPP and it prompted me to try deleting the folder, but couldn't. I shut down my PC and rebooted it already, didn't work :l Would I be able to achieve the same with a VM?
  9. Hahah, thank you for the suggestion, but I'm staying with Windows at the moment, I just bought this PC a year ago, whenever I get a new PC, I'll get myself Linux. So... any other suggestions? :/
  10. Still occuring, tried looking up all processes with sql in it, ended them, couldn't delete mysqld.exe. Anyone know how to force a delete if the process is still running?
  11. If I may recommend you some German books on this topic, I would like to mention 'PHP 5.4 & MySQL 5.5 - Das umfassende Handbuch' by Stefan Reimers and Gunnar Thies (excellent literature for every German-speaking newcomer to PHP which includes high quality code examples), 'PHP 5.3 & MySQL 5.4 - Programmierung, Administration, Praxisprojekte' by Michael Kofler and Bernd Öggl, 'PHP programmieren unter Windows' by Arno Hollosi for all those who want to use IIS and MSSQL, and, last but not least, a book on JavaScript... 'JavaScript: The Definitive Guide' by David Flanagan. All of those helped me a lot when I started to learn programming (and still am).
  12. Yeah, topic title. I've been using XAMPP, messed up my configuration details big time and couldn't reverse it, decided to uninstall it and then re-install it, but I can't delete that single file because it is perpetually executing even though I never opened it. All other files were deleted without problems... Any way to end the process (I can't find it in my taskmgr) prematurely or any way to delete the file? Thanks in advance...
  13. Because you want to have data['username'] within the current object as there might exist other identically named arrays in other objects or in a global/local scope, imagine, username data can be used within many scripts.
  14. Welcome, hope you get the answers you need here
  15. The -> operator is only available for objects and refers to modules, methods or variables of an object, $this is the currently used object, so $this->data['username'] selects the array key 'username' from the array data which is defined in the current object. The & operator can be used either as unary operator where it is used for bit shifting or as so-called reference passer, means &$this is the reference to $this, all modifications to $data will affect $this, too.
  16. Notepad++, of course (though the normal Notepad is 'retro' enough and 'hipster').
  17. Update: as I expected, I cannot boot Apache while Skype is online (means that this should have been in another section, but, oh well). Solved and marked as such.
  18. You are sure that you are using your code in a working surrounding and that the jquery-1.9.1.js file actually exists?
  19. Irate

    Code Editor

    Default Notepad and Notepad++, basically. Notepad for .txt, .cnf, .ini and other Windows-based code, Notepad++ for basically anything else, HTML, CSS (though I like writin CSS with the normal Notepad, too), JavaScript, PHP, SQL (besides from pMA, of course).
  20. Right, he asked for a popup, not for a new window. Ahah. Try this, then. <!DOCTYPE html> <html> <head> <script type="text/javascript"> function popup(url) { new_popup = window.open(url, "Popup Window", "width=400,height=300,resizable=yes"); new_popup.focus(); return false; }</script> </head> <body> <a target="_blank" onclick="return popup('http://example.com');">Open new Popup.</a> </body> </html>
  21. Create a popup with JavaScript. Like this... <button onclick="window.open('http://example.com');">Click here to open a new window.</button>
  22. Strange, ftp_connect() is a function since PHP 4 :/ What PHP version is your server using?
  23. ftp.php is the form action you specified, means that all code checking will be performed there. Create a new file named ftp.php in the same directory as the file you used, and add the php code from the document above into it. If you cannot do so, change the <form action="ftp.php"> to <form action="">
  24. If you're using mysqli, use the mysqli class... $mysqli = new mysqli(string $host, string $user, string $password [, string $database]);You can then call all relevant functions as methods of $mysqli, like $mysqli->query("SELECT * FROM table"); Just a suggestion.
  25. I have IIS as testing localhost with MSSQL installed, it does the job just fine, but I guess WAMP is better due to easy maintainability and setup.
×
×
  • 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.