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
0answers
15 views

base64 ico server error asphostportal hosting

My hosting is with asphostportal.com. I have an "index.html" (or .php - it makes no difference) file in the root / of my hosting space. That "index.html" file has this line of code in it: <link ...
2
votes
1answer
76 views

Passing Arabic values in parameters results in % spaces

I have built an .htaccess clean URL, this part works perfect in my .htaccess: RewriteCond %{THE_REQUEST} /road.php\s [NC] RewriteRule . نقفورالثانيفوكاس/ [R=301,L] RewriteRule ^نقفورالثانيفوكاس/$ ...
2
votes
0answers
26 views

Store a formula in a table and use the formula in a javascript/PHP function [closed]

I have a MySql database where part of it handles instrument's depth of water. Each instrument has its own formula of calculation how depth the water when the operator collect the reading I stored the ...
2
votes
3answers
237 views

How to find out what is causing “Entry Process” limit?

We're using an OpenCart 1.5.5.1 custom theme for our site. Well it hasn't been smooth sailing for us and we are facing problem after problem. So far the gist of it is we're currently on a business ...
2
votes
1answer
69 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 ...
2
votes
0answers
63 views

Good security practice for writing a php/mysql web app [closed]

I'm about to create a web app that is php/mysql based. It should contain multiple users and two levels of admin accounts. It will most likely not be very likely to be attacked in any way. Still I am ...
2
votes
0answers
103 views

How many connection can my website have? [closed]

As the traffic increased my website hangs quite regularly. The page visit is now averaging 50k per day. The static page loads fine, but when the page has mysql request it takes too much time to ...
2
votes
0answers
16 views

Hosting advice for a write-heavy dynamic website [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I have built a website using PHP and MySQL and now I am looking for a hosting service. I am expecting about a 1000 ...
2
votes
0answers
449 views

Problem with missing JSON functions on PHP 5.2.6 / Plesk 8.4

I have a vserver running openSuse 10.3, Apache 2 and Plesk 8.4. I can update/upgrade neither, as it is apparently not recommended to upgrade openSuse 10.3 (and an update to the EOL 10.4 does not seem ...
2
votes
3answers
2k views

How to download an MP3 or ZIP file onto mobile devices [closed]

I want to be able to download digital goods to smartphone users (music in format .mp3 or .zip). But iPhone and iPad do not allow direct forced downloads. How can I provide mobile users with digital ...
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
209 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
294 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
232 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
664 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
121 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
379 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
277 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
992 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
820 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
883 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
90 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
587 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
847 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
9k 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
372 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
235 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
250 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
29 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
156 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
1k 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
522 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
271 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
803 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
167 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
115 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
76 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
177 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
322 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
116 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 [closed]

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
207 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
842 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 ...