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

5
votes
2answers
1k views

Requesting advice for accepting large file uploads

I asked this question over at StackExchange but was advised to try here... I'm looking at building a web app that includes a file upload element. I'd like users to be able to upload files of any type ...
3
votes
2answers
204 views

File upload on shared hosting

Is it possible to upload a file of size 300+ MB on shared hosting such as host gator ?
1
vote
1answer
160 views

Is SEO effected when URL changes from .php to not including .php [duplicate]

Possible Duplicate: SEO - Changing file extension Hi, Is SEO effected when URL changes from .php to not including .php? For example, if you change a URL from example.com/about.php ...
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
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 ...
3
votes
3answers
1k views

Storing User-uploaded Images

What is the usual practice for handling user uploaded photos and storing them on the database and server? For a user profile image: After receiving the image file from user, rename file to ...
0
votes
1answer
67 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 ...
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 ...
0
votes
0answers
41 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
936 views

How to stop access of a PHP file from other sites

I read somewhere about hot linking of images. Preventing image hot linking helps to stop bandwidth theft from your site. Would it work for a PHP file? In my case, I am using a PHP file to generate ...
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
1answer
618 views

place to host a simple php socket server [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? i am running a small project that occasionally requires me to run a php socket script through ssh. it uses a few ...
4
votes
3answers
2k views

using .htaccess to redirect .asp to .php?

Ahoy all! I've been racking my brain with this one. I basically just converted all of my pages from ASP code to PHP code. Kept the same filenames. So, here is the htaccess code I have so far, but ...
1
vote
1answer
128 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 ...
0
votes
2answers
822 views

Generating RSS Feeds Automatically?

I am running a static PHP website for the past 3 months. It's not a CMS but just simple PHP files (no database) in to which I add content. I am struggling to manually create RSS feeds as it is very ...
1
vote
1answer
156 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
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
91 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
395 views

Will Google crawl session based website

I have a website, it is split into 3 categories but using PHP its an all-in one kind of style. When a user chooses a category on the home page a session is set, this is then used to set the style and ...
0
votes
2answers
199 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 ...
2
votes
1answer
54 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
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 ...
1
vote
0answers
89 views

How to enhance Google Talk to show a message when we are unavailable or add more than one user? [closed]

I'm using Google Talk on my site to chat online with users. Is there any method to customize it such as showing a message form when we are unavailable or adding more than one user on it or any other ...
1
vote
1answer
1k views

Facebook Connect with CodeIgniter login problems

I'm having a problem using Facebook Connect on my latest website. I'm running it using the CodeIgniter framework and Elliot Haughin's library (http://www.haughin.com/code/facebook/). Everything is ...
2
votes
1answer
1k 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: ...
3
votes
1answer
267 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 ...
0
votes
1answer
54 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 = ...
1
vote
1answer
58 views

CMS fails at finishing setup with PHP-FPM and Apache, but why?

I have installed Apache and PHP-FPM by following this tutorial. Unfortunately when I try to set up Drupal or PHP-Fusion it simply fails at the end of the setup. I mean it accepts everything and at ...
1
vote
2answers
217 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 ...
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
1answer
45 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
1answer
442 views

How to using ajax for voting script [closed]

I'm trying to set up some voting logic on my site, and have the vote result update without refreshing the site. I did some research and AJAX seems to be the way to go, but I can't find a good tutorial ...
7
votes
1answer
374 views

Problem with .htaccess and mod_rewrite after moving site to new server

The site seems to draw the correct links but its not redirecting me to the correct view. The same code works fine on the old server here http://ruse.systemio.net/q&a/. The new server is here ...
0
votes
2answers
80 views

Trouble with my website and IE7

Sorry I'm new here but I have a serious problem: I changed the CSS style sheet for IE7 for my site, but now when using IE7 it has no graphics and all of the scripts code is printed. I have tried ...
1
vote
0answers
618 views

Interspire Email Marketer Configuration [closed]

I'm trying to set up Interspire's Email Marketer for a client. I have a working configuration of it on the VPS but this one is having issues! I have transferred it from their old server and setup the ...
1
vote
0answers
124 views

How does this site count clicks? [closed]

I found this site, http://psncardgenerator.com/ It has a unique ID generator, and click counter. I understand how the ID was made, but don't understand how the counter was made. Does anyone know? (I'm ...
2
votes
1answer
602 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 ...
1
vote
1answer
126 views

Extra configuration needed after installing SSL certificate?

We recently developed two rather simple PHP applications for AXA (European bank). URL's are axa.tfo.be/incentives/cipres and axa.tfo.be/incentives/zrkk (access to both sites is restricted to visitors ...
2
votes
1answer
177 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. ...
0
votes
1answer
239 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 ...
2
votes
2answers
307 views

Change content of page depending on Google search

A client has asked me to tailor the content of their homepage based on how the user got there from Google. His example is something like: If a user searches Google for Cars in Barcelona, then the ...
2
votes
1answer
67 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
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. ...
4
votes
5answers
752 views

Seo for collapsed text?

I have been tasked to make a pretty simple site which have to be SEO friendly. Now, i was told that the articles should take minimal space when listed so i thought of a "read more" expandable plugin. ...
1
vote
3answers
661 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 ...
1
vote
1answer
57 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
2answers
124 views

Looking for Windows shared web hosting with PHP support [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I'm looking for Windows based shared web hosting which supports multiple hosted web sites (multiple domains). ...
3
votes
5answers
431 views

SEO problems with multilanguage site [duplicate]

Possible Duplicate: How can I get search engines to crawl my site and see a localised view of my data? I have recently started a CMS project in PHP, the site will be multilingual. ...
0
votes
1answer
196 views

Question about MochaHost.com Hosting Plans [duplicate]

This is not an advertising, I've just found this website (MochaHost) that offers a great things just for 3$/m like : 2 LifeTime FREE Domains UNLIMITED Space and bandwidth SVN (subversion) support ...