calling a variable from other php file.

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

calling a variable from other php file.

Post by gesf » Sun Dec 29, 2002 5:28 am

hi guys.
Can anyone tell how can i call a variable from other php file? I making some changes in my forum and i´m making a system to send msgs by icq if the user have it. Well, but the form to send that msgs is open in a new window, but a need to send for the form of the new window, the information of the user to complete the emailform that is in the openner page index.php. how can i do? Thanks a lot
Last edited by gesf on Sun Mar 07, 2004 11:56 am, edited 1 time in total.

User avatar
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Post by gesf » Sun Dec 29, 2002 7:14 am

Hunn, no... it will not work that way.
I can´t include the openner file "index". this file have so much things and i just need to pass the information of some variabels, and not the complete file. Is there some way to call some vars without calling the complete file? i don´t... specifying: first -file and second- vars.

User avatar
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Post by gesf » Sun Dec 29, 2002 11:34 pm

Yep...that´s the better way. I´m gonna try to do with writing in a file first...i don´t know work with sessions ! :(
Thanks DecoRJ.
C ya

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests