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

2
votes
3answers
233 views

PHP website template and response time

I have a website with static HTML files on a VPS server. The site's response time is very fast and was built with a FrontPage template, so every template change updates all the HTML files and ...
2
votes
1answer
60 views

Handling the holding of money on a platform

We are building a platform for a client, developed in Yii, where users can top up their account on the platform with money from PayPal. Users can upload files and buy access to each other's files. ...
2
votes
1answer
279 views

Trouble with images in phppgAdmin on my Nginx VPS

this is my first time using Nginx or phppgAdmin, and after placing the phppgadmin folder into my public_html folder I find that the resources for the phppgadmin page are broken, images and css ...
2
votes
1answer
509 views

Webmatrix fails to connect PHP website to MySQL

I downloaded the latest versions of Webmatrix and MySQL. I downloaded a PHP-MySQL Connector: http://dev.mysql.com/downloads/connector/php-mysqlnd/ In the "Databases" Workspace I pressed "New ...
2
votes
2answers
398 views

Help with URL Rewrite

I have a page that selects some info from a database and displays it with a link to a second page that uses the result to query the database, something like this: $sel=mysql_query("select id, title ...
2
votes
2answers
734 views

php+mysql account management software?

I need an account system added to my website as a plugin to all of my HTML pages. The account system plugin needs to,register new users, log in current users, remove users who want to disconnect ...
2
votes
1answer
177 views

PHP accessible shared content between two websites on the same VPS on different domains/IPs

I have two ecommerce websites, selling music digital downloads, on the same VPS, currently using cPanel/WHM (but thinking of switching to Virtualmin). They have separate domains and IPs of course. ...
2
votes
1answer
301 views

Problem upgrading Mediawiki 1.5.8 to Mediawiki 1.19 (libxml2 inadequate on server)

I have a wiki set up on my local development environment. The wiki runs on Mediawiki 1.5.8, but I'm trying to upgrade it to run on Mediawiki 1.19. When I run the update.php script I get the following ...
2
votes
1answer
1k views

Server Error after trying to update the functions.php [closed]

I recently tried to change the logo on Genesis themed WordPress site using this tutorial: http://anewtab.com/add-logo-genesis-theme I added add_theme_support( 'genesis-custom-header', array( ...
2
votes
1answer
204 views

Server outputs the sourcecode of PHP page

I have a Shared Hosting package with HostGator. In it, I'm hosting around 4 websites. They are just some simple sites that doesn't likely to attract more visitors. But a few days ago, when I accessed ...
2
votes
1answer
498 views

htaccess preventing sqlite database being downloaded

I have a VPS, running apache2 on Debian 6. Created a file called .htaccess on the web root, which included: <Files ~ "\.db$"> Order allow,deny Deny from all </Files> ...
2
votes
1answer
111 views

Joomla: Cross site link boxes

I am currently evaluating Joomla for use on the the rebuild of our corporate website. One of the features our designs have is spaces for what we've been calling widgets. These widgets include common ...
2
votes
2answers
2k views

why is my site slower with amazons cdn?

so I have move most of the static objects to amazons Cloudfront CDN example: http://images.storyfollower.com/images/cycleOfStories.jpg which through cname point to the cdn Now I just ran a speed ...
2
votes
2answers
114 views

Spambots looking for phpmyadmin and more

I inherited a couple of sites that send the webmaster an email with each 404 error. I get a smattering of errors each day, but there are times when I'll get dozens, even hundreds, of errors from these ...
2
votes
3answers
4k views

.htaccess mod_rewrite 500 internal server error

Whenever I place my .htaccess file in my web directory I receive a 500 internal server error and within the error.log file specifying: [Sat Jan 21 13:46:07 2012] [error] [client xx.xx.xxx.xx] Request ...
2
votes
1answer
374 views

Status Dashboard

I know this question has probably been asked so many times before, but I can't find anything helpful out in the wide world. I'm looking for a status dashboard for my company's websites, that I can ...
2
votes
1answer
78 views

Generic updater for php-applications and other webapps

I administer a few servers, on some of which are a lot of users which happily deploy mediawikis and oder php-applications. This gives me headaches since there are often old versions of them lying ...
2
votes
2answers
65 views

Strange issue with Wordpress sites, is it PHP Memory?

This has happened to me twice with the same host and I want to know the real cause. I have multiple wordpress sites hosted on a shared server. One day when I attempt to visit any of the sites, the ...
2
votes
1answer
220 views

Put files outside of directory, so none can access it (Apache, PHP, MySQL)

I have a file structure like this: public/admin public/some folder includes/ I set up a sub-domain page.mysite.com and I pointed the directory to be mysite.com/page/public/admin. I thought that ...
2
votes
1answer
112 views

Recommendations for Setup of Test Environment

We host several sites on a Cloud server. It constantly seems to be getting picked up by Google, but our clients need to be able to access there in progress builds to add content. This brings with it ...
2
votes
1answer
610 views

Magento - Unable to access remote site but able to access a simple index.html file

I'm building a store (magento 1.6.0.0-rc2) and have a home server to host the site. It is behind a modem/router with redirection of port 80 and 3000 active to server box. 1. I can access the ...
2
votes
2answers
516 views

PHP Development Environment (Host: Windows 7, Guest: Ubuntu)

Since editing files live from a remote server slows down development. I use XAMPP on windows to develop then run the web app's on a Linux server. However to avoid environment dependencies I'd like to ...
2
votes
1answer
259 views

Open-source, PHP, DB-free SCM for brochure site?

A friend of mine is an architect starting her own business, and needs to build a basic brochure site to promote herself. The site will simply include a few articles and pictures of projects she worked ...
2
votes
1answer
1k views

Enable mod_rewrite on OpenSuSE 11.04

I have a problem on OpenSuSE 11.04. I configured apache and enabled mod_rewrite but it doesn't working. on every php file I get 403 forbidden error.
2
votes
3answers
329 views

Hacker Crawler inserting iframe into ftp file

Somehow, a "hacker crawler" is constantly inserting a harmful iframe-line into one of my files: It's done automatically, and not by a person, I assume. I've changed all my passwords several times ...
2
votes
2answers
646 views

I am 16 and want to learn how to develop websites (complex sites with video and members).. what language do you suggest I learn? [closed]

I am trying to get into programming for web development and PHP seems like a good language to use for that. I want to make complex sites with videos and member logins like a YouTube. I didn't know ...
2
votes
1answer
101 views

Issues trying to run PHP4 alongside PHP5

I’m trying to get PHP4 running under CGI alongside PHP5 as a module in Apache. Long story short, I have some legacy applications that aren’t running under PHP5 and they would take a while to rewrite, ...
2
votes
1answer
125 views

Caching preventing users seeing site updates

I'm experiencing a caching issue I can't explain. This is happening across browsers, IPs and ISPs. If a user force-refreshes, they see the new content. If they then refresh or return to the page, the ...
2
votes
1answer
970 views

How to Edit Simple Flat CSV Text Files Online?

For a new website a team of translators will be editing each their own comma separated text files, files like de.txt fr.txt cn.txt etc. All such files reside in one and the same directory. Each file ...
2
votes
1answer
294 views

Safe directory for cron job PHP scripts

I have a website which I run a PHP script for updating its Database. What is considered to be an acceptable location on the server to store such scripts? Obviously only the root (running a cronjob to ...
2
votes
1answer
95 views

file need to go through a php page using .htaccess

I'm looking for a way to convert this type of url : h11p://www.mywebsite.com/dl/F5EGD6 Into h11p://www.mywebsie.com/dl/files/my_file.zip sing a PHP page to request the URL from the DB with F5EGD6. I ...
2
votes
1answer
171 views

show content on domain.com from a sub directory

I have a domain that looks like domain.com on the server files look like: <www> <mydirectory> <otherstuff> <asubdomain> index.html .htaccess ok, so when you open the ...
2
votes
2answers
301 views

Mod Rewrite not working on my addon domain

have a wordpress website on my main domain For the wordpress website i have this in my .htaccess file # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond ...
2
votes
1answer
31 views

cPanel PHP open_basedir warning to root directory - Any solution?

I am currently hosting a simple multi-tenancy service on cPanel shared hosting, where customers who signed up will have a subdomain, directory and a database dynamically assigned to them (via XMLAPI): ...
2
votes
0answers
24 views

Store a formula in a table and use the formula in a javascript/PHP function [closed]

I have a MySql database where part of it handles instrument's depth of water. Each instrument has its own formula of calculation how depth the water when the operator collect the reading I stored the ...
2
votes
0answers
91 views

How to find out what is causing “Entry Process” limit?

We're using an OpenCart 1.5.5.1 custom theme for our site. Well it hasn't been smooth sailing for us and we are facing problem after problem. So far the gist of it is we're currently on a business ...
2
votes
1answer
67 views

Will echoing content from a simple XML loaded with PHP cause the page to show up in search results (SEO)?

I want to know if I'm using PHP right to create search friendly content. I'd like my images to start showing up in Google for my website, so I'm passing an RSS feed to PHP file using the ...
2
votes
0answers
59 views

Good security practice for writing a php/mysql web app [closed]

I'm about to create a web app that is php/mysql based. It should contain multiple users and two levels of admin accounts. It will most likely not be very likely to be attacked in any way. Still I am ...
2
votes
0answers
100 views

How many connection can my website have? [closed]

As the traffic increased my website hangs quite regularly. The page visit is now averaging 50k per day. The static page loads fine, but when the page has mysql request it takes too much time to ...
2
votes
0answers
16 views

Hosting advice for a write-heavy dynamic website [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I have built a website using PHP and MySQL and now I am looking for a hosting service. I am expecting about a 1000 ...
2
votes
0answers
402 views

Problem with missing JSON functions on PHP 5.2.6 / Plesk 8.4

I have a vserver running openSuse 10.3, Apache 2 and Plesk 8.4. I can update/upgrade neither, as it is apparently not recommended to upgrade openSuse 10.3 (and an update to the EOL 10.4 does not seem ...
2
votes
3answers
2k views

How to download an MP3 or ZIP file onto mobile devices [closed]

I want to be able to download digital goods to smartphone users (music in format .mp3 or .zip). But iPhone and iPad do not allow direct forced downloads. How can I provide mobile users with digital ...
2
votes
1answer
2k views

All Wordpress PHP Mail stuff being sent to spam

Every mail sent with the PHP Mail() is getting sent straight to spam (all providers e.g. gmail, yahoo, hotmail) My IP is not blacklisted. Here is an example of an email header that got sent to spam: ...
2
votes
1answer
200 views

How to fix page lag on load [closed]

I have a problem with my website, when you load the index page , the headers load fine but the main content appear with a delay between each photos. The error is only on the index because there is ...
2
votes
3answers
293 views

Mod Rewrite question

Is there a way to rewrite http://localhost/embed/player.swf?file=http://www.youtube.com/watch?v=7yKDhm4_-90 to something smaller? or is there a way to change this into ...
2
votes
2answers
222 views

Why does PHP create these log entries on every page access?

My server's error log (in cPanel) has an entry for every single time a PHP page is loaded that looks like this (where 'username' has been substituted for my actual username): [2012-06-09 09:02:07]: ...
1
vote
2answers
119 views

Will PHP Meta hurt SEO?

If I use PHP to place my meta tags such as keywords and descriptions will that hurt SEO? Will the bots not be able to crawl through the keywords and descriptions?
1
vote
3answers
634 views

seo and php get variables

I'm building my own blogging system for my own website. If all I preload them using php get variables, will Google recognize and index them as different pages or do I need to do something in addition ...
1
vote
6answers
4k views

SEO .html, .php or nothing [duplicate]

Possible Duplicate: Should I use a file extension or not? Hi Guys, When I make a site, should I use the .php extension, rewrite it to .html or just remove it (.htaccess)? What's your ...
1
vote
4answers
120 views

best way of updating website files quickly

I was wondering if there is a better way of updating my website's content. Right now, I make it in a text editor, and then test it on the localhost. When I am happy with the code, I save the files and ...