Hey guys,
I am a designer, creating myself a portfolio. The idea of the portfolio is to lazy-load my work as the user scrolls, and they can use the thumbnails on the left to jump to a project (just using anchors).
My question: is there a way to have it so the thumbnails on the right are less opaque unless the user is looking at the par...
Hi, I have a piece of shareware that I wrote that I'd like to distribute on the internet. I have a serial number type thing set up but there is still a ton of key sharing :(. I'd like to add a system where once the user enters the serial, it is checked with my server to make sure that it is valid. Simplicity is key.
-Client sends MD5 o...
I am working currently on a web project where users can create image galleries and upload pictures. Optionally they can mark pictures as private so that nobody else can look at them.
Now i am not sure how to properly implement the protection mechanism. Of course i have some ideas but none of them seems to be optimal.
Here is one of my i...
Hi, I am searching for a PHP function that dynamically generates an XML file with data from a MySQL database. It should also update the database if the XML file is changed.
...
Regardless of the language or MVC framework used, how should I handle different views based on roles?
For example (pseudo code):
views/post/show:
<% show post here %>
if (role.isAdmin or role.isModerator) {
<% show moderation tools %>
}
<% show rest of content %>
I don't quite like the idea of putting too much business logic into...
I have built a drupal site that will contain over a 2500 nodes (real estate listings). I have a feeling that a standard shared webhost will not be sufficient but I really have no way to know. Neither do I know how many hits the site will get, but I expect search engine traffic to be more than humans!
The site itself isn't that complex b...
I have a website in Turkish language. I have the text in turkish and shows well in the editor. When i publish it and view it in the browser;
the term : müdürlügü
shows as : m�d�rl�g�
How can i avoid this?
Character encoding of the site is : UTF-8
...
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'dbuser1'@'localhost
This is probably something stupid, but I created some code to access my database from a PHP script but there was an error (dbuser1 doesn't exist) at the first run and now its stuck with the same error even if I change the username to anoth...
I have a JavaScript file highlight.js which highlights all strings within a given document class with a certain background color. eg.
$("div").highlight("the")
This highlights all occurrences of "the" within all divs with a yellow background.
I am writing a web application; which needs to open an link to an HTML page and automaticall...
I have learned extremely basic PHP(I think so) using Lynda Tutorial( http://bit.ly/aCIhiu ). After that, I feel, I got some grip on that language. My ambition is to become a web developer! After some googling, I planned to learn some more advanced and practical php by using websites like PHPSCripts, Webapps etc..
But, now I'm in a confu...
I have a site that gets most of it's traffic (like 90%) from users who are only looking for a login-button that will take them to a different site. This button is a customer requirement I'm not allowed to remove it.
This setup is currently an nightmare when it it comes to the statistics since we want them for all users who actually brow...
What's the difference between using the name of a directory and using it's name with a trailing dash (hello vs hello/). It seems to matter a lot in web development.
...
What is the design behind custom dynamically generated forms?
Would like to implement something like drupal's CCK.
In the control panel, the owner of the form designs what fields should be in the form and in what order the form fields should be in, as well as the field's attributes such as "required: yes/no"
Once the form has been de...
The upload form on http://www.example.com/ (a service that uploads to multiple online file hosting services) works really well; I was uploading a file and got disconnected partway through, but when I got back online the site resumed the transfer automatically. There doesn't appear to be any flash involved; does anyone know how it's done,...
I am designing a web app, which needs a payment model.
I am looking for a module similar to the one on skype (which is prepaid).
As in you can transfer some credit to your account and that amount will be pre-paid. After that you can use that amount for various stuff on the website.
Firstly, i would like to know if there are reusable or ...
I am a new user to stackoverflow and have realized it isn't too beginner friendly and I need to ask a lot of silly questions.
So, I imagine this question is more valuable than any of my others.
I am looking for GOOD web development forums, mainly php, but please do send over all your recommendations. But I am looking for certain criter...
In a local area network is lamp-server, on which the site is located. On the client computers (winXP, Ubuntu) network running opera / firefox (mode kioskmode).
Opera-kioskmode local_site.ru.dev
Is it possible to doing what any script / code local_site.ru.dev - access usb devices (flash drive, SD card and other drives) connected to ...
Hi all:
My usual way of working on web development is to split the project into three tiers, which are:
Data Tier - Accessing Relational Database of all sorts, based on requirements
Server Tier - providing services to client-side controller calls.
Client Tier - Rendering the view as well as loading the controller javascript.
Basi...
I want clear content by change event and save last cursor position
ed.onChange.add(function(ed, o) {
var newContent = o.content.replace(/SOMEREGEXP/ig, "");
ed.setContent(newContent);
//ed.selection.select(ed.getBody(), true);
//ed.selection.collapse(false);
});
How can this do?
...
I have a web-application (ASP.NET) and want to open another external webpage on another machine. I have to forward some information (variables) to that webpage, but they should not be part of the URL. So my question is, how can I achieve this without querystrings?
...