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
0answers
12 views

How do google bots work for sites that are database driven? [duplicate]

I didn't see this question already asked but I also don't know if this may be called something in particular so my apologies. While learning SQL and PHP I was curious to know how do bots search a ...
1
vote
0answers
26 views

What is the feasibility of developing a phpBB-based barter bulletin board? [closed]

I've got a concept for a barter deal bulletin board and would like to know how feasible is it to implement the concept with phpBB. The main differences from a typical forum are the following: Users ...
0
votes
0answers
54 views

Google Analytics: How do I report a custom event programatically? [closed]

I am just learning GA as part of a new program our company is rolling out. I'm sending the following custom event whenever a user clicks on a button on our test site: <button ...
0
votes
1answer
66 views

How do I get thousands of PDF files “found” by google search

I have approximately 5,000 PDF files in 4 different categories on our Joomla website that are currently only accessible by via a PHP/mySQL seach script. The filenames (which are numbers) and file ...
0
votes
0answers
39 views

WHMCS Bulk Pricing Updater

Their is a Bulk Pricing Updater addon in WHMCS which works well to update hosting accounts pricing but I am unable to update the domain pricing through that every time it gives this message ...
2
votes
1answer
70 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 ...
1
vote
1answer
115 views

Facebook Ads - after setting campaign it is not showing in ad manager

Description: I bought new campaign in facebook ads service. The type of it is Website Conversions. I implemented pixel (registering) sucessfully, redeemed created list of ads and inserted new card ...
1
vote
1answer
41 views

I have multiple versions of the same landing page. How can I tell Google Analytics which is being viewed?

I'm sending a link to a landing page to a number of different companies and need to be able to tell Google Analytics which company is viewing the page and when. I of course have my original link to ...
0
votes
1answer
89 views

How to make better RESTful links SEO on static content website with Apache and PHP Router

I have a pretty old website (running on Apache) that serves around 50 static HTML pages. And so I want to change it and add PHP Router to help me serve content in a RESTful way. Now I have tried ...
0
votes
1answer
48 views

Can a PHP generated main page be indexed by Google? [duplicate]

I generate an index.html file in a PHP script to avoid PHP code within HTML and to show content that is delivered by another script hourly. (Like next flights within an hour.) This script overwrites ...
2
votes
1answer
52 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.
0
votes
1answer
52 views

Undefined index: log in C:\xampp\htdocs\tutorials\home.php on line 20 [closed]

18 <?php 19 include("session/DBConnection.php"); 20 $user = $_SESSION['log']['username']; 21 $query = mysql_query("SELECT * FROM members WHERE username = '$user'"); 22 $display = ...
0
votes
0answers
15 views

Main index redirect to sub folder (e.g. domain.com/site) [duplicate]

Main index file is at mydomain.com/site I want to do a redirect from mydomain.com to mydomain.com/site. What is the most google-friendly way to do this?
1
vote
2answers
182 views

Cannot solve errors on W3C validator

I have found a webpage that can check for errors in my webpage's code. Here are the errors I couldn't solve: End of file seen and there were open elements. Unclosed element div. <div ...
2
votes
1answer
287 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
63 views

Will echoing content from a simple XML loaded with PHP cause the page to show up in search results (SEO)?

I want to know if I'm using PHP right to create search friendly content. I'd like my images to start showing up in Google for my website, so I'm passing an RSS feed to PHP file using the ...
1
vote
1answer
55 views

Effective upload to backend?

Let's say I have a website with frontend and backend. The website allows users to upload some data ranging from hundreds of MB to GB. How do you effectively upload this data? The easiest way would ...
0
votes
0answers
10 views

Is it possible to grant access to a folder in a SVN server using SVN's API?

