PHP

PHP

A discussion among other things directly and indirectly relating to the PHP scripting language

Articles

Problem Connecting to MySQL DB Chapter 4 PHP/MYSQL book

From:  sitepoint.com
Hi, I am working my way through Kevin Yanks book "Build your own database driven website using PHP/MySQL" and have reached Chapter 4 where I am having problems connecting to the MySQL database using PHP. The PHP code I am using is as per the book (in a file called index.php, in a directory called Connect); <?php $link = mysqli_connect('localhost', 'root', 'my password'); if (!$link) { $output = 'Unable to connect to the database server.'; include 'output.html.php'; exit... Read Full Story

.htaccess rewrite rule issue

From:  sitepoint.com
Hi All, I'm doing a few changes to an online store and have come across the following issue. Currently links on the webpage (for products) are driven by the below code in the .htaccess file which pulls the corresponding information form an SQL database. PHP Code: this is for 9 existing products. If I try to add in a tenth product with the following code it does not work PHP Code: Yet if I change the reference in the first variable (from 1 to 10) it will... Read Full Story

sh404SEF RC v1.5.4.302 – Joomla Extensions

From:  crshare.com
sh404SEF RC v1.5.4.302 – Joomla Component sh404SEF rewrites Joomla URL to a more user-friendly format (SEF URL or URL rewriting): mysite.com/index.php?option=com_content&Itemid=69&id=34… becomes mysite.com/en/sh404SEF-and-url-rewriting/list-of-available-plugins.html). It is also a security component and manages title and meta tags : automatic tags, or manual for every page. It works with or without .htaccess file. Joomfish compatible. Caching system for high [...] Read Full Story

.htaccess 301 redirect and then another redirect ... need to stop this

From:  sitepoint.com
I'm at the end of fixing what was an abomination of a website, don't even want to go into the mess the old developer had going but trust me it was bad. So anyway, I have to do 301 redirects on what pages were indexed by the SEs to the new SE friendly URLs but I also run a mod_rewrite on my page names to 'flip' them into my PHP properly. For that 'onsite' rewriting I use this: Quote: RewriteEngine on Options +FollowSymlinks # If the URI doesn't end with .js and... Read Full Story

Mobile Mod_Rewrite Issues - Too Many Redirects

From:  sitepoint.com
I'm redirecting the iPhone (and soon to be more mobile devices) successfully but in combination with some preexisting rewrite rules in my .htaccess file it's causing too many redirects. The mobile site is at mydomain.com/m and from mydomain.com it's trying to go to mydomain.com/m/?page=m&page=m&page=m&page=m etc. I'm new to mod_rewrite and any help you could offer would be great! Thanks! :eye: Code: Read Full Story

Mobile Mod_Rewrite Issues - Too Many Redirects

From:  sitepoint.com
I'm redirecting the iPhone (and soon to be more mobile devices) successfully but in combination with some preexisting rewrite rules in my .htaccess file it's causing too many redirects. The mobile site is at mydomain.com/m and from mydomain.com it's trying to go to mydomain.com/m/?page=m&page=m&page=m&page=m etc. I'm new to mod_rewrite and any help you could offer would be great! Thanks! :eye: Code: Read Full Story

PHP Code Generator for MySQL

From:  prem1on.com
PHP-MySQL Wizard is a very easy to use tool to generate web database application out of your MySQL database in less than 5 minutes; you don?t need to have any programming skills to use it. The tools generates a full set of PHP scripts that allow you to sort ? edit ?view ? delete ? search or add records in your database with an ability to define look up columns to handle foreign keys . The appearance of the generated web application is very customizable you can select the cascade style... Read Full Story

CMS for WEBSITE PHP MYSQL with good FRAMEWORK by Cypriot

One of our customer looking for CMS System for their existing website Main website and workers websites workers website has same content and only contact info is changing . want to convert existing website into dynamic site... (Budget: $30-250, Jobs: CMS, Codeigniter, Javascript, PHP, Website Security) Read Full Story

Easy PHP Websites with the Zend Framework

Book Details Author:W. Jason Gilmore No of Pages: 313 pages Press: W.J. Gilmore, LLC; First edition Dated:August 3, 2009 Language: English ISBN-10: 0615303889 ISBN-13: 978-0615303888 Book Description Easy PHP Websites with the Zend Framework shows you how to build websites fast using P HP and MySQL , two of the world's most popular Web development technologies. What's more, you'll learn how to supercharge these technologies by taking advantage of a powerful, free web development solution... Read Full Story

Reconfigure windows server to run php/mysql properly by frankb

My server runs on windows server 2003. But i have 1 website that requiers php/mysql/perl. All this is installd and works ok. Exept 1 videochat that will not work with this setup. I have invested quite a lot for my alowens for this chatroom, so i do want it to work... (Budget: $30-250, Jobs: .NET, IIS, Perl, PHP, Windows) Read Full Story
Sponsors
Top Geek Articles
Celebrities on the Phone
Cell phones are to celebrities like bats are to baseball: no one runs too far without them.
Why every guy should buy their girlfriend Wii Fit.
Gratuitous...
Hot Geeks -- The Sexiest Geeky Girls
These girls are gorgeous AND they'll play Warcraft with you. Doesn't get much better than that.
More From Zimbio
Copyright © 2009 - Zimbio, Inc. Some rights reserved.