I'm working on my first website using php. I came up with a good way, or so I thought, to deal with including the css sheet depending on where I am. For example, I have a form that I submit to with this code:
$root = '../';
function died($error)
{
include '../includes/header.php';
echo "We are very sorry, but there were erro...
In a web application, if the user forgets his password, its fairly common practice to send an email to the user with a temporary link or password that expires after a given amount of time. Most of the posts I read on SO suggested expiring the link after 24 to 72 hours, but it seems to me that it would really only be needed for about 10 ...
how to generate embd code/blgger like widget with CodeIgniter? please give me the idea how to make
...
Hello,
I have been given a new task from the client which is basically creating a CMS for actors/singers and the like that client will be selling out to them.
It will basically be a package and would work out-of-box pretty much similar to WordPress, you just hand over to whoever buys it but of course this is not going to be a blogging ...
Question in title, but I'll elaborate.
Say I have a form on a non-secure page, but I don't want the data that the user is posting to my web server to make sense to anyone who might intercept it. Do I need to serve the form securely or simply post the form to a secure URL?
...
I am not sure if what I want is possible, but it worth a try to ask. Let say, I have 2 pages: List.jsf and CreateNew.jsf. List.jsf display data from datasource as <p:dataTable>. CreateNew.jsf insert a new entry into the datasource. What I want is from CreateNew.jsf, when I click create, it create a new entry in a database, then return ba...
Hey guys,
As a web developer it's always nice to be knowledgeable about upcoming web trends and tech, but currently I am very limited to what I hear about through friends and at work. Where are some places you go to find out about bleeding edge web stuff?
Examples might be things like:
Non-Relational Databasing
Augmented Reality
...
There are about as many questions on this site about Java web application frameworks as there are frameworks themselves, but I'll try to make this question as specific as possible.
I'm developing web applications to mirror my company's Java applications. (Unfortunately, they don't have pure presenter layers so I can't just make another ...
I'm creating a page that has some dynamically generated images built from data that comes from web services. The image generation takes a fair amount of time due to the time involved in hitting the web services, so I need to do some caching.
One option would be to use the OutputCache parameter to cache the images, but I don't like forci...
Hi!
I have a div that is the body of my site, inside that div I put a div on the left side (to have a vertical menu)
http://www.freeimagehosting.net/uploads/117f79fa0e.png
http://www.freeimagehosting.net/uploads/4569a5f550.jpg
My question is, how can I make the menu div follow up to the bottom of the body div so that it doesn't look ...
Basically, I want to mix in Java and Web (JavaScript, CSS, HTML, PHP, .NET, etc..) into one. So what is the best IDE for that?
Since I'm a huge fan of Eclipse, I'd like to move from Dreamweaver to Eclipse for my Web Development. I love using Eclipse for Java development but I want to be able to maintain the functionality of Dreamweaver ...
Hi!
I have a side bar menu composed of ul->li->a, styled with css to look as a vertical menu on the left side.
I just noticed that when I choose an option a thin grew dotted line surrounds the box(button of the menu) that I selected. To me this looks "wrong", is there a way to prevent this from being visible?
Thanks!
...
In past years I have learned the most important languages for web development (CSS, HTML, JS, PHP) and I can create good-structured sites.
But an important part of web design is the images used for buttons, backgrounds, text, gradients... Also the main logo is a very important element in the layout of a website.
However, I dont know...
I'm deciding between LAMP and Google App Engine with Python. Mainly this is an educational experience so I'm weighing the potential ease/quickness of developing on App Engine against the value in learning LAMP from the get go (and not being locked into the App Engine way of doing things
...
Hi there,
I have a gridview, getting data from sql server, there is an Edit link to get the detailed information for example, for a user from database.
this link open a new page with detailed information and when I click the updated button,I want to go back to the same page with that users informaton.
I set the page size to 10, it mea...
What is the best way to use F# in a web development situation in order to make the most of the language? E.g. on its own with something like the Websharper framework, or together with C# and design tools, or otherwise.
...
"Web pages are becoming increasingly
complex with more scripts, style
sheets, images, and Flash on them. A
first-time visit to a page may require
several HTTP requests to load all the
components. By using Expires headers
these components become cacheable,
which avoids unnecessary HTTP requests
on subsequent page views....
I have a jsp code like this
<html:option value="${apealstaList.appealStatusMasterId}" disabled="true">${apealstaList.appealStatusDescription}</html:option>
This disable the options and it works fine in IE8 and not working in the lower versions like IE7 and IE6. Please help me in this issue.
EDIT
Please share If there are any other a...
Hello
I need to generate a report with java (exporting data from oracle) that can take several minutes, by the amount of data involved, so when I submit my form the screen freezes until it ends.
How can I generate the report in a background process, so that the user can continue browsing?
JMS? How can i do this with JMS? (Any example ...
Greetings, all! I have hit a bit of a brick wall and was hoping that I could get some help. I'm trying to write a site that people can access with IE6+ that will allow them to click a link that will open a piece of software on their desktop (the run/save dialog is OK) that also contains variables. Thoughts, ideas? It should look some...