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

4
votes
3answers
966 views

What file manager/uploader do you use with your embeded wysiwyg editor?

I am looking for a wysiwyg editor to allow user to edit part of their website. I already worked with TinyMCE, and heard about CKEditor, which both look great. However, they both lack a free (PHP) file ...
3
votes
4answers
279 views

Use JPEG for transparency instead of PNGs

JPEGs are smaller in size then PNGs. So. I thought that if I can make the "background" in a jpegfile transparent with some code maybe I save some kilobytes. So does anyone now for example how to make ...
3
votes
4answers
2k 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 ...
3
votes
5answers
4k 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?
3
votes
4answers
4k 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 ...
3
votes
3answers
673 views

Generate a sitemap automatically, does it need to be XML?

I want to create an XML sitemap (for the sake of SEO), my first attempt to achieve this was by including the website main menu/navigation links using <?php include ("assets/includes/menu.inc"); ...
3
votes
2answers
330 views

Can the .htaccess file slow down a website to a crawl? If so, are there better ways to solve these problems with different rewrite rules and such?

here is my htaccess file...... RewriteCond %{REQUEST_URI} ^/patients/billing/FAQ_billing\.html$ [OR] RewriteCond %{REQUEST_URI} ^/patients/billing/getintouch\.html$ RewriteRule ...
3
votes
2answers
117 views

Installing a PHP framework to a host without public_html or www folders (ftp is DocumentRoot)

I've developed a PHP framework that operates with the directory structure of / /classes/ /templates/ /.../ /www/ (public_html) But I've come across a host that only allows ftp to the ...
3
votes
10answers
2k 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
2answers
271 views

How can I make my web application faster in Australia when it is hosted in USA

I have www.localo.org hosted on a BlueHost server in USA but I am in Australia and it is INCREDIBLY SLOW! I uploaded it to a Crazy Domains server in Australia and it ran flawlessly. I don't want to ...
3
votes
3answers
83 views

Using PHP inside .html files not working as expected

Apache2, Linux, php5 I have added this line to my .htaccess file AddType application/x-httpd-php5 .htm .html running apace2ctl -m, shows this module loaded A php5_module (shared) I have a ...
3
votes
3answers
430 views

PHP Include meta tags

A website I'm currently working on is http://www.troubi.com . Please don't care to look at the source code. If I validate the website through the w3cValidator a lot of errors occur all due to ...
3
votes
3answers
296 views

Is there a way to scan websites externally for the recent PHP CGI flaw?

The recent PHP CGI flaw exposed (CVE-2012-1823) has me wondering if some of the legacy sites that I've inherited might be vulnerable. (see Physorg article) Does anybody know of a means to externally ...
3
votes
2answers
96 views

How to submit shortened URLs to Google so that they are included in the index

I am working on a project to create a URL shortener. I have successfully gotten it to create short URLs, but I would like to submit them to Google. When I submit a short URL via Google Webmaster ...
3
votes
3answers
6k views

Physical memory usage issues with WordPress plugins

Occasionally, my website that's hosted with GoDaddy is crashing due to physical memory overload. My host told me that PHP processes are overloading the server, and to try to find out which WordPress ...
3
votes
1answer
424 views

How to add lock symbol to my website using private SSL in https pages

I just purchased SSL for my website from hostgator, so that I can add lock symbol in my website, when users visit https://www.mysite.com For example: Now they have installed the certificate, but ...
3
votes
1answer
3k views

Add email attachments by URL in CodeIgniter [closed]

