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
1answer
745 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 example.com/link.php?...
2
votes
4answers
519 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 ...
2
votes
1answer
54 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: http:...
-1
votes
2answers
68 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
68 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 ...
7
votes
2answers
8k 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
471 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 ...
1
vote
0answers
551 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
88 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
82 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 myserver....
1
vote
3answers
874 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 displayed ...
5
votes
2answers
105 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
522 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
286 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
2k 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
566 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
466 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
278 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 -nav....
3
votes
2answers
219 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
120 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 ...
3
votes
1answer
3k 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
263 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
114 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 http://amsa.mn/%...
0
votes
1answer
662 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
118 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
172 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
314 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
1answer
175 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 ...
-4
votes
1answer
666 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 <?...
4
votes
1answer
3k 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
173 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 ...
5
votes
2answers
3k 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
4k 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
84 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
7k 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
238 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
56 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
325 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
17 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, I've ...
2
votes
1answer
404 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
279 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
178 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 ...
3
votes
1answer
217 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
187 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
406 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 gapi(ga_email,ga_password)...
0
votes
1answer
474 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
71 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
958 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
1k 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 http://www.test....