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
1answer
106 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
1answer
29 views

PHP - URL variables that look like pages `/POSTID/`

I'm new to websites with databases and was wondering how to make a url look like https://domain.tld/H34d2b rather than https://domain.tld/?p=H34d2b I had an idea of forwarding the page to a 404 PHP ...
1
vote
1answer
21 views

How to properly make a custom 404 page in apache2

My .htaccess ErrorDocument 404 http://www.mywebsite.com/error_404.php My error_404.php header <?php header("HTTP/1.1 404 Not Found");?> Redirection works well but it seems like this ...
2
votes
2answers
167 views

Is it possible to mod_rewrite BASED on the existence of a file/directory and uniqueID?

My site currently forces all non-www. pages to use www. Ultimately, I am able to handle all unique subdomains and parse correctly but I am trying to achieve the following (ideally with mod_rewrite): ...
2
votes
3answers
300 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
112 views

file need to go through a php page using .htaccess

I'm looking for a way to convert this type of URL: http://www.example.com/dl/F5EGD6 Into http://www.example.com/dl/files/my_file.zip using a PHP page to request the URL from the DB with F5EGD6. I ...
1
vote
1answer
54 views

PHP webpages in sub-directory cannot be accessed

I've got a university club website at thing.uni.ac.uk/meow/foobar which also has the domain foobar.co.uk. I don't have access to the config. I set up this website using HTML/CSS/JS alone and it's been ...
1
vote
0answers
24 views

mod_php5 as a static apache module in a cpanel environment

One source claims that apache would perform about 5% slower when using modules that are dynamically loaded (shared). Because of this, I want to be able to make PHP on the server run faster by ...
1
vote
0answers
144 views

Installing WP in Bitnami with php 7

I wanted to test possible incompatibilities of my WordPress site with php 7. So I downloaded the php 7 wamp installer and installed it without problems. Then I downloaded the WordPress module But ...
1
vote
0answers
42 views

How to debug a file called by 3rd party

I have a script that is being called by a 3rd party script, but it doesn't work. I can see in the logs that the file is in fact being called, just nothing happends. How do you debug a file called by ...
0
votes
0answers
19 views

Google Analytics events do not work

When I run the following (with actual IDs instead of X symbols) script from command line, the event does not appear in Google Analytics (as I see with "Real-Time / Events"). Why does it not work? ...
3
votes
3answers
162 views

Using PHP inside .html files not working as expected

Apache2, Linux, php5 I have added this line to my .htaccess file AddType application/x-httpd-php5 .htm .html running apace2ctl -m, shows this module loaded A php5_module (shared) I have a ...
2
votes
2answers
1k views

Fix PHP Timezone warning

After installing a php application my site loads the app with a warning overlayed on the page Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. ...
-1
votes
1answer
20 views

Image Hosting for Web Service [duplicate]

I'm working on a website that would have a mass of uploaded images, each with a max of 2mb but adding up, in total, to much more than my VPS hosting (which has a max of 100gb used up by a lot of other ...
0
votes
2answers
35 views

Redirect at exact moment in time

My company is going to do a press release next month. At that exact moment in time, we need a new domain to go to this site at the time of the press release at 3 PM. Since the domain name already ...
11
votes
4answers
24k views

How to check all installed in Magento extensions?

Where can I check all the installed Magento extensions in the admin panel?
1
vote
1answer
33 views

Use .htaccess to convert user ID's to usernames? [closed]

I want to use .htaccess to convert the urls that link to profile pages from an ID number to a name. For example, on Facebook, if you were to go to: https://facebook.com/profile.php?id=4 It would ...
2
votes
2answers
68 views

How to analyse website performance

I've tried searching a lot and basically here is the problem. I have a website but I'm unable to pin point the reasons of why the performance of the website is so slow. We have shifted to a high end ...
-1
votes
2answers
113 views

How to set execute-only permission for a php script in a .htaccess file?

I'm really a newbie in web-technologies, so this question may be silly. I have a php script that accesses a database, therefore it stores a database password (tell me a better way to store this ...
1
vote
0answers
33 views

How to manage web developers working simultaneously on the site? [closed]

Currently I am the only tech guy/web developer for my e-commerce startup handling everything from front-end (HTML, CSS, JS) to the backend (PHP, MySql)-coded from scratch, no template/cms or anything. ...
1
vote
1answer
63 views

Page speed - Loading comments on an article/blog post

So I'm currently building a template page to use for articles that we will be purchasing from a content writer (so basically we are content marketing). I'm finishing up the layout on the comment ...
1
vote
0answers
8 views

how to know if some one found my website in search engine and landed in landing page [closed]

