PHP is a free server-side, general-purpose scripting language that is especially suited for web development. Originally PHP stood for Personal Home Page, now it stands for PHP: Hypertext Preprocessor.

learn more… | top users | synonyms

24
votes
5answers
1k views

Updating a web app without any downtime

It's a PHP app. How can I minimize the downtime while updating the entire codebase?
13
votes
6answers
3k views

Single V/s Multiple Databases

I've built this web app (php & mysql) which stores information for various organisations (about 20 clients currently). The current scenario stores client-related information in individual ...
13
votes
4answers
360 views

easy tool for creating XML sitemaps? (constantly expanding site)

Does anyone recommend either a php script that I can run as a CRON or somekind of thirdparty tool i can use to create sitemaps? My website is events bases and so the pages are pretty ...
12
votes
3answers
1k views

Can someone explain the true landscape of Rails vs PHP deployment, particularly within the context of Reseller-based web hosting (e.g., Hostgator)?

Currently, I have a reseller account with the company HostGator. I design websites, which up until now have occasionally been wrapped in Wordpress CMSs and the like (PHP applications). I then sell ...
12
votes
4answers
3k views

PHP based ad server ( alternative to OpenX )

I've used OpenX a few years ago and it worked fine. Now I see that it wasn't maintained for a while hence it became buggy on newer versions of PHP. Do you know any Ad server that is a good ...
11
votes
8answers
679 views

Strengths of various open-source PHP Content Management Systems? [duplicate]

Possible Duplicate: Which Content Management System (CMS) should I use? What are the strengths / weaknesses of the various PHP-based open source CMSes?
11
votes
1answer
389 views

When and when not to use a CDN

I'm working on a web-application that loads a couple of small gif images onto the screen. I'm using a relative path, which means they are loaded from the same web server that serves the php page. The ...
10
votes
5answers
324 views

How to verify that someone owns a website?

I'm trying to think of ways to, as securely as possible, verify that a user owns a website that they claim to own. Here are some ways I've seen: Upload an obscurely-named HTML file to the root ...
10
votes
4answers
192 views

Emailing all site users

I'm going to be emailing all of my site users to update them on recent developments and remind them to come back to the site. Are there any special precautions I should take. I was going to do this ...
9
votes
5answers
2k views

How can I prevent a power user from calling my ajax functions?

I have a site that uses ajax calls to perform a number of functions. They have the webbrowser call back to a script - ajax.php. Though I use post data to transmit the data and limit the commands ...
9
votes
8answers
16k views

Are there any large web sites written with Python/Django? [closed]

Looking at the list of sites created using django, it seems there are no major web sites that are written using the framework. Why is this? Is django not suited to scalable web sites, or is it in ...
8
votes
2answers
533 views

Best Free Web Statistics and Analytics Packages For Sites Using PHP & MySQL

I'm looking for a list of the best free web statistics and analytics packages for my site using PHP & MySQL?
8
votes
3answers
196 views

Is it worth it to change my entire user images file structure to take advantage of simple browser caching?

On one of my mobile sites, I simply store my user's profile images as '1.jpg' in their user folder, and incrementally go from there for any extra pics they upload. This means that whenever they change ...
8
votes
2answers
4k views

Can anyone recommend a good SMS gateway for PHP? [closed]

I'm looking for an SMS gateway that has the following criteria: Supports sending from short codes Opt-in capabilities for end-user (will require user to opt in before sending message) Has a clean ...
7
votes
2answers
980 views

Where to find PHP version usage stats?

My original question was: what percentage of sites are using php 5.4.x? (As it has some very interesting new features.) With secondary questions like how many of the cheap web hosting places have ...
7
votes
5answers
1k views

Open Source website backup tool suggestions

I'm looking for an Open Source website backup tool. I'm more interested in Open Source so I can make changes if need be and possibly contribute to the software. Automatic scheduled FTP backups ...
7
votes
1answer
111 views

