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

3
votes
1answer
57 views

Are 307 Temporary Redirects safe for temporary new web site tests?

Our current site is getting close to being replaced. I was looking to do a test of our new sales funnel on the new site and compare the traffic and conversion ratios for a few days. So I was planning ...
3
votes
1answer
72 views

Reverse proxy with no httpd access

I'll outline my requirement, proposed solution and if anyone has a better idea please feel free to suggest. Requirements / Desires - I want multiple clients to be connectible to an address ...
3
votes
1answer
308 views

Difficulty enabling caching on inherited site

I have been asked to work on a corporate website a previous employee had created. The site is on shared GoDaddy hosting. One of the first things I noticed (after the 140KB JPEG on the front page, ...
3
votes
1answer
275 views

Unable to print login-required images in IE

I have some images in a section of a site that require the user to be logged in in order to view. These images are served by a PHP script, which checks the user's login state and if valid, serves the ...
3
votes
1answer
263 views

Maximum file size for iFrame in IE7

I've got a "super secure" javascript downloader* that I wrote, and it usually works alright. But I noticed, while trying to download a 90 meg file with it on a client's machine that on IE7, it's ...
3
votes
2answers
762 views

You don't have permission to access /index.php on this server

I made a 'login with OpenID' page and I had a error when OpenID provider return to my page: You don't have permission to access /index.php on this server. Additionally, a 404 Not Found ...
3
votes
1answer
4k views

Setting file permissions on linux to allow PHP to write to a directory

I have a website built with Codeigniter and hosted on a Linux box. I am trying to follow "best practices" when it comes to my file permission settings, but I'm not sure if I completely understand the ...
3
votes
3answers
3k views

What is deleteme.xxxxxxxx.php

I was going through page hit logs on awstats and I noticed the following two entries: /deleteme.lcivykmt.php /deleteme.nctqicjg.php I was wondering if anyone recognised them and whether I should ...
3
votes
3answers
1k views

Storing User-uploaded Images

What is the usual practice for handling user uploaded photos and storing them on the database and server? For a user profile image: After receiving the image file from user, rename file to ...
3
votes
2answers
2k views

self hosted open source document management apps?

I'm looking an open source self hosted PHP and MySQL document management apps. security: accessing a document by specific users Work flow: by admin approval (may be two admins) document ...
3
votes
2answers
656 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://site.com/news/view/1.html I want to it redirect it to: http://site.com/خبر/عنوان-الخبر where خبر is equal to news and عنوان-الخبر is ...
3
votes
1answer
576 views

IIS XML encoding seems to be wrong

We are moving our web application from Apache 2.0 to IIS 7. Everyhing is fine with UTF-8 encoding, but just one thing. There's a flash movie in the page that reads an xml content (dynamically ...
3
votes
1answer
494 views

What are common Media Library tools used for Kentico/Generic PHP sites?

Through a course of mergers and acquisitions the particular group of companies who I work for have built up a vast array of websites running either Kentico (or ASP websites that will be using Kentico) ...
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" ...
3
votes
2answers
105 views

Switching to HTTPS - redirect question

Following the recent Google announcements about improved ranking for sites running on https we have a number of clients asking about this. Is it safe to just 301 redirect all pages to their SSL ...
3
votes
0answers
33 views

PayPal - Selling a single app [closed]

I would like to sell a desktop application over my website through PayPal. The user will receive a download link and a license key. Are there any PHP scripts availabe from PayPal IPN to do that? ...
3
votes
1answer
11k views

Install PHP5 with Tomcat 7 on Windows? [closed]

Can't find anything on this, what are the steps or instructions for installing PHP with Tomcat 7 on Windows?
3
votes
4answers
183 views

Are there any scripts to integrate social networking site's chat and posting features into a webpage [closed]

Are there any scripts to integrate social networking site's chat and posting features into a webpage using PHP or JS... for example a section with Facebook chat, a section to post to twitter and maybe ...
2
votes
2answers
2k views

Where to find my website's source code?

My company ordered a website and we were given all usernames and passwords but I can't find the PHP source files and this is my first website assignment. I have no prior exposure to web technologies ...
2
votes
4answers
111 views

Should I rely on externally-hosted services?

I am wondering over the dangers / difficulties in using external services like Google Chart in my production state website. With external services I mean them that you can't download and host on your ...
2
votes
4answers
3k views

Page loading problem. Page is very slow

Regarding the domain http://www.pravninasvet.com, there is a problem where it sometimes loads fast, sometimes very slow. The domain is registered by godaddy, the server is in Germany. But when the ...
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.
2
votes
6answers
242 views

PHP not working with hosting

I have been playing with a php CMS site for someone that I am ready to deploy but am running into a couple problems that I assume to be hosting related. I have been developing and playing with it ...
2
votes
4answers
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). ...
2
votes
1answer
531 views

Pass IMG SRC via GET and echo it? Is that really secure?

I was wondering how I can make a really simple GET and echo request more secure The code: $src = $_GET['src']; echo "<img src='$src' />"; Basically, I have a URL like ...
2
votes
2answers
493 views

Should WHMCS hacking attemps that never succeed be important to me?

