Should i learn php 5 or php 6?
I'm not sure how popular php 6 is and if many webhost even support it, so basically learn php 5 first or just straight to php 6? Thanks in advance. ...
I'm not sure how popular php 6 is and if many webhost even support it, so basically learn php 5 first or just straight to php 6? Thanks in advance. ...
I'm building a RoR site, and today I get the pagination done. Upon showing it to my coworker, his first question is "what happens if you set the querystring to "?page=-1". It died with a runtime exception (error 500). He suggested that that should definitely be fixed before this site goes anywhere near live. I happen to disagree with hi...
You have a blog. You want certain combinations of symbols (i.e. :), :(, :p ...) to be parsed into emoticons before the post in the blog are printed on the screen. Should this parsing be a responsibility of the Model, the View or the Controller? ...
Here's the deal, I have one website over at utopiapimp.com. The website is used for a popular web based game. Some company internets don't allow the website to be accessed so I opened up another domain at utopiashrimp.com. Same website but a different iss application. Both have same database backends. They also both sit on the same virt...
Hi, I am planning to build an algorithm web site that compiles the c and other language programs. I want to know is there any readymade tools/libraries for that?. ...
I have a bunch of aspx (asp.net) and html pages. The site is active past 2 years and gets decent traffic. Now all this while, I have not taken care of SEO. So my pages do not have meta tags, description or H1, H2 and so on. Now I plan to add them to my pages and do this the right way. My question in any way will this negatively impact ...
Hi I have a fairly basic task, but cant seem to find the right answer to, I'm making a set of buttons, you put the mouse over them and they change to a different image, take mouse off, change back... It works fine in Safari, IE, Chrome, Get into firefox and 4 don't work, randomly, not in any sort of order... main.php - news.php - e...
Here's the problem: we have a family (approx. 8) of websites, each hosted on a different subdomain of a single domain common to every member of the family. E.g., ecommerce.my_domain.com forums.my_domain.com signup.my_domain.com For various reasons, each subdomain is administered separately from the others--i.e., different servers, c...
What is best practice with regard to using links/<a> tags with explicit hrefs to other pages in your site (i.e. href="/blah/blah/blah.html) vs having hrefs/divs/etc. that don't have an explicit href and have their onclick set within the document ready handler with JavaScript in say a main.js file. I'm not an expert when it comes to web ...
Hi guys, I have had this problem for a while now and no matter what i cannot seem to resolve it. I have a master page and a content page. The content page simply contains a button <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <asp:Conten...
Possible Duplicate: Are iframes considered 'bad practice'? Some say that iFrame is evil. But it seems that Facebook uses iFrames for the Facebook applications, and dumping FBML (Facebook markup language). I have never used iFrames before, but is it a good practice to use them if you want to "install" other web applications o...
Hi, This question came up during working with web services(in java) but I guess could apply in all kind of web applications (http). If an HTTP client sends a POST to a server then, a 202 Accepted has the meaning (according to HTTP protocol) that the POST has been accepted and the request will be eventually processed. Under other conditi...
This has always confused me. Everyone says that IE6 dies slowly. But what is preventing Microsoft to update all IE6 to IE8? When a user open the IE6, if it says "Update to a newer version" then I guess 9/10 users will just click on it. What are the obstacles from updating all IE6 so it can just die? ...
According to this video http://www.facebook.com/video/video.php?v=562087699610 modern browsers break same origin policy so javascript can make ajax calls to whatever domain. Is this true? If yes, does this mean that this will be natural/acceptable whenever necessary eg to fetch data from my partner applications? ...
The company I am working at is required to develop a web service API. Currently the company does not have in house software or web developers, we are primarily MySQL database developers. We would like suggestions on languages and frameworks that will allow rapid development of a web service that is basically acting as a proxy to MySQL s...
I understand the right way to protect a db from SQL injection is by using prepared statements. I would like to understand how prepared statements protect my db. For starters, are prepared statements the same thing as "parameterised queries"? As an example, I'm pasting below my code for the insertion of a new user in a user table. I...
Section 15.1.3 in RFC 2616 states: Clients SHOULD NOT include a Referer header field in a (non-secure) HTTP request if the referring page was transferred with a secure protocol However, I know many browsers have bugs and don't always follow spec, plus it only says SHOULD NOT, instead of MUST NOT. So my question is therefore: 1) Is...
How to Prevent PDF Document from Being download to users PC? it can be viewed on browser but should not download the file to PC. Is it possible? ...
We are looking for a sliding image tool like the one on the following home pages: 1) http://xceed.com/index.aspx (Silverlight based) 2) http://usa.autodesk.com/ (Flash based) Where can we purchase something similar? Thanks. ...
Nowadays a lot of web applications are providing API for other applications to use. I am new to the usage of API so I want to understand the use cases for it. Lets take Basecamp as an example. What are the use cases for using their API in my web application? For inserting current data in my web application into a newly created Basec...