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.
3
votes
4answers
229 views
Migration from Windows to Linux hosting
I'm looking forward installing a CMS for my sites - most likely Joomla - but apparently Windows hosting doesn't support it. I was wondering what kind of changes I'd have to perform if I changed to ...
3
votes
9answers
715 views
How to check if person doesn't have multiple account?
I have two users in my website with the same IP. I asked them or him, idk, why does he have 2 accounts. He said that other account is owned by his roommate. His roommate uses other computer in my ...
3
votes
4answers
641 views
What is the best and cheapest CMS for an E-Commerce site?
My client needs a site customers can use to pay the membership fees and join. It should also track when old members need to pay again. There are some members that will not want to pay online and they ...
3
votes
4answers
170 views
Best location for a websites CMS
As part of my job I recently started making numerous content management systems for websites. So many that obviously my next step was to set up a 'template' for the websites so I could quickly remove ...
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 ...
3
votes
2answers
94 views
Subdomains and Site
didn't know how to put this into to a title. Ok my idea is to have any subdomain working on my site, and for example if I type:
what.example.com
(my site has a unique folder for every subdomain, and ...
3
votes
2answers
181 views
Remember me or not?
I was told to post this on webmasters instead of stackoverflow.
Is it safe to have the remember me feature? Would it be somewhat safe (knowing it won't be 100% safe) to allow users to close their ...
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. ...
3
votes
1answer
145 views
SEO & Multilingual: would be this a good practise?
I am currently making a bilingual website and I'd like to get nice SEO results of course.
Here's my idea:
The internal links would be composed of the "www" subdomain so that people can share links ...
3
votes
1answer
305 views
how the search engines interpret the exclamation mark in the url
I wonder how the search engines - Yahoo, bing, google ... - interpret the exclamation mark (!) in the url:
www.site.com/product!651031
www.site.com/category!651031
I could not find documentation ...
3
votes
1answer
102 views
Can I get IIS to treat some .shtml files as .php files?
I want to be able to get IIS to interpret SHTML files (only in a specific directory) as PHP, and interpret the rest as SHTML.
If so, then how?
3
votes
2answers
47 views
Finding/hiring help with server administration
I need to install the fileinfo extension for PHP on my server. My hosting service does not support help with this. I know I could learn it and do it myself, but since I am an independent contractor ...
3
votes
2answers
1k views
Share on Facebook does not show thumbnail images
I have a PHP application which has a "Share on Facebook" button that,
On the development server shows the thumbnail images correctly and allows the user to select between them
On the live server, it ...
3
votes
1answer
349 views
Chat like chat.meta.stackoverflow.com in my website
How can I create a chat room like http://chat.meta.stackoverflow.com/ in my PHP website? I am looking for a free solution. Please help...
3
votes
2answers
961 views
Track down segmentation faults in PHP? [closed]
I'm looking for a relatively painless way to track down segmentation faults in PHP (as reported in the Apache error log). This is my LAMP setup at the moment:
Linux: OpenSUSE 11.3 x86_64
Apache: ...
3
votes
1answer
35 views
Are 307 Temporary Redirects safe for temporary new web site tests?
Our current site is getting close to being replaced. I was looking to do a test of our new sales funnel on the new site and compare the traffic and conversion ratios for a few days. So I was planning ...
3
votes
1answer
151 views
Difficulty enabling caching on inherited site
I have been asked to work on a corporate website a previous employee had created.
The site is on shared GoDaddy hosting. One of the first things I noticed (after the 140KB JPEG on the front page, ...
3
votes
1answer
1k views
How do I create a .htaccess file that would make my website work like adfly.
I need, but dont know how to make, an htaccess file that will send user, when looking for the home page for example, to index.php but not when look for a url like /7fg4/. Adfly, to the best of my ...
3
votes
1answer
2k views
Setting file permissions on linux to allow PHP to write to a directory
I have a website built with Codeigniter and hosted on a Linux box.
I am trying to follow "best practices" when it comes to my file permission settings, but I'm not sure if I completely understand the ...
3
votes
1answer
98 views
404 working only with wrong extension
My 404 .htaccess works very well when I put a wrong extension at it in place of .php.
Unfortunately the 404 does not work when I put a wrong name with .php.
This is my .htaccess code:
<Files ~ ...
3
votes
3answers
500 views
Storing User-uploaded Images
What is the usual practice for handling user uploaded photos and storing them on the database and server?
For a user profile image:
After receiving the image file from user, rename file to ...
3
votes
2answers
2k views
self hosted open source document management apps?
I'm looking an open source self hosted PHP and MySQL document management apps.
security: accessing a document by specific users
Work flow: by admin approval (may be two admins)
document ...
3
votes
2answers
322 views
How do I redirect an English language URL to an Arabic language URL?
I have a link that's currently formatted like this:
http://site.com/news/view/1.html
I want to it redirect it to:
http://site.com/خبر/عنوان-الخبر
where خبر is equal to news and
عنوان-الخبر is ...
3
votes
1answer
399 views
IIS XML encoding seems to be wrong
We are moving our web application from Apache 2.0 to IIS 7.
Everyhing is fine with UTF-8 encoding, but just one thing.
There's a flash movie in the page that reads an xml content (dynamically ...
3
votes
1answer
301 views
What are common Media Library tools used for Kentico/Generic PHP sites?
Through a course of mergers and acquisitions the particular group of companies who I work for have built up a vast array of websites running either Kentico (or ASP websites that will be using Kentico) ...
3
votes
0answers
28 views
PayPal - Selling a single app [closed]
I would like to sell a desktop application over my website through PayPal. The user will receive a download link and a license key.
Are there any PHP scripts availabe from PayPal IPN to do that?
...
3
votes
1answer
8k views
Install PHP5 with Tomcat 7 on Windows? [closed]
Can't find anything on this, what are the steps or instructions for installing PHP with Tomcat 7 on Windows?
2
votes
4answers
873 views
How can i check how many users can visit my website at the same time?
i have my website on a shared webhosting account.
I would like to check how many people can visit my site at the same time without the server slowing down or crashing.
I don't have SSH, if that makes ...
2
votes
1answer
809 views
Where to find my website's source code?
My company ordered a website and we were given all usernames and passwords but I can't find the PHP source files and this is my first website assignment. I have no prior exposure to web technologies ...
2
votes
4answers
103 views
Should I rely on externally-hosted services?
I am wondering over the dangers / difficulties in using external services like Google Chart in my production state website.
With external services I mean them that you can't download and host on your ...
2
votes
5answers
900 views
Can PHP Site be hosted on Windows Hosting?
This might be the stupidest question but I would like to know whether we can host PHP site on Windows hosting? Are there any special tools for publishing php site?
2
votes
4answers
3k views
What is the best way to exclude bots from view counts?
My website is counting visitor views on certain pages. I noticed that Google and other Bots are "clicking" to my site like crazy and some of the pages get unrealistic view counts (compared to those ...
2
votes
9answers
4k views
Need to Stop Bots from Killing my Webserver
I am having EXTREME bot problems on the some of my websites within my hosting account. The bots utilize over 98% of my CPU resources and 99% of my bandwidth for my entire hosting account. These bots ...
2
votes
4answers
832 views
Page loading problem. Page is very slow
Regarding the domain http://www.pravninasvet.com, there is a problem where it sometimes loads fast, sometimes very slow.
The domain is registered by godaddy, the server is in Germany. But when the ...
2
votes
6answers
158 views
PHP not working with hosting
I have been playing with a php CMS site for someone that I am ready to deploy but am running into a couple problems that I assume to be hosting related. I have been developing and playing with it ...
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
6answers
369 views
PHP permissions
Can someone please explain best practice for permissions with PHP.
What case should something be writable, executable, what owner is best, etc. ?
Using an apache server
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 ...
2
votes
2answers
282 views
Should WHMCS hacking attemps that never succeed be important to me?
I have WHMCS and I use it with no problem for my hosting purposes.
Almost every 2 or 3 days, I can see a spam with malicious content submitted as a new ticket that tries to hack.
The last one was:
...
2
votes
4answers
987 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).
...
2
votes
1answer
81 views
How Do I Make A Dynamic PHP Link 'No-Follow'?
I want to make the Footer links on my website 'No Follow'. How would I do it on these dynamic PHP links?
<ul>
<li><a ...
2
votes
3answers
67 views
understanding technology that news websites use
I am trying to understand the technology which many news websites use
please have a look at this website
http://www.shritimes.com/
if you click any news item then the particular thing gets zoomed ...
2
votes
1answer
189 views
Can a web-server be reached in other ways than through `HTTP` or externally?
A server hosting an application built in PHP:
Can the server be reached in other ways than through HTTP or externally?
Is GET and POST only populated through the HTTP protocol?
Is HTTP headers, GET ...
2
votes
2answers
250 views
Fix PHP Timezone warning
After installing a php application my site loads the app with a warning overlayed on the page
Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. ...
2
votes
1answer
44 views
Google Analytic's and Universal PHP Footers
If I have a universal Footer, include('footer.php'); on my page - will the google analytic's script I just put there be able to track my page views?
2
votes
1answer
748 views
URLEncode of full URL
I am using the PHP urlencode() function to escape chars for anchor tags ().
Why can't I use the function on a full URL such as
...
2
votes
3answers
154 views
Redirect to same site but add things into the URL
I have a PHP file, index.php, that is set as the index file for my site. If someone wants to pull up a value for a, as an example, then they would type http://www.website.com/?value=a. Is it possible ...
2
votes
2answers
367 views
PHP Image Gallery without javascript
I am looking for a simple PHP gallery with the following characteristics:
Pure PHP
HTML
CSS
SQL
Excludes JavaScript
Handle Subcategories
Easily customizable
I have tried to search, but I find ...
2
votes
2answers
376 views
Is making my PHP files read-only a useful security measure?
Up until now I've been "protecting" my website's PHP files by making them read-only with chmod.
Is this a useful security tactic? Or is it some "old wive's tale" and I'm wasting my time?
I'm ...
2
votes
1answer
232 views
zlib compression issues
I'm having some issues running zlib compression on my site ..
Firstly if I enable zlib compression in .htaccess using: php_value output_handler ob_gzhandler then I receive thousands of lines of the ...