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
5answers
5k views

Any good alternatives to MediaWiki for creating an 'intranet' type system?

I would like to install some form of intranet system to allow multiple users to add documentation to - MediaWiki would suffice, I just wondered if anyone knew of any better alternatives (must be PHP). ...
1
vote
1answer
68 views

Is it possible to install Piwik and send it fake data to test its features?

I found Piwik as a good open source solution for website analytics. Is it possible to run Piwik and see its features using fake data rather than a live site? Not only the demo version which is ...
1
vote
3answers
61 views
+100

Is it possible to A/B test web servers using a PHP redirect and sub domains without breaking all the SEO goodness?

We're trying to figure out if a certain type of web server architecture is better than our current web server. We need to A/B test these 2 boxes with live traffic to really get a sense of which one ...
0
votes
1answer
37 views

Can Instant WordPress be used on a network drive?

I'm trying to put a site that I've just built onto my companies internal server so that everyone at the company can see the site and give feedback. However, I tried to install both WAMP and Instant ...
1
vote
1answer
17 views

In httpd.conf why would you want AddType for phps?

We have an AddType as follows: AddType application/x-httpd-php-source .phps I was wondering what this was, and did some searching. It seems this is barely documented anywhere. Based on a hunch, I ...
3
votes
1answer
89 views

weird results from tests when trying to serve a fast image download page… why?

This is my php code. <?php ob_start(); echo file_get_contents("originalhighqualityphoto.jpg"); $dat=ob_get_contents(); ob_end_clean(); $dat=gzencode($dat,2); ...
3
votes
2answers
43 views

Internal server error when using base64 encoded icon on the home page

I have an "index.html" (or .php - it makes no difference) file in the root / of my hosting space. That "index.html" file has this line of code in it: <link rel="icon" ...
1
vote
1answer
71 views

WHMCS Bulk Pricing Updater

Their is a Bulk Pricing Updater addon in WHMCS which works well to update hosting accounts pricing but I am unable to update the domain pricing through that every time it gives this message ...
1
vote
2answers
43 views

Dynamically PHP-generated content and SEO

So I'm using a function in my functions.php file to add some text to all my posts. I was wondering if that will be used by Google when it indexes my website, and how that will affect my SEO ratings. ...
1
vote
1answer
101 views

Apache: keep track of non-404 errors (e.g., 403, 500, et al)

In cpanel I always have the error log open ("This function will display the last 300 errors for your site.") which is nice for 404's but what about the rest? I'm working on a few things in htaccess, ...
1
vote
1answer
59 views

How to Remove wpmp_switcher strings from Blog URLs

I was using WordPress mobile pack plugin which i have already uninstalled but there are too many URLs are indexed in Google with ?wpmp_switcher=desktop parameter. How can i fixed and no index kind of ...
1
vote
2answers
37 views

Why does Google Analytics report that I have traffic at a calculator.php URL for my blog?

I frequently see this URL having traffic via Google Analytics although I don't have any page and with that strucuter either. URL - ...
1
vote
1answer
280 views

Saving a Google API-generated dynamic map to a static image

I have a series of coordinates data which I plot onto an API-generated heatmap visualization using Google Maps API. The data changes daily, and I'd like to capture the heatmap and save it as a PNG or ...
0
votes
2answers
4k views

Dynamic content in Joomla - Embedding PHP in Joomla articles

Preface: I recently inherited a website project that my employer had summer interns create. Being non-technical types, they opted for Joomla CMS to create the content. They also opted to make all of ...
1
vote
1answer
52 views

How to set permissions for DooPHP?

I have downloaded and installed DooPHP according the Installation instructions. However, there is no statement on how to set permissions. Also not in INSTALL.TXT which comes with the product. The ...
2
votes
0answers
23 views

When and how do I remove temporary files on server left from abandoned forms?

I have a form on my site to submit posts, it features multiple file upload tool (Mini Ajax File Upload Form) which submits files to server as they are added (before actual post submission) and server ...
0
votes
4answers
956 views

PHP include drop down navigation

