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.
53
votes
4answers
28k views
Are there any clear indicators that my sitemap file is beneficial?
I have recently created a sitemap.xml file and uploaded it to my Google Webmasters Tools account. Google didn't report any issues or errors with the uploaded sitemap of my site.
Now my question is:
...
21
votes
5answers
710 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
4answers
331 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
6answers
2k 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 ...
12
votes
4answers
2k 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
607 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?
10
votes
5answers
241 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
185 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 ...
10
votes
3answers
863 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 ...
10
votes
1answer
271 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 ...
9
votes
5answers
1k 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 ...
8
votes
3answers
163 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
415 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
3k views
Can anyone recommend a good SMS gateway for PHP?
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
8answers
9k 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 ...
7
votes
2answers
362 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
1answer
281 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
180 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
5answers
940 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 ...
6
votes
1answer
160 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
3answers
150 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
155 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
442 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
2k 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
825 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
462 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
188 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
234 views
PHP Gallery Script
I am searching for PHP Gallery Script with:
get images from folders
thumb resizer
no admin
no db
5
votes
3answers
291 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 ...
5
votes
3answers
236 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
5answers
646 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
4k 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
1k 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)
5
votes
2answers
128 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 ...
5
votes
1answer
451 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
2answers
457 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 ...
5
votes
2answers
120 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 ...
5
votes
2answers
145 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 ...
4
votes
3answers
3k 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 ...
4
votes
4answers
983 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
2answers
83 views
What measures should I take after I find one of my scripts being vulnerable?
I maintain a few PHP-based websites for a small company on a LAMP server. The scripts include CMS such as Joomla or Wordpress, as well as SilverStripe and Drupal installations.
A week ago, I found ...
4
votes
2answers
264 views
How to use the private and public keys?
I am new to ssl certificates, i wanted to learn about ssl certificates, and I generated private and public keys myself while logged into cpanel, I wonder how to use those and generate a secured ...
4
votes
2answers
182 views
Any chance to redirect homepage to a changing permalink without irritating search engines?
We have a php 5.3/Apache 2.2 based cartoon website that always shows the most current cartoon on the homepage (index.php).
Now, a lot of people want to link directly to that cartoon (by copying the ...
4
votes
4answers
103 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 ...
4
votes
6answers
303 views
Web Hosting Advice for Project [duplicate]
Possible Duplicate:
How to find web hosting that meets my requirements?
I am working on a project that will be released as open source in the latter part of the year. I am starting to think ...
4
votes
2answers
174 views
Number of page requests by any Bot in 5 secs
I am writing a script that will block any bot that requests page(s) for example X times in the past 5 secs. I need to find the X here. Do you guys know some approx values I can use?
4
votes
3answers
298 views
client website compromised, found a strange .php file. any ideas?
I do support work for a web development company and I found a suspicious file today on the website of one of our clients called "hope.php" which contained several ...
4
votes
5answers
506 views
Seo for collapsed text?
I have been tasked to make a pretty simple site which have to be SEO friendly.
Now, i was told that the articles should take minimal space when listed so i thought of a "read more" expandable plugin. ...
4
votes
2answers
408 views
Is there a simple shopping cart I can add to my existing website? [closed]
I created a website for my wife, who knits scarves. The site simply displays the 18 different colours she has created, with a Lightbox-like large photo available when clicked.
She would now like to ...
4
votes
1answer
822 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 ...
