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

4
votes
6answers
3k views

How to tell Google that I have changed my website URLs?

I have done major updates to my website, and renamed all my URLs. How can I tell Google that I have renamed these URLs and let Google refresh its index? My website URL: http://www.pndmasr.com/ My ...
4
votes
4answers
6k views

What is the best way to exclude bots from view counts?

My website is counting visitor views on certain pages. I noticed that Google and other Bots are "clicking" to my site like crazy and some of the pages get unrealistic view counts (compared to those ...
4
votes
6answers
641 views

SEO - which URL's are the best?

I'm using .htaccess with RewriteRule to create SEO-friendly URL's. However, I have a few questions about this: First of all, I noticed many websites end their URL's with .html (or another ...
4
votes
4answers
1k views

What version control options are available for PHP web development?

I have done some basic web programming in the past and wish to develop my skills further and begin doing large scale projects as a contractor. I have no experience with version control to this point ...
4
votes
2answers
395 views

How to use the private and public keys?

I am new to ssl certificates, i wanted to learn about ssl certificates, and I generated private and public keys myself while logged into cpanel, I wonder how to use those and generate a secured ...
4
votes
2answers
12k views

How to create separate users in phpmyadmin, each one can't see others databases?

I am using phpmyadmin to control mysql on my server, now i want to create some users to access this admin tool, what i want is to make each user can create databases but can't see others databases. ...
4
votes
2answers
204 views

Any chance to redirect homepage to a changing permalink without irritating search engines?

We have a php 5.3/Apache 2.2 based cartoon website that always shows the most current cartoon on the homepage (index.php). Now, a lot of people want to link directly to that cartoon (by copying the ...
4
votes
6answers
361 views

Web Hosting Advice for Project [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I am working on a project that will be released as open source in the latter part of the year. I am starting to think ...
4
votes
2answers
806 views

Number of page requests by any Bot in 5 secs

I am writing a script that will block any bot that requests page(s) for example X times in the past 5 secs. I need to find the X here. Do you guys know some approx values I can use?
4
votes
3answers
824 views

client website compromised, found a strange .php file. any ideas?

I do support work for a web development company and I found a suspicious file today on the website of one of our clients called "hope.php" which contained several ...
4
votes
5answers
809 views

Seo for collapsed text?

I have been tasked to make a pretty simple site which have to be SEO friendly. Now, i was told that the articles should take minimal space when listed so i thought of a "read more" expandable plugin. ...
4
votes
3answers
133 views

Good practice for sending out test emails without being classified as a spammer

I am trying out some new ideas involving HTML emails that will be sent from my site. I am sending lots of test emails to my Gmail and Yahoo accounts, all of which go straight to the spam folder. ...
4
votes
2answers
76 views

Best process for upgrading a live server

I just recently started at a new company, and their live server has PHP v5.2.6 (yes, circa 2008). A site I recently designed for them actually wouldn't work on it because PHP is so old, so I've now ...
4
votes
1answer
2k views

How to do a cacheable redirection?

When users enter my website example.com, their "preferred" language is detected and they are redirected (using a 301 Moved Permanently redirection) to example.com/en/ (for English), example.com/it/ ...
4
votes
2answers
2k views

Is there a simple shopping cart I can add to my existing website? [closed]

I created a website for my wife, who knits scarves. The site simply displays the 18 different colours she has created, with a Lightbox-like large photo available when clicked. She would now like to ...
4
votes
1answer
2k views

Is it (still) advisable to use the PHP extension html tidy?

Currently i'm using latest stable version of PHP, webmastering a online shop with Doctype XHTML. Most of our customers use "old" browsers, 25% use IE8, 10% use IE7, 3% IE6 (however, IE6 never ...
4
votes
5answers
2k views

PHP framework to use on GoDaddy host with no shell access

I'm a Ruby-on-Rails developer but am trying to develop a site to run on a GoDaddy Economy hosting account. This means I don't have Ruby and Rails available so I've decided to go with PHP 5 since the ...
4
votes
2answers
182 views

Website hack resulting in auto redirect - where to start looking?

My website is being redirected to a non-existent page (/showpage.php) for some users when they hit the homepage. For other users, the site works fine. I have looked in the index.php files and some ...
4
votes
1answer
168 views

Apache create index for directories without one specified.

Currently, I use a PHP script to list the contents of a directory that does not have an index file, but I don't want to have to copy it to every directory without an index. Can Apache do it ...
4
votes
1answer
2k 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 ...
4
votes
1answer
259 views

Prevent script execution as TimThumb exploit workaround

It's been a long time since I've done any web-development, and I never needed to administer a server myself. However, I can read manuals with the best of them, and when someone needed advice regarding ...
4
votes
2answers
235 views

Redirect page to symlink

So I have 2 URLs that basically link to the main url using a symlink maindomain.com englishdomain.com -> symlink to maindomain.com frenchdomain.com - > symlink to maindomain.com/fr ...
4
votes
3answers
77 views

PHP 5.6.6 loading but not interpreting in Apache2.4 64 bit Windows

I have installed Apache 2.4.12 (Win64) VC11 from Apache Lounge. Typing httpd -M tells me that php5_module is loaded and shared. I have PHP 5.6.6 win32 VC11 Thread Safe installed. The Apache server ...
4
votes
3answers
3k views

using .htaccess to redirect .asp to .php?

Ahoy all! I've been racking my brain with this one. I basically just converted all of my pages from ASP code to PHP code. Kept the same filenames. So, here is the htaccess code I have so far, but ...
4
votes
1answer
4k 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 ...
4
votes
3answers
151 views

how to keep a visitor 100% anonymous

Maybe a broad question, but how can you keep a visitor to your site 100% anonymous on your server. The site is written in PHP. No trace of what he or she has visited on your site. Any suggestions?
4
votes
4answers
2k views

Any free/affordable alternatives to Polldaddy? [closed]

I'm looking for a free/cheap embeddable poll that I can just stuff in an iframe - the page I've been tasked to maintain has been created in iWeb, which does not generate anything but the final markup ...
4
votes
1answer
61 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 ...
4
votes
1answer
65 views

Statically mapping a PHP script to another script using an .htaccess file results in 404 errors

After having read a lot of posts on the topic of URL rewriting, I still remain stuck with 404 status errors. My goal: A 'static' rewrite of URLs, as follows (user clicks or enters the one ...
4
votes
1answer
579 views

How To Get Alexa Sites Linking Using PHP

I am planning to get the Alexa sites linking of a given website. I am looking to do this in PHP. Please suggest me is Alexa providing any API. Is there any tool? Is it free? Is there any API that I ...
4
votes
4answers
196 views

Best location for a websites CMS

As part of my job I recently started making numerous content management systems for websites. So many that obviously my next step was to set up a 'template' for the websites so I could quickly remove ...
4
votes
3answers
450 views

PHP framework suggestions [closed]

I'm going to be creating a site for a business with the following: Single Item purchases with Paypal, Google Checkout and Amazon Checkout Digital Downloads for members from a CDN Forum Voting on ...
4
votes
1answer
105 views

How to promote the quality/security of your a website to your its customers?

Our organization is building a Drupal web platform that we aim at reselling as a cloud service. In order to provide our customers with maximum confidence in our solution, we're looking at ways of ...
4
votes
1answer
1k views

Has anyone used WebFaction hosting for large traffic websites? [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I'm a point where I'm needing to move a large traffic website off of MediaTemple Grid Server (it's maxing out the ...
4
votes
1answer
261 views

Per-Thread Visibility PHPBB

I'm trying to implement a registration system for a board I'm running, and I want a forum where every thread is invisible to everyone but the person who started it and the moderator staff. I want ...
4
votes
2answers
79 views

portfolio blog hosting

We currently have a photo storage website. A user can store his photos on our site. We want to give a facility to each user to create his photo portfolio and customize its look and feel, and contents ...
4
votes
1answer
793 views

PHP remote development workflow: git, symfony and hudson

I'm looking to develop a website and all the work will be done remotely (no local dev server). The reason for this is that my shared hosting company a2hosting has a specific configuration ...
4
votes
2answers
166 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): ...
4
votes
2answers
72 views

Slow Migration is it possible with a PHP/SQL Driven site

I have a Joomla site that is operating on www.mysite.com, I want to migrate to WordPress but heres the thing, I have hundreds of pages and simply moving migrating them to a test site isn't ideal since ...
4
votes
1answer
188 views

Looking for quick and simple blogging solution [duplicate]

Possible Duplicate: Which Content Management System (CMS) should I use? I'm looking for a really quick "plug in and play" style blogging software for php. It's to be used on a website that ...
4
votes
3answers
111 views

What is SSL Hosting and what are the requirements for making secure transaction

I am here in order to collect the information for making secure online transaction. My client has got a online shopping site. We are now having cart in our own site and transfering the cart detail to ...
4
votes
3answers
886 views

What file manager/uploader do you use with your embeded wysiwyg editor?

I am looking for a wysiwyg editor to allow user to edit part of their website. I already worked with TinyMCE, and heard about CKEditor, which both look great. However, they both lack a free (PHP) file ...
3
votes
4answers
275 views

Use JPEG for transparency instead of PNGs

JPEGs are smaller in size then PNGs. So. I thought that if I can make the "background" in a jpegfile transparent with some code maybe I save some kilobytes. So does anyone now for example how to make ...
3
votes
4answers
2k 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 ...
3
votes
9answers
13k views

Need to Stop Bots from Killing my Webserver

I am having EXTREME bot problems on the some of my websites within my hosting account. The bots utilize over 98% of my CPU resources and 99% of my bandwidth for my entire hosting account. These bots ...
3
votes
5answers
3k 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?
3
votes
5answers
3k views

Disallow robots.txt from being accessed in a browser but still accessible by spiders?

We make use of the robots.txt file to prevent Google (and other search spiders) from crawling certain pages/directories in our domain. Some of these directories/files are secret, meaning they aren't ...
3
votes
3answers
418 views

Generate a sitemap automatically, does it need to be XML?

I want to create an XML sitemap (for the sake of SEO), my first attempt to achieve this was by including the website main menu/navigation links using <?php include ("assets/includes/menu.inc"); ...
3
votes
2answers
294 views

Can the .htaccess file slow down a website to a crawl? If so, are there better ways to solve these problems with different rewrite rules and such?

here is my htaccess file...... RewriteCond %{REQUEST_URI} ^/patients/billing/FAQ_billing\.html$ [OR] RewriteCond %{REQUEST_URI} ^/patients/billing/getintouch\.html$ RewriteRule ...
3
votes
2answers
104 views

Installing a PHP framework to a host without public_html or www folders (ftp is DocumentRoot)

I've developed a PHP framework that operates with the directory structure of / /classes/ /templates/ /.../ /www/ (public_html) But I've come across a host that only allows ftp to the ...