lamp

Asynchronous web upload

Can anyone recommend a free module that will let me create web forms that allow asynchronous file uploads? I want to be able to upload files on a website without doing a full page reload. The module must work with a LAMP web site. The module can be built in AJAX or Flash. Or is it better for me to create this module myself? ...

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...

Getting basic information when taking over administration of a server.

Hi all, This has happened to me a few times and I'd like to save time in the future when running into this situation. I often either help colleagues out with site deployments or web server configuration. Most times I find myself spending more than what I'd like figuring out: Which apache is running Which httpd.conf is being used Whic...

Using autotools for a LAMP application

I have a LAMP (Linux/Apache/MySQL/Php) application that I should release soon. Even if I've never used it, I'm thinking about using autotools for it, to make the configuration and installation process easier (for the customer and for me, in the future). Have you ever done (or thought) such a thing? Are there any drawbacks? Does it make...

create custom LAMP distribution like XAMPP

I wish to make a self contained LAMP distro software package from source with at least the following: * php must have mysqli, ldap and GD support * all required .so's must be included (like libpng needed by GD) (self contained) I managed to make one but i keep patching quirks to it, SO i thought to start from a wide-used one like XAM...

Compiling LAMP from source - apache2 error "no MPM package installed"

Hi, I've compiled LAMP from source on a Ubuntu VPS. I had to remove a previously installed version of Apache then I manually compiled all the packages, which seems to have worked up unto a point - when I try to run commands like "/etc/init.d/apache2 restart" I get the following error - No apache MPM package installed. I have deliberately...

How to efficiently store and serve lots of small images on the web site?

On my web site I want to serve user a page with a lot of small pictures on it, kind of like thumbnails in Windows. All pictures are files ranging in size from 1KB to over 300KB, but usually no bigger than 5KB. Currently all those images are located in a folder on the web server (linux+apache), but I don't think this is the best solution...

How to display my server's current response time to an average user

Sorry, I'm not really sure of the right way to ask this one so bear with me... We have a web application that runs on a set of servers at a data center (not in our offices) We want to be able to somehow 'advertise' to our clients/users that the availability or response time of our servers has met a standard throughout the day. I am bei...

How to run a WAM project in LAMP

I done my project in WAMP. Is it possible to run in LAMP also? I used the XML DOM for data storing instead of MYSQL. If it is possible what we have to do for run in LAMP. ...

When to choose LAMP over ASP.NET?

Hello. A friend wants to start a dating website, she wants me to help her. We still haven't discussed on what platform it'll be developed, but I'm thinking she'll suggest LAMP to save a buck (which is one reason already to chose over ASP.NET already). If the dating website does well, it'll potentially hold a large amount of data (I'm not...

web design question (php/ajax)

Hi guys... Hope this isn't a waste of your time. I'm working on a project, and it occured to me that there's a chunk of code out there, that should allow me to see how others have implemented this. I've got a project where I'm going to have a page, with a sel box. the user will select an item from the selList, and based on the item se...

Should I move client to Lamp or develop on Wamp?

I have never developed for WAMP, the hosting guy for my new client says they are using Windows servers, they can setup PHP and MySQL for me, but they cannot switch to a *nix server. He said there are some nuances from PHP on *nix Vs. win. So my question is, if I have never programmed PHP on win, should I go through the hassle of switch...

User upload file above web root with php

I have a website where local bands can have a profile page, I'm implementing an upload system so that they can add songs to their profile. I want to make sure that clever visitors to my website cannot download their songs. I was thinking about uploading them to above the folder for my domain so that they cannot be accessed directly. Is...

Testing + production server and syncing MySQL data

I have a web application running on LAMP with a testing server and a production server. Is there a standard practice for keeping the data on the testing server in sync with the production server? The data on the testing server gets out of date pretty quick and I feel like there must be an easier way than just dumping the production serve...

Using a .Net Workstation Program With a LAMP Server

Hi, I am currently working on a project for a company with a Ubuntu LAMP server set up. All the workstations are on Windows XP/Vista. What we are trying to do is create a program to track parts in our warehouse. Server side would be programmed in PHP. However, I was thinking about using C# on the workstation side. Is this possible? I...

Are we can't generate a truly Ms-Excel file under LAMP?

I am developing a project under LAMP, there is a situation to generate xls file from the system then it would be upload by users later. While uploading the document it's type is ODS , so it could not be parse by the system. What can i do to resolve this issue, kindly expect suggestions to you all. ...

What are some good web development blogs?

I'm just getting into some basic web development (just a personal homepage for now, but I have plans for bigger things once I know the basics). I find that blogs can be quite helpful in getting into the mindset of a particular activity, so I was wondering if anyone knew some good ones. I'm particularly looking for education blogs i.e. on...

how do i reach apache on a vitualbox machine

I am trying to run a virtual LAMP machine on my windows 7 for dev purposes. But i cant figure out how to reach the apache from the host windows 7 system. I did an ifconfig and tried the ipaddress, but to no avail. ...

How to delete a large cookie that causes Apache to 400

I've come across an issue where a web application has managed to create a cookie on the client, which, when submitted by the client to Apache, causes Apache to return the following: HTTP/1.1 400 Bad Request Date: Mon, 08 Mar 2010 21:21:21 GMT Server: Apache/2.2.3 (Red Hat) Content-Length: 7274 Connection: close Content-Type: text/html; ...

What type of penetration-testing tools are available for web applications

I am in late testing phase of my web application. The application will be tested at a larger scale now. During this time I want to test my website against various types of known penetration tools. I am aware that it will be better to let a professional handle this subject, and this will be happening. But before I take that route I wan...