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
1answer
36 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
11 views

How to hide error log from hackers? [duplicate]

I'm a developer of self hosted web application. which creates the error log but others can access it rather than only admin of that application. is there any way to protect it from page other people ...
0
votes
0answers
14 views

Database status fetch not working well because of setInterval jQuery method [closed]

I wanted creating a 'Whats on your mind' kind of page. So I made the database and also the page to post but I am using jQuery to post so I want it to be in a way that the page fetching from the ...
0
votes
0answers
10 views

Display a Player's Minecraft Skin [closed]

I need to view the player's Minecraft Skin, in a webpage. I know HTML and PHP but I do not know how to get a player skin. Thank you for any help. And if it is possible, would I be able to have the ...
0
votes
1answer
31 views

Vanity URLs with .htaccess and PHP?

I need to create a vanity URL redirect using htaccess and PHP. My requirements are: If a user writes example.com/users/foobar The client will be redirected to for example: profile.php?user=foobar in ...
0
votes
0answers
3 views

Variable is not taking more than one value when deleting multiple rows using checkbox [migrated]

1 problem: Variable chk in database is not talking more than one value 2 problem:delete variable is not getting the proper value i.e patient id I want to delete multiple rows using checkbox database ...
1
vote
1answer
78 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 ...
0
votes
0answers
29 views

Why is Apache 2.4.12 stop working randomly?

I have XAMPP installed on a Windows 2012 R2. We have a few Wordpress installations plus a custom LMS that is mainly java/tomcat. The site is SSL and uses openssl 1.01. The server can be up for a ...
1
vote
0answers
27 views

Parallels Plesk Apache dedicated server shared IP / A Address serving default page

My Website Works when you go to it, however Google Adwords is telling me that my site is redirecting/ not showing up properly to their bots. When you put the site into a website checker like GT ...
1
vote
1answer
67 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
1answer
355 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
44 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
19 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
1answer
61 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 ...
13
votes
3answers
1k 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 ...
1
vote
1answer
39 views

Warning: session_start(): open(/tmp/sess_b825aec484a83d8c0edb0e08db897ec1, O_RDWR) failed: Disk quota exceeded (122)

I am getting this warning of disk quota on my website. I have searched a lot. Every where they say its due to the insufficient space. I checked through cpanel, the total space allotted is showing 40 ...
2
votes
2answers
63 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 ...
2
votes
1answer
102 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 ...
2
votes
3answers
640 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
191 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 ...
1
vote
1answer
50 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
35 views

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

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
1answer
87 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 ...
0
votes
0answers
14 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 ...
5
votes
3answers
98 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 ...
-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 { ...
2
votes
1answer
118 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, ...
0
votes
4answers
69 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 ...
1
vote
1answer
239 views

AggregateRating not showing in Google's rich snippet testing tool

I tried using the AggregateRating and used the code below. The values of $aggregate_rating and $total_reviews is not empty, and tried printing its value. Now I added the code inside my WordPress ...
3
votes
2answers
83 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
2answers
67 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
37 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
22 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 ...
6
votes
2answers
225 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 ...
1
vote
1answer
84 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 ...
3
votes
3answers
1k views

How do you get Drupal to go to a page other than the User Profile on login?

ISSUE: I've tried a few things to get Drupal to STOP going to the User Prolfile page on login. I even installed the LoginToboggan module, which has nice features, just doesn't stop Drupal from sending ...
1
vote
3answers
102 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
1answer
24 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
114 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); ...
1
vote
2answers
94 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
54 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 - ...
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 ...
0
votes
4answers
985 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 ...
4
votes
3answers
204 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 ...
2
votes
1answer
101 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
338 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
1answer
36 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
54 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
652 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
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 ...