Jump to content
Larry Ullman's Book Forums

Jonathon

Members
  • Posts

    1064
  • Joined

  • Last visited

  • Days Won

    55

Everything posted by Jonathon

  1. You can do either really. It depends on how long your poems are and how many you have. It would probably be cleaner to use MYSQL rather than having a multitude of potentially long arrays. I would also suggest that using MYSQL would also you to take advantage of a great tool that you may find useful in conjunction with you PHP skills. It isn't solely for inputting data, many people use it just to display items or objects.
  2. I think Facebook only uses the Cassandra DB for their inbox systems. Or at least they started with that, maybe they've rolled it into all DB management. I read your article a while a go Larry, but as I've said before to HartleySan, it's sometimes hard to even keep up with the web and its development! Plus I wasn't sure how applicable learning a new DB would be to a smallish project. I'm actually planning a big personal project, maybe I should try out a new DB Thanks for the article HartleySan and your initial one Larry.
  3. No, thank you for such a thorough response. It's nice to gauge how the accomplished programmer thinks about things and the time scales they generally work to. I've sat there before just over thinking models and then questioning what ever direction I go in. I perhaps will relax a little more and be happy with my initial plan and just accept that alterations are a natural evolution of ideas and processes. I suppose very few people start out with the near perfect DB model and the greater the exposure to models the greater the chances are of finding cross over areas. Such as data that webmasters ultimately want (as you mentioned). Thanks Larry (I also can spell cycle)
  4. Hi Larry, This is more of a question out of curiosity. I was just wondering how you plan your projects? I was looking at the second part of the ecommerce book and there is clearly a lot of thought that goes into the MVC idea, especially the databases. I think so much of a good website boils down to the inital planning and the approach. Making sure you've thought of everything and its built in a way that it can be scaled or tweaked easily etc. So I just wondered what your development process was like and how long the ecommerce example 2 took you to plan? Thanks Jonathon
  5. No problem, I am using a UK paypal account and that initial route works ok in creating the actuaL buttons. But 2 ways are bbetter than one I suppose. Let's hope there aren't any more problems
  6. For those of you have experienced a problem with integrating PayPal. This seems to be an issue with accounts in GBP. But this is the way around it: - Login to your seller sandbox account => So just check the radio box and click "enter sandbox test site" - Click on Profile - Click on My saved buttons - Click on create new button link - Follow the steps on the page to create a new button in your sandbox account. - When you save the button you can go back to the my saved buttons page to see your buttons. Hope that helps clear this problem up.
  7. Thanks Larry, I've heard good things about it. But it seems like there is so many great things on the web that there simply isn't time to try all of them. But I think I'll have a go using SQlite simply for the number of positive reviews. Thanks
  8. I just wondered if anyone had used SQlite and what they thought of it. I don't know much about it to be honest so wondered if anybody could fill me in on their experiences with it.
  9. In the bottom right hand corner of a text area you will see two small lines at a 45 degree angle. Put your mouse over them, hold in the the left button (on a PC) and drag. This will resize the area. My cursor in Tiny_MCE does as yours does too. Hope that helps
  10. Am i right in thinking that the key can be anything you like. Like declaring a key for use with MCrypt?
  11. I think it's already on the books errata pages. You can check there for any kind of errors you may see in the book and if you find one that isn't on the list you can bring it to Larry's attention. However I believe it is already there
  12. No, you shouldn't rely on magic_quotes at all. Magic quotes are now deprecated from PHP version 5.30, you can read what they are, why they were used and why not to use them at the link give too.
  13. Yes maybe so, but still safety first and all that
  14. I don't think I experienced any lag when I joined. The first hosts I ever used were based in America, they were cheap and I didn't experience any lag either when sending emails to my phone.
  15. Hello, Just a quick note, don't post your passwords and usernames
  16. I run firefox 5.0 but it should in options > privacy > history > "use custom settings for history" (This may be a drop down box saying either 'remember history', 'never remember history' or 'use custom settings'. Then you can change your cookie preferences
  17. Well firstly Lou, your project isn't the easiest to code from scratch. And knowing not where to go is something I guess programmers endure. But keep perservering and there are hundreds of forums dedicated to web development. If you only want some pointers of how to develop a certain aspect, then I'm sure people here or other forums would be able to point you in the right direction. Allowing you to do the majority of the learning and application yourself. Sergiu, I think it is possible, but often so much of life boils down to being in the right place at the right time. There is always the approach of getting the foot in the door at a low position and working your way up too. Although I can't speak for Larry, from memory he took English or a variation at university.
  18. Hi Matt, I actually changed onChange to onkeyup. This way the username field is updated as the user types, unless you do have a particularly busy site I wouldn't expect this to be a problem. I also changed the font and colour of the text in the echo statement itself i think, like you have. I was just playing around with the example when I did all this, it wasn't very recent but i'm pretty sure those were the changes I implemented, it seems like we have pretty similar ideas of what we wanted to do. However if those don't work for you, i'll gladly try and find the code i did write.
  19. Hello Lou, When you say you're having problems finishing a site. What kind of problems? I think for any people including myself, you see something online that you want to replicate or add to your site and it can almost become a situation where you're never going to finish. But it seems to me that if you're validating your pages and logging in and out then you're doing well. If you haven't encorparated joins into your site then it doesn't mean you haven't finished your site, because not every site warrants multiple tables.
  20. Yes your basically correct. $test = FALSE; // the variable is 'not true' in a sense. This would fail an if ($test) statement $test = 'false' // would be the word 'false' if $test = true; if ($test) { // then the variable test exists and the if statement is satisfied meaning you can run your code // Do something here } Hope that clears it up for you
×
×
  • Create New...