Jump to content

jasper182

Members
  • Posts

    39
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jasper182's Achievements

Member

Member (2/5)

0

Reputation

  1. Great, I was hoping there was a way to post them as an array. I'll try it out. Thanks!
  2. On my html form, I'm creating dynamic textboxes with javascript whenever the user selects an "Add New" button. However, when I post the page back to the server I am having problems deciding how to best parse the dynamic fields because I am unsure how many fields were created or if others that were previously created are now deleted. For example, when the data is posted back, I could have the textboxes "textbox1, textbox2, textbox3" or I could have "textbox3, textbox5, textbox6" if the user added fields and then deleted some of them. If anyone could help point me in the right direction, I would appreciate it. Also, if more information is needed, please let me know. Thanks.
  3. I am interested in doing my next side project using an agile methodology and I've read that unit testing is a big part of that. I have done some research on unit tests, but I'm still a little confused. I can see how it can be used for some cases, but I fail to see how to write good unit tests when you have functions with complicated output or when you are retrieving data from a database. Would I simply make very generic tests or is there something that I'm missing. If anyone cares to help shed some light on this topic for me, I'd be most appreciative. Thanks!
  4. I'm looking for some help in making an image uploader tool in ajax. The main thing I'd like it to do is allow for multiple files to be selected and uploaded at once. Also some drag and drop abilities may be handy too. If ajax can't handle this I can look into something else. However, I'd like to stay away from using java or flash to accomplish this if possible. Thanks.
  5. Thanks for the link, it looks like it will help a lot. One question though. Why would I not want to store images in a database? It seems to be fairly simple and its worked so far with no problems. Is there a potential problem with this that I'm unaware of? Thanks again for the help.
  6. Currently I have a form where people can upload images that are viewable from another page acting as a central image library. The images are all stored in a MySQL database. However, some of the images that are uploaded are very large, much larger then will ever be needed for my site. I was told by a friend to look into using the GD library to resize the images after they are uploaded but before they are stored to the database. Ideally it would be something like "The image is never more then 600 pixels wide and 800 pixels tall" or something like that. However, after doing some research, I'm still fairly confused. Does anyone have a good example of how this should be done or at least the main function(s) I will most likely be using? Thanks.
  7. So I've followed some of the oop tutorials for php and I am also currently a comp sci student, so I know at least the basics of oop, but I still would like to see more about the php side of this. The tutorials that I've seen never implement real sites with database connections or anything like that and I would like to see how other people have built their sites, even if its simply for very basic sites. Is there a book or a tutorial any of you can recommend? I've looked, but without a recommendation I don't really want to drop much money on a book and I have yet to find a tutorial that goes as deep as I'd like to into this subject. Thanks.
  8. I'd just like a basic guide to web servers. Things like building a site that will scale well, when/how to host a single site over several servers to increase speeds, just things like that. I don't have much experience with that stuff, so I was hoping some users here have experience with this stuff.
  9. Well I guess that answers my first question But where can I find out more about the actual hosting stuff needed to do this sort of thing? I've done quite a bit of coding, but my experience with servers and such is very limited I'm afraid.
  10. Hello. I am currently developing a web app in php. Its going well, but I was wondering how php scales. I'm not expecting a huge user base, at least at first, but if the app takes off, can php handle a large traffic load? Also, do you guys know any howto's or faq's about creating a web at and how to successfully host it for a large user base? Any advice you guys have on the subject would be much appreciated, seeing how I've never worked on anything like this before. Thanks.
  11. Hello, I just completed a basic prototype of an Ajax powered page that I would like to continue working on. However, I have just been using hardcoded JavaScript for all my Ajax calls, and I was wondering what you all thought about the different frameworks out there right now. Is there a benefit to switching to something like Google's or Yahoo's framework, or is it better just to hardcode everything myself like I have been doing? I don't know anyone who has used these frameworks, so any insight you can give me on them would be appreciated. Thanks.
  12. I'll give it a look.  Does anyone else know how to send passwords and such with Exec?  It seems like it would be a common need, but I could be mistaken.
  13. I am trying to use the exec command to run sftp from the command line and transfer a file using a php script.  However, I'm unsure how to send a password using exec when it is required.  Is there a way to handle this with the exec command, or is there something better I could use for this situation?  Thanks
  14. I'm working on a project for school and I am trying to use an FTP connection to upload/download files from a FTP server that isn't on the school's network.  Unfortunatly, our school's firewall blocks all incoming/outgoing FTP requests because they believe FTP is to insecure.  While this may or may not be true (I don't know much about the security of FTP transfers) I was told that I could use SFTP by our network's admin.  However, I have been unable to find any documentation on using SFTP with PHP.  Is this even possible?  If so, could you help point me in the right direction?  Thanks.
  15. I'm trying to show some php code in a textarea, and I'd really like it to have syntax highlighting.  I have found a function called highlight_string() that works fine for normal text, but it hasn't worked for me at all with textareas.  Is there something else that I can use to do this?  Thanks.
×
×
  • 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.