Jump to content
xisto Community
Sign in to follow this  
iGuest

A Script Required

Recommended Posts

I need a help.... most of the sites usinga php script...to hide the orginal link source the php script is like that ::http://www.yourdomain.com/hosting.php?review=84i want this script............can any 1 help ???????? :D

Share this post


Link to post
Share on other sites

Yep. Here's the basics, if you know the basics of PHP you can modify it for your site. If you don't, I'd be willing to write you a complete script for some FNH$. :D

This script will take the id of the review from a MySQL Database, get the content, and then display it.

<?php//Get the review number from the GET var.$reviewid = ($_GET['review']) ? $_GET['review'] : 1;//Connect to the database$db = mysql_connect("localhost", "username", "password");mysql_select_db("dbname");$result = mysql_query("SELECT content FROM reviews WHERE id='$reviewid'");$review = mysql_fetch_array($result);echo($content);?>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.