I have WHMCS and I use it with no problem for my hosting purposes. Almost every 2 or 3 days, I can see a spam with malicious content submitted as a new ticket that tries to hack. The last one was: ...
2
votes
1answer
214 views

How Do I Make A Dynamic PHP Link 'No-Follow'?

I want to make the Footer links on my website 'No Follow'. How would I do it on these dynamic PHP links? <ul> <li><a ...
2
votes
2answers
197 views

404 page not showing URL

My 404 page (/404.php) works, it's sending the proper headers (404 - Not found). But the thing is, it's not giving the link that caused it (e.g. example.com/thisisnon-existant.htm) but instead it's ...
2
votes
3answers
81 views

understanding technology that news websites use

I am trying to understand the technology which many news websites use please have a look at this website http://www.shritimes.com/ if you click any news item then the particular thing gets zoomed ...
2
votes
1answer
209 views

Can a web-server be reached in other ways than through `HTTP` or externally?

A server hosting an application built in PHP: Can the server be reached in other ways than through HTTP or externally? Is GET and POST only populated through the HTTP protocol? Is HTTP headers, GET ...
2
votes
2answers
712 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. ...
2
votes
1answer
60 views

Google Analytic's and Universal PHP Footers

If I have a universal Footer, include('footer.php'); on my page - will the google analytic's script I just put there be able to track my page views?
2
votes
1answer
2k views

URLEncode of full URL

I am using the PHP urlencode() function to escape chars for anchor tags (). Why can't I use the function on a full URL such as ...
2
votes
2answers
239 views

I have “CMS” made by myself with PHP and I cannot make my websites appear on google

I have developed an Admin Panel that you can use to change conents on the website. It works basically like this: You use functions to generate HTML like menus, footers, side modules, etc. I use ...
2
votes
3answers
221 views

Redirect to same site but add things into the URL

I have a PHP file, index.php, that is set as the index file for my site. If someone wants to pull up a value for a, as an example, then they would type http://www.website.com/?value=a. Is it possible ...
2
votes
2answers
72 views

How to block certain pages/files of a web domain?

How do I make certain pages only viewable by me? For example, let's say I own mydomain.com, and I want to be the only one that can see mydomain.com/mypage.php. I tried changing the permissions of ...
2
votes
3answers
1k views

Q&A system for website in php [duplicate]

Possible Duplicate: Is there a free, open-source question and answer (Q&A) application similar to StackExchange? I'm looking for a good, open source (if possible) q&a (questions ...
2
votes
3answers
780 views

Server Side Includes that work in HTML and PHP with IIS 7 on Windows Server 2008

We currently have SSI set up to work in our HTML pages as follows <!--#INCLUDE file="/includes/header.inc"--> We also use PHP on our server, and are trying to avoid creating two separate ...
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 ...
2
votes
2answers
942 views

Is making my PHP files read-only a useful security measure?

Up until now I've been "protecting" my website's PHP files by making them read-only with chmod. Is this a useful security tactic? Or is it some "old wive's tale" and I'm wasting my time? I'm ...
2
votes
1answer
390 views

zlib compression issues

I'm having some issues running zlib compression on my site .. Firstly if I enable zlib compression in .htaccess using: php_value output_handler ob_gzhandler then I receive thousands of lines of the ...
2
votes
1answer
744 views

How to remove 500 error?

I am getting 500 error "Internal Server Error" when I type in my domain. I called customer service and they said that my site has reached it maximum use of memory and therefore the cloud system ...
2
votes
3answers
352 views

How to inform website owner if someone downloads something from the website?

Right, beginner here so bare with me.. What i've got: A simple html/css website with a page where clients can find informative documents in the form of PDF's and rich text documents, they can just ...
2
votes
2answers
149 views

Am I correctly handling duplicate URLs for my homepage?

I own a Job Search site named www.conservationjobboard.com and have a concern about how the domain is viewed by search engines. The issue is that when the site was first designed, the default page was ...
2
votes
1answer
1k views

How to stop access of a PHP file from other sites

I read somewhere about hot linking of images. Preventing image hot linking helps to stop bandwidth theft from your site. Would it work for a PHP file? In my case, I am using a PHP file to generate ...
2
votes
2answers
809 views

How to reduce delay between forum posts in phpbb

In my phpbb forum, just after I post a reply to a thread, a page is shown and I've to wait around 5 secs to return back to the thread. How do I reduced the time to 0. (I tried setting the "Flood ...
2
votes
1answer
58 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
382 views

Laravel Detailed Error Page Lost

I want to see all problems when a file can't loaded e.g. I used to do it but now I can't. The only thing I get when a problem occurs is Whoops, looks like something went wrong. How can I change ...
2
votes
1answer
2k views

Apache VERY high page load time

My Drupal 6 site has been running smoothly for years but recently has experienced intermittent periods of extreme slowness (10-60 sec page loads). Several hours of slowness followed by hours of normal ...
2
votes
2answers
250 views

How to do a JavaScript redirection to the same page without hurting my SEO?

I did something that does that when people land on my page for the first time, they get a JavaScript redirection to the same page, but with PHP $_GET URL queries, then this page redirect back to the ...