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.
2
votes
3answers
2k views
.htaccess mod_rewrite 500 internal server error
Whenever I place my .htaccess file in my web directory I receive a 500 internal server error and within the error.log file specifying:
[Sat Jan 21 13:46:07 2012] [error] [client xx.xx.xxx.xx] Request ...
2
votes
1answer
224 views
Status Dashboard
I know this question has probably been asked so many times before, but I can't find anything helpful out in the wide world.
I'm looking for a status dashboard for my company's websites, that I can ...
2
votes
1answer
73 views
Generic updater for php-applications and other webapps
I administer a few servers, on some of which are a lot of users which happily deploy mediawikis and oder php-applications. This gives me headaches since there are often old versions of them lying ...
2
votes
2answers
58 views
Strange issue with Wordpress sites, is it PHP Memory?
This has happened to me twice with the same host and I want to know the real cause.
I have multiple wordpress sites hosted on a shared server. One day when I attempt to visit any of the sites, the ...
2
votes
2answers
486 views
You don't have permission to access /index.php on this server
I made a 'login with OpenID' page and I had a error when OpenID provider return to my page:
You don't have permission to access /index.php on this server.
Additionally, a 404 Not Found ...
2
votes
1answer
752 views
Extend depth of .htaccess to all subfolders and their children
I need to be able to use .htaccess in all subfolders for full depth. E.g. I have .htaccess in public_html folder:
\public_html\.htaccess
How I make it to work for the folder small as well?
...
2
votes
1answer
165 views
Put files outside of directory, so none can access it (Apache, PHP, MySQL)
I have a file structure like this:
public/admin
public/some folder
includes/
I set up a sub-domain page.mysite.com and I pointed the directory to be mysite.com/page/public/admin. I thought that ...
2
votes
3answers
434 views
What is deleteme.xxxxxxxx.php
I was going through page hit logs on awstats and I noticed the following two entries:
/deleteme.lcivykmt.php
/deleteme.nctqicjg.php
I was wondering if anyone recognised them and whether I should ...
2
votes
1answer
101 views
Recommendations for Setup of Test Environment
We host several sites on a Cloud server. It constantly seems to be getting picked up by Google, but our clients need to be able to access there in progress builds to add content. This brings with it ...
2
votes
2answers
441 views
PHP Development Environment (Host: Windows 7, Guest: Ubuntu)
Since editing files live from a remote server slows down development. I use XAMPP on windows to develop then run the web app's on a Linux server.
However to avoid environment dependencies I'd like to ...
2
votes
1answer
178 views
Open-source, PHP, DB-free SCM for brochure site?
A friend of mine is an architect starting her own business, and needs to build a basic brochure site to promote herself. The site will simply include a few articles and pictures of projects she worked ...
2
votes
1answer
589 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.
2
votes
3answers
231 views
Hacker Crawler inserting iframe into ftp file
Somehow, a "hacker crawler" is constantly inserting a harmful iframe-line into one of my files:
It's done automatically, and not by a person, I assume.
I've changed all my passwords several times ...
2
votes
1answer
80 views
Issues trying to run PHP4 alongside PHP5
I’m trying to get PHP4 running under CGI alongside PHP5 as a module in Apache. Long story short, I have some legacy applications that aren’t running under PHP5 and they would take a while to rewrite, ...
2
votes
1answer
89 views
Caching preventing users seeing site updates
I'm experiencing a caching issue I can't explain. This is happening across browsers, IPs and ISPs. If a user force-refreshes, they see the new content. If they then refresh or return to the page, the ...
2
votes
1answer
820 views
How to Edit Simple Flat CSV Text Files Online?
For a new website a team of translators will be editing each their own comma separated text files, files like de.txt fr.txt cn.txt etc. All such files reside in one and the same directory. Each file ...
2
votes
1answer
237 views
Safe directory for cron job PHP scripts
I have a website which I run a PHP script for updating its Database.
What is considered to be an acceptable location on the server to store such scripts? Obviously only the root (running a cronjob to ...
2
votes
1answer
93 views
file need to go through a php page using .htaccess
I'm looking for a way to convert this type of url : h11p://www.mywebsite.com/dl/F5EGD6
Into h11p://www.mywebsie.com/dl/files/my_file.zip sing a PHP page to request the URL from the DB with F5EGD6. I ...
2
votes
1answer
150 views
show content on domain.com from a sub directory
I have a domain that looks like domain.com
on the server files look like:
<www>
<mydirectory>
<otherstuff>
<asubdomain>
index.html
.htaccess
ok, so when you open the ...
2
votes
2answers
262 views
Mod Rewrite not working on my addon domain
have a wordpress website on my main domain
For the wordpress website i have this in my .htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond ...
2
votes
2answers
34 views
Track exit link and ads with PHP
I want to track exit links on my website and also exit ads like Google Adsense etc. I mean by exit ads is that when click on add I get ads dimension and ads type like Google or other ads. In short I ...
2
votes
0answers
34 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
2answers
35 views
How to determine which files are used by website
I recently became responsible for a PHP / HTML / MySQL website.
The document structure is full of duplicate files and folders making the site appear more complex than it is.
Is there any tool I can ...
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 ...
2
votes
1answer
49 views
Reverse proxy with no httpd access
I'll outline my requirement, proposed solution and if anyone has a better idea please feel free to suggest.
Requirements / Desires - I want multiple clients to be connectible to an address ...
2
votes
0answers
15 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
245 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
1answer
170 views
Unable to print login-required images in IE
I have some images in a section of a site that require the user to be logged in in order to view. These images are served by a PHP script, which checks the user's login state and if valid, serves the ...
2
votes
3answers
679 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
2answers
249 views
htaccess preventing sqlite database being downloaded
I have a VPS, running apache2 on Debian 6.
Created a file called .htaccess on the web root, which included:
<Files ~ "\.db$">
Order allow,deny
Deny from all
</Files>
...
2
votes
0answers
164 views
Maximum file size for iFrame in IE7
I've got a "super secure" javascript downloader* that I wrote, and it usually works alright. But I noticed, while trying to download a 90 meg file with it on a client's machine that on IE7, it's ...
2
votes
1answer
168 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
455 views
I am 16 and want to learn how to develop websites (complex sites with video and members).. what language do you suggest I learn? [closed]
I am trying to get into programming for web development and PHP seems like a good language to use for that. I want to make complex sites with videos and member logins like a youtube... I didnt know ...
2
votes
3answers
265 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
139 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
113 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
361 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
3k 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
112 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
156 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
265 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
236 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
783 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
528 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
648 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
3answers
496 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
182 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
2k 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
174 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
231 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?