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
2answers
585 views

Implement SSL in website

Our company have purchased SSL certificate and installed in linux on Host Server. Can you plz tell me how to make use of this in our website. How to configure it in Website.Is there any need to write ...
2
votes
2answers
1k views

Login script with member area/user

Is there a free script which I can use to: Share some PDF with my partners. But i need the user to reach only those PDFs which they have privileges for. So I need: login script with registration (i ...
2
votes
2answers
225 views

Cookie manager PHP

I own a Joomla commerce store and although I use Google Analytics in order to track visitors, I need to install a cookie manager in order to be able to track cookies that were installed on customer ...
2
votes
1answer
224 views

Allow visitor to print something they bought only 1 time

I am doing a website that needs to only let the customer print out what they bought 1 time. There are websites that currently do this and they mentioned Adobe Flash Player, Adobe AIR and the Sheet ...
2
votes
1answer
672 views

How to redirect user into mobile website?

Hi how to redirect the user into mobile site when the user accessing from mobile. Say example i have site called www.mysite.com. Now, a person accessing a website from mobile it should redirect to ...
2
votes
1answer
517 views

What is Easiest Way to Change URL Structure of Dynamic PHP Website? [duplicate]

I am a SEO guy and always facing this problem, that PHP sites make dynamic URL with IDs. This is not SEO friendly structure—like this /article.php?id=2987—and need to be changed like this ...
2
votes
1answer
2k views

How do I make SEO friendly URLs from my PHP pages?

I'm pretty new to this and was wondering how to turn my site URLs into SEO friendly URLs using .htaccess and mod_rewrite? My URLs take the form mydomain.com/index.php?pid=1&pagename=Some Page I ...
2
votes
1answer
305 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
299 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
1k 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
190 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
849 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
536 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
837 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
33 views

Problem with htaccess rewrite condition

I needed to redirect site.com/var1/var2/var3/... to site.com/index.php?myvars=var1/var2/var3/... This is the code I wrote myself: RewriteEngine On RewriteCond %{REQUEST_URI} !=/index.php ...
2
votes
1answer
32 views

Codeigniter not working after moving direcories

I just starting trying to learn CodeIgniter. From the user guide it suggests to move the application and system folder for security reasons. I now have this structure: ./public/index.php ./app/ ...
2
votes
1answer
109 views

Why is CakePHP generating unrequested 301 redirects?

Seemingly at random, when I attempt to go to a webpage (such as /want), another webpage (such as /get) on the same subdomain is loaded in response. This has been happening for many months on a set of ...
2
votes
2answers
94 views

WordPress keeps redirecting my users to install.php, Is it caused by an injection hack?

I don't really know how to express my problem, so bear with me. This is a bit hard to explain. I have a Wordpress installation, the latest, and often (once a day) my site redirects users to the ...
2
votes
1answer
69 views

Inserting WordPress in a site with .htaccess Rewrite Rule

I want to insert a WordPress blog in a website which is programmed in PHP and that uses includes() to select what content to show, and that uses .htaccess Rewrite Rule to get friendly URLs. The ...
2
votes
1answer
50 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
264 views

Curl not working with PHP 5.4.6

I'm trying to use Curl to send and receive XML information from my credit card company and it works great in a shared server (sandbox). However, now that I uploaded it to my dedicated server it does ...
2
votes
1answer
116 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
1k 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
963 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
390 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
311 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
295 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
45 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
42 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
121 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
198 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
227 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
102 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
59 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
261 views

Trouble with images in phppgAdmin on my Nginx VPS

this is my first time using Nginx or phppgAdmin, and after placing the phppgadmin folder into my public_html folder I find that the resources for the phppgadmin page are broken, images and css ...
2
votes
1answer
446 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
380 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
664 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
177 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
284 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
1k 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
199 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
443 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
108 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 ...