web-development

Online Code Coloring Service

Hello, I would like to know if anyone knows of an online service where we paste the code and it generates back the colored html source code for that code. It could be PHP, HTML, CSS, Javascript, C, Java. Idea is that once i have the colored html code, i could easily put that in my wordpress.com blog. I know about [sourcecode language="...

[PHP] How to redirect to a different page and save state information as well?

I am in a web scripting class and our teacher is very strict on the guidelines of the assignment, as he has scripts that grade our work. With that being said we are allowed to use only two forms for our assignment, one for logging in (form 1) and one for submitting data to be entered into a database (form 2). My instructions say: A us...

How to get a list of pages if site having two pages-with same name?

for example http://www.sitename.com/section1/pagename.aspx http://www.sitename.com/section2/pagename.aspx I need quick report only for pages which has same name. like "pagename.html" in example. ...

Is there a HTTP cache suited for developing against API limited web services?

At some point I'm going to want to run my application against something like the real web service. The web service has an API call limit that I could see hitting. I considered serializing out some JSON files manually, but it seems like this would basically be caching the hard way. Is there a HTTP cache I could run on my local machine ...

Thinking Things Through - How do you use Documentation in Agile Projects?

I am building a very complex application and the scope is getting difficult to keep track of. I have read here and there that in Agile development, you don't want to get bogged down in documentation because the point is to have working software quickly, not lots of documentation. However, I really enjoy documenting everything I'm doing...

Columns of Equal Height with JQuery

Hello, Can we put JQuery to use to create columns of equal height? If yes, how? Thanks ...

web-browser based GUI

I am working on an application in Linux which will interfaces with hardware. One of the requirements is to create the GUI in Web-browser . the application will be c++ based. I m not familiar with web realted stuff so i want to know Is it possible to do such a thing (currently it's a console application take input from txt file/cmd line)....

How is memory used when calling a .NET assembly from an ASP.NET web application, and how it is related to bandwidth?

My web application needs to call a .NET assembly which seems to me that allocates "a lot" of memory for a web application (perhaps I'm wrong, that's why I'm asking). I already call this assembly from my desktop application and, with the help of Task Manager, I realize that it consumes about 60MB when it runs (it is fast though: it take...

What is the best way to share common logic between identical template-driven websites?

I've built a white label website in PHP that uses templates. Each white label will have it's own set of templates and possibly a few extra folders. All the white label sites are on the same LAMP server. What I would like to do is keep one centralised copy of the main code on the server and then have every site point to these files. Then...

why doesn't ie8 compatibility mode work?

a client's page that was built for ie7 was tagged using the compatibility mode meta tag, so that it rendered correctly on ie8 as well. this worked for a while. recently, testing the page reveals some severe issues, that are resolved only once the 'compatibility mode' button at the top of the browser is pressed. the tag is correct and is ...

Crossbrowser XmlDsig

I am building a web site where the user has to digitally sign a xml reciept to confirm that he recieved the package. I am currently doing this using a custom ActiveX control in IE. I was wondering if I could accomplish the same thing with/for other browsers. Is it even possible? ...

Accordion Search and HTML RadioButtons

Hi there, I have an ajax accordion in my web application. I have 2 HTML radio buttons; the first one is checked to show all the accordion header content,second one is to make a DIV block visible. Also the user can enter a text to search through Accordion headers, which is working fine. By default the DIV block is invisible, as soon as ...

Why would I need to save IPs of my web site users?

Should I save this information in the database? For example when users sign up or log in? ...

Image not showing in IE but is showing in Mozilla - Odd

Hi All, If you look at this link: http://www.internetworld.co.uk/g/2010/ExhibLogos/ExhibID_137_Graphic1.jpg. In IE8, it doesn't show. In Mozilla it does. I have no idea as to what would cause this issue as this is just a bog standard jpg. This is also happening for other companies other than ourselves on the same site. Can anyone shed ...

What are the advantages of using JSP? (java sever pages)

What are the advantages of using jsp over PHP or Ruby on rails? Thanks in advance;-) ...

Where do you go to find inspiration for website designs?

Starting from scratch is hard. How do you do it? I quite like color lovers for some palette ideas but after that I just browse randomly until I find soemthing that catches my eye. ...

How to connnect GridView DataSource over Webpart class?

i try to make myGridView Companent via using WebPArt you know it : using System.Web.UI.WebControls.WebParts; using System.Web.UI.WebControls; using System.Web.UI; namespace MyGridView { public class MyGridView : WebPart { GridView gv; protected override void CreateChildControls() { gv = n...

Should I use SSL on all web pages or just some account pages?

My user account and login pages are SSL, but the rest of my site is not. What bebnefit is there to switching between the two as I am doing vs making the whole site SSL? ...

How can I use a filter as a method in template toolkit?

I am trying to use the truncate filter on 2 variables (rsstitle and rssdescription), and assign the truncated version to a new variable (rsstitletrunc and rssdescriptiontrunc). I am relatively new to Template Toolkit, and dont understand why this code wont work (the SETs and IF/ELSE/END): [% FOREACH feed IN rss_feeds %] <div class="rss...

Compatibility with IIS and Apache -- PHP, Python, etc?

I'm currently planning out a web app that I want to host for people and allow them to host themselves on either Linux/Apache of IIS6 or IIS7 (for the benefits of bandwidth, directory services [login, etc.]). I see that PHP is supported on both platforms. I've heard people serving Django and Python in IIS using PyISAPIe. I'm not sure ab...