I need to develop a web application (Using any language but I'm familiar with Frameworks Symfony2 and Rails), that is able to grant access to a user to a determined folder on another server on the ...
0
votes
1answer
166 views

Uploading a file automatically for speed test?

I am building a Web UI for a device for internet connection and one of the requirements in it is a speed test. I know the basic concept of how speed test works. A file is downloaded for a limited time ...
2
votes
1answer
879 views

Apache VERY high page load time

My Drupal 6 site has been running smoothly for years but recently has experienced intermittent periods of extreme slowness (10-60 sec page loads). Several hours of slowness followed by hours of normal ...
0
votes
1answer
263 views

Google Analytics data Missing for 4 days

I used wrong tracking id in my E-commerce tracking code for Google analytics and missed the data for few days. To add that missing data in my account I have written a short script which manually send ...
0
votes
1answer
46 views

Webserver insists on opening “blog1.php” instead of “index.php”

I'm at my wits' end. I have just ripped out a website and in the process of rebuilding everything. Previously, the 'home page' of the website is a blog, with the address ...
0
votes
1answer
91 views

Changing to PHP 5-5.5

I've been using PHP-5.4.3 for about a month now, and today, I decided to make a switch to PHP-5.5.5, I downloaded the source code, and placed it in C:/php (also renaming the folder php-5.5.5 to php) ...
0
votes
1answer
17 views

Updating Pages after migration of website

My web site was coded in Coldfusion and over the years has obtained a good ranking. I recently migrated the front-end to a Wordpress site and wanted to know what is ideal way of updating Google and ...
0
votes
1answer
83 views

PHP web app hosting considerations and advice - high traffic expected from day 1 [duplicate]

I'm in the process of researching hosting providers for a high traffic Facebook application. The client has over 300,000 likes so we can expect quite a bit of traffic when posts are made about it and ...
2
votes
1answer
123 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 ...
0
votes
1answer
540 views

What does it mean to infect people with silent java drive?

I've got a weird contact message through my website, claiming they have found a security vulnerability and wonder if I have a bug bounty program. The details they shared: Only what I can say is ...
0
votes
0answers
34 views

Bing crawls my sitemap, but pages don't show in results [duplicate]

Before voting my question down, I must note that I have searched the forum. That being said: I have a sitemap, which is pretty large (25k pages). These are products for sale. The products are used ...
1
vote
1answer
44 views

PHP Clean Directory

Is there a way to clean a directory using PHP after a certain amount of days? I'd like to put the amount of days into a $Cleanup variable? I've tried and not been able to get it working.
0
votes
2answers
174 views

PHP not working : Ubuntu

I have a problem my test server loads html files fine but when I try to open a file like index.php it says The website encountered an error while retrieving http://localhost/. It may be down for ...
0
votes
1answer
63 views

Shared hosting site has issues

Although I have many years worth of coding experience, I'm a complete n00b at managing sites. So I need help. Basically I have this new site on a shared hosting provider, and sometimes I get these ...
0
votes
0answers
13 views

Do GET variables have bad effects on a page? [duplicate]

I am developing my own site, and I want to add multilanguage to my site. My approach is to have a GET variable lang=LANG to handle different languages. So, my URLs will be as such: ...
1
vote
1answer
124 views

Adding an SMTP server that would result in more delivered emails

I am very curious, so sorry if I am asking this in the wrong way, but I can't find this info anywhere. I have a newsletter service installed in my Joomla 3.1 that allows me to send emails via PHP ...
-1
votes
1answer
124 views

How to display a logo in a printed web page that doesn't appear on-screen? [closed]

I have sales report I want to print with a logo, but I don't want it shown on the screen. I'm currently trying to use JavaScript to print a particular DIV from a page: <script ...
1
vote
1answer
152 views

Using a CDN for CMS software (multiple sites)

I'm currently researching ideas for the media management side of a CMS I'm writing. I was looking at having images served from a CDN which is fine on a single site, but I want all sites that run the ...
1
vote
1answer
36 views

Greater PHP version required

I have bought a new hosting plan and trying to install WordPress from the beginning. I am new with the installer I am using now. The error I get is unusual for me and i cant manage this problem. ...
0
votes
2answers
107 views

API demands & and not &amp;

So I recently changed where my site is hosted, and my yp.com API requests are being thrown off, perhaps by a new version of PHP. ...
0
votes
1answer
196 views

htaccess redirect pages that don't exist

I have a website that has a little over 100 members. Each member gets a replicated website, and by default the software we use sets up their replicated website at a url like: domain.com/?username ...
2
votes
3answers
509 views

Server Side Includes that work in HTML and PHP with IIS 7 on Windows Server 2008

We currently have SSI set up to work in our HTML pages as follows <!--#INCLUDE file="/includes/header.inc"--> We also use PHP on our server, and are trying to avoid creating two separate ...
1
vote
1answer
81 views

.htaccess problems with redirection

I apologize ahead of time that this might be a common question, however I've spent 3-4 hours already on solutions which don't quite fix the problem. I have a site and it is moving to a different ...
1
vote
1answer
143 views

Will Google index a PHP header redirect?

I have a new domain which has an index.php file. Inside this file, I get user's IP, save it and redirect to another page on another domain. So there is no output, only header info. Will Google index ...
0
votes
2answers
323 views

Does it make sense to throw a 404 error with PHP?

Problem Description Hi, The current setting of my .htaccess file does not allow any kind of 404 (as far as I know). I mean, it captures every kind of url like mysite.com/asfasfasf then sends it to ...
0
votes
2answers
189 views

Form validation - security and input specification

So I'm working on a register form and I have four fields: name, username, email and password. I pick up the values of these fields in jQuery and depending on if all the fields are filled, I pass them ...
1
vote
1answer
1k views

How do I upgrade the PHP MySQL Library?

My PHP MySQL Library version is out of date with my MySQL Vesion. How do I fix this? Server: CentOS 6.3 Steps Taken: FRESH machine originally installed with MySQL 5.1 and PHP 5.3 I uninstalled php ...
0
votes
2answers
167 views

Best way for beginner to learn JavaScript and PHP coding [closed]

I have a job interview coming up and in job description it states I need to be able to write JavaScript and PHP coding. Now its been a while since I did JavaScript and PHP coding. I am planning to use ...
0
votes
2answers
312 views

How can a Google crawlers see PHP dynamic content? [duplicate]

I'm reading the Google SEO starter guide and on page 11 it says you should prepare a site for users and one for search engines in XML. My site is about vehicles, and vehicle is not in a separate ...
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 ...
3
votes
1answer
2k views

PHP header redirect that maintains query parameters?

I am experimenting with the PHP redirect http://www.phpjunkyard.com/tutorials/php-redirect.php. Specifically the 301 redirect to create a self correcting URL to help with typos - there's a unique ID ...
1
vote
2answers
186 views

Serving proper 404/410 error codes on dynamic database driven site

a developer I'm working with is having a difficult time serving 404 errors on dynamically generated pages (they get created when the request is made by querying the database to see if the content ...
0
votes
3answers
193 views

Best way to replace/publish the restructured website in SEO friendly manner

I had a website which contains several subdomains. http://sub1.example.com/stories/23/job-done.html http://sub2.example.com/stories/23/job-done.html At present I decided to restructure my website ...