Jump to content

birbal

Members
  • Posts

    2,543
  • Joined

  • Last visited

Everything posted by birbal

  1. you want to chek dynamically captcha first then submit the form. right? you need to use ajax to submit the captcha to php page which will validate the capctha if it matches you can then send the rest of the data of the form. unless you want to do it dynamically you can send all the data with captcha in php page and process it there.
  2. birbal

    logout procedure

    yes you should delete session cookies/data,persitant cookies, and tokens in db
  3. check using in_array() that submite field value is in array or not, if not show the errors. drop down menu should be inside the form tag. you need two loop to show two drop down for color and food. when form get submited the submited values are available inrto $_POST and $_GET array depending upon the method form submited or page requested.
  4. birbal

    when table purge

    are you storing the token in seperate tables (multi platform remember me?) or you are setting the token to coressponding user row.(single platform remember me)? for the first case you will update when user is from same machine (eg detect by ip,browser combination) else add new entry. for the second case update the token everytime
  5. That is why proffessional developers don't use those software like dreamweaver.
  6. using table for layout is old practice. so old site (which could be developed by a pro that time) which has not updated recently could have the table layout. but that is not the best practice anymore. "box modeling" is the way for layout purpose. table should be used to show only tabular data. You can do one thing several ways, choice is yours you will choose best way or worse.
  7. check this http://w3schools.invisionzone.com/index.php?showtopic=44106&view=findpost&p=245750
  8. birbal

    new pc spec

    I can live without GPU for now .inbuilt graphics will at least can handle COD series and i am happy with it. i am hardly going to extreme gaming to play game like BF3 or online games. neither i want to play games at full resolution, decently playable mainstream games are ok with me. thanks I will look into the other rigs on that link. unfortunately SSD is not coming in my budget. that is how far i can get into now ($700). if i cut 1tb to 500gb and paired up it with a ssd still it is not coming in range. 500gb HDD+80gb SSD coming around 140$
  9. birbal

    new pc spec

    Finally here is the rig i decided (700$ budget) NZXT Guardian 921 RB 921RB-001-RD Black SECC steel chassis Computer Case $69.99 Western Digital WD Black WD1002FAEX 1TB 7200 RPM SATA 6.0Gb/s 3.5" Internal Hard Drive -Bare Drive $109.99 Acer S220HQLAbd Black 21.5" 5ms LED Backlight Widescreen LCD Monitor $139.99 Rosewill CAPSTONE Series CAPSTONE-450-M 450W ATX12V v2.31 & EPS12V v2.92 SLI Ready CrossFire Ready 80 PLUS GOLD Certified ...$64.99 Intel Core i5-3450 Ivy Bridge 3.1GHz (3.5GHz Turbo) LGA 1155 77W Quad-Core Desktop Processor Intel HD Graphics 2500 BX80637I53450 $194.99 ASRock H77 Pro4-M LGA 1155 Intel H77 HDMI SATA 6Gb/s USB 3.0 Micro ATX Intel MotherboardG.SKILL Ripjaws X Series 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) Desktop Memory Model F3-12800CL9D-8GBXL Combo $119.9 Subtotal: $699.93
  10. "this" refer to current node where you have used. so when you use it with onlick event of button , 'this' point to the button. to change the value of radio button you have to access it using DOM.
  11. birbal

    FTP downloads

    FTP server are different from web server. when we handle mysql database we made connection to mysql server which is also seperate server running on the machine. we talk to that server with the specific port the server are bound to listen. opening socket on specific port and connecting it is that what php do. so in that case php is client which is connection to the mysql server. same happens with FTP. to be more elaborate, if FTP and MYSQL is is installed an running with php as module of apache, there is three server is running on. when user request apache got listen to the web port. it runs a php instance handle the php file make opcodes,executes it. when php files are getting executed they create socket on port and connect to respective running servers, recievs the response back to php and php handle the request and serve out the page.
  12. use header redirection http://php.net/header
  13. that cookie life time should have long enough time span for recurring user (the time may be vary site to site, usually 7 days,15days even 30days). but not half an hour, it is so short time that a user can be idle. it does count as recurring user that need remember me features.
  14. array_unique() return an array. print_r() can display arrays. echo can't. you have to loop through the array to echo those elements.http://au.php.net/array_unique
  15. you can check for themeforest for web templates
  16. canvas is bitmap so once you draw a image it becomes pixels. there is no way to detect object through a array of pixels. you have to keep track of objects in js data structure to determine position of the object and have to calculate against the position of river and position of boxes to determine how many pixel you neeed to ove to crosse the river..
  17. birbal

    new pc spec

    Do you overclock your CPU? i think i am hardly going to need that even if i use intel. overclocking means it will consume more power means more electric bill To be specific what do you think about amd fx-8150?. it was too promising to compete with i7 when it launched. now reading mixed reviews. Does that gigabyte MB have slots for GPU? do you prefer any brand in motherboards? will it be benificial for performance to have a intel mother board with intel processor?
  18. birbal

    new pc spec

    your link is not opening. does that mother boards perform well with i5-2500k? if there is better motherboard i could go with that. i have a machine already which has recently collapsed almost. i have HDD and RAM in it already which i can use temporarily. so i could wait for new HDD or RAM. main aim of mine is getting started with good processing power with minimal components with the scope of to upgrade it later in future to be compatible. (ram hdd is much cheaper to upgrade later) what do you think between amd fx and i5 and i7? do you think i am gonna need over clocking? i suppose it is for gaming purpose mostly and i am hardly going to be in that level of gaming to overclock the CPU. other than that is it have any benifit? non over clocking mother board seems to have save some money. what do you recommend?
  19. birbal

    new pc spec

    as far i know xeon is for server. I don't know much about it and not sure it will suite in my case or.not.
  20. birbal

    new pc spec

    what do you think about the processor and motherboard? which cheapest motherboard model have you added? you can leave GPU .it has not much urgency now. the things bother me most is proper processor,motherboard,cabinet with proper cooling system and power. without GPU does it fit now in budget?
  21. You can use DOM to get the html page over the network and parse them to find the exact node of your advertisement node. and to fetch users from database you are going to need CRON.
  22. birbal

    new pc spec

    what would you suggest specification of custom built computer? Major purpose: for programing (all kind of),Minor purpose: 3d software like blend or 3d studio max (not as extensively but more as hobby) and modern gaming (not in high details but with playable detailing and screen rate and resolution) My budget is around 600$ . i would not like to compromise with performance and future compatibility (upgradable in fututre) and in that case could be flexible with my budget if necessary. But cheaper are better. Best would be where performance and budget meets each other. I think i made my point. Require Components (Listed by priority):(The first 4 is high priority of mine) Processor: At first i was leaned toward AMD FX-8150 8 core. but after viewing the reviews of it i am little bit confused. I expected it will be comparable with i7 but some benchmarks left AMD FX-8150 behind even i5-2500k series. i5-2500k,i7-2600k,AMD-FX8150 i am confused what will be best among them. now I am more leaned toward i5-2500k as it cheaper than AMD and benchmarks are better than AMD. I would even go for i7-2600k if it has significant performance beinifits. Motherboard: have not decided Monitor: 21" samsungCabinet: cooler master elite HDD: segate barracuda 1TBRAM: G-skills DDR3 2x 4GBGPU: have not decided (I don't need optical drive,mouse ,key board,speakers,FDD if i am missing anything other than that please point it out) That's roughly what i came up. any feedbacks are welcome
  23. If there is C++ (even C) in list i would make it top of priority. if you know C++ well it will be far more easier to pick up php even java (other class based languages) and in general programing foundation. it was C++ which was my first programing language i learnt and it was also in my foundation semester and i loved it alot. C++ itself helped me alot for learning other languages in later.
  24. if you are interested to get started anytime https://developer.mozilla.org/en-US/docs/HTML/Canvas
×
×
  • Create New...