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
299 views

Could you recommend a good shopping cart script? [duplicate]

Possible Duplicate: Which Ecommerce Script Should I Use? I'm looking for a PHP/MySQL script, free or not. Could you please recommend me one that can do the following: The site I'm trying ...
2
votes
2answers
289 views

Change content of page depending on Google search

A client has asked me to tailor the content of their homepage based on how the user got there from Google. His example is something like: If a user searches Google for Cars in Barcelona, then the ...
2
votes
1answer
949 views

Everything needed to run a high-traffic web site

I'm an experienced front-end web developer, while my back-end experience has occurred only within the context of Drupal. Basically, the deeper things go into the back end, the more inexperienced I am. ...
2
votes
2answers
180 views

Photoblogging engine using PHP and MySQL or PostgreSQL

I am looking for nice looking and with good usability photo blogging software to run on my server. So far I have found PixelPost, Cheesecake and EZPX. PixelPost - look quite abandoned project ...
2
votes
1answer
1k views

Accessing server stats using PHP

There are over 10 stats packages installed in my server (AWStat, Webalizer, etc) and cPanel has an interface to show them in terms of visitors, bandwidth, popular pages, etc. It is possible to access ...
2
votes
1answer
785 views

How do I change the default email that my host sends from php mail from in Justhost's C-panel

I'm trying to work with sending mail through PHP for the first time and I've done pretty well with the exception of one thing. All mail i send is from an email address that ends in "justhost.com" ...
2
votes
1answer
1k views

How do I save user uploaded files outside of the web folder but use them on my page?

I have read that one of the best things to do for security with user uploaded files is to store them outside of the web folder, as there is very little you can do to ensure that that jpg image the ...
2
votes
2answers
507 views

How can I tell if someone is logged into a google account?

At this point I don't want to interface w/ google account, I just would like to know if they are logged in to a google account or not, and then serve slightly different links if they are|aren't. I'm ...
2
votes
1answer
2k views

How can I call a URL as a cron job in Webmin?

