|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Gregory: - Minichat cst.inc???
Can i see the cst.inc codes for the vars for minichat?
Otherwise can you state what vars that have to be created in this file, because the script calls the variables, but it doesnt state the variables in the script itself, and it requires cst.inc so i am guessing the vars are in there |
|
#2
|
|||
|
|||
|
RE: Gregory: - Minichat cst.inc???
It would appear that the db constants are in the include file.
$db_hostname $db_username $db_password $db_database However, I don't see where addMessage() is ever called. |
|
#3
|
|||
|
|||
|
RE: Gregory: - Minichat cst.inc???
function addMessage( $login, $message )
Its in there |
|
#4
|
|||
|
|||
|
RE: Gregory: - Minichat cst.inc???
Yes the function is defined but where is it called?
|
|
#5
|
|||
|
|||
|
RE: Gregory: - Minichat cst.inc???
if ( isset( $_POST['msg'] )) {
addMessage( $_POST['login'], $_POST['msg'] ); I believe thats right |
|
#6
|
|||
|
|||
|
RE: Gregory: - Minichat cst.inc???
I still don't see it. I am looking at the "Final Script". What am I missing here?
|
|
#7
|
|||
|
|||
|
RE: Gregory: - Minichat cst.inc???
lol, it aint u its me, lmao
im looking at the wrong code, im looking at one i edited from it, oops.... well in gregorys final script its defined as a function but not called |
|
#8
|
|||
|
|||
|
RE: Gregory: - Minichat cst.inc???
|
|
#9
|
|||
|
|||
|
RE: Gregory: - Minichat cst.inc???
Add smilies if you know how, and id like to say thanx to you...
thanx to your minichat script i was able to edit it using another tutorial, and using another, add smilie to it you cna see it in action at: http://www.reframestudios.com/shoutbox/board.php |
|
#10
|
|||
|
|||
|
RE: Gregory: - Minichat cst.inc???
Sorry about this,
I'm also following the minichat tute, and i have absolutely no idea what "cst.inc" is or where i can get it. I've read the other posts, and still don't get it. Is it a file containing php? and what's in it? Thanks heaps, Newb |
|
#11
|
|||
|
|||
|
RE: Gregory: - Minichat cst.inc???
Quote:
|
![]() |
| Viewing: Codewalkers Forums > Other > Tutorials > Gregory: - Minichat cst.inc??? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|