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
0answers
8 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
23 views

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

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 ...
0
votes
0answers
6 views

Authentication system for Hadoop in Cloud Environment [on hold]

I am supposed to build an Authentication system for hadoop in cloud environment meaning a user should be authenticated into cloud environment where hadoop is installed. I have a basic understanding of ...
1
vote
1answer
13 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 ...
0
votes
0answers
12 views

Can an adroid apache mysql php with localhost on android work? [on hold]

I would like to install a localhost - apache - mysql - php system on android tablet for convenient coding while traveling... Is this possible?
3
votes
1answer
53 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
49 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 ...
0
votes
0answers
8 views

Whats The Best Linux OS to Create Streaming Video Website [on hold]

I want to build a web video streaming using vps and video cms. Seems to need a few extras such as ffmpeg-php. According to you what linux os and version should I use? As well as a web panel is best ...
-1
votes
1answer
25 views

How to create such kind of pop up? [closed]

This is multi window pop up. My work is something else, but can you please suggest where to took for this kind of stuff ? I want to take input from the user and then want to do something with that ...
2
votes
1answer
50 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 ...
-1
votes
0answers
3 views

Ask. random string iframe [closed]

hy webdev, can request about scripting how work this site http://addclick.net/ninja/?http://lmgtfy.com ? i mean not use wp plugin like wp-bar, how to build for site self there is generate random ...
0
votes
0answers
12 views

Problem with _POST? [closed]

Okay so I have created a simple subdomain creator with this: formProcess.php: $chkbox = $_POST['theme']; $filename = 'index.php'; $sitename = $_POST['siteName']; $folder = $_POST['domain']; // ...
0
votes
1answer
17 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
24 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 ...
0
votes
0answers
9 views

Displaying only selected checkboxes in a PHP form mailer. [migrated]

My PHP code for "mailhandler.php" seems to be showing all the checkboxes on my HTML site as checked when it arrives in my email. I want the user to only select the checkboxes they want, so only their ...
0
votes
0answers
3 views

Why is only one server throwing the error “Array to String Conversion”? [migrated]