(Possibly this belongs on stackoverflow, although it's not really a programming issue since the code works when run directly. If it needs to be moved, though, no problem.) I have a PHP file (which ...
2
votes
5answers
784 views

Looking for PHP E-Commerce Script which allows USERS to create their own stores [duplicate]

Possible Duplicate: Which Ecommerce Script Should I Use? Are there ready made PHP scripts which would allow my USERS to create their own stores? I don't want an eBay clones. Just a script ...
2
votes
1answer
119 views

PHP framework or app for customer support / automated troubleshooting

I need to provide my customers a web help so that I can diagnose their issues. I was thinking about a tree questionnaire, where the leaf is either the response to the issue, or a "Please call the ...
2
votes
1answer
46 views

Google eCommerce tracking from PHP

Is some way to send eCommerce tracking to Google without JavaScript? I want to do that just with PHP.
2
votes
1answer
101 views

possibilites on uploading a file without login in mediawiki

In mediawiki, using api i can upload a file. its getting fine . But it will upload only logged in. i need to customize without login anybody can upload a file . I know without login cannot able to ...
2
votes
2answers
966 views

Mod-rewrite rule broken after host upgrade to Apache 2.4

I use the following code on my site to remove php extension from links: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond ...
2
votes
1answer
707 views

Problems using PHP on a Plesk Windows dedicated server

I'm having a few issues with my dedicated Windows server that has a Plesk panel: 1.) I can't send e-mail via PHP's mail() function, it always returns the following error: SMTP server response: ...
2
votes
1answer
349 views

Site hack… but what is this?

My site have been hacked (i think) here is the code... the question, how to find what it does... <?php $zend_framework="\x63\162\x65\141\x74\145\x5f\146\x75\156\x63\164\x69\157\x6e"; ...
2
votes
1answer
251 views

Will Google crawl session based website

I have a website, it is split into 3 categories but using PHP its an all-in one kind of style. When a user chooses a category on the home page a session is set, this is then used to set the style and ...
2
votes
3answers
197 views

How to determine which files are used by website

I recently became responsible for a PHP / HTML / MySQL website. The document structure is full of duplicate files and folders making the site appear more complex than it is. Is there any tool I can ...
2
votes
1answer
43 views

How to Show apache error on shared hosting?

I have tried to show the errors on the server by adding this : ini_set('display_startup_errors',1) ini_set('display_errors', 1); ini_set('log_errors', 1); ini_set('error_log', ...
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: ...
2
votes
1answer
114 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 ...
2
votes
2answers
186 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 ...
2
votes
3answers
221 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 ...
2
votes
1answer
92 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> ...
2
votes
1answer
57 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. ...
2
votes
1answer
392 views

Webmatrix fails to connect PHP website to MySQL

I downloaded the latest versions of Webmatrix and MySQL. I downloaded a PHP-MySQL Connector: http://dev.mysql.com/downloads/connector/php-mysqlnd/ In the "Databases" Workspace I pressed "New ...
2
votes
2answers
355 views

Help with URL Rewrite

I have a page that selects some info from a database and displays it with a link to a second page that uses the result to query the database, something like this: $sel=mysql_query("select id, title ...
2
votes
2answers
604 views

php+mysql account management software?

I need an account system added to my website as a plugin to all of my HTML pages. The account system plugin needs to,register new users, log in current users, remove users who want to disconnect ...
2
votes
1answer
164 views

PHP accessible shared content between two websites on the same VPS on different domains/IPs

I have two ecommerce websites, selling music digital downloads, on the same VPS, currently using cPanel/WHM (but thinking of switching to Virtualmin). They have separate domains and IPs of course. ...
2
votes
1answer
266 views

Problem upgrading Mediawiki 1.5.8 to Mediawiki 1.19 (libxml2 inadequate on server)

I have a wiki set up on my local development environment. The wiki runs on Mediawiki 1.5.8, but I'm trying to upgrade it to run on Mediawiki 1.19. When I run the update.php script I get the following ...
2
votes
1answer
977 views

Server Error after trying to update the functions.php [closed]

I recently tried to change the logo on Genesis themed WordPress site using this tutorial: http://anewtab.com/add-logo-genesis-theme I added add_theme_support( 'genesis-custom-header', array( ...
2
votes
1answer
191 views

Server outputs the sourcecode of PHP page

I have a Shared Hosting package with HostGator. In it, I'm hosting around 4 websites. They are just some simple sites that doesn't likely to attract more visitors. But a few days ago, when I accessed ...
2
votes
1answer
408 views

htaccess preventing sqlite database being downloaded

I have a VPS, running apache2 on Debian 6. Created a file called .htaccess on the web root, which included: <Files ~ "\.db$"> Order allow,deny Deny from all </Files> ...
2
votes
1answer
107 views

Joomla: Cross site link boxes

I am currently evaluating Joomla for use on the the rebuild of our corporate website. One of the features our designs have is spaces for what we've been calling widgets. These widgets include common ...
2
votes
2answers
114 views

Spambots looking for phpmyadmin and more

I inherited a couple of sites that send the webmaster an email with each 404 error. I get a smattering of errors each day, but there are times when I'll get dozens, even hundreds, of errors from these ...
2
votes
3answers
3k views

.htaccess mod_rewrite 500 internal server error

Whenever I place my .htaccess file in my web directory I receive a 500 internal server error and within the error.log file specifying: [Sat Jan 21 13:46:07 2012] [error] [client xx.xx.xxx.xx] Request ...
2
votes
1answer
298 views

Status Dashboard

I know this question has probably been asked so many times before, but I can't find anything helpful out in the wide world. I'm looking for a status dashboard for my company's websites, that I can ...
2
votes
1answer
78 views

Generic updater for php-applications and other webapps

I administer a few servers, on some of which are a lot of users which happily deploy mediawikis and oder php-applications. This gives me headaches since there are often old versions of them lying ...
2
votes
2answers
62 views

Strange issue with Wordpress sites, is it PHP Memory?

This has happened to me twice with the same host and I want to know the real cause. I have multiple wordpress sites hosted on a shared server. One day when I attempt to visit any of the sites, the ...
2
votes
1answer
2k views

Extend depth of .htaccess to all subfolders and their children

I need to be able to use .htaccess in all subfolders for full depth. E.g. I have .htaccess in public_html folder: \public_html\.htaccess How I make it to work for the folder small as well? ...
2
votes
1answer
204 views

Put files outside of directory, so none can access it (Apache, PHP, MySQL)

I have a file structure like this: public/admin public/some folder includes/ I set up a sub-domain page.mysite.com and I pointed the directory to be mysite.com/page/public/admin. I thought that ...
2
votes
1answer
110 views

Recommendations for Setup of Test Environment

We host several sites on a Cloud server. It constantly seems to be getting picked up by Google, but our clients need to be able to access there in progress builds to add content. This brings with it ...
2
votes
1answer
546 views

Magento - Unable to access remote site but able to access a simple index.html file

I'm building a store (magento 1.6.0.0-rc2) and have a home server to host the site. It is behind a modem/router with redirection of port 80 and 3000 active to server box. 1. I can access the ...
2
votes
2answers
499 views

PHP Development Environment (Host: Windows 7, Guest: Ubuntu)

Since editing files live from a remote server slows down development. I use XAMPP on windows to develop then run the web app's on a Linux server. However to avoid environment dependencies I'd like to ...
2
votes
1answer
244 views

Open-source, PHP, DB-free SCM for brochure site?

A friend of mine is an architect starting her own business, and needs to build a basic brochure site to promote herself. The site will simply include a few articles and pictures of projects she worked ...
2
votes
1answer
926 views

Enable mod_rewrite on OpenSuSE 11.04

I have a problem on OpenSuSE 11.04. I configured apache and enabled mod_rewrite but it doesn't working. on every php file I get 403 forbidden error.
2
votes
3answers
291 views

Hacker Crawler inserting iframe into ftp file

Somehow, a "hacker crawler" is constantly inserting a harmful iframe-line into one of my files: It's done automatically, and not by a person, I assume. I've changed all my passwords several times ...
2
votes
1answer
99 views

Issues trying to run PHP4 alongside PHP5

I’m trying to get PHP4 running under CGI alongside PHP5 as a module in Apache. Long story short, I have some legacy applications that aren’t running under PHP5 and they would take a while to rewrite, ...
2
votes
1answer
113 views

Caching preventing users seeing site updates

I'm experiencing a caching issue I can't explain. This is happening across browsers, IPs and ISPs. If a user force-refreshes, they see the new content. If they then refresh or return to the page, the ...
2
votes
1answer
912 views

How to Edit Simple Flat CSV Text Files Online?

For a new website a team of translators will be editing each their own comma separated text files, files like de.txt fr.txt cn.txt etc. All such files reside in one and the same directory. Each file ...