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
46 views

Apache: keep track of non-404 errors (e.g., 403, 500, et al)

In cpanel I always have the error log open ("This function will display the last 300 errors for your site.") which is nice for 404's but what about the rest? I'm working on a few things in htaccess, ...
1
vote
0answers
68 views

Apache HeaderName does not work in .htaccess

So I have a .htaccess file in a subdirectory that contains a list of folders. In the main directory I have a .htaccess file that contains: Options +Indexes IndexOptions FancyIndexing AddType ...
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 ...
1
vote
2answers
153 views

Domain files download upon opening

I'm having this weird issue with my Domain. My domain is saoo.eu hosted on HostZilla. The issue is that whenever I open an HTML/PHP file it automatically downloads it instead of opening it into the ...
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
1answer
73 views

Use a GET variable to see a referrer in Google Analytics

I have a system on my site that sends an email to a customer with a certain url in it (not a private url, just the info they've requested). The format of this url is just straight on: ...
3
votes
3answers
227 views

Generate a sitemap automatically, does it need to be XML?

I want to create an XML sitemap (for the sake of SEO), my first attempt to achieve this was by including the website main menu/navigation links using <?php include ("assets/includes/menu.inc"); ...
0
votes
1answer
165 views

What every beginner should know about website development? [closed]

I am a novice at building websites and considering to make one. But I'm very confused right now. I guess every beginner faces issues getting started. Some questions that have come up are: I have an ...
0
votes
0answers
5 views

Webhosting server Frontcontroller support [duplicate]

I am currently using XAMPP to code my websites, but i want to host it online now. I came across some hosting servers and they had restrictions, one didn't allow the use of a PDO and another didn't ...
1
vote
1answer
87 views

How to send hundreds of emails an hour with content personalized to each user?

There are more than 10 categories in my site, users can register more than one category. My PHP script prepares content for each category, according to user preferences. My script merges those ...
3
votes
1answer
1k views

How do I create a .htaccess file that would make my website work like Adfly

I need, but don't know how to make, an htaccess file that will send a user, when looking for the home page, to index.php. It should not send them anywhere when they look for a URL like /7fg4/. ...
5
votes
3answers
131 views

How to optimise the url for search engines?

I have a php template which has one index.php and all the different pages (content1.html, content2.html, etc) are shown on the index.phppage. So for example I can open ...
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 ...
2
votes
2answers
617 views

I am 16 and want to learn how to develop websites (complex sites with video and members).. what language do you suggest I learn? [closed]

I am trying to get into programming for web development and PHP seems like a good language to use for that. I want to make complex sites with videos and member logins like a YouTube. I didn't know ...
1
vote
0answers
24 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 ...
2
votes
1answer
108 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 ...
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 ...
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
199 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
51 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
301 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
916 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
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 ...
2
votes
1answer
68 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
36 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
827 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
226 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
576 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
94 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
762 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
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
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
88 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
47 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
304 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
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 ...
2
votes
1answer
49 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
2k 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
88 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
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: ...
3
votes
1answer
259 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 ...
3
votes
9answers
1k views

How to check if person doesn't have multiple account?

I have two users in my website with the same IP. I asked them or him, idk, why does he have 2 accounts. He said that other account is owned by his roommate. His roommate uses other computer in my ...
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 = ...
1
vote
1answer
53 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
149 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
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.