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
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
371 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
963 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
786 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
846 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
88 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
558 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
789 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
343 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
221 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
247 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
3answers
148 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
920 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
503 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
244 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
776 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
155 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
37 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
89 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
213 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
89 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
179 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
751 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
845 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
826 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
389 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
89 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
243 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
519 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
122 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 ...
1
vote
1answer
738 views

fsockopen() error : Network is unreachable port 43 in php [closed]

i've writed some Php code that lookup for domain (whois) but it fails !! this is some of my code : function checkdomain($server,$domain){ global $response; $connection = fsockopen($server,43); ...
1
vote
3answers
276 views

User Accounts on a website

A website that I'm making on my mac has been giving me issues. I'm trying to create user accounts for the site using php but chrome/firefox keeps downloading it instead. So I use my iPad and it keeps ...
1
vote
2answers
864 views

How to run the PHP script at scheduled time

I need a valuable suggestion that I have to run the PHP script at the scheduled time daily to update some fields in database and to send automated email. How I can do this? Is it possible to write ...
1
vote
3answers
1k views

Symfony project on multiple servers

How can I use Symfony across multiple servers? I have a high-load project and I want to move parts of it(for example: image handlers, video handlers, registration) to other servers.
1
vote
2answers
549 views

Wordpress install directory, how to change it?

I have my wordpress installation on mywebsite.com/blog I now want to turn my entire mywebsite.com site into a CMS by use of the Wordpress CMS, whilst still maintaining /blog as the blog area. ...
1
vote
1answer
276 views

What is the new location for Flash Builder 4.5 for PHP plugin update?

When I try to update the Flash Builder 4.5 for PHP I receive the following: "No repository found at http://downloads.zend.com/fbphp/updates/4_5" I understand that zend guys moved the location of the ...
1
vote
2answers
566 views

chmod 700 and htaccess deny from all enough?

I would like to protect a public directory from public view. None of the files will ever be viewed online. I chmoded the directory to 700 and created an htaccess file that has "deny from all" inside ...
1
vote
1answer
139 views

Retrieve static webpage on client cache from dynamic content

I was developing a website on a certain web host and they lost everything. They told me their disks crashed and even the backup are unretrievable. I am mad. As I was often accessing my website ...
1
vote
2answers
142 views

Web Server vs Web Hosting

I have always thought about hosting sites on a local web server with MAMP or a web server application on a reliable and fast connection, but I was wondering if it would be better to just go with web ...