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

1
vote
1answer
268 views

301 redirect causes issue in web tools for analysis of performance in Pingdom

I was googling all over the pages, trying to find what could be wrong before trying to contact the developers at tools.pingdom.com, gtmetrix.com, juxseo.com, and other sites. Since I have changed my ...
3
votes
1answer
324 views

How to add lock symbol to my website using private SSL in https pages

I just purchased SSL for my website from hostgator, so that I can add lock symbol in my website, when users visit https://www.mysite.com For example: Now they have installed the certificate, but ...
2
votes
2answers
216 views

How to fix 404 crawl error of a website

I have a navigational links in a php page nav.php, Which is included in all pages of my website. I have got folder structure like below +top_folder -config.php +includes_folder ...
3
votes
2answers
184 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 ...
0
votes
1answer
110 views

Will search engines still see the meta description of my site if I use a php variable for it?

I am following the procedure described on this page for including a common header on every page of a website, which uses PHP. After describing how to include one page in another using PHP, the author ...
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
233 views

PHP website template and response time

I have a website with static HTML files on a VPS server. The site's response time is very fast and was built with a FrontPage template, so every template change updates all the HTML files and ...
1
vote
2answers
97 views

How to hide a piece of code from a wordpress web page?

I installed a plugin called Sociable on my Wordpress website. It displays social media share icons below each blog post, but on my website it's also showing up in the footer. Like here ...
0
votes
1answer
399 views

Is it possible to design website using tablets? And Which tablets support XAMPP? [closed]

I am trying to ditch my laptop for a tablet, and be able to practice PHP, HTML, CSS on the fly. But, I don't know which tablet to buy that can support even basic apps like Notepad++ and XAMPP.
2
votes
1answer
110 views

Why are perfectly legitimate pages on my website registering in Google Webmasters as 404?

I have seen this question asked several times here, but never clearly answered. I suspect it has something to do with my .htaccess file: # BEGIN WordPress <IfModule mod_rewrite.c> ...
1
vote
2answers
122 views

core.* files eating up server space (~50MB)

I'm renting server space from someone and, upon logging in my control panel after quite sometime, noticed an abnormal spike (~50MB) in the disk usage. Upon investigating, I found a lot of core.* files ...
1
vote
1answer
288 views

Selfoss says “no entries found”

I installed selfoss as instructed in the readme, set up the rss feeds, but I get "no entries found" when I open it. Anyone got this problem?
1
vote
0answers
34 views

Preventing automated (fake) request? [closed]