I tried this code to attach a file in CI. This is working: $this->load->library('email'); $this->email->from('me@mymail.com', 'vignesh'); $this->email->subject('Email Test with ...
3
votes
1answer
1k 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 ...
3
votes
2answers
219 views

File upload on shared hosting

Is it possible to upload a file of size 300+ MB on shared hosting such as host gator ?
3
votes
1answer
123 views

GPL 3 and “webapps”

I am working on a "webapp" (no content by me, all user driven) and want to license it with the GPL 3. I do plan on having a tarball with the php, html, css, javascript, etc as well as an installer to ...
3
votes
4answers
540 views

Is Movable Type among the most secure PHP blogs? How secure are the various PHP blog applications?

Basically I'm trying to find a blog for a website, and security is the highest priority in our case. We don't need any features that I would imagine are special. Wordpress was our first idea, but its ...
3
votes
4answers
861 views

Simple CMS for clients?

I'm looking for something fairly simple for clients to use and very easy for me to skin (somewhat complicated themes). something like Perch or Couchcms, but has to be open source to satisfy some ...
3
votes
3answers
900 views

Hotel Reservation Request Booking Paypal PHP

I'm making a website for a small hotel in php. The hotel owners want a reservation system that uses paypal. They want people to see a calendar and choose a date to make a reservation. If the day has ...
3
votes
1answer
5k views

Google Analytics API - Super simple? [closed]

Google Analytics API - Too complicated? I've read about Google Analytics API but heard of others that it is a bit complicated to make it work. I use PHP. Copy / paste example My question is if ...
3
votes
5answers
6k views

Recommend an open source CMS for single page web site [duplicate]

Possible Duplicate: Which Content Management System (CMS)/Wiki should I use? Hi I want to create a single page web site like http://kiskolabs.com/ or http://www.carat.se to display my ...
3
votes
1answer
779 views

How to implement user-friendly paths in PHP without creating a file or directory for each page?

NOTE: My terminology may not be entirely correct. I believe StackExchange does something like what I am asking, in case this can make things clearer. Using PHP on Apache, I would like to handle URLs ...
3
votes
4answers
992 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
2answers
4k views

Free/cheap Whois Api [closed]

Is there a free API where I can pull whois data and server location data? (similar to who.is)
3
votes
1answer
21 views

Should query string parameter values in a URI have single quotes around them?

I'm passing variables through the URI string, like this: example.com?a=first&b=second Everything works as intended, but when I pass the source code through the W3 validator, it's flagging them ...
3
votes
2answers
1k views

How do I get a better PHP version to work with Plesk?

I've had an issue for quite a while now that I don't know how to fix. I'm running a VPS with Ubuntu 12.04 LTS, it has the latest version of Plesk (12.0.18 Update #34). Annoyingly, it only has PHP ...
3
votes
1answer
577 views

Receiving error 500 for WordPress when using CloudFlare as a CDN

My WordPress site is using CloudFlare as a CDN, and if I use the site's IP address to access wordpress/wp-admin/install.php directly, it works fine. However, when I try to call ...
3
votes
2answers
199 views

“PHP” is showing up in Browser + OS list in Google Analytics report

PHP is listed as a browser in Google Analytics. 50 sessions have been created. Obviously Analytics data is collected via Javascript executed in the visitor's browser so what is PHP (a server-side ...
3
votes
1answer
6k views

PHP header redirect that maintains query parameters?

I am experimenting with the PHP redirect http://www.phpjunkyard.com/tutorials/php-redirect.php. Specifically the 301 redirect to create a self correcting URL to help with typos - there's a unique ID ...
3
votes
1answer
2k views

Connecting to my local WampServer from mobile?

I want to make an app for file transfer between mobile and a web server. I don't have web space yet and want to simulate that. The mobile part is ok. I have the PHP code too, Is there anyway I can run ...
3
votes
2answers
216 views

How does duplicate file and directory names affects SEO

I have some 40 crawl errors in my website, those are pointing to files which are not existing. and I want to resolve all 404 errors I dont have acccess to .htaccess file. Because i am on shared ...
3
votes
2answers
784 views

Looking for full web based booking system

I've searched around here but could not find any booking system that would suit my need. I hope maybe you can help me out. I've already seen question #11379. Solutions provided there are not helping ...
3
votes
5answers
138 views

Attaining credit card data

I've read the many posts on this site that say we are not allowed to store cc numbers if we are not pci-compliant. But, I'm wondering if it is possible to send a CC number through a form to an email ...
3
votes
2answers
807 views

Remote database connections in mysql and php is it possible?

I need to know whether remote database connections are possible in every server? does every host provides the option for remote DB connection? and further this connection will be the second connection ...
3
votes
4answers
206 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 ...
3
votes
3answers
4k views

Enable gzip compression on Bluehost?

My website is loading large (~3mb) SVG file with jQuery. It takes quite a while therefore I decided to enable gzip compression. I have a hosting account with Bluehost which supports custom .htaccess ...
3
votes
4answers
614 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
2answers
272 views

Why should we keep the copyright year on websites static?

Not a major issues, just a small thing that bugs me. In so many websites and applications, when scrolling down to the footer, you see the year and it's not the present year (2015). Why not ...
3
votes
1answer
66 views

Rewrite rule to handle urls that start with a slash, have only numbers and letters, and may end with a slash is not working

im attempting to get my URL to resolve something like http://example.com/?image=2VMt2 Thus my index.php using the [GET] method in PHP to resolve into my domain http://example.com/2VMt2 The rule ...
3
votes
1answer
129 views

htacess seems to make the page load forever

I need to rewrite a URL of my server so the URL looks friendly. Like: site.com/var1/var2/var3/... to site.com/index.php?page=var1/var2/var3/... So I wrote this .htacess: RewriteEngine On ...
3
votes
2answers
317 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 ...
3
votes
2answers
293 views

Memcache alternative for cpanel hosting

Memcache is the best caching API for php, but it is not available on most of the hosting providers. Are there any alternatives to memcache which are available for most hosting providers(e.g. Godaddy)? ...
3
votes
2answers
108 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
385 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
1answer
1k views

How do I create a .htaccess file that would make my website work like Adfly

I need, but don't know how to make, an htaccess file that will send a user, when looking for the home page, to index.php. It should not send them anywhere when they look for a URL like /7fg4/. ...
3
votes
2answers
3k views

why is my site slower with amazons cdn?

so I have move most of the static objects to amazons Cloudfront CDN example: http://images.storyfollower.com/images/cycleOfStories.jpg which through cname point to the cdn Now I just ran a speed ...