Jump to content

birbal

Members
  • Posts

    2,543
  • Joined

  • Last visited

Posts posted by birbal

  1. for graphical interface you will use html (for layout) css (for styling), php will add functionality and you will need js if you want to anything fancy (like popups, without reload login) Download the firebug for firefox or any other developer tools for specific browser if you want to see how the elements and styles are used. developers tools also will save your time alot later. Stat with graphical interface if you are comfortable with html and css and then move into php. once you grasp the basics we can help you more accurately on your problem. also if you want, can check the php forum where there iis sticky post of a login script to get and idea.

  2. you need to insert image in database or in filesystem for each user. the image will be associated with the user. when user get logged in you need to pull out the picture and display it using image tag.

  3. I am not aware of any JS certification but for PHP there is zend certification which is quite recognised. though it is solely up to employer or client what they make priorities. a degree/diploma in computer science with a good portfolio of bunch of real life application projects would be nice to start of

    ffmpeg

    also they disabled that for one reason , if you use ffmpeg to dynamically fetch frame of videos it will be CPU intensive task. as shared hosts are limited in CPU usage, you will probably hit the margin sooner. I would say go for VPS plan would be better.

    ffmpeg

    another way is to decode the mp4 file itself. the frames are stored as binary image. in meta information of file you can find the framerate. so you can calculate frame number of any video files and can extract the data to dump it in image file. But that will be little time consuming task as you need to read through the specification.

  4. you need to install sendmail and set up the path in php.ini to point to the sendmail binary. It is also possible that you may have already sendmail in another location, in that case you need to point to correct binary path.

  5. what you see in php info is configuration of connecting to SMTP server. what if SMTP server itself is not there? you need to check that. check your running services that SMTP server is running or not. check the sendmail path.

  6. that is not javascript when use input=file, it is the html which is being interpreted by browser and browser is bound to use that hardcoded behaviour(you/other website can not change that) when you use it. the reason js is sanboxed for security reason, so that unknown source dont have access to client filesystem. browser can itself access files (that is what it do with cookie files saved in your computer) but js can't (it actually can but it is blocked in browser context)

    • Like 1
  7. JS of browsers are sanboxed so it cant access local files. if you need to check existance of file in server you should use any server side language for that. also some newer browser supports "FILE API" which can get certain information about files.

    • Like 1
  8. you can check in "information_scheme" database for "table_constraints" how the keys are represented. the name used to identify keys uniquely in table scheme.

    Is it going to help when performing queries?
    it is more of need than performance. keys will work quite when you use multiple column for one keys.as example sometime you wants to use two column combination as unique. means column1 column2A BA AB AB A if you have unique constraint on column1 and column B the above values will be considered unique in each case(combination of both coulmn)
×
×
  • Create New...