I developed a PHP application that its main use case is fetching some data from a database. I want prevent fetching all record of database data by using fake requests. The UI is simple (similar to ...
1
vote
1answer
135 views

Website attack form submission triggering emails related questions

We are experiencing website attacks that trigger the submission of a form, and send alert emails. Normal process of form submission is to fill up a couple of text fields, and when the user is ...
1
vote
0answers
156 views

How can I stop users stealing my video from my website? [closed]

I am making a website in PHP and I want to prevent anybody from copying or downloading my video or its URL, so that the user can only view the video on my website.
-3
votes
1answer
380 views

Does browser understand PHP? [closed]

I know that PHP is server side scripting language, but I got confused when asked in an interview if the browser understands PHP? I have Apache installed in my system. If in a PHP file I write ...
3
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/ ...
0
votes
2answers
162 views

What to use for “localhost” that includes PHP/SQL functionality?

I really do not want to install Linux at the moment, I would have to borrow a USB key, move files, format it, flash it, format it again, move files back, give it back... What would you recommend that ...
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
3answers
2k 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 ...
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 ...
0
votes
2answers
4k views

What largest websites are written in php? [closed]

What are some of the largest and most popular websites in the world written in php? I know 1 - this is wikipedia, tell please another large website.
0
votes
1answer
1k views

How do I install PHP 5.4.8 on a Win XP workstation?

I am trying to create a MediaWiki site on my WinXP workstation, and need to install PHP 5.4.8. I have downloaded and unpacked the binaries for PHP, but the install instructions are telling me to "Run ...
1
vote
1answer
206 views

Removing 301 redirect from site root

I'm having a look at a friends website (a fairly old PHP based one) which they've been advised needs re-structuring. The key points being: URLs should be lower case and more "friendly". The root ...
0
votes
1answer
47 views

Toggle CNAME entries using PHP?

Is it possible with PHP to dynamically toggle CNAME entries? For example I have two mirrors with media to be served on my website. Mirror 1 has a monthly bandwidth cap so upon reaching it I want to ...
2
votes
3answers
288 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 ...
1
vote
0answers
14 views

php cms withouth database [duplicate]

Possible Duplicate: Which Content Management System (CMS)/Wiki should I use? A friend of mine asked me for a easy website for him. As it was just 3 subpages, no database need or anything, ...
2
votes
1answer
251 views

PHP W3 Validator API, Is this good? [closed]

I was trying to find a way to see if my site's code was valid or not but I continuously going over to W3 Validator so I decided to make an "API" however it really isn't! I just wanted to know if ...
2
votes
2answers
219 views

How can I create a dynamic site that is still search-bot friendly?

If I want to have a slide effect between pages. You click a link, it is loaded off to the side and then slides in (pushing the old page off the other side). I can imagine using jQuery to do the PHP ...
1
vote
1answer
164 views

500 error on Joomla website

PHP Fatal error: Call to a member function setQuery() on a non-object in /home/josh/public_html/administrator/components/com_jfusion/plugins/phpbb3/forum.php on line 226 Just moved over to a new ...
1
vote
1answer
164 views

Is there any way to prevent the Google toolbar from breaking Friendly 404s

This might be considered a continuation of this question. If I output HTML after my 404 header, It displays properly in IE and FF unless the user has Google bar instaled. If I try header('HTTP/1.x ...
0
votes
1answer
165 views

What every beginner should know about website development? [closed]

I am a novice at building websites and considering to make one. But I'm very confused right now. I guess every beginner faces issues getting started. Some questions that have come up are: I have an ...
1
vote
0answers
272 views

GAPI output doesn't match Google Analytics website

I have to get the main info about my Google Analytics Goals. I'm using GAPI lib, with this code: <?php require_once 'conf.inc'; require_once 'gapi.class.php'; $ga = new ...
0
votes
1answer
364 views

Ideal web application framework for newcomers and whether it is better to use Java or PHP based framework? [closed]

My primary question is whether a Java based web application framework is better or a PHP based one and why? Moreover, if I were just starting web development then what would be some ideal frameworks ...
2
votes
1answer
60 views

Handling the holding of money on a platform

We are building a platform for a client, developed in Yii, where users can top up their account on the platform with money from PayPal. Users can upload files and buy access to each other's files. ...
3
votes
3answers
650 views

Hotel Reservation Request Booking Paypal PHP

I'm making a website for a small hotel in php. The hotel owners want a reservation system that uses paypal. They want people to see a calendar and choose a date to make a reservation. If the day has ...
5
votes
1answer
876 views

PHP URL Rewrite engine for small project

I use PHP. I want to setup a micro site as a prototype, where I can work with the frontend only, separated from any CMS. URL Rewrite I also want the URL rewrite to be correct, like ...
4
votes
2answers
628 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?
1
vote
1answer
41 views

iOS Touch Icon through XLSX file?

I'm setting up some iPads, and pointing Safari to www.mywebsite.com/spreadsheet.xlsx and it's displaying the document fine. That part is OK. I'm just wondering if there is a way to add a iOS Icon to ...
1
vote
3answers
183 views

CMS without templates [duplicate]

Possible Duplicate: Which Content Management System (CMS)/Wiki should I use? I am looking for a CMS where I can layout the page from scratch using HTML/PHP/CSS and simply enter code such ...
0
votes
0answers
117 views

Creating advanced website by redirecting and replacing content from Google Sites

I would like to create a corporate website with members area. Importantly, I want many novice webadmins to be able to modify static content themselves. Therefore, I got the idea to create the site ...
1
vote
1answer
390 views

include() or get_file_contents() which is better? [closed]

i am developing a function which return a value on give file name but include() in not return able which function should i use get_file_contents() is return able function or is there is any other ...
1
vote
1answer
159 views

Referrer Strings

I'm not exactly sure how to ask this, but here I go. I work for a company that provides IT services. Our main costumer has a website developed by WebCompany.com, and I act as a maintainer/middle-man ...
2
votes
1answer
936 views

How to extract $_SERVER['REQUEST_URL'] from given url [closed]

How to extract $_SERVER['REQUEST_URL'] from given url for example $url = 'http://localhost/application_dir/'; extract requested url from $url;
2
votes
0answers
16 views

Hosting advice for a write-heavy dynamic website [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I have built a website using PHP and MySQL and now I am looking for a hosting service. I am expecting about a 1000 ...
3
votes
2answers
585 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 ...
1
vote
1answer
430 views

curl to itself behind firewall

I have a server A which is configured behind a firewall and has 30.x.x.x public adress and 172.x.x.x internal address. I'm trying to make a php Curl call from a script located on that server, to the ...
1
vote
3answers
26 views

Separating portion of website to its own server

So my job is to take the homepage (or maybe I should say "homesite" because it encompasses a few interrelated pages) and drag this onto its own Apache server. The problem I'm having right now is being ...
0
votes
0answers
19 views

Free online PHP hosting [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I have a PHP script that can take $_GET parameters from a URL (i.e. http://www.example.com/test.php?name=george). I'd ...
7
votes
2answers
1k views

Where to find PHP version usage stats?

My original question was: what percentage of sites are using php 5.4.x? (As it has some very interesting new features.) With secondary questions like how many of the cheap web hosting places have ...