Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Iv'e done that before. Not so much because I felt like a dumb-ass, but because the company's framework was a load of crap. My current place, we have over 300,000 (spread over about 12 applications) lines of code and it's still very easy to work with. Quite amazing really.
  2. Let me get my crystal ball out.
  3. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=348773.0
  4. This type of functionality isn't part of css, nor is it on the horizons as far as I'm aware. This is why projects like sass exist. http://sass-lang.com/ Sass is awesome!
  5. In short, slow when used on large a larger scale. I do however blame php's MSSQL drivers for allot of the bottlenecks I experienced.
  6. This is pretty basic database handling: $sql = "SELECT genreID FROM userGenre WHERE userID = " . $userID; if ($result = mysql_query($sql)) { if (mysql_num_rows($result)) { while ($row = mysql_fetch_object($result)) { echo $row->genreID . "<br />"; } } }
  7. Did you forget something? $(document).ready(function() { $('#canvas').mousedown(function(e){ alert("test"); }); });
  8. Where exactly is $this->db defined? Iv'e not used CodeIgnitor because I believe it is poorly designed, I don't however think it is that poorly designed that it would setup a database connection within a Controller. Database interaction belongs in your Models, not your Controllers. ps: .htaccess has NOTHING AT ALL to do with your issue.
  9. Allot of cheap/crap hosts will disable the ability to use functions such as file_get_contents() via a url.
  10. Have you tried looking in the httpd-xampp.conf file? Xampp sux balls because it teaches people to be lazy and not bother actually learning how things work / should be configured. Apache HTTP is the server underneath. Anyway, there is likely an access restriction preventing access from outside of the local network. Still though, localhost can actually only ever resolve to the local machine so.... Still, this might be of some use: http://httpd.apache.org/docs/2.0/mod/mod_access.html#allow
  11. Adding a new domain is as simple as adding an new vhost. You can do this programatically using a script (how do you think cPanel does it?), or manually using a text editor. http://httpd.apache.org/docs/2.0/vhosts/examples.html Of course you will also need to add a new DNS entry to point your domain to the servers ip but I assume (because your asking within the Apache board) you already have this covered.
  12. Thanks man, if it helps any, when I started my new job about 9-10 months ago I felt like an absolute dumb-ass. Some of the guys I work with are the brightest people I have ever had the pleasure of being around. Still today, 10 months or so later, I am still learning something new everyday. We got a new guy about a month ago though, so I don't feel so much like the newbie myself. Still though, after 8+ years of developing you would think I'd be all over it. It just depends who your working with I guess.
  13. Sorry, but this is just funny. Why would what a primary key looks like be of any concern? It is there to aid in database normalisation, not to look cool.
  14. This topic has been moved to Other Web Server Software. http://www.phpfreaks.com/forums/index.php?topic=333972.0
  15. There is no such thing as 'background processing' in http. You can make it look that way using Ajax, but you should really understand how the normal process works first. If your having trouble with the code within changemail_script.php why not post that code? You'll want to accompany that code with a better description of the problem than "I do see a bunch of error messages" though.
  16. Because jQuery is written in JavaScript, anything you can create in JavaScript can be created using jQuery. Where are you stuck?
  17. This is normal functionality. I don't see the issue.
  18. What? The backup file that was created is your dump.
  19. What is the go with these? = >=
  20. You are missing a ; on $total_items=$number_of_items + 1
  21. Loading the definition twice *IS* defining it twice. Programming is an exact science, if you do something wrong, things break. It's doesn't matter how small the detail.
  22. This topic has been moved to Other Web Server Software. http://www.phpfreaks.com/forums/index.php?topic=348673.0
  23. Have you looked at the dump file to see what it contains?
  24. It is likely that the error is actually occurring on a previous line. You'll need to post more code.
×
×
  • 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.