Here is the code that is causing the error: foreach($_GET['Inventory'] as $fld => $val) { print_r("Field: " . $fld . " Value: " . $val . '</br>'); if($val != ...
1
vote
1answer
23 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
26 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
23 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 ...
0
votes
0answers
14 views

Best open source CMS that caters for both developers and clients? [duplicate]

After plenty of bad experiences with Wordpress, I'm wanting to look at alternative CMSs. Wordpress is horrible to develop on and updates break it quite often. I am specifically looking for a CMS that ...
1
vote
1answer
25 views

Basic looping on PHP for web design [closed]

I am very much a newbie in PHP. Could you tell me about basic looping in PHP if I want create a web design. Also, how do I connect to a MySQL database?
0
votes
1answer
21 views

How do you activate mycryp and mod_rewrite from .htaccess?

My hosting provider has the option to modify the PHP configuration with the following code in .htaccess: AddHandler fcgid-script .php I would like to know how to activate the extension mcryp and ...
5
votes
2answers
287 views

Apache: disable PHP in a directory

I want to disable php in a specific directory on my server. I thought that setting Options -ExecCGI in httpd.conf would prevent php scripts from being executed, but obviously I am wrong. So, this is ...
2
votes
1answer
33 views

What setting allows a PHP to run for more than 60 seconds under Windows FastCGI?

I have a PHP script which is timing out after 60 seconds. I have changed the following config values but they don't seem to have any affect: max_execution_time default_socket_timeout ...
0
votes
2answers
26 views

Error 500 on new sub-domain

I have just uploaded a site on a sub-domain, In fact on the 3rd Sub-domain. All the 4 site ( 1 Main, and the 3 on SUB) are completely separate from each other. Now, the site was developed ...
0
votes
3answers
54 views

Does uploading index.php protect the other files that would normally be visible in that directory?

PHP is a mystery for me. In the FTP main directory of my website, I uploaded 2 files: a.txt and b.txt. If I enter my website address in my browser I can view both a.txt and b.txt. However when I ...
-1
votes
0answers
16 views

Hiding and redirecting extensions on my webpage [duplicate]

I want to hide extensions on my webpage using the .htaccess file. I have managed to do it by using this code; RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php ...
1
vote
2answers
20 views

Hiding and redirecting extensions on my webpage

I want to hide extensions on my webpage using the .htaccess file. I have managed to do it by using this code; RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php ...
0
votes
0answers
3 views

CMS for a Localized (i18n) Webiste [duplicate]

I have a website that is using Php Gettext for localization capabilities and I have got to that part where I need to create a CMS for updating the content. I had initially hoped CUSHYCMS would do the ...
3
votes
2answers
54 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): ...
1
vote
2answers
48 views

How does mediawiki save the passwords?

I have mediawiki installed in my local machine. I had to use a form outside wiki which asks the user to upload files with the wiki username and password. In order to achieve this I went through the ...
0
votes
0answers
5 views

Hosting solutions for image uploads. [duplicate]

I'm developing an application which will primarily deal in image uploads. Since the RESTful API is written in PHP I've been looking at options similar to fortrabbit.com for hosting the app itself. ...
2
votes
1answer
54 views

Apache Unable to open logs: /Applications/MAMP/Library/${APACHE_LOG_DIR}/error.log

I am trying to run a project built in Ubuntu with PHP on fat-free framework. I am using MAMP on macOS Yosemite 10.10.1. I imported a database successfully through phpmyadmin & following these ...
1
vote
1answer
94 views

Not receiving email sent from PHP mail() after cPanel migration?

I just moved my site example.com from one host to another by cPanel account backup and restore. Name servers are changed a few hours ago. info@example.com is hosted at Google apps with MX records ...
1
vote
0answers
56 views

Trying to include a file from parent domain in subdomain?

I am trying to include a php file from a parent domain in a subdomain. In subdomain.parentdomain.com/test.php i have include ('/var/www/vhosts/parentdomain.com/website/wp-blog-header.php'); My ...
1
vote
1answer
57 views

How can I pass optional URL parameters through my rewrite rule?

I created a CMS that identifies if the GET value of url is defined, and if it is, it returns the html contents of the page from the frontend template on index.php. This ideally is to make a templating ...
2
votes
1answer
40 views

How to get multiple form field values in Google Analytics site search report?

I'm wondering how I can get multiple form field values into Google Site Search. For instance, I have a search form that has a drop down for year, make and model. Once submitted I would like those ...
2
votes
1answer
42 views

Sharing CodeIgniter installation between different servers

Current situation: I've got 2 different servers, each one hosting its own CI installation, and everything is working fine, except a lot of code is duplicated (custom libraries, some views, etc) My ...
1
vote
1answer
42 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
0answers
10 views

Alternative to Ebay Open Source [duplicate]

I'm looking for an auctioneering cms which is basically a copy of Ebay, but just more modern and open source. I would love it if it would already have a connector to a Big Data DB like Hadoop. Does ...
1
vote
1answer
57 views

Non existent image files are not being handled by PHP as they should due to ngnix configuration

I am currently building a web application. In order for it to work properly I wrote this rule: location / { if (!-e $request_filename) { expires 168h; add_header Pragma public; ...
1
vote
1answer
33 views

Delay Loading of Webpage Content / Debounce Cache

Background: I am implementing a custom cache handler in PHP. The cache script is triggered on-demand by website traffic. I want to intelligently handle an influx of simultaneous requests. To do this, ...
5
votes
1answer
178 views

How can I protect my PHP source code from a client when installed on a client's server?

I have done a PHP web application and my client request to host it at their server. How can I protect my PHP code so that it will not be viewed, study, or take it for any other usage by my client?
3
votes
2answers
185 views

CloudFlare Not Sending If-Modified-Since Headers

I'm trying to reduce my server load by providing 304 Not Modified responses for content where appropriate. CloudFlare is my middle man, so they should be sending If-Modified-Since headers whenever a ...
1
vote
0answers
30 views

How to optimize a dynamic website [duplicate]

I know there is already an answer on Webmasters to a part of this question (SEO for Dynamic website) , which has been very helpful with How to build a controller that creates an xml sitemap? on SO ...
2
votes
2answers
125 views

Browser will not cancel the request if routed through PHP

I have a site which has a feature that causes Apache to route all requests for files in a particular directory through a PHP script via .htaccess. A problem has come up that I'm not sure how to ...
2
votes
1answer
86 views

Whats the use of mysql.safe_mode in php.ini file?

I've seen some website on security recommend to enable mysql.safe_mode in php.ini # Enable SQL safe mode sql.safe_mode = On When I searched hard to find info on this, I found this: If the SQL ...
1
vote
0answers
35 views

How can you use Apache .htaccess to specify the location of the PHP binary on shared hosting?

I'm using shared hosting, can create .htaccess and php.ini and have access to ssh. I have PHP 5.6 installed to ~/public_html/php56 and can use this path with ssh, cron and exec() but not on the web. ...
0
votes
0answers
16 views

Search Engine Optimize a photography website? [duplicate]

Because most photography websites are mostly photo galleries, I'm at a loss on how to code my new site. You can choose a friendly url, use alt tags for every image, include language set, meta tags, ...
2
votes
1answer
394 views

Modifying the PHP “upload_tmp_dir” variable on a Godaddy Linux hosting?

OK, I have tried to install Joomla and WordPress on one of the hosted domains at my Godaddy's Linux Hosting. For the Joomla installation I was encountering an issue where the installation would not ...