Redirect users based on username (LDAP)

We have an apache 2.2 install with this config on an Ubuntu 12.04: cat /etc/apache2/sites-enabled/000-default <VirtualHost *:443> ServerAdmin webmaster@localhost DocumentRoot /var/www ...
7
votes
2answers
168 views

Separating static/uploaded content from the site

I have a site where I anticipate to have a large amount of users. I've heard that it is a good idea to separate user content (uploaded images) and place them on a separate static server where lighttpd ...
7
votes
1answer
363 views

Problem with .htaccess and mod_rewrite after moving site to new server

The site seems to draw the correct links but its not redirecting me to the correct view. The same code works fine on the old server here http://ruse.systemio.net/q&a/. The new server is here ...
7
votes
3answers
222 views

What resources are available to get an experienced .net developer up and running quickly with Wordpress/PHP development?

Specifically, what are the preferred development tools (free?) Are there any good tutorial sites that are up-to-date with the latest version of Wordpress Has anyone ever done Wordpress/PHP ...
6
votes
3answers
6k views

How to ignore certain coding standard errors in PHP CodeSniffer

We have a PHP 5 web application and we're currently evaluating PHP CodeSniffer in order to decide whether forcing code standards improves code quality without causing too much of a headache. If it ...
6
votes
3answers
331 views

Dedicated Hosting 101

I've been running small websites for years, but recently developed a site that is attracting more traffic than expected. My shared web hosting provider has warned me that this is causing a high load ...
6
votes
3answers
3k views

How to restart Apache without reseting users sessions?

