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

0
votes
0answers
15 views

Java vs PHP for heavy math and logic [on hold]

I am developing an engineering / product selection type website and need to choose a server side language for all the calculations and to read/write to a MySQL database. There will be a lot of math ...
0
votes
1answer
29 views

What technologies do i need to learn to make a blog? [on hold]

I am making my first website which will be my personal blog. My main purpose to make this is to learn website development. I know a fair amount of HTML, CSS and JavaScript. I understand these are all ...
0
votes
0answers
14 views

Database relations with php [on hold]

Im wondering for a longer while, I am using phpmyadmin which is mysql. I create there a database add tables etc, but is there any reasonable reason to make relations inner phpmyadmin? since while php ...
0
votes
0answers
10 views

Use PHP to get Apache2 error code [on hold]

I'm making a PHP error page and I was wondering if there would be any way I could get the error code that resulted in the error and display it. Then, I could just use the same but have PHP display a ...
-2
votes
0answers
8 views

posting data from txt file array to web page [on hold]

my data.txt file reads... word1,word2,word3,word4,word5....and so on. what i want to do is extract say word6 and place only that piece of information on my web page in a specific spot & at the ...
0
votes
0answers
11 views

500 internal server error after deleting site URL in Wordpress [closed]

I'm getting a 500 internal server error whenever I try to load up my website. I made a mistake earlier when I was using Wordpress. I accidentally put an incorrect URL for my site in the in the admin ...
-2
votes
1answer
19 views

[PHP]Parse Error [closed]

I am using this code: <?php $pid=$_GET["pid"]; $pname=$_GET["pname"]; $pnamecheck=array("test") if ($pname == $pnamecheck[$pid]) { echo "You are using a Licenced Version of Program." } else { ...
5
votes
3answers
91 views

How do i make it difficult for users to make multiple accounts

I'm creating a website for my business and I want to offer free first deliveries for the first week but I'm afraid people will take advantage of that. I don't take any money or credit card info ...
1
vote
1answer
38 views

Internal Server Error 500 .htaccess

For years, I have been using the following .htaccess for PHP to execute within HTML on Apache at GoDaddy: AddHandler fcgid-script .html FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .html A few days ...
0
votes
1answer
24 views

In CakePhP what is the recommended method for having one sub-domain that's outside the CakePhP environment?

I have a CentOS VPS with LAMP installed. I set up CakePhP and I have my httpd.conf set up with 1 virtual host which points to my CakePhP directory. I have various sub-domains in my CakePhP ...
0
votes
1answer
15 views

How to fix generated email from BlueSpice Media Wiki for new users to supply actual name?

I have a standard install of BlueSpice on top of Media Wiki. When a new user is created I get an email with the body: The user http://wiki.example.com/index.php/User:NameHere with real name $2 ...
1
vote
2answers
60 views

“?” leading UTM codes causes longer page load time than “#”

I found and fixed a problem where my utm code was drastically slowing down page loads. The problem was the leading character was a ?. The solution was to change it to a #. Now, we have literally ...
0
votes
1answer
31 views

MediaWiki configuration - strange redirect behaviour after form POST

I've recently setup a wiki using MediaWiki but am having the toughest time getting the ShortURL configuration working properly (for example, so that pages appear as Main_Page instead of ...
1
vote
1answer
21 views

Multiple SQLite3 Databases In A Single Web Application Viable?

This question was voted inappropriate for stackoverflow, so I'll ask here. I'm considering designing a CMS where content is centered around what the users submit. Built on polyglot, php, sqlite3 for ...
2
votes
1answer
88 views

with PHP: How to restrict access from one Domain folder to another?

with 000webhost (NOT WITH CPANEL), whenever i add a new domain into my account, then absolutely separate public_html is created and a separate FTP login.. But with CPANEL, all addon domain domains ...
1
vote
1answer
23 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 ...
1
vote
3answers
94 views

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 ...
1
vote
2answers
80 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
2answers
49 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 - ...
2
votes
2answers
49 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
1answer
33 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
33 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, ...
0
votes
1answer
77 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
0answers
45 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 ...
0
votes
4answers
56 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 ...
3
votes
2answers
72 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
35 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 ...
4
votes
3answers
157 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 ...
3
votes
1answer
107 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); ...
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
133 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
69 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
1answer
156 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
610 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
66 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
173 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 ...
0
votes
1answer
127 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 }
4
votes
1answer
71 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 ...
1
vote
1answer
30 views

Should I use SQL to save time? and How? [closed]

I created some landing page template in which I test various products. currently it is a .php file which I manually change each time, along with 3 other files, plus an image, and then upload all of ...
1
vote
1answer
31 views

not able to configure opencart in lap

I downloaded opencart 2.0.1.1 and have wampserver .I pasted upload file in wamp server and while trying to run it, i dont know what details sholud be filled in third step. That is, what is data base ...
1
vote
2answers
41 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
266 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 ...
3
votes
1answer
60 views

Rewrite rule to handle urls that start with a slash, have only numbers and letters, and may end with a slash is not working

im attempting to get my URL to resolve something like http://example.com/?image=2VMt2 Thus my index.php using the [GET] method in PHP to resolve into my domain http://example.com/2VMt2 The rule ...
2
votes
1answer
223 views

HTACCESS redirect a URL with query string in it

Basically you can visit /stats.php?player=name by simply typing in https://domain.com/@name and it works perfectly. But I also need the old /stats.php?player=name links to redirect to ...
0
votes
1answer
157 views

Difference Between php_admin_value[memory_limit] and php.ini memory_limit

I have Nginx + php-fpm + Mysql. With the php memory settings, I always set this in php.ini like this: memory_limit = 256M Now, I bumped into another similar looking setting in pool.d/www.conf file ...
1
vote
1answer
260 views

How to read user unique code from _ga cookie?

Currently I am facing the problem that have been discussed already here: How to keep track of a unique and an existing visitor (keep track about unique user without registration etc.). The most ...
1
vote
1answer
97 views

Do I need to change the Loaded Configuration File to enable cgi?

I'm trying to set up a web app (which I didn't make) on a server which uses an .htaccess file written like this: <Files *.php> SetHandler su-cgi-script SetEnv INTERPRETER_PATH ...
2
votes
1answer
50 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 ...
1
vote
0answers
65 views

XAMPP - Typing “localhost/my_site/” into URL not working [closed]

Using XAMPP installed on Mac OS X Mavericks, I've got the servers running and I use my Firefox Dev Edition to navigate to "localhost/my_site/". Previously, I've been successful with other folders for ...