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

2
votes
0answers
99 views

How many connection can my website have? [closed]

As the traffic increased my website hangs quite regularly. The page visit is now averaging 50k per day. The static page loads fine, but when the page has mysql request it takes too much time to ...
2
votes
2answers
167 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 ...
1
vote
0answers
123 views

php wallet system [closed]

I'm looking to set up a wallet system to run in a web app. The sort of thing that Adwords has i.e. you deposit money and then you can use money from you account to purchase items inside the web app. ...
2
votes
1answer
460 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
4answers
386 views

How to add version control and seperate development server to php/web development environment? [closed]

I'm the team lead of a small group of developers. My background is primarily in application development and I've worked in larger groups where version control (SVN, Git, etc.) have been used and ...
1
vote
0answers
94 views

Multiple PHP 5.x version for different directory [closed]

Is this thing even possible because I searched every where but all I could find was this one post ? Using .htaccess or using AddHandler/Action MIME module Directive ? I have compiled all Apache, PHP ...
2
votes
1answer
41 views

Why Can I See 301'd URL in Google Index

I have a domain, www.timeclockmtsonline that I have 301'd to www.timeclockmts-online.com using the following PHP: <?php header( "HTTP/1.1 301 Moved Permanently" ); header( "Location: ...
0
votes
2answers
61 views

mod_rewrite issue, won't work when links contain “-”

I've been looking into mod_rewrite for my simple PHP CMS for a couple of days now and I found a rule that was supposed to work for me: RewriteRule ^(\w+)/?$ view_post.php?url=$1 This is supposed to ...
0
votes
2answers
54 views

Is there a 'Subscription Cart' software available?

I have a website, whereby members pay an annual feel. Initially the members were a few now it has fun into hundreds. Now I have to check existing members manually to see if their subscription is going ...
6
votes
2answers
2k views

How to use Python as a server language from a PHP perspective

I only know server side programming with PHP. To me, I write something into index.php and call http://localhost/index.php and see the results of the PHP script. I have been using CakePHP and ...
1
vote
3answers
165 views

File upload through webform failed, server config?

I'm in the process of moving my sites from a shared hosting to a VPS (running CentOS with Plesk 10). When testing on my VPS I noticed that all of the sudden I couldn't upload files through a webform ...
0
votes
0answers
301 views

Xampp and file paths

I'm having hard time with xampp, it really getting me crazy. I have few installations of WordPress with Roots Template, which was loading without any css, js..etc. And the solution was to delete ...
1
vote
1answer
84 views

Is there a online website to forward incoming emails to a other emails?

I created a PHP program that receives emails from clients, then I manually forward the client's email to around 50 suppliers. Is there a possibility or an online website, so that when a client sends ...
3
votes
1answer
69 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 ...
1
vote
3answers
529 views

Does Google treat .html pages differently from .php pages? [duplicate]

Possible Duplicate: Should I use a file extension or not? My current hosting provider does not let me put PHP code inside of a .html page. So part of my content is in a database and ...
4
votes
2answers
96 views

What measures should I take after I find one of my scripts being vulnerable?

I maintain a few PHP-based websites for a small company on a LAMP server. The scripts include CMS such as Joomla or Wordpress, as well as SilverStripe and Drupal installations. A week ago, I found ...
0
votes
1answer
342 views

SEO Help - Using Rich Snippets

I launched my web comics website, www.hittingtreeswithsticks.com, late November of last year and would like to improve its SEO. Go Daddy provides Search Engine Visibility assistance... so I'm trying ...
2
votes
1answer
120 views

How to find data usage of a user on my website?

I have a website (project) where users get logged in, do their work and then they log out. I need to build a report that displays how much each person has used of data. (bandwidth, how much was ...
-1
votes
1answer
1k views

How to retrieve an image from MySQL database and display the image as background on body? [closed]

How do I retrieve an image from MySQL database (I know how to display image by retrieving from database but here i want to display differently) i.e. display the image as background on body and image ...
1
vote
1answer
199 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
291 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
194 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
168 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
104 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
226 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
91 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
332 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
95 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
117 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
268 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
33 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
130 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
138 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
309 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
161 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
1k 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
78 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
3k 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
910 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
199 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
46 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
266 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
200 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
211 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
145 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
141 views

Is there any way to prevent Googlebar 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 ...