I have a php document and am using include to include my drop down navigation. The navigation is an external html with external js and css elements. Code is: <div id="nagivation"> <?php ...
2
votes
3answers
304 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 ...
1
vote
1answer
184 views

Is there any way to prevent the Google toolbar from breaking Friendly 404s

This might be considered a continuation of this question. If I output HTML after my 404 header, It displays properly in IE and FF unless the user has Google bar instaled. If I try header('HTTP/1.x ...
4
votes
3answers
73 views

PHP 5.6.6 loading but not interpreting in Apache2.4 64 bit Windows

I have installed Apache 2.4.12 (Win64) VC11 from Apache Lounge. Typing httpd -M tells me that php5_module is loaded and shared. I have PHP 5.6.6 win32 VC11 Thread Safe installed. The Apache server ...
0
votes
3answers
33 views

Add rel=nofollow to all links in rss feed

i wish to add a rel=nofollow in all links from an rss feed, including links in item description $rss = new DOMDocument(); $rss->load($xml); $feed = array(); foreach ...
2
votes
1answer
82 views

Passing Arabic values in parameters results in % spaces

I have built an .htaccess clean URL, this part works perfect in my .htaccess: RewriteCond %{THE_REQUEST} /road.php\s [NC] RewriteRule . نقفورالثانيفوكاس/ [R=301,L] RewriteRule ^نقفورالثانيفوكاس/$ ...
2
votes
4answers
247 views

WordPress keeps redirecting my users to install.php, Is it caused by an injection hack?

I don't really know how to express my problem, so bear with me. This is a bit hard to explain. I have a Wordpress installation, the latest, and often (once a day) my site redirects users to the ...
0
votes
0answers
19 views

Activation email from website could not be sent to outlook

On my website, I send an automated email using libmail.php for new sign-ups. The user puts in their email address and they are sent an email to activate their account. This usually works for ...
0
votes
1answer
29 views

Enabling URL rewriting for API

I'm new to configuring API web servers and I'm trying to enable URL rewriting for the server so that a user can go to my public DNS.com/getAlbum to access a method within my api.php file (assumption, ...
1
vote
0answers
35 views

How to avoid html tags in google search summary

I am using ckeditor to let people describe their organization with all the styles and fonts. So when it saves in the database its like < gets saved as &gt and rest all you know for the html ...
2
votes
2answers
634 views

PHP Image Gallery without javascript [closed]

I am looking for a simple PHP gallery with the following characteristics: Pure PHP HTML CSS SQL Excludes JavaScript Handle Subcategories Easily customizable I have tried to search, but I find ...
1
vote
1answer
26 views

Is Image Spriting for Articles Images a good solution?

I am starting an online portal and I calculated that I need about 102 Images (based on the amount of articles), the problem is I want to keep the whole page below 800KB (Including all assets). I want ...
1
vote
2answers
86 views

SEO effects of intermix of WP blog, custom PHP site and FB app game

We're a melbourne tech company in the process of building a custom site in PHP. We plan to launch a "pre-launch" page which is also custom coded (CSS3 on twitter bootstrap framework + HTML5 front end ...
2
votes
1answer
2k views

How do I make SEO friendly URLs from my PHP pages?

I'm pretty new to this and was wondering how to turn my site URLs into SEO friendly URLs using .htaccess and mod_rewrite? My URLs take the form mydomain.com/index.php?pid=1&pagename=Some Page I ...
3
votes
3answers
4k views

Physical memory usage issues with WordPress plugins

Occasionally, my website that's hosted with GoDaddy is crashing due to physical memory overload. My host told me that PHP processes are overloading the server, and to try to find out which WordPress ...
2
votes
1answer
44 views

PHP Dom Extension - Can I disable it

Can I disable the PHP Dom Extension temporarily (for debug reasons), without having to reinstall / recompile PHP? I want to install the module and I'm looking for a way to temporarily turn it off, so ...
0
votes
0answers
8 views

best free php package or free service to put a blog on my company's website? [duplicate]

I can't find the answer in the archives, so I'm sorry if I'm duplicating. I'm looking for either a good free php package or a free website that will give me a nicely formatted blog for my company ...
2
votes
1answer
94 views

How to remove php extension from pages except search results?

Using htaccess I have these php rules: <IfModule mod_rewrite.c> Options +FollowSymLinks -MultiViews # Turn mod_rewrite on RewriteEngine On RewriteBase / ## don't touch /forum URIs RewriteRule ...
2
votes
1answer
51 views

Wordpress plugin not working after moving domains - I get this error message

I have moved a wodpress website to a new domain with a new host. The website looks, fine and most of the wp-admin area works just fine too. However, certain pages on the admin area don't display and ...
1
vote
4answers
2k views

Digital Asset Management System [closed]

I am looking for an opensource web-based digital asset management system. My requirements are to create a web based system where users can upload and download .zip, .jpg, .png, .pdf, .doc, .xls etc. ...
0
votes
1answer
945 views

Free movie website scripts [closed]

Is there any free "movie website" script/code in PHP? I don't want video sharing ones like this: http://www.phpmotion.com/ I just want something to manage and display a database of movies. Like ...
3
votes
2answers
145 views

“PHP” is showing up in Browser + OS list in Google Analytics report

PHP is listed as a browser in Google Analytics. 50 sessions have been created. Obviously Analytics data is collected via Javascript executed in the visitor's browser so what is PHP (a server-side ...
2
votes
8answers
630 views

What should the Unix file system permissions be for PHP files under Apache?

What is the best practice for permissions with PHP files? When should they be writable, or executable? What owner is best? I'm using an Apache server.
4
votes
2answers
12k 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. ...
1
vote
1answer
125 views

php5-fpm ping and status pages error out? LimitInternalRecursion error?

Not sure if I'm out of bounds here, but I originally posted this on ask Ubuntu here I have php5-fpm running just fine. My entire site is running as expected, almost no issues. However, I am unable to ...
3
votes
2answers
350 views

How do I get a better PHP version to work with Plesk?

I've had an issue for quite a while now that I don't know how to fix. I'm running a VPS with Ubuntu 12.04 LTS, it has the latest version of Plesk (12.0.18 Update #34). Annoyingly, it only has PHP ...
2
votes
1answer
625 views

Chat like chat.meta.stackoverflow.com in my website [closed]

How can I create a chat room like http://chat.meta.stackoverflow.com/ in my PHP website? I am looking for a free solution. Please help...
2
votes
1answer
54 views

Dreamhost Shared Hosting - Increase post_max_size

I am using Dreamhost shared hosting running PHP 5.4 and I am trying to increase the file upload limit to 1 GB. I try to achieve that by using .user.ini and putting the following: upload_max_filesize ...
3
votes
2answers
126 views

Why should we keep the copyright year on websites static?

Not a major issues, just a small thing that bugs me. In so many websites and applications, when scrolling down to the footer, you see the year and it's not the present year (2015). Why not ...
7
votes
2answers
1k views

Make Google index over 90,000 user profiles

I have a large amount of user profiles hosted in this schema https://example.com/stats.php?player=name (It's not the prettiest URL, but .htaccess dramatically slows down my site and I don't understand ...
4
votes
1answer
61 views

What is 'hitnodes.php' on a GoDaddy shared hosting server?

At my company, our website is hosted with GoDaddy's shared hosting service. I was tidying up the html folder today and noticed a file called hitnodes.php which I hadn't noticed before. It was only 16 ...
0
votes
1answer
92 views

Could Google detect Cloaking if I displayed content to Google user agent using PHP

PHP is server side and all Googlebot would see is the output HTML, right? if (strpos($_SERVER[‘HTTP_USER_AGENT’],"Googlebot")) { // do some functionality }
1
vote
2answers
36 views

Would the same template page that loads different posts be considered duplicate content?

I'm creating a portfolio site where I have a set of links on the home page and each link calls its respective post via Ajax. When a post is called, a hidden div gets populated with the response and ...
3
votes
1answer
181 views

Receiving error 500 for WordPress when using CloudFlare as a CDN

My WordPress site is using CloudFlare as a CDN, and if I use the site's IP address to access wordpress/wp-admin/install.php directly, it works fine. However, when I try to call ...