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
2k views

All Wordpress PHP Mail stuff being sent to spam

Every mail sent with the PHP Mail() is getting sent straight to spam (all providers e.g. gmail, yahoo, hotmail) My IP is not blacklisted. Here is an example of an email header that got sent to spam: ...
2
votes
1answer
203 views

How to fix page lag on load [closed]

I have a problem with my website, when you load the index page , the headers load fine but the main content appear with a delay between each photos. The error is only on the index because there is ...
2
votes
3answers
293 views

Mod Rewrite question

Is there a way to rewrite http://localhost/embed/player.swf?file=http://www.youtube.com/watch?v=7yKDhm4_-90 to something smaller? or is there a way to change this into ...
2
votes
2answers
226 views

Why does PHP create these log entries on every page access?

My server's error log (in cPanel) has an entry for every single time a PHP page is loaded that looks like this (where 'username' has been substituted for my actual username): [2012-06-09 09:02:07]: ...
1
vote
2answers
119 views

Will PHP Meta hurt SEO?

If I use PHP to place my meta tags such as keywords and descriptions will that hurt SEO? Will the bots not be able to crawl through the keywords and descriptions?
1
vote
3answers
644 views

seo and php get variables

I'm building my own blogging system for my own website. If all I preload them using php get variables, will Google recognize and index them as different pages or do I need to do something in addition ...
1
vote
6answers
4k views

SEO .html, .php or nothing [duplicate]

Possible Duplicate: Should I use a file extension or not? Hi Guys, When I make a site, should I use the .php extension, rewrite it to .html or just remove it (.htaccess)? What's your ...
1
vote
4answers
120 views

best way of updating website files quickly

I was wondering if there is a better way of updating my website's content. Right now, I make it in a text editor, and then test it on the localhost. When I am happy with the code, I save the files and ...
1
vote
1answer
203 views

Redirection with PHP or .htaccess - which is better for SEO?

I need one practical advice - is better to redirect with .htaccess Redirect 301 rules, or to use PHP header function (after parsing URL)? Which one is better to Google and SEO? Tnx in adv!
1
vote
2answers
373 views

Do Not Track feature of IE10

One of our clients is getting a bit worried about the new "Do Not Track" feature of Internet Explorer 10. Her site is heavily dependent on php sessions (as I imagine many other sites are). This was ...
1
vote
3answers
275 views

Checking if email addresses are valid

The host of the site I'm working on tends to shut off email if a certain number of fails take place. Needless to say this is a bit of a pain even if it's justified to fight spam. Is there a way to ...
1
vote
3answers
974 views

Best CMS for university/college?

Is there CMS for university or college.for these services(Register Collegian,Course Unit Selection,Exam Results,...).With PHP support! Tnx.
1
vote
3answers
797 views

How to suppress PHPSESSID in URL for Googlebot?

I use cookie based sessions, and they work for normal interaction with our site. However, when Googlebot comes crawling our PHP framework, Yii, needs to append ?PHPSESSID to each URL, which doesn't ...
1
vote
2answers
858 views

Most standard / Best way to keep the same top menu among different web pages?

What's the standard way to keep the same menu on top among different web pages without having to duplicate it on each page (I don't mean that it doesn't reload like when using frames and only loading ...
1
vote
2answers
89 views

HTML: Images always getting reloaded from server

I am finding that my web pages' images are always getting loaded from my server, even though they never change. Since these are images, not pages, I can't include an expiration date for them... How ...
1
vote
4answers
567 views

Setting up a LAMP VM server for Development and Testing?

Info: I would like to set up a VM server on my local computer which will serve pages in the exact same way as my current hosting (but only to me on my local computer). I currently pay a big web ...
1
vote
3answers
810 views

How to check if someone is using my website resources?

How can I check whether someone is using the resources hosted on my website? I have a website (coded in PHP) and I have uploaded a few images there. I want to know who is using those images on other ...
1
vote
2answers
8k views

NginX redirect to PHP file if image does not exist on file server

This is what I am trying to do. I am not familiar with Nginx enough to create custom rewrite rules like you can with Apache. It would be greatly appreciated if someone could help me with the Nginx ...
1
vote
2answers
349 views

“Cannot modify header information” error in my PHP/WordPress site

I edited the header.php and functions.php files in my WordPress site to add Google Analytics tracking code. Now, when I try to login to my admin area, the following warning appears and I am unable to ...
1
vote
3answers
3k views

import.php parameter missing?

Whenever I try to delete or update any of my tables in phpMyAdmin I receive the following error: 1.import.php: Missing parameter: import_type. 2.tbl-alter.php missing parameters:field I have ...
1
vote
3answers
226 views

Are there any security considerations if users are allowed to upload flash files

Lets say I have a website where users are allowed to upload files which will be displayed publicly as a portfolio gallery. For example, users might upload screenshots of a website they designed, or a ...
1
vote
7answers
248 views

