Jump to content

thescientist

Moderator
  • Posts

    8,682
  • Joined

  • Last visited

Everything posted by thescientist

  1. thescientist

    date range

    i'm not sure how it could be an HTML problem if the PHP is what's generating the HTML.
  2. thescientist

    date range

    to be clear, a syntax error is when you have an error in the code itself, like missing a semi-colon, or not matching a closing curly brace to an open one. When your code works, but does't produce the desired output, and there are no syntax errors, then you what is called a logic error. Which basically means your implementation is off. Syntax errors are easy to resolve by turning error reporting. Logic errors require debugging to test values and conditionals to see what the code is doing, versus what you think it's doing.
  3. well, time will tell, but almost 100% certain this is what everyone is thinking, I know I am...
  4. you keep making my point. The price has to be based on your abilities, because as someone little experience, things will take you longer. i could do a website in less time, but charge more for it because I have the experience to know exactly what I can get done and in how long. You are the opposite end of the spectrum, with little proven experience in just about any capacity. That's a critical factor in estimating. But if you're just looking for numbers irrespective of the meaning behind.... well, then I guess I can only say that I feel bad for what you client is about to get himself into. It's just like in the code, if you can't explain each line and what it's doing, you're not ready to be doing it for money. If you could, then you would know what goes into each part of the clients request, and you would be able to figure out most of it yourself. Anyway, I'm sure this will all just go in one ear and out there other...
  5. yeah, but the post he "liked" just took an arbitrary time with an arbitrary rate and come up with an estimate. and the poster even pre-faced by saying it was an example. Not trying to argue with you, but just calling out the OP.
  6. how is that any different from what Ingolme and I told you? Count up the hours and multiply times a rate reflective of your services? You're weird man...I don't get you at all.
  7. bug off then. what do you want from us? If you can't even bothered to estimate your own work, and are asking us to do that too, you don't deserve the work, quite honestly. The whole point is that different people have different skills sets. You have to estimate your own work, because you are the one doing it. Ironically, in the time you've taken to blow off everyone's responses, you could probably have a basic assessment of all this already. The fact that you can't do this, or be bothered to do this, clearly demonstrates that you are far from ready to even consider taking on work for money,
  8. Again, as mentioned, you need to estimate how long it will take you to do it. Go through all the tasks and honestly asses (in hours) how long it takes you do each task. For the harder stuff, give it to the more experienced person. Determine his rate per hour, then do the same for you, obviously you should charge a lot less per hour. So you add up all his hours times his rate/hour, and then add up all your hours times rate/hour, and there's your total to charge for the project. On top of that, you will have an estimate for how you think it will take to complete the project.
  9. The simplest implementation I can think of would just to have an AJAX function execute on page load to a server side script (like PHP) that can do one of two things. Read in a file and increment the value of the number in it. Or use a database, and make pages table, and increment the value in the table. additionaly, you would want to save the page for the hit, so would want to pass a referrer value from the JS function to the script. Personally I would recommend using a database for this and doing the incrementing/UPDATE with SQL. Also, you may to use some sort of IP tracking to make sure hits are unique and daily.
  10. the majority (most of the end) of this thread has been about saving attachments (images at least), so I don't think that would be super useful to use something that didn't really support attachments. As it stands, the OP has made significant progress in writing his own code for this, that appears to work well with multiple mail clients, and is just in the process of ironing out a couple of bugs. I think he would prefer to stay the course as it were, since he is nearly there in completing all the work he started out on.
  11. if you don't want them to overwrite it each other, then yes, you need to something to prevent that. You have to check the name, and then change the name before saving it, if the name already exists.
  12. in other words, for each attachment, use file_exists on the filename first, and if it does, then change the name of the current file you are trying to save. i.e. image.jpeg, then image2.jpg, image3.jpg, or something along those lines
  13. that is the example. instead of your numerically indexed array starting at 0, use the CID as the indexes instead. ( ["813DEC0642E941F0845447B680DA566A"] => Image1.gif, ["6829CB8F2D5D43AAB115DE06572E770A"] => Image2.gif}
  14. It probably has to become a file in order for it to be sent as attachment, or else you can get the raw SQL somehow and add it to the body of the message instead. If you don't want the file on your server, you can unlink the file after you have it sent to your email.
  15. http://stackoverflow.com/questions/3826580/what-rules-does-software-version-numbering-follow
  16. I would recommend reading SVN book, in particular the first 4 chapters.http://svnbook.red-bean.com/ Just expand, the trunk is the main line of development and is where all active development will be committed. You create branches to diverge to do some work you want to be able to work solo on or if it touches a lot of pages and you don't want to block other people's development. You can also create a branch say if you need to maintain a 1.0 version of software while also working on a 2.0 version. (2.0 would be ongoing in the trunk). You can merge your side branches back into the trunk once you've tested it, or merge stuff from the trunk into an ongoing branch release. (like a bug fix in 2.0 that should also be applied to 1.0). Like boen said, tags are meant to act as snapshots of your code, typically when creating a version release, like 1.0, 1.1, 2.2, etc. These should never be touched after they are tagged.
  17. I suppose if you are the only one working on these projects then setting up everything on your local machine and backing that up regularly would be sufficient, but especially if there are other developers working on the project, a VCS would be helpful. At the very least, the big benefit of any sort of VCS system is the history tracking/diffing and branching/tagging functionality. That can be help even there is one or a dozen developers working on a project.x
  18. definitely sounds like a version control system would be helpful. Even though I am the only one who works on my personal projects outside of work, I still decided to add my most active projects to github over the weekend. It's just good to have, iMO, and the ease that it affords when branching/tagging/merging is absolutely worth the time invested. A good primer on the theory and work flows of common version control use cases can be found within the SVN documentation.http://svnbook.red-bean.com/en/1.7/index.html
  19. You could look into git as well. http://git-scm.com/And you could just have it hosted on github. You can install it yourself as well.http://code.google.c.../downloads/list I have not installed it but I have setup projects on my computer to work with github and it pretty easy.
  20. valid markup that is clean, semantic, and well organized are three easy and effective techniques you can employ right off the bat. If you aren't sure what constitutes that, conisider posting your code for a code review and we can offer advice. The validator you should be able to do on your own though.
  21. I know it's covered in this presentationhttp://yuilibrary.com/theater/jenny-donnelly/f2esummit2011-donnelly/ and I told myself to remember it because I want to do it all the time, but I haven't gotten a chance to go back and see it again. or it might be a way to commit/push in one fell swoop, but I think your answer is in there.
  22. hey man, hope you make it back soon. I thought maybe the new forum layout freaked you out, but I bet you can learn new trick.

  23. well, what are the errors? have you tried figuring out what to do about them?
  24. you would be better served learning Javascript instead of VB, IMO.
×
×
  • Create New...