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
4k views

Google Analytics API - Super simple? [closed]

Google Analytics API - Too complicated? I've read about Google Analytics API but heard of others that it is a bit complicated to make it work. I use PHP. Copy / paste example My question is if ...
3
votes
1answer
690 views

How to implement user-friendly paths in PHP without creating a file or directory for each page?

NOTE: My terminology may not be entirely correct. I believe StackExchange does something like what I am asking, in case this can make things clearer. Using PHP on Apache, I would like to handle URLs ...
3
votes
2answers
3k views

Free/cheap Whois Api [closed]

Is there a free API where I can pull whois data and server location data? (similar to who.is)
3
votes
1answer
853 views

PHP header redirect that maintains query parameters?

I am experimenting with the PHP redirect http://www.phpjunkyard.com/tutorials/php-redirect.php. Specifically the 301 redirect to create a self correcting URL to help with typos - there's a unique ID ...
3
votes
2answers
160 views

How does duplicate file and directory names affects SEO

I have some 40 crawl errors in my website, those are pointing to files which are not existing. and I want to resolve all 404 errors I dont have acccess to .htaccess file. Because i am on shared ...
3
votes
2answers
488 views

Looking for full web based booking system

I've searched around here but could not find any booking system that would suit my need. I hope maybe you can help me out. I've already seen question #11379. Solutions provided there are not helping ...
3
votes
5answers
126 views

Attaining credit card data

I've read the many posts on this site that say we are not allowed to store cc numbers if we are not pci-compliant. But, I'm wondering if it is possible to send a CC number through a form to an email ...
3
votes
2answers
717 views

Remote database connections in mysql and php is it possible?

I need to know whether remote database connections are possible in every server? does every host provides the option for remote DB connection? and further this connection will be the second connection ...
3
votes
1answer
1k views

How to set up a 403 forbidden

I've recently set up my first commercial website for someone, with godaddy hosting. I want to set up a 403 forbidden on several directories (and their contents) that are referenced to through php ...
3
votes
4answers
148 views

Two websites (and domains) on one hosting

So I am a poor college student, thus I can't afford dedicated hosting, cloud or anything fancy of the like... However I managed to purchase myself two domain names say http://abc.com and ...
3
votes
3answers
3k views

Enable gzip compression on Bluehost?

My website is loading large (~3mb) SVG file with jQuery. It takes quite a while therefore I decided to enable gzip compression. I have a hosting account with Bluehost which supports custom .htaccess ...
3
votes
4answers
348 views

Migration from Windows to Linux hosting

I'm looking forward installing a CMS for my sites - most likely Joomla - but apparently Windows hosting doesn't support it. I was wondering what kind of changes I'd have to perform if I changed to ...
3
votes
4answers
780 views

What is the best and cheapest CMS for an E-Commerce site?

My client needs a site customers can use to pay the membership fees and join. It should also track when old members need to pay again. There are some members that will not want to pay online and they ...
3
votes
1answer
111 views

htacess seems to make the page load forever

I need to rewrite a URL of my server so the URL looks friendly. Like: site.com/var1/var2/var3/... to site.com/index.php?page=var1/var2/var3/... So I wrote this .htacess: RewriteEngine On ...
3
votes
2answers
151 views

Track exit link and ads with PHP

I want to track exit links on my website and also exit ads like Google Adsense etc. I mean by exit ads is that when click on add I get ads dimension and ads type like Google or other ads. In short I ...
3
votes
2answers
100 views

Subdomains and Site

didn't know how to put this into to a title. Ok my idea is to have any subdomain working on my site, and for example if I type: what.example.com (my site has a unique folder for every subdomain, and ...
3
votes
2answers
295 views

Remember me or not?

I was told to post this on webmasters instead of stackoverflow. Is it safe to have the remember me feature? Would it be somewhat safe (knowing it won't be 100% safe) to allow users to close their ...
3
votes
5answers
376 views

SEO problems with multilanguage site [duplicate]

Possible Duplicate: How can I get search engines to crawl my site and see a localised view of my data? I have recently started a CMS project in PHP, the site will be multilingual. ...
3
votes
1answer
199 views

SEO & Multilingual: would be this a good practise?

I am currently making a bilingual website and I'd like to get nice SEO results of course. Here's my idea: The internal links would be composed of the "www" subdomain so that people can share links ...
3
votes
1answer
508 views

how the search engines interpret the exclamation mark in the url

I wonder how the search engines - Yahoo, bing, google ... - interpret the exclamation mark (!) in the url: www.site.com/product!651031 www.site.com/category!651031 I could not find documentation ...
3
votes
1answer
124 views

Can I get IIS to treat some .shtml files as .php files?

I want to be able to get IIS to interpret SHTML files (only in a specific directory) as PHP, and interpret the rest as SHTML. If so, then how?
3
votes
2answers
50 views

Finding/hiring help with server administration

I need to install the fileinfo extension for PHP on my server. My hosting service does not support help with this. I know I could learn it and do it myself, but since I am an independent contractor ...
3
votes
2answers
2k views

Share on Facebook does not show thumbnail images

I have a PHP application which has a "Share on Facebook" button that, On the development server shows the thumbnail images correctly and allows the user to select between them On the live server, it ...
3
votes
1answer
430 views

Chat like chat.meta.stackoverflow.com in my website

How can I create a chat room like http://chat.meta.stackoverflow.com/ in my PHP website? I am looking for a free solution. Please help...
3
votes
2answers
1k views

Track down segmentation faults in PHP? [closed]

I'm looking for a relatively painless way to track down segmentation faults in PHP (as reported in the Apache error log). This is my LAMP setup at the moment: Linux: OpenSUSE 11.3 x86_64 Apache: ...
3
votes
1answer
150 views

MediaWiki Error: Lua error: Internal error: The interpreter has terminated with signal “11”

I have a MediaWiki deployement at: http://wiki.tankpedia.org/ I have been importing templates from Wikipedia and am receiving a Lua error for the Convert template; the error is: Lua error: ...
3
votes
1answer
50 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
68 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
236 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
251 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
229 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
1answer
1k views

How do I create a .htaccess file that would make my website work like Adfly

I need, but don't know how to make, an htaccess file that will send a user, when looking for the home page, to index.php. It should not send them anywhere when they look for a URL like /7fg4/. ...
3
votes
2answers
629 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
3k 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
1k 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
1answer
114 views

404 working only with wrong extension

My 404 .htaccess works very well when I put a wrong extension at it in place of .php. Unfortunately the 404 does not work when I put a wrong name with .php. This is my .htaccess code: <Files ~ ...
3
votes
3answers
851 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
428 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
505 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
377 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
0answers
29 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
168 views

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

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
4answers
1k views

How can i check how many users can visit my website at the same time?

i have my website on a shared webhosting account. I would like to check how many people can visit my site at the same time without the server slowing down or crashing. I don't have SSH, if that makes ...
2
votes
1answer
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
107 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
5answers
2k views

Can PHP Site be hosted on Windows Hosting?

This might be the stupidest question but I would like to know whether we can host PHP site on Windows hosting? Are there any special tools for publishing php site?
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
209 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 ...