if someone find my website in google/bing/yahoo or any search engine oren how can i know the particular person or IP come from these sources.
4
votes
2answers
859 views

How do I redirect an English language URL to an Arabic language URL?

I have a link that's currently formatted like this: http://example.com/news/view/1.html I want to it redirect it to: http://example.com/خبر/عنوان-الخبر where خبر is equal to news and ...
0
votes
0answers
20 views

Repeated site content in multiple php pages [duplicate]

I have 3 pages: a.php <p id="block1">text1</p> b.php <p id="block1">text2</p> c.php <? include('a.php'); include('b.php'); ?> So, we have access to ...
2
votes
1answer
90 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 ...
2
votes
1answer
1k 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 ...
0
votes
1answer
74 views

How to run a PHP script on a shared hosting server from cPanel?

I'm trying to install Tinyboard (http://tinyboard.net/) on a shared hosting, I uploaded all of the files in a single folder, now I should run install.php, but I have no clue where that can be ...
1
vote
1answer
63 views

Mixed Content issue with WordPress, Cloudflare SSL and Genesis Framework

I have a WordPress which is based on the Genesis Framework and uses CloudFlare Flex SSL. The problem occurs in iOS Safari and Firefox mainly, the site gets loaded but without styles and everything ...
0
votes
1answer
83 views

HELP! my login session is returning the users password instead of their username! [closed]

I have my code set up to display the username in the nav bar however its displaying their password? nav.php <li> <a href class="userName"><?php echo ...
1
vote
1answer
97 views

How to set up a rel=canonical in PHP?

I'm trying to add the rel=canonical tag to only one page. In order to add the tag, I need to add it to the part, in the mod_header.php file. This will add the same rel canonical tag to all the pages ...
0
votes
0answers
16 views

Multiple touchscreen setup/display

I hope this is in the correct SE area. I have been tasked with designing a touchscreen interface for multiple display screens. I have successfully designed this using html, css & php (a simple ...
0
votes
0answers
6 views

Redirect asp to html page to page [duplicate]

i need to redirect 301 page from an old site in .asp(without www) to a wordpress site (with www). I try with htaccess and hosting control panel, but nothing works! Redirect 301 /page.asp ...
0
votes
0answers
123 views

Godaddy linux hosting The PDO extension is required for this adapter but the extension is not loaded

I'm getting following error on GoDaddy economy linux hosting. How to fix that. The PDO extension is required for this adapter but the extension is not loaded Error can be found at following ...
1
vote
3answers
606 views

SEO impact when using php include

I always make a footer and a header and include them in my php pages but I am not sure the impact of doing this for SEO. The header has only a main banner and the navigation menu, all the metatags ...
2
votes
1answer
79 views

Duplication of menu through javascript or PHP: Which is better for SEO and page performance?

I have a site with a typical desktop dropdown menu. For the mobile menu (and on touch devices), I am using javascript to slide it out onto the page from the right side by touching a menu button. The ...
2
votes
0answers
22 views

How to redirect sub-domain not found? [duplicate]

Suppose my site - example.com had a subdomain - subdomain.example.com which I have deleted. How do I redirect the not found error in PHP or the mod_rewrite (.htaccess)?
1
vote
0answers
41 views

Tools for upgrading PHP site to higher version of PHP [closed]

We have a lot of old "legacy" websites on our server. Now we would like to migrate our whole server from PHP 5.3 to PHP 5.6 and I need to update those sites so they maintain their functionality as it ...
0
votes
0answers
11 views

ZF Tool 1.6.0 Windows 8 Permissions

I'm currently installing the Zend Framework onto a local 64bit Apache install with appropriate PHP ver. Localhost works fine and Apache Monitor is reporting correctly and identifying PHP just fine. ...
2
votes
2answers
178 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
0answers
12 views

How many visitors can my dedicated server handle at once? [duplicate]

I have a dedicated server with these specs: Processor: Intel Core i5 3.40GHz (3570) Memory: 2 x 4GB DDR3 Hard Disk: 2 x 1TB (Raid-1) Operating System: Microsoft Windows Server 2008 R2 Web 64bit ...
2
votes
2answers
75 views

Protecting video being from downloaded

First of all I know that I can't protect it completely but can you give me any tips to make it as secure as possible? And second thing I plan to store videos in seperate dedicated server and is it ...
1
vote
4answers
5k views

MySQL Online Database

Can anyone suggest a good online free MySQL database. I've tried four till now: db4free FreeMySQL onPhP 000webhost Either of them gave me an timeout error on my connect file or actively restricted ...
2
votes
1answer
128 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 ...
1
vote
1answer
22 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
1answer
164 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
240 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
82 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
587 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 ...
1
vote
1answer
190 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 ...
0
votes
1answer
45 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 ...