You are here: Re: Passing session variables across pages « PHP Programming Language « IT news, forums, messages
Re: Passing session variables across pages

Posted by Jerry Stuckle on 05/08/07 11:45

K. A. wrote:
>> I see some code posted above - but is this ALL of your code? For
>> instance, you have:
>>
>> 3. testvariables.php
>> // User is successfully directed to the right page, page opens up.
>> <?php
>> if (session_start())
>> echo "<p>session started</p>";
>>
>> echo "<p> UserName: ( " . $_SESSION["userid"]. " )</p>";
>> echo "<p> Password: ( " . $_SESSION["password"]. " )</p>";
>>
>> Is this ALL of the code? Where are the <head></head><body> tags, for
>> instance? Do you not have them in there?
>>
> No, I only posted what I thought was neccesary to show.
> Yes, I do have the HTML tages, they come after session_start() and
> before calling echo "<p> UserName: ( " . $_SESSION["userid"]. " )</
> p>";
>
> Does this help?
>
>
>

You get a lot better help if you post everything. If the problem were
in "what you thought was necessary to show", chances are you would have
found it by now - or someone else would have.

So no, that doesn't help.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация