Jump to content


  • Posts

  • Joined

  • Last visited


Everything posted by cmgmyr

  1. I pretty much eat here and there all day. Since I work from hom and the kitchen is only about 20 steps away...it's hard to stay away from it sometimes. I try to drink a lot of liquids throughout the day and 2 decent meals.
  2. If you have bluetooth on your phone you can just slice up an MP3 and upload it to your phone...that's what I do and it works out pretty well. I think that's the best way to go. Plus you can have any song that you want that way...and make your friends really jealous!
  3. I got a 12 on one of my sites. I lost a point because I got a NO on "Denies the existance of Rocky V" ...guess I better work on that :-) ...interesting tool though.
  4. www.godaddy.com http://marketplace.sitepoint.com/ are 2 more places
  5. This was only the first step in the validation process. The second step was validating it through Authorize.net
  6. Hey, check this out real quick: http://bytemycode.com/snippets/snippet/712 I wrote this for one of my projects and maybe it can help you out.
  7. @ Sulman - if it wasn't correct the I wouldn't be seeing the echo statement either @ thorpe - that's what I thought too but for some reason it's not, I'll keep messing with it. Thanks guys
  8. the echo is just to see if the function is working but for 62 it echos "Anniversary & Wedding » Diamond » Center Stone". I tried commenting out the echo statement, but that didn't change anything.
  9. But if I'm setting the returned value = $cats there shouldn't be any reason why it's not showing up. I even tried doing "return true;" instead of the variable and it still didn't return anything.
  10. Hey Guys, I have no idea why this function is not returning the variable $new_cats, it's echoing correctly, but nothing is getting returned. Am I missing something??? Thanks! Category Function: function getCategories($cat_id, $level=0, $cats='') { global $db; if($level == 0){ $cats = array(); } $sql = "SELECT parentid, name FROM categories WHERE id = $cat_id"; $result = $db->query($sql); list ($p, $n) = $db->fetchRow($result); $cats[] = $n; if ($p != '0') $this->getCategories($p, $level+1, $cats); if($p == '0'){ krsort($cats); $new_cats = ''; foreach($cats as $cat){ $new_cats .= "$cat » "; } $new_cats = substr($new_cats, 0, -9); echo $new_cats; return $new_cats; } } test page: if($cats = $catalog->getCategories(62)){ echo $cats; }else{ echo '<br /><br />No cats!'; }
  11. I actually got that link on here from a post a while back on the same board and just kept it around. I doubt there is anything illegal about posting that link.
  12. These are really good http://www.phparch.com/training/slides/PROPHP0207/recordings/
  13. hmmm, I've never heard of a computer looping like that. That system restore is pretty useless more times then not, it usually gets people in more trouble then with what they had before they did the "restore"
  14. http://www.sitepoint.com/marketplace/
  15. rackspace for more important customer dreamhost for less important customer (not really dedicated)
  16. I do the same as SA. It works out really well if you have a good bunch of sites/clients. You can easily pay for a server with 3-5 clients...all of the rest is bonus!
  17. cmgmyr


    You should look into a small flash player that you can put into your page.
  18. I second AVAST, I recommend it to everyone I know, it works great and catches a lot more then the "bigger" guys (norton and mcaffee)
  19. Here is a great (long) article about myspace http://www.baselinemag.com/print_article2/0,1217,a=198614,00.asp
  20. You ended the table right before your: while($row = mysql_fetch_array($result)) take that out and see what happens
  21. I altered the code a little bit, here is what I have now: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-F RewriteRule ^([^/\.]+)/?$ store/index.php?kiosk=$1 [L,PT] RewriteRule ^([^/]*)/([^/]*)$ store/$2?kiosk=$1 [QSA,L,PT] Now, the virtual directories work 100%, but when I go to the root of the site, or any of the files in the root the CSS and the images do not come up. How can I adjust this code so that it doesn't effect the root files? Thanks, -Chris
  22. I have a site that has dynamic kiosk stores and I can't seem to get everything to work how I want it to. 1. I need url.com/kiosk_name going to url.com/store/index.php?kiosk=kiosk_name (which I have that so far). 2. I need url.com/kiosk_name/products.php going to url.com/store/products.php?kiosk=kiosk_name 3. This also needs to handle a query sting...url.com/kiosk_name/products.php?product=1 going to url.com/store/products.php?kiosk=kiosk_name&product=1 Here is what I have so far: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-F RewriteRule ^([^/\.]+)/([^/\.]+)?$ $2?kiosk=$1 RewriteRule ^([^/\.]+)/?$ store/index.php?kiosk=$1 [L] I know I'm doing something wrong and I'm sure some other things need to be added. What should this be? Thanks, -Chris
  23. cause you usually have full control over the dedicated server...
  24. There are plenty of free ones online that you can look at, use, and modify for free. Just do a search and you should find a bunch.
  • 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.