Things to consider while choosing a web hosting service? [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? Also does the country matter?
1
vote
1answer
25 views

Basic looping on PHP for web design [closed]

I am very much a newbie in PHP. Could you tell me about basic looping in PHP if I want create a web design. Also, how do I connect to a MySQL database?
1
vote
3answers
150 views

Database of websites for a search engine

I'm planning to make a search engine, so I've downloaded this script. It works well, but I have to add a list of websites manually in a php file for the search engine to index. Is there any kind of ...
1
vote
3answers
971 views

Why isn't my PHP file running?

I recently installed Apache and later installed PHP too. When I browse to http://localhost/index.html it displays the default Apache page "it works". But when i try to run ...
1
vote
4answers
2k views

Best lightweight PHP/MySQL forum with spam-protection [duplicate]

Possible Duplicate: What Forum Software should I use? I have already searched and checked out posts like this and this but it isn't what I'm looking for. I'm looking for a lightweight ...
1
vote
2answers
507 views

Robots.txt not working because my site is still searchable

I put a robots.txt in my server This is the code that I putted in User-agent: * Disallow: / I just want my entire site won't be searchable in google. I also put in the NO INDEX, NO FOLLOW on the ...
1
vote
1answer
249 views

Routing and relative paths

CodeIgniter and many other PHP frameworks rout URLs, e.g. if default controller is root.php then both URLs will work website.com/ website.com/root if controller has a function 'login' then this URL ...
1
vote
3answers
789 views

Looking for a very lightweight PHP CMS for single page websites [duplicate]

Possible Duplicate: Which Content Management System (CMS) should I use? I need a very simple, secure CMS for single-page websites, with a single page backend, multilanguage, and preferably ...
1
vote
1answer
160 views

Apache redirecting: reason unknown

I have a simple php script. The script is not important. It just prints out $_SERVER. When I request an URL like www.server.com/?ref=bar everything is fine. However if the request contains something ...
1
vote
3answers
112 views

Free Blog site that allows PHP? [closed]

I was wondering if anyone knows of a free blog site (ie wordpress, blogspot, livejournal) that allows people to include php into their posts? Any leads would be greatly appreciate. cheers!
1
vote
2answers
49 views

How does mediawiki save the passwords?

I have mediawiki installed in my local machine. I had to use a form outside wiki which asks the user to upload files with the wiki username and password. In order to achieve this I went through the ...
1
vote
1answer
123 views

SEO impact when using php include

I always make a footer and a header and include them in my php pages but I am not sure the impact of doing this for SEO. The header has only a main banner and the navigation menu, all the metatags ...
1
vote
2answers
248 views

How to set the Content-Type for SVG files parsed by PHP

I currently use the following Apache httpd conf: <FilesMatch "\.svg$"> SetHandler application/x-httpd-php </FilesMatch> AddType image/svg+xml .svg What I'm trying to achieve: ...
1
vote
4answers
94 views

How to perform a 301 redirect with .htaccess and PHP

The website I am referencing in my question is http://www.bgmenus.com. I have successfully created clean urls like this for my listings: http://bgmenus.com/five-guys/341 I rewrote those using this: ...
1
vote
4answers
2k views

Digital Asset Management System

I am looking for an opensource web-based digital asset management system. My requirements are to create a web based system where users can upload and download .zip, .jpg, .png, .pdf, .doc, .xls etc. ...
1
vote
2answers
184 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 ...
1
vote
2answers
3k views

How do I make SEO friendly URLs?

My url is: website.com/profile/?id=24 I want it to be: website.com/profile/kevinlee The ?id=24 will be replaced with the username of the id=24 in the database How do I convert it to that?
1
vote
3answers
78 views

Comments Application SEO

I am developing a commenting application. Users will be able to integrate this application in Blogs. I am unsure how to make the comments searchable in Search Engines. What I want is all the comments ...
1
vote
2answers
772 views

File permission problem with codeignitor project using xampp

I am currently using Codeignitor as my PHP framework with XAMPP. I always keep all my files in c:/xampp/htdocs/. The settings are working fine in my own localhost machine. But when I load the same ...
1
vote
1answer
135 views

How does Facebook saves images to my HDD

How Facebook downloads images, when you click "Download" near the picture? I see, that they are passing some argument: _n.jpg?dl=1 ,but how it is managed 'behind the scenes'?
1
vote
3answers
859 views

How can I let users pay other users on my website?

I'm looking for a way to let users on my website pay other users on my website for goods or services and for me to take a percentage of the transaction as well as store the transaction data in ...
1
vote
3answers
845 views

Learning PHP Framework for ecommerce site

Are there any books that can teach a good/useful PHP framework to build an ecommerce site? Please recommend.
1
vote
2answers
394 views

Does installing PHP using the Microsoft IIS Web Platform Installer require a restart?

Does installing PHP using the Microsoft IIS Web Platform Installer require a restart? I don't want downtime. But I don't want to manually install it either.
1
vote
3answers
91 views

What is hosting space and why is it increasing every day?

My hosting's disk space is increasing every day and I just wanted to know, why? I don't upload new files, but it still gets increased by every day. Anyone knows? Thank you.
1
vote
3answers
52 views

external CSS file or CSS added to head via code?

I am building a website that uses a custom CMS. I am seriously considering not using external style sheets and adding all of the required CSS to the head of the pages that as needed (using PHP and ...
1
vote
2answers
275 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 ...
1
vote
1answer
522 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
2answers
125 views

core.* files eating up server space (~50MB)

I'm renting server space from someone and, upon logging in my control panel after quite sometime, noticed an abnormal spike (~50MB) in the disk usage. Upon investigating, I found a lot of core.* files ...
1
vote
1answer
159 views

Referrer Strings

I'm not exactly sure how to ask this, but here I go. I work for a company that provides IT services. Our main costumer has a website developed by WebCompany.com, and I act as a maintainer/middle-man ...