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
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 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
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
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
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-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
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
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
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