Tagged Questions

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
0answers
520 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 ...
0
votes
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
468 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
518 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
380 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
54 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
488 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
496 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
582 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
659 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
233 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
51 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
174 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
131 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
492 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
403 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
97 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
43 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
54 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
198 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
343 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
588 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
97 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
373 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
128 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 ...
1
vote
1answer
257 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
317 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
214 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 ...
3
votes
2answers
182 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
110 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 ...
2
votes
1answer
1k 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
231 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
95 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 ...