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
1answer
252 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
60 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
54 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
153 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
722 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
251 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
45 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
85 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
78 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
114 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
485 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
158 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
61 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
120 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 ...
0
votes
0answers
12 views

Choosing an ecommerce solution to integrate into exsisting site [duplicate]

I have a website - a localised version of www.goapr.co.uk. It lists about 300 tangible products. I now need to integrate a shopping cart solution to the site. I would like as tight integration as ...
-1
votes
1answer
118 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
144 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
96 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
186 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
427 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
133 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
289 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
177 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 ...
0
votes
0answers
22 views

How to hide part of page from Google? [duplicate]

I'm looking for a way to hide, say a <div>, from Google. The reason is, the content is session based, and not represents the page really. It says "you are logged in as $username" is there any ...
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
163 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
274 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
1k 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
174 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
181 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 ...
0
votes
0answers
91 views

Clean URL using index files or mod_rewrite

Is it better to make clean URL's using index files in directories or simply using mod_rewrite rules to remove the file extensions?
4
votes
2answers
163 views

Website hack resulting in auto redirect - where to start looking?

My website is being redirected to a non-existent page (/showpage.php) for some users when they hit the homepage. For other users, the site works fine. I have looked in the index.php files and some ...
0
votes
0answers
286 views

PHP5-FPM reload from web browser: Internal server error 500 [closed]

I am creating a free shared hosting service for fun and learning. I made a simple form where the user enters the subdomain and ftp password. When the user hits submit, a script generates a linux user ...
1
vote
1answer
113 views

How to Trigger GA Event for Every Single Pageview (of a certain type)

Thanks, edited my question. I need a reliable way to capture a GA event whenever the GA tracking code fires for a particular page only. Doing so because we want to assign a dollar value to simply ...
1
vote
1answer
39 views

Not able to see databases in symlinked folder

I created a folder on my Dropbox and then symlinked it to both of my computers that I use for development. The folder is working correctly and I can see all the files in it from both computers. The ...
0
votes
1answer
128 views

Issue in Google Analytics tracking code. [Status: Tracking Not Installed] [closed]

i am using Google Analytics tracking code for tracking site views but it shows Status: Tracking Not Installed here is my tracking code . <script> ...
1
vote
1answer
61 views

SEO consideration for downloadable files

I used to serve PDF files as static file: http://domain.com/pdf/file1.pdf and PDF files perfectly indexed by Google and other search engines. Then I decided to change my structure to place pdf ...
0
votes
1answer
118 views

Removing “Dirty URLs”

I have a site that apparently has "dirty URLs". For example a URL that I have goes something like this: www.website.com/article?articleID=2 or something along the lines of that. This, to me, seems to ...
2
votes
1answer
908 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
2answers
223 views

How to do a JavaScript redirection to the same page without hurting my SEO?

I did something that does that when people land on my page for the first time, they get a JavaScript redirection to the same page, but with PHP $_GET URL queries, then this page redirect back to the ...
1
vote
2answers
209 views

HREF link for Excel Files Generated using PHP

I would like to get your inputs on the "preferred" way of linking to dynamically generated excel files using PHP. Using PHPExcel (or any other Excel writer for that matter) I have to generate a ...
3
votes
1answer
200 views

MediaWiki Error: Lua error: Internal error: The interpreter has terminated with signal “11”

I have a MediaWiki deployement at: http://wiki.tankpedia.org/ I have been importing templates from Wikipedia and am receiving a Lua error for the Convert template; the error is: Lua error: ...