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

0
votes
1answer
618 views

SSL / https login from a non-secure (http) page

I am setting up a login page, and I have some security questions / concerns. I have a login form (username, password) on a NON-secure page, let's say: http://www.example.com/login.php When the ...
1
vote
1answer
59 views

Redirecting previous domain subfolder links

I've recently bought a domain that was unregistered. After looking in Google webmaster tools, Google is trying to crawl random pages that don't exist. Turns out it did have a previous owner. The ...
-1
votes
1answer
51 views

Create partial php.ini files [closed]

I want to two split php.ini into two files so that I can move important entries to a new file. I think it is a .ini file so, any rule for creating partial .ini files will also apply to it. Is it ...
0
votes
1answer
146 views

Private forum /guestbook to coordinate rides for PHP password protected wedding website [duplicate]

I created a simple private PHP website for my wedding guests. The website is a single PHP page that prompts the user for a password that was snail-mailed to them with our invitations. If the correct ...
-1
votes
1answer
182 views

Can I sell a php website on a condition that the code is not resold by the client? [closed]

What if I write my client a website using LAMP. Suppose that clients starts selling my code to other people, can I perhaps do something about it because I have already asked them not to sell it more ...
2
votes
1answer
51 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', ...
4
votes
2answers
70 views

Slow Migration is it possible with a PHP/SQL Driven site

I have a Joomla site that is operating on www.mysite.com, I want to migrate to WordPress but heres the thing, I have hundreds of pages and simply moving migrating them to a test site isn't ideal since ...
-1
votes
1answer
274 views

What's the double semicolon (::) for in PHP? [closed]

I'm working with NetSuite's PHP toolkit and i get the error T_PAAMAYIM_NEKUDOTAYIM from this line $classname = get_class($object); $typesmap = $classname::$paramtypesmap; <--- I just want to ...
0
votes
0answers
534 views

PHP not working while selecting multiple columns from a table with MySQL

I am using Apache 2.2. When I 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 101 ...
1
vote
1answer
3k views

Turning openbase_dir off using .htaccess

I'm 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 don't have ...
0
votes
2answers
500 views

POST data to another form with php

I want to create a form on my page to get information this is easily done and the problem. I want to 'POST' information to my own php-page, creating a new id and saving the information to my ...
0
votes
0answers
18 views

SSL Hosting Support for site with existing SSL certificate [duplicate]

I would like to know if there are any hosts that host PHP sites with SSL support for free, if I have an existing SSL certificate for my domain. I checked out many questions here(about 10) but none of ...
1
vote
1answer
519 views

Site got hacked while many / all security leaks have been removed [closed]

I've got a website with this code appended to my php document : <? #8f4d8e# ...
1
vote
1answer
29 views

Organizing main page with detailed content

I need to develop a structure like the one that appears in the following site: http://www.autoic2.com Clicking an image, showing the related content Clicking in that new content, showing the ...
3
votes
2answers
102 views

Installing a PHP framework to a host without public_html or www folders (ftp is DocumentRoot)

I've developed a PHP framework that operates with the directory structure of / /classes/ /templates/ /.../ /www/ (public_html) But I've come across a host that only allows ftp to the ...
2
votes
1answer
110 views

New to website form validation

I'm new to form validation and I have been lucky over the years. I would like to update my method of form creation in my sites. I was curious to know what is standard and if there is a preexisting ...
1
vote
1answer
390 views

Don't $_GET value on link rewrite with .htaccess

I config enable htaccess on my server (i enable mod_rewrite and do like this: http://stackoverflow.com/questions/11064005/enable-htacess-error-on-ubuntu-12-04-with-apache2) But on localhost is run ...
0
votes
1answer
59 views

PHP and Javascript [closed]

I am a good C programmer. I have recently studied a bit of JavaScript and I plan on developing my skills by also learning PHP. Can I learn both these language in 3 months and after that build a site ...
1
vote
0answers
68 views

Top commentators widget compatible with Facebook comments [closed]

I created a project on freelancer.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 that ...
-1
votes
1answer
1k views

Does anyone knows a good Facebook chat script? [closed]

I'm looking for a facebook chat script.. that can handle a large number of users.. does anyone knows one? I need one urgent and please post one that you had experience with.
3
votes
1answer
55 views

Are 307 Temporary Redirects safe for temporary new web site tests?

Our current site is getting close to being replaced. I was looking to do a test of our new sales funnel on the new site and compare the traffic and conversion ratios for a few days. So I was planning ...
1
vote
2answers
518 views

Change name of audio file for download

I have some mp3 files which are named "my-audio.mp3" but now the client wants the visitor to be able to download and save these files to their desktop. He doesn't like the name with the hyphen and ...
1
vote
0answers
119 views

Paging in table in PHP [closed]

Hey guys i have to make php program in which i have to take data from database (table is student(stu_id , s_name , s_emailid)) from which i have to display only 10 records on first page and 4 buttons ...
3
votes
0answers
31 views

PayPal - Selling a single app [closed]

I would like to sell a desktop application over my website through PayPal. The user will receive a download link and a license key. Are there any PHP scripts availabe from PayPal IPN to do that? ...
4
votes
1answer
510 views

How To Get Alexa Sites Linking Using PHP

I am planning to get the Alexa sites linking of a given website. I am looking to do this in PHP. Please suggest me is Alexa providing any API. Is there any tool? Is it free? Is there any API that I ...
6
votes
1answer
598 views

Security: Hide mysql connection details file

Ok, so I know this must be a very basic question, but my problem is the following: I have developed my first PHP mini-app (so I'm fairly new to this) and I am pretty sure that there are two files of ...
1
vote
3answers
692 views

Bootstrap dynamic content

I am building a website powered by twitter's bootstrap. I have created a landing page with menus and text. The next thing I want to do is create a About page, but what is the easiest way to create a ...
4
votes
4answers
191 views

Best location for a websites CMS

As part of my job I recently started making numerous content management systems for websites. So many that obviously my next step was to set up a 'template' for the websites so I could quickly remove ...
1
vote
4answers
235 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, ...
1
vote
1answer
52 views

Host website on UNIX, but email on Windows?

Client has web hosting and email hosting from one web provider. Their email hosting is integrated with their systems for their office — an Exchange server (located on their premises). Both are on a ...
-1
votes
1answer
4k views

PHP not enabled by default on GoDaddy shared linux web hosting [closed]

I recently made the mistake of starting a web hosting account with GoDaddy. Let me start by saying that any comments or answers that I should walk away from the money I spent with GoDaddy and go with ...
2
votes
0answers
100 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
176 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
132 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
500 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
406 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
98 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
45 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
65 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
57 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
3k 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
216 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
368 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
72 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
595 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
98 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
377 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
130 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 ...