cmgmyr
Members-
Posts
1,278 -
Joined
-
Last visited
Never
Everything posted by cmgmyr
-
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.
-
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!
-
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.
-
www.godaddy.com http://marketplace.sitepoint.com/ are 2 more places
-
This was only the first step in the validation process. The second step was validating it through Authorize.net
-
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.
-
it echos "No cats!"
-
@ 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
-
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.
-
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.
-
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!'; }
-
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.
-
These are really good http://www.phparch.com/training/slides/PROPHP0207/recordings/
-
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"
-
http://www.sitepoint.com/marketplace/
-
rackspace for more important customer dreamhost for less important customer (not really dedicated)
-
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!
-
You should look into a small flash player that you can put into your page.
-
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)
-
YOUTUBE Stores 100 MILLION videos...how is this possible
cmgmyr replied to carefree's topic in Miscellaneous
Here is a great (long) article about myspace http://www.baselinemag.com/print_article2/0,1217,a=198614,00.asp -
You ended the table right before your: while($row = mysql_fetch_array($result)) take that out and see what happens
-
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
-
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
-
cause you usually have full control over the dedicated server...
-
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.