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
votes
1answer
191 views

PHPFox caching? [closed]

I run a big phpfox website and I currently have server setup as follows: nginx (reverse proxy) --> Apache for dynamic content are there other ways to cache content with phpfox? I can't use memcache ...
4
votes
1answer
61 views

How To Get Alexa Sites Linking Using PHP

I am planning to get the Alexa sites linking of a given website. I am looking to do this in PHP. Please suggest me is Alexa providing any API. Is there any tool? Is it free? Is there any API that I ...
-4
votes
1answer
89 views

How can set a local host ip address to forward to local host virtual host domain name [closed]

I want to forward different domain names to single IP Address (local for testing), but how can i recognize in pc that which domain name should be linked to which folder? For example in my windows ...
0
votes
0answers
147 views

Display RokNavMenu as a two-tier menu system [closed]

I am trying to modify the was RokNavMenu displays its dropdown menus. Assuming a 3-level menu, I need to have level 1 and level 2 be horizontal and level 3 drop down from level 2 This image shows ...
6
votes
1answer
155 views

Security: Hide mysql connection details file

Ok, so I know this must be a very basic question, but my problem is the following: I have developed my first PHP mini-app (so I'm fairly new to this) and I am pretty sure that there are two files of ...
1
vote
3answers
108 views

Bootstrap dynamic content

I am building a website powered by twitter's bootstrap. I have created a landing page with menus and text. The next thing I want to do is create a About page, but what is the easiest way to create a ...
1
vote
1answer
42 views

Host website on UNIX, but email on Windows?

Client has web hosting and email hosting from one web provider. Their email hosting is integrated with their systems for their office — an Exchange server (located on their premises). Both are on a ...
3
votes
5answers
255 views

SEO problems with multilanguage site [duplicate]

Possible Duplicate: How can I get search engines to crawl my site and see a localised view of my data? I have recently started a CMS project in PHP, the site will be multilingual. ...
4
votes
4answers
103 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 ...
3
votes
1answer
350 views

How to do a cacheable redirection?

When users enter my website example.com, their "preferred" language is detected and they are redirected (using a 301 Moved Permanently redirection) to example.com/en/ (for English), example.com/it/ ...
6
votes
3answers
150 views

Use Apache to prevent a PHP script from connecting to a specific domain

Is there a way to prevent apache from connecting to a specific domain e.g. somesite.com? I have a PHP script that trying to connect to specific host, and I would like to prevent that.
5
votes
1answer
441 views

PHP URL Rewrite engine for small project

I use PHP. I want to setup a micro site as a prototype, where I can work with the frontend only, separated from any CMS. URL Rewrite I also want the URL rewrite to be correct, like ...
1
vote
2answers
313 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
1answer
65 views

How would I make something like jQuery plugins subsite?

I'm currently creating a website. Part of the website I want people to be able to have their own sub site that they can add content (text files with descriptions) to (think jQuery plugins page). Is ...
1
vote
1answer
65 views

Creating Links to and tracking commission (Affilliates)

Whats the best way to create links to dish out to partner websites so they get a commission from the clickthrough they generate? I would prefer a PHP solution if there is one available?
1
vote
1answer
202 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 ...
21
votes
5answers
703 views

Updating a web app without any downtime

It's a PHP app. How can I minimize the downtime while updating the entire codebase?
8
votes
3answers
160 views

Is it worth it to change my entire user images file structure to take advantage of simple browser caching?

On one of my mobile sites, I simply store my user's profile images as '1.jpg' in their user folder, and incrementally go from there for any extra pics they upload. This means that whenever they change ...
0
votes
0answers
51 views

How to improve overall site performance/security? [closed]

I use PHP and am avid in my development using that language. What means can I use that will improve the performance of my PHP site, and bolster its security?
3
votes
4answers
104 views

Two websites (and domains) on one hosting

So I am a poor college student, thus I can't afford dedicated hosting, cloud or anything fancy of the like... However I managed to purchase myself two domain names say http://abc.com and ...
1
vote
3answers
208 views

Including title page name in PHP URLs

How do I show titles of the page in URLs? Currently: http://websitename.com/index.php?c_id=18&start=0&m_id=1 Change To: ...
-1
votes
1answer
59 views

How to redirect to a new page and have the new page display dynamic data [closed]

This seems like a pretty obvious question, but for some reason I have yet to find an answer. The goal here is to have a user click a link, for example like on this site, the user clicks a question and ...
0
votes
4answers
111 views

Multiple mini websites on a domain

I need to create about 500 different mini websites on the same domain. So that www.mydomain.com displays the general information, and www.mydomain.com/site1 displays the information for site1 (as a ...
3
votes
1answer
667 views

Search Engine Indexing of a Database-Driven Website

Suppose I have a MySQL whose rows are dog breeds and whose columns are properties of the breeds (e.g. coat color). The purpose of the site is to allow users to query the database with questions like ...
0
votes
3answers
131 views

Subdomain Is Redirected and Causing an Error Because www. is Added

On my site, say example.com, if I try to access test.example.com, Firefox automatically adds www. to test.example.com, making it www.test.example.com, which causes an error. However, if I visit a site ...
-1
votes
2answers
233 views

PHP not enabled by default on GoDaddy shared linux web hosting [closed]

I recently made the mistake of starting a web hosting account with GoDaddy. Let me start by saying that any comments or answers that I should walk away from the money I spent with GoDaddy and go with ...
2
votes
0answers
48 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 ...
0
votes
0answers
17 views

Scalable cloud based PHP-supported equivalent to Azure? [duplicate]

I am looking for a company that can sell me infinite scalable cloud based hosting for PHP projects like WordPress and other PHP/MySQL-based sites. I just tried Azure, only to realize that they have ...
53
votes
4answers
28k views

Are there any clear indicators that my sitemap file is beneficial?

I have recently created a sitemap.xml file and uploaded it to my Google Webmasters Tools account. Google didn't report any issues or errors with the uploaded sitemap of my site. Now my question is: ...
3
votes
3answers
344 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
0answers
380 views

Magento - Unable to access remote site but able to access a simple index.html file

I'm building a store (magento 1.6.0.0-rc2) and have a home server to host the site. It is behind a modem/router with redirection of port 80 and 3000 active to server box. 1. I can access the ...
1
vote
1answer
209 views

SSL on multiple directories

I have a website that is http, but has a port set up for https for a specific directory that is for the shopping cart. Now I'd like to use our SSL on a different directory in the same site as well. ...
0
votes
2answers
474 views

After changing web host, I get a 'file does not exist' error

I run a WordPress blog, and have recently changed web hosts. When changing web hosts, I copied all files and exported/imported the database etc as explained by lots of tutorials found easily on ...
4
votes
2answers
83 views

What measures should I take after I find one of my scripts being vulnerable?

I maintain a few PHP-based websites for a small company on a LAMP server. The scripts include CMS such as Joomla or Wordpress, as well as SilverStripe and Drupal installations. A week ago, I found ...
4
votes
1answer
802 views

Why has Apache begun running a single process as root, and another as root and the wwwdata user?

I am running Apache Worker-MPM, PHP 5.3.2, and FCGID. Apache runs better than before, but I noticed that there is an apache process running as root and a second process that runs as both root and ...
2
votes
1answer
588 views

Enable mod_rewrite on OpenSuSE 11.04

I have a problem on OpenSuSE 11.04. I configured apache and enabled mod_rewrite but it doesn't working. on every php file I get 403 forbidden error.
-1
votes
1answer
71 views

Wordpress Theme [closed]

I'm trying to create a basic wordpress theme. As far as I know the basic files I need are the style.css, header.php, index.php, footer.php, functions.php. Then it should show a blank site with some ...
1
vote
1answer
53 views

Forcing adverts via apache configuration file

I have a server I am trying to force adverts for free users. I can do it with a .htaccess file with this line "php_value auto_append_file '/var/www/vhosts/demoblog/demoblog.tk/httpdocs/test_ad.php'" ...
2
votes
4answers
986 views

Any good alternatives to MediaWiki for creating an 'intranet' type system?

I would like to install some form of intranet system to allow multiple users to add documentation to - MediaWiki would suffice, I just wondered if anyone knew of any better alternatives (must be PHP). ...
0
votes
0answers
32 views

Looking for a php mailing system capable of sending mails in batches of between 30 to 50 [closed]

The mailing system needs to send them in batches so as not to consume to much memory
2
votes
2answers
83 views

404 page not showing URL

My 404 page (/404.php) works, it's sending the proper headers (404 - Not found) But the thing is, it's not giving the link that caused it (eg example.com/thisisnon-existant.htm) but instead it's ...
2
votes
1answer
255 views

Pass IMG SRC via GET and echo it? Is that really secure?

I was wondering how I can make a really simple GET and echo request more secure The code: $src = $_GET['src']; echo "<img src='$src' />"; Basically, I have a URL like ...
1
vote
0answers
47 views

php wallet system

Im looking to setup a wallet system to run in a web app. The sort of thing that adwords has ie. you deposit money and then you can use money from you account to purchase items inside the web app. ...
2
votes
4answers
137 views

How to add version control and seperate development server to php/web development environment? [closed]

I'm the team lead of a small group of developers. My background is primarily in application development and I've worked in larger groups where version control (SVN, Git, etc.) have been used and ...
1
vote
0answers
51 views

Multiple PHP 5.x version for different directory [closed]

Is this thing even possible because I searched every where but all I could find was this one post ? Using .htaccess or using AddHandler/Action MIME module Directive ? I have compiled all Apache, PHP ...
0
votes
0answers
44 views

Insecure Php code allow other malicious code to run [closed]

Got an email from the web host that I used for a small website. Basically they disable the website and says the php code on it was used to scan for vulnerabilitity on their shared hosting platform, ...
2
votes
1answer
34 views

Why Can I See 301'd URL in Google Index

I have a domain, www.timeclockmtsonline that I have 301'd to www.timeclockmts-online.com using the following PHP: <?php header( "HTTP/1.1 301 Moved Permanently" ); header( "Location: ...
5
votes
2answers
122 views

How to use Python as a server language from a PHP perspective

I only know server side programming with PHP. To me, I write something into index.php and call http://localhost/index.php and see the results of the PHP script. I have been using CakePHP and ...
2
votes
2answers
102 views

Spambots looking for phpmyadmin and more

I inherited a couple of sites that send the webmaster an email with each 404 error. I get a smattering of errors each day, but there are times when I'll get dozens, even hundreds, of errors from these ...
0
votes
2answers
43 views

mod_rewrite issue, won't work when links contain “-”

I've been looking into mod_rewrite for my simple PHP CMS for a couple of days now and I found a rule that was supposed to work for me: RewriteRule ^(\w+)/?$ view_post.php?url=$1 This is supposed to ...

1 2 3 4 5 14