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
4answers
74 views

Restrict webserver access to specific set of URLS only

Is there any possible way to setup and restrict access web server to specific set of URLs only. I want my web server only respond to www.abc.com, www.abc.com/videos, www.abc.com/videos/vandor-1, ...
2
votes
2answers
37 views

Track exit link and ads with PHP

I want to track exit links on my website and also exit ads like Google Adsense etc. I mean by exit ads is that when click on add I get ads dimension and ads type like Google or other ads. In short I ...
2
votes
2answers
35 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
2answers
249 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> ...
1
vote
2answers
166 views

Cookie manager php

i own a joomla commerce store and although i use Google Analytics in order to track visis, i need to install a cookie manager in order to be able to track cookies that were installed on customer when ...
2
votes
1answer
170 views

Unable to print login-required images in IE

I have some images in a section of a site that require the user to be logged in in order to view. These images are served by a PHP script, which checks the user's login state and if valid, serves the ...
1
vote
1answer
22 views

SEO effects of intermix of WP blog, custom PHP site and FB app game

We're a melbourne tech company in the process of building a custom site in PHP. We plan to launch a "pre-launch" page which is also custom coded (CSS3 on twitter bootstrap framework + HTML5 front end ...
1
vote
1answer
76 views

Php form to email software?

I have used PHP Form Wizard software, its really very good but I don't know why it starts throwing run-time error 91 and not working on my system any more. I am looking for its alternative: ...
1
vote
1answer
73 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
1answer
274 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 ...
1
vote
1answer
113 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. ...
1
vote
1answer
83 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 ...
1
vote
1answer
454 views

Swift Mailer SMTP Mailer for PHP Alternative

I'm trying to find a replacement for Swift Mailer as my website is on Dreamhost. They do not allow fsockopen() which apparently Swift Mailer uses. Does anyone know of a good alternative, or can point ...
1
vote
1answer
228 views

Bulletin Board System with tagging, email notification

I am looking for nice BBS system, Bulletin Board System, Discussion Board, or nice in-company communication platform. There are lots of people, about 30 people, joining in our project. We would like ...
0
votes
1answer
30 views

turning openbase_dir off using htaccess

Im trying to run a script on my shared hosting account, i keep getting an error relating to open_basedir, which i understand would normally be turned off in the php.ini file, which i dont have access ...
0
votes
1answer
79 views

codesniffer command not being recognized after several installs and upgrades

I've tried to install codesniffer using pear but my mac is not recognizing the phpcs command. pear config Configuration (channel pear.php.net): ===================================== Auto-discover ...
0
votes
1answer
62 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 ...
2
votes
0answers
245 views

Problem with missing JSON functions on PHP 5.2.6 / Plesk 8.4

I have a vserver running openSuse 10.3, Apache 2 and Plesk 8.4. I can update/upgrade neither, as it is apparently not recommended to upgrade openSuse 10.3 (and an update to the EOL 10.4 does not seem ...
2
votes
0answers
165 views

Maximum file size for iFrame in IE7

I've got a "super secure" javascript downloader* that I wrote, and it usually works alright. But I noticed, while trying to download a 90 meg file with it on a client's machine that on IE7, it's ...
1
vote
0answers
29 views

Top commentators widget compatible with facebook comments

Created a project on freelancer dot com but then i was wondering if this thing is possible knowing Facebook comments has its own restrictions and limitations. "Hi, I want a widget on the sidebar ...
1
vote
0answers
47 views

php wallet system

Im looking to setup a wallet system to run in a web app. The sort of thing that adwords has ie. you deposit money and then you can use money from you account to purchase items inside the web app. ...
1
vote
0answers
126 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 ...
1
vote
0answers
114 views

Memcache alternative for cpanel hosting

Memcache is the best caching API for php, but it is not available on most of the hosting providers. Are there any alternatives to memcache which are available for most hosting providers(e.g. Godaddy)? ...
1
vote
0answers
153 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 ...
1
vote
0answers
74 views

Best practice for suEXEC on complex sites?

What is best practice for using suEXEC on complex sites? We've got a site running under a single vhost, and we want to be able to run different PHP web apps eg /forum /wiki /crm as their own UIDs, to ...
1
vote
0answers
383 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 ...
0
votes
0answers
10 views

How to double protect admin access in PyroCMS

I have read how to protect admin folder with .htaccess and .htpasswd file but in PyroCMS admin login (ex: example.com/admin) just only routing system (no admin folder yet). So, how can I double ...
0
votes
0answers
104 views

Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.(while selecting multiple columns)

am using apache 2.2.i have written this code when am trying to run it my browser is failing to run it ,it's showing This webpage is not available The connection to localhost was interrupted. Error ...
0
votes
0answers
77 views

Xampp and file paths

I'm having hard time with xampp, it realy 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 ...
0
votes
0answers
49 views

301 redirect causes issue in web tools for analysis of performance and seo

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 ...
0
votes
0answers
87 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 ...
0
votes
0answers
309 views

Nginx 404 not working with PHP?

I have a 404 file and it is working with nginx. However when I modify the 404 file to redirect the user it does not redirect. visiting http://site.com/404.php redirects the user. visiting ...
0
votes
0answers
153 views

Cannot send email to Google Apps alias from PHP

I'm using Wordpress and sending email via Gmail SMTP: server: smtp.gmail.com port: 465 I created Google Apps main domain called domain.com and email info@domain.com. Then I registered domain ...