Jump to content

tibberous

Members
  • Posts

    1,187
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by tibberous

  1. I have apache running but I can't pull up http://localhost I have never been able to get apache to run on XP64. I have a ton of PHP scripts I use to remotely access the server at work, but they all have to be command line =/
  2. They live in a shell but the part that sticks out is an exoskeleton. They shed it so they can grow - just like a snake.
  3. My hermit crab has been in a whole the last couple weeks so I dug it up and it was pink. I put it back in the hole and covered it up. I don't want to mess with it until it hardens - any idea when that will be?
  4. Is there a way I can tell if a nameserver is working? I have an ns1 and an ns2, and have been told by a couple people that the ns2 version doesn't work.
  5. I think it is PHP doing something though. If I run this: php /var/www/vhosts/site.com/httpdocs/test.php It prints out what it should. If I go to site.com/test.php, it doesn't work - doesn't print anything at all.
  6. It would still require the attacker being able to write to PHP and Perl files on the server - at that point your pretty well screwed anyway. This isn't a shared server either, so its not like bad neighbor attacks are a concern.
  7. I need to make a web interface that is able to change the permissions on files owned by root; This means being able to run the chmod command as root. Is there a way to do this? It seems like anything I start from the website is ran as apache. I tried to make a perl file, set the permissions to 7775 and start it from PHP but it didn't do anything -- not sure I did it right. Any ideas?
  8. What I'm afraid of is that the dogs won't attack if I'm not there. I have no idea how to train a dog to attack people without me being around.
  9. I want to get a dog, or a few dogs - mainly as pets, but also to guard my house. I want to get a breed that is going to be healthy and somewhat smart. I am thinking either: caucasian ovcharka (expensive) - http://en.wikipedia.org/wiki/Caucasian_Ovcharka south russian ovcharka (hard to find) - http://en.wikipedia.org/wiki/South_Russian_Ovcharka rotweiller (not overly health) komondor (hard to clean) - http://en.wikipedia.org/wiki/Komondor bullmastiff sharplaninac I was thinking to get a couple dogs so they could play together. I was also thinking about getting them from a shelter, but something like a sharplaninac or komondor would almost have to be purchased from a breeder. Any recommendations?
  10. I think it is okay for what it is, though it would probably look better on a smaller monitor (and mean REALLY small, like smaller than anyone uses)
  11. Looks good to me. I'd have those rollovers pre-load though, they disappear for a couple seconds first time I moused them.
  12. Between the icons and the block anti-alias it looks very 2000'ish. Your using like 6 different hues of green too, which also looks really bad.
  13. Yeah, get rid of the gif and if you have to have it on there for some reason, do it in Flash at 25 fps.
  14. I am getting a house and between the new payment, bills and taxes I'm going to be poor as hell. I will basically have just enough to live on, working 40 hours a week - I'll also have very little money to try and make money with. I am looking for a way to make 1-2 thousand more a month in addition to my full-time ($1,500-1,000 under-the-table) I know PHP and Flash, which might be the easiest way to make money, but it is hard to spend all day programming just to go home and program. I thought about renting out part of my new house, but that really wouldn't make much money. I could do body work on the weekends, would only have to pay a thousand or two for a setup. What sucks though is that I don't have a garage -- but I do have a spring house that I could probably turn into a garage. Anyone have any ideas?
  15. Keep in mind most people who visit your site won't care how it is built. Web developers are the only people who know whether you used <center> or <div align='center'>, and even then only by looking at the source.
  16. Yeah, that's pagination. Basically you figure out the total number or rows your going to show, then divide it by the number you want per page, and end up with the number of pages you want. Then you make a link for each page you having, and pass each one something like ?page=3. Then, then you do your mysql query, you do a limit X, 50, where X is the page they are on, times the number per page. Start at page 0, not one. That way the first page starts at (50 * 0), which is 0, which is the first record.
  17. Yeah, that's another reason I want to update it - I was going to do 950px. I'll sit down, figure out the content I want in it, and then try to match the graphics accordingly. Does the color scheme look good? I was thinking about doing a baige/gold or maybe even green, but thought the blue would be easier to work with.
  18. What about switching to something like this? http://www.trenttompkins.com/concept.jpg Just a real standard Web 2.0 look - 4 sections with the nav part of each section and a nice homepage? I'm a programmer, not a designer -- maybe this is all I need?
  19. My site is TrentTompkins.com. I want to freshen it up and replace the Joomla backend with something custom - or maybe just get rid of the backend and create the pages as needed. Does it look nice, or should I think about changing it?
  20. Looks like what I need! I'll try it right now
  21. The way I do it is by passing it into flash as a parameter: movie.swf?registered=<?php echo intval($registered); ?> If you want it to be more secure, you can pass in an identifier, then have the flash file pass that identifier to a php file that validates the response. So it would be: movie.swf?sess=<?php echo "h6565j67jg45tg45h6h67i7h45"; ?> And then in the flash you use LoadInfo to get the sess parameter, and the loan in something like validate.php?sess=h6565j67jg45tg45h6h67i7h45 as xml.
  22. I have an enum with three values: cat, dog, horse. I want to make a select box, with an option from each of those three values. However, I want to create it dynamically, so if I add more options to the enum, I don't have to update the code. Is there an easy way to do this? It is something I always find myself wanting to do but can never find out how so I break down and just hard-code the select box. Any ideas?
  23. I need to ask the user for a start time and date, and then save it. Then I need to ask them how long they want something to show up. When someone visits the site, I need to make something show up if it is after the start time but still during the show time. I don't know whether I should try and use mysqls date and time functions, or if I should just use phps timestamps for everything and just put ints into the database.
  24. I have a script that needs to resize very large images - but it keeps hitting the memory limit. I can increase the memory limit, but is there another way to handle it?
  25. Contexts could be used in strings though. So, instead of saying: $message = "You have ".dollar($amount); You could say: $message = "You have $:amount"; A contexts name would always be one character long, and a symbol. It would always be defined as a function that takes one value and returns one value.
×
×
  • 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.