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
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
333 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
215 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
110 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
580 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
510 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
252 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
317 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
1answer
100 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
122 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
942 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
289 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
293 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
0answers
23 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
1answer
63 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
99 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
15 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
385 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
198 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
2answers
630 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
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
214 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
118 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
605 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 ...
1
vote
1answer
202 views

Redirection with PHP or .htaccess - which is better for SEO?

I need one practical advice - is better to redirect with .htaccess Redirect 301 rules, or to use PHP header function (after parsing URL)? Which one is better to Google and SEO? Tnx in adv!
1
vote
2answers
368 views

Do Not Track feature of IE10

One of our clients is getting a bit worried about the new "Do Not Track" feature of Internet Explorer 10. Her site is heavily dependent on php sessions (as I imagine many other sites are). This was ...
1
vote
3answers
274 views

Checking if email addresses are valid

The host of the site I'm working on tends to shut off email if a certain number of fails take place. Needless to say this is a bit of a pain even if it's justified to fight spam. Is there a way to ...
1
vote
3answers
934 views

Best CMS for university/college?

Is there CMS for university or college.for these services(Register Collegian,Course Unit Selection,Exam Results,...).With PHP support! Tnx.
1
vote
3answers
765 views

How to suppress PHPSESSID in URL for Googlebot?

I use cookie based sessions, and they work for normal interaction with our site. However, when Googlebot comes crawling our PHP framework, Yii, needs to append ?PHPSESSID to each URL, which doesn't ...
1
vote
2answers
828 views

Most standard / Best way to keep the same top menu among different web pages?

What's the standard way to keep the same menu on top among different web pages without having to duplicate it on each page (I don't mean that it doesn't reload like when using frames and only loading ...
1
vote
2answers
84 views

HTML: Images always getting reloaded from server

I am finding that my web pages' images are always getting loaded from my server, even though they never change. Since these are images, not pages, I can't include an expiration date for them... How ...
1
vote
4answers
534 views

Setting up a LAMP VM server for Development and Testing?

Info: I would like to set up a VM server on my local computer which will serve pages in the exact same way as my current hosting (but only to me on my local computer). I currently pay a big web ...
1
vote
3answers
722 views

How to check if someone is using my website resources?

How can I check whether someone is using the resources hosted on my website? I have a website (coded in PHP) and I have uploaded a few images there. I want to know who is using those images on other ...
1
vote
2answers
7k views

NginX redirect to PHP file if image does not exist on file server

This is what I am trying to do. I am not familiar with Nginx enough to create custom rewrite rules like you can with Apache. It would be greatly appreciated if someone could help me with the Nginx ...
1
vote
2answers
323 views

“Cannot modify header information” error in my PHP/WordPress site

I edited the header.php and functions.php files in my WordPress site to add Google Analytics tracking code. Now, when I try to login to my admin area, the following warning appears and I am unable to ...
1
vote
3answers
3k views

import.php parameter missing?

Whenever I try to delete or update any of my tables in phpMyAdmin I receive the following error: 1.import.php: Missing parameter: import_type. 2.tbl-alter.php missing parameters:field I have ...
1
vote
3answers
213 views

Are there any security considerations if users are allowed to upload flash files

Lets say I have a website where users are allowed to upload files which will be displayed publicly as a portfolio gallery. For example, users might upload screenshots of a website they designed, or a ...
1
vote
7answers
243 views

Things to consider while choosing a web hosting service? [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? Also does the country matter?
1
vote
3answers
145 views

Database of websites for a search engine

I'm planning to make a search engine, so I've downloaded this script. It works well, but I have to add a list of websites manually in a php file for the search engine to index. Is there any kind of ...
1
vote
3answers
765 views

Why isn't my PHP file running?

I recently installed Apache and later installed PHP too. When I browse to http://localhost/index.html it displays the default Apache page "it works". But when i try to run ...