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
0answers
31 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
10k 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
177 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
1k 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
109 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
2k 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
6answers
220 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
4k 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
6answers
542 views

PHP permissions

Can someone please explain best practice for permissions with PHP. What case should something be writable, executable, what owner is best, etc. ? Using an apache server
2
votes
1answer
492 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
461 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
197 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
174 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
79 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
578 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
1k 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
226 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
213 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
68 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
974 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
565 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
574 views

PHP Image Gallery without javascript

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
832 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
365 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
2answers
580 views

A simple and free guestbook script?

Looking for a free, simple PHP guestbook script - couldn't talk the client out of the idea - and I remember using something fairly easy to set up a few years ago that used a simple txt file to store ...
2
votes
1answer
710 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
338 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
148 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
944 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
760 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
19 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
225 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
1k 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
227 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 ...
2
votes
1answer
1k views

Add email attachments by URL in CodeIgniter [closed]

I tried this code to attach a file in CI. This is working: $this->load->library('email'); $this->email->from('me@mymail.com', 'vignesh'); $this->email->subject('Email Test with ...
2
votes
3answers
283 views

Hiding php includes from search spiders?

Quick and simple question. I have 80+ html files which I want to be crawled. They are individual product pages. Each of these pages calls its content using php includes. These php include files are ...
2
votes
3answers
4k views

PECL extension in Ubuntu 11.10

while setting up mediawiki on my local development machine, the installer told me that since i do not have PECL extension to php installed, i will have to do with slower page load speeds with ...
2
votes
2answers
229 views

Cookie manager PHP

I own a Joomla commerce store and although I use Google Analytics in order to track visitors, I need to install a cookie manager in order to be able to track cookies that were installed on customer ...
2
votes
1answer
1k views

Analyze high load due to Joomla?

I have a Joomla site causing very high (php) load on the server. I have already ran the MySQL slow log feature and it doesn't appear to be MySQL. What are some ways to analyze a Joomla site to ...
2
votes
2answers
164 views

Google and random redirects

I have a site where homepage "example.com" redirects to random joke(example.com/random-joke). First I redirected with php, but then google indexed that joke page(rather to be empty). I used "302 ...
2
votes
5answers
4k views

Recommend an open source CMS for single page web site [duplicate]

Possible Duplicate: Which Content Management System (CMS)/Wiki should I use? Hi I want to create a single page web site like http://kiskolabs.com/ or http://www.carat.se to display my ...
2
votes
1answer
3k views

What is the best currency API out there? [closed]

I may be asking an odd question, but webmasters seem like a decent place to post this. I'm in the search for an accurate, easy API (such as using JSON or XML) so I can use my web application. I've ...
2
votes
2answers
329 views

how do i choose a web host with support for mysqli extension in php? [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I have designed a website running in php and mysql. And I used mysqli extension instead of the normal mysql extension ...
2
votes
3answers
800 views

Subdomains vs folders, for multi account/users application

So, for a multi user web app, what is better: http://username.domain.com Or http://domain.com/username I would like to get feedback about security, scalability and maintenance specifically, app ...
2
votes
4answers
151 views

Simple blogging platform

I want to start and host my own blog. I have ideas for creating the website theme myself. However, I would prefer to not create the actual engine behind the blog -- comments, creating posts, caching ...
2
votes
2answers
83 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
119 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 ...
2
votes
2answers
265 views

Why does .htaccess not prevent a php script from accessing a file

I ran into the following issue: On a website I want to prevent "unauthorized" access to a set of .xml files - the user has to authenticate first. Now it would be possible for an authenticated user to ...