...

View Full Version : Plz help me!!!



Haidar
06-01-2011, 03:16 AM
Alright before i go really crazy, can someone be very kind and help me? I have 2 questions, plz if someone can answer them i would be very happy.

Q1 - I have downloaded 2 scripts, one for a login function and the second for the message function. If im thinking right i have to write the session of the login function in this are of the message function: $userfinal=$_SESSION['session_name'];

Is it the red area, i should change to the NAME of my login-session?

Q2 - How can i now what the name of my session is? i have downloaded the login script here from, do you find anything like the name of the session for this script?

http://www.evolt.org/node/60384

tangoforce
06-01-2011, 03:13 PM
The red bit is the name of the variable in the session array NOT the name of the session.

You don't need to name the session or worry about its name. All you need to do is name the variable and read from / write to like a normal array.

Haidar
06-01-2011, 03:42 PM
The red bit is the name of the variable in the session array NOT the name of the session.

You don't need to name the session or worry about its name. All you need to do is name the variable and read from / write to like a normal array.

Thanks for ur answer! But i dont really understand what the problem causing that my message script dosnt get noticed by your signed in username. So i thoight its prpblem with the session :/ should i post amything more helpful sovi can get my help?

tangoforce
06-01-2011, 04:23 PM
First of all there are more than 2 scripts on that evolt page that you needed to download and use.

Secondly I have no idea what message you are talking about. You've not told us what the message says at all.

You started this topic with 2 questions and now you're randomly telling us about a message and you don't know what causes it. Unless you tell me what is wrong i cannot help.

Haidar
06-01-2011, 11:29 PM
Im really sorry, for explaing my situation so bad. Im not so in english, so i will give a try. I hope this will be more helpful for you to understand my problem.

I have downloaded 2 scripts:
1 - Member loginscript from (http://www.evolt.org/node/60265)
2 - Message script from (http://www.astahost.com/Private-Message-System-t18247.html)

So know i have to integreate those scripts, so members from the first loginscript can send from the second message script. And i have in weeks trying to contact the one who wrote the script with the message function, but as you see they post a thread for 4 years ago, and i cant contact them for any help! So i thought you maybe could figuer, how i can intergreate those too script. I have already mades so you can login and then go and send a message. But the message script, dosn't recognize wich usesr is sending this message (thought you are logged in). So the inbox for the message dont either shows your message.

So i thought its a problem with the session, that the message script should have some place that i write wich session the login script is in.

Im really sorry, because i explain everything so bad, and i really know how hard maybe this is to figure out, but i have put more than 2 weeks on this, and i cant even find a solution for my problem. So im very thankfull if someone could put a bit of their worthfull time to help me :(:confused:

Haidar
06-02-2011, 08:27 PM
I'm thankful if someone could help me here :/

tangoforce
06-02-2011, 08:48 PM
Well perhaps you can post some code..

Haidar
06-03-2011, 12:58 AM
Well perhaps you can post some code..

Ohh of course i can! But wich code is you need to fix this problem? There is some pages with codes, so i thought if i explainder the situation, you here will maybe figure out what sort of code you have to look for, solving this question.

When intergrating a Message code with a Login code, is it the session-page i have to modify? i can post the code for it. Sorry if i sound a bit of newbie at php, but im really doing my best :(



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum