Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
variable availability issue in include and header
Old 06-14-2005, 02:54 AM variable availability issue in include and header
rungss's Avatar
Skilled Talker

Posts: 67
Name: Bijay Rungta
Location: Mumbai, India
Trades: 0
hey please clear a doubt that I have
If I am right
suppose there is a file rungss001.php
and include001.php and include002.php are included in the file rungss001.php
then all the variables declared in rungss001.phpwill be available to the included files and vice versa

right???

But what if there is a header redirect to rungss002.php from rungss001.php which includes the two include files mentioned earliear prior to the redirect
will the file rungss002.php have access to the variables declared in rungss001.php, include001.php and include002.php????

Please clearify this doubt

Thanx
rungss is offline
Reply With Quote
View Public Profile Visit rungss's homepage!
 
 
Register now for full access!
Old 06-14-2005, 03:37 AM
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
Man, do you understand at all how redirects work? When you redicrect the client to another location the client opens one more connection and starts the script with brand new data. If you don't include your files in rungss02.php then there will be no variables you are tlaking about.

BTW, what prevents you from trying to do that before asking?
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Reply     « Reply to variable availability issue in include and header
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.50309 seconds with 12 queries