Re: [WEBSITE] Habbsite CMS released !
Quote:
Originally Posted by
matt9875
Its kinda nice, its just a copy & Paste job tho, load it up in Macromedia Dreamweaver it copys the images for you :S it would be a bit better if u could get the habbo homes script, then i would be amazed, i have worked in MySQL and PHP for 2 years so dont call me a noob.
www.talesofnamar.com - made most of the systems off there, i work very closely with the owner
I discovered HTTTrack...i don't know before...
where i call you a noob ?
Re: [WEBSITE] Habbsite CMS released !
Make a Real Cms.
And Make sites for "New" nd Community and Help and this lots of shit on the habbo site.
Re: [WEBSITE] Habbsite CMS released !
Quote:
Originally Posted by
NuDann
why? rapidshare is good!
They bug me saying dynamic ip addresses cannot download and RAPIDSHARE is a money stealer, want to steal money saying you must have premium. I have bought premium and they ban me for sharing (I did not!).
Anyways, can anyone upload to other than Rapidshare (Not so on MegaUpload please).
Re: [WEBSITE] Habbsite CMS released !
Quote:
Originally Posted by
bisou580
I discovered HTTTrack...i don't know before...
where i call you a noob ?
i can teach you php... if you like add me on msn
In a index with much pages you need this :
<?php
require=("config.php") = is easy thats for mysql : )
require=("functions.php") = for like ?redirect=register
(Here you begin with code )
?> = End of the page
Quote:
hab-ali-hab@hotmail.com
-------------------------------------------------------------------------------------------------------
http://www.habbocs.nl/userbar.png
Re: [WEBSITE] Habbsite CMS released !
Quote:
Originally Posted by
Xellios
i can teach you php... if you like add me on msn
In a index with much pages you need this :
<?php
require=("config.php") = is easy thats for mysql : )
require=("functions.php") = for like ?redirect=register
(Here you begin with code )
?> = End of the page
-------------------------------------------------------------------------------------------------------
http://www.habbocs.nl/userbar.png
Interesting...
Your msn adress ? PM me ^^
Re: [WEBSITE] Habbsite CMS released !
PHP gets easier as you progress through it, it still is hard know.. because you get Parse errors and all that shit if you fuck it up :P. Read a couple of guides and you will get a bit familiar with it.
Re: [WEBSITE] Habbsite CMS released !
Quote:
Originally Posted by
Xellios
i can teach you php... if you like add me on msn
In a index with much pages you need this :
<?php
require=("config.php") = is easy thats for mysql : )
require=("functions.php") = for like ?redirect=register
(Here you begin with code )
?> = End of the page
-------------------------------------------------------------------------------------------------------
http://www.habbocs.nl/userbar.png
hahaha, thats so funnyy.... you need more than require config.php, stealer!
Re: [WEBSITE] Habbsite CMS released !
you do kno u can get done for copyright..
Re: [WEBSITE] Habbsite CMS released !
Quote:
Originally Posted by
jamie smith
PHP gets easier as you progress through it, it still is hard know.. because you get Parse errors and all that shit if you fuck it up :P. Read a couple of guides and you will get a bit familiar with it.
I want my complete book on PHP more than 300 pages !!!!!!! :wolverine :wolverine
My parents don't want....but i want !!!!
Re: [WEBSITE] Habbsite CMS released !
bisou580, go to a library borrow one, theres lots in my town library.
To start off, I am very good in php but you can add me on MSN if you want...
PHP Code:
<?php
include("config.php"); // config.php includes the mysql connection
include("func.php"); // any functions such as filepaths and etc
// Your talk starts here!
?>
another example of my work (this checks the URIReferer)
PHP Code:
<?php
include("refer.php")
$r = $_SERVER['HTTP_REFERER'];
if($r == $_1)
{
session_start();
$_SESSION['grant']=2; //sth like a cookie
}
elseif ($r == $_2)
{
session_start();
$_SESSION['grant']=2;
}
else
{
session_start();
$_SESSION['grant']=1;
echo "Not granted";
die(); //stops anymore code generating (including MySQL)
}
?>
Re: [WEBSITE] Habbsite CMS released !
You simply must have a config.php file with defined variables before it works
Re: [WEBSITE] Habbsite CMS released !
Quote:
Originally Posted by
syed1994
bisou580, go to a library borrow one, theres lots in my town library.
To start off, I am very good in php but you can add me on MSN if you want...
PHP Code:
<?php
include("config.php"); // config.php includes the mysql connection
include("func.php"); // any functions such as filepaths and etc
// Your talk starts here!
?>
another example of my work (this checks the URIReferer)
PHP Code:
<?php
include("refer.php")
$r = $_SERVER['HTTP_REFERER'];
if($r == $_1)
{
session_start();
$_SESSION['grant']=2; //sth like a cookie
}
elseif ($r == $_2)
{
session_start();
$_SESSION['grant']=2;
}
else
{
session_start();
$_SESSION['grant']=1;
echo "Not granted";
die(); //stops anymore code generating (including MySQL)
}
?>
I understand how php works, but i need an PHP code for catch the content of a column of a MySQL table. Then for cath the content (text) and view.
Re: [WEBSITE] Habbsite CMS released !
Quote:
Originally Posted by
bisou580
I understand how php works, but i need an PHP code for catch the content of a column of a MySQL table. Then for cath the content (text) and view.
select * from 'yowateva'
Re: [WEBSITE] Habbsite CMS released !
Ok I can do it, just a minute (need to refresh my brain).
PHP Code:
<?php
include("config.php");
$connect = mysql_connect($host,$user,$pass);
or
die('Error Message: ' . mysql_error());
mysql_select_db($db, $connect);
$data = mysql_query("SELECT * FROM content"); //select * from (table)
while($row = mysql_fetch_array($data))
{
echo $row['News'] .; //row of table
echo "<br />";
}
mysql_close($connect);
?>
Done!