User is logged-in a PHP website > I restart Apache > User needs to log-in again. How to prevent this? (I don't want user to need to log-in again)
6
votes
1answer
531 views

Security: Hide mysql connection details file

Ok, so I know this must be a very basic question, but my problem is the following: I have developed my first PHP mini-app (so I'm fairly new to this) and I am pretty sure that there are two files of ...
6
votes
2answers
2k views

How to use Python as a server language from a PHP perspective

I only know server side programming with PHP. To me, I write something into index.php and call http://localhost/index.php and see the results of the PHP script. I have been using CakePHP and ...
6
votes
3answers
165 views

Use Apache to prevent a PHP script from connecting to a specific domain

Is there a way to prevent apache from connecting to a specific domain e.g. somesite.com? I have a PHP script that trying to connect to specific host, and I would like to prevent that.
6
votes
2answers
850 views

How does a CDN work on the tech side?

I never used a CDN before so this is a noob question, but how does it work on the tech side. For example right now when a user uploads an image on my site it is uploaded to the "/uploads" folder at ...
6
votes
2answers
189 views

When to upgrade your web-hosting? Advantages of VPS?

Right now I'm using shared hosting from ixwebhosting. As I've developed more websites for clients and continue to receive more visitors each month I have experienced a lot of "lag" and slow load times ...
6
votes
6answers
953 views

ASP.NET, PHP, SQL Server, MySQL hosting provider for developer? [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I am looking to find a web hosting provider that provides ASP.NET and PHP hosting. The purpose is pretty much just a ...
6
votes
3answers
4k views

What are the pros and cons of running PHP as an Apache module or a FastCGI?

My VPS is giving me the option between running PHP as an Apache Module or a FastCGI. How should one make this decision? Performance? Security? Ease of use? Compatibility? I'm using PLESK.
6
votes
2answers
1k views

Alternative to Instant Form Pro

I was looking for a PHP form generator this morning and ran across "Instant Form Pro" by Joel Comm (http://www.instantformpro.com). It looks like it offers what I'm looking for (easy to use quick form ...
6
votes
2answers
646 views

What is the difference between JSP and PHP regarding hosting?

Is it easy to host a jsp website like PHP? Is the server open source like Apache? and What is the best server for jsp?
6
votes
1answer
209 views

Are send to a friend features in websites obselete?

Often I am asked to create send to a friend forms for websites where a user can enter a few of their friends email addresses to which a URL is forwarded via email. My question is now that we have so ...
6
votes
2answers
159 views

SEO/Architecture for multiple related websites

My question is two-fold, but first, a short background. I have a client that is a regional franchise for a service company and each physical site has its own domain and the main "corporate" physical ...
6
votes
0answers
269 views

PHP Gallery Script [closed]

I am searching for PHP Gallery Script with: get images from folders thumb resizer no admin no db
5
votes
3answers
10k views

How to check all installed in Magento extensions?

Where can I check all the installed Magento extensions in the admin panel?
5
votes
3answers
446 views

Printing Single Quotes from Database to Screen

I have the following string as a varchar field in a MySQL Database: I'm When I perform a query to extract the string and then print it to the screen using the PHP print command, I get: I�m ...
5
votes
6answers
1k views

Adding a Forum to my site: build one from scratch or use existing open-source platform?

Note: I posted this originally to stackoverflow.com, had it closed, and was told to post it on programmers.stackexchange.com. So I posted it on programmers.stackexhange.com, had it cloased, and was ...
5
votes
1answer
10k views

How to pass GET parameters to rewritten URL?

I have an .htaccess rewrite rule like this: RewriteCond %{SCRIPT_FILENME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^search/(.*)$ search.php?q=$1 What this does is, if someone visits ...
5
votes
3answers
849 views

Do I really need to remove special characters in a URL?

I have an FTP account shared with friends where we upload underground music albums and then we use the links to share the downloads in a music forum. The problem is that the album names are in french ...
5
votes
1answer
2k views

Why has Apache begun running a single process as root, and another as root and the wwwdata user?

I am running Apache Worker-MPM, PHP 5.3.2, and FCGID. Apache runs better than before, but I noticed that there is an apache process running as root and a second process that runs as both root and ...
5
votes
1answer
785 views

PHP URL Rewrite engine for small project

I use PHP. I want to setup a micro site as a prototype, where I can work with the frontend only, separated from any CMS. URL Rewrite I also want the URL rewrite to be correct, like ...
5
votes
3answers
131 views

How to optimise the url for search engines?

I have a php template which has one index.php and all the different pages (content1.html, content2.html, etc) are shown on the index.phppage. So for example I can open ...
5
votes
2answers
4k views

best way to import 500MB csv file into mysql database?

I have a 500MB csv file that needs to be imported into my mysql database. I've made a php file where i can upload the csv file and it analyses the fields n stuff and does the actual importing. but it ...
5
votes
3answers
370 views

Looking for a good server side shopping cart solution [duplicate]

Possible Duplicate: Which Ecommerce Script Should I Use? I'm working on a website that will be selling tickets and they will go fast. I need a server side solutions, in php if possible, ...
5
votes
2answers
1k views

Requesting advice for accepting large file uploads

I asked this question over at StackExchange but was advised to try here... I'm looking at building a web app that includes a file upload element. I'd like users to be able to upload files of any type ...
4
votes
6answers
2k views

How to tell Google that I have changed my website URLs?

I have done major updates to my website, and renamed all my URLs. How can I tell Google that I have renamed these URLs and let Google refresh its index? My website URL: http://www.pndmasr.com/ My ...
4
votes
6answers
615 views

SEO - which URL's are the best?

I'm using .htaccess with RewriteRule to create SEO-friendly URL's. However, I have a few questions about this: First of all, I noticed many websites end their URL's with .html (or another ...
4
votes
4answers
1k views

What version control options are available for PHP web development?

I have done some basic web programming in the past and wish to develop my skills further and begin doing large scale projects as a contractor. I have no experience with version control to this point ...
4
votes
3answers
8k views

How to create separate users in phpmyadmin, each one can't see others databases?

I am using phpmyadmin to control mysql on my server, now i want to create some users to access this admin tool, what i want is to make each user can create databases but can't see others databases. ...