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
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
474 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
224 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
736 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
147 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
110 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
1answer
52 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
4answers
78 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
2answers
160 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
77 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
683 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
132 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
799 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
771 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
369 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
2answers
97 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
3answers
48 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
164 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
515 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
118 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
157 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
680 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
274 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
4answers
1k 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
717 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
985 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
3k views

What is the best currency API out there? [closed]

I may be asking an odd question, but webmasters seem like a decent place to post this. I'm in the search for an accurate, easy API (such as using JSON or XML) so I can use my web application. I've ...
1
vote
2answers
536 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
272 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
548 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
137 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 ...
1
vote
1answer
216 views

PHP - How to Backup and Move Wordpress Blog Website to different directory on the same host

I setup a blog for development purposes on the *.com/a/ directory and now want to move it to the root directory *.com on the same host. How do I Backup and Move the Wordpress Blog Website to the ...
1
vote
3answers
98 views

If my web application is under a server will it perform better than if it is under a shared hosting?

Assuming that I have build an application using PHP, let's say something like vBulletin or assume that I will install the vBulletin itself. Will it performs better if it is in a VPS rather than a ...
1
vote
1answer
287 views

Make all subdomains load the same page, how is it called/done?

Is there a way to make all subdomains show the same page. I got the idea somewhere you could have a page like idk information.com and if an user typed miami.information.com he would get information ...
1
vote
2answers
2k views

APC on 1and1 shared hosting?

Is anyone aware of a way to use APC on a 1and1 shared hosting account? They don't have the pecl extension installed by default.
1
vote
1answer
1k views

Why is video streaming so slow from my site?

I have some .flv files on my site and I've been using JWplayer to embed them into my webpages. The embedding looks like this: <embed flashvars="file=/tmp/<?php echo $row["location"]; ...
1
vote
4answers
570 views

PHP/MySQL shopping cart recommendation [duplicate]

Possible Duplicate: Which Ecommerce Script Should I Use? I need a shopping cart for PHP/MySQL. What I need is very simple. I have a template already set up with the 15 items that we want to ...
1
vote
1answer
85 views

Basic way to clean url from normal url

i want to make clean url from normal url : // Normal URL home.php?kategori=dress // Clean URL home.php/dress How could i build clean url like above.. Thanks in advance
1
vote
1answer
398 views

One-user databaseless CMS authentication

Background: My client needs a one-user bare-bones content management system, which should be capable to Edit text-content in plain-text or in WYSIWYG-style Possibly create new subpages Update image ...
1
vote
1answer
868 views

Joomla component upload error 500

When I try to upload a Joomla component via the the Joomla extension upload manager I receive a error 500 message. What can be the cause of the problem? How do i fix it? Note: I have tried changing ...
1
vote
2answers
22 views

Using ini_set() to change memory lmit for individual PHP scripts

I have had trouble in the past with memory issues caused by individual scripts on a website using more memory than they should. I have tackled this problem by lowering my PHP memory limit from 512MB ...
1
vote
1answer
41 views

The word “logo” is appearing in all my SERP, but it's not in my page titles

When I search for my website in Google, the word "logo" is being displayed in all the results, but I didn't specify the word "logo" in the titles of my HTML pages. See the following screenshot: ...
1
vote
2answers
40 views

should I learn html/css before php even for using database? [closed]

I saw lots of question about this topic and all of them were talking if someone want to use php for "building web pages", should learn html first or not. and most of them said yes, because most of ...
1
vote
1answer
37 views

Where to place php libraries/extensions?

I am new to a lot of server configurations and options. I want to add extra php libraries/extensions to my server. Where do I add them? (I am on a CENTOS 6.5 VPS) For example, I want to add the ...
1
vote
1answer
54 views

301 redirect + RewriteRule not working together?

I am using a 301 redirect to redirect a page to another page in the same website, which uses RewriteRule to hide the PHP variables in a friendly URL. My redirection code in .htaccess: Redirect 301 ...
1
vote
2answers
56 views

Capturing client request headers (complete) along with IP address information? [closed]

I want to write client request to a file with two things/information headers ip address The code I'm testing on free hosting service.Code is <? $headers= apache_request_headers(); foreach ...
1
vote
1answer
62 views

How to add custom php code in Wordpress text widget

I cant make my PHP code work when I add it in WordPress text widget (without plugin). The same code works on main (index.php) , but not in widget. I searched for this question and found the answer - ...