Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 News comments
Index -> Programming, PHP -> PHP Help
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Amailer




PostPosted: Fri Aug 08, 2003 7:47 pm   Post subject: News comments

Hmm,

Ok, i made news comments for my news scripts (on some sites i got)
But i don't like them,
Why?

Because....well i don't know why, but im sure there is a better way then i do it.

So could anyone like...some me (if you have made) a comment system for your news?

Just so i can get ideas?

Also,
Could anyone help me to get the SESSION names of the phpBB FORUM
Sponsor
Sponsor
Sponsor
sponsor
Homer_simpson




PostPosted: Fri Aug 08, 2003 11:33 pm   Post subject: (No subject)

are u saving yer news in a database?
poly




PostPosted: Sat Aug 09, 2003 1:53 pm   Post subject: (No subject)

ya I was going to post a reply yesterday, but was also confused a little on what this was about
Amailer




PostPosted: Sat Aug 09, 2003 3:59 pm   Post subject: (No subject)

Homer_simpson wrote:
are u saving yer news in a database?


Oh course i am,
I made comment systems already,
Just don't like them Confused


The phpBB session names,
I want the names of the sessions used for the login :/
PaddyLong




PostPosted: Sat Aug 09, 2003 6:28 pm   Post subject: (No subject)

look at the login php document and find out then ...
Homer_simpson




PostPosted: Sun Aug 10, 2003 12:19 am   Post subject: (No subject)

I'd say dont waste yer time creating database format and things like that for just news... u can make php write news to a file.. i've never actually tried it but i think it might work...
Amailer




PostPosted: Sun Aug 10, 2003 10:19 am   Post subject: (No subject)

Oh no, never. I know you can do that, but i think its the worst.
I have to write it into a database, so i can use it for other stuff and etc.
PaddyLong




PostPosted: Sun Aug 10, 2003 2:24 pm   Post subject: (No subject)

I wrote a news script when I was first learning php that writes to text files. it is still possible to use them for other stuff... just more annoying than it would be if a database was used
Sponsor
Sponsor
Sponsor
sponsor
Homer_simpson




PostPosted: Sun Aug 10, 2003 5:30 pm   Post subject: (No subject)

after thinkin bout it a little more i think yer right writing to a file isn't a good idea... I say create a new news table containing text,time,date,sender
and everytime u send a new news the date and time will automaticaly be sent and the sender will be the name of the account yer signed in as... i dun think u can have a better news script than that...
Amailer




PostPosted: Sun Aug 10, 2003 5:40 pm   Post subject: (No subject)

K and about the phpBB session names..for the login...
PaddyLong




PostPosted: Mon Aug 11, 2003 12:05 am   Post subject: (No subject)

what exactly do you want as far as the session names go?
like the session variables? or what?
Amailer




PostPosted: Mon Aug 11, 2003 12:41 am   Post subject: (No subject)

The names of them...

you know...when you set a session you give it a name..
Homer_simpson




PostPosted: Mon Aug 11, 2003 3:02 am   Post subject: (No subject)

what's a session? Embarassed
Amailer




PostPosted: Mon Aug 11, 2003 8:31 am   Post subject: (No subject)

Homer_simpson wrote:
what's a session? Embarassed


http://ca3.php.net/manual/en/ref.session.php

don't you use it for your login?
Homer_simpson




PostPosted: Mon Aug 11, 2003 2:31 pm   Post subject: (No subject)

lol i had no idea this thing even existed... Confused
Display posts from previous:   
   Index -> Programming, PHP -> PHP Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 17 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: