Sarah Foxton wrote:

>
> Hi there
>
> Me again - im developing an existing script - & have
> come accross an odd thing...
>
> basically I have
>
> if (isset($_POST['code'] )) {

>   $code=$_POST['code'];

> }

> if (isset($_POST['loginconfirm'] )){

>    $loginconfirm=$_POST['loginconfirm'];

> }
>
> echo "CODE = '$code'<BR>";
>
> if (preg_match("/\w+/i", $loginconfirm)){
> loginconfirm();
> }
>
> (Im logging in & it does activate the loginconfirm
> routine)  :-
>
>
> function loginconfirm(){
> echo "
> Confirmation Code - '$code'<BR>";
>
> ===============
>
> PROBLEM :-
>
> When the routine is activated, the '$code' value is
> wiped / Gone...
>
> is there a way for the '$code' value to be retained -
> in all of the script ?
>
>
>
>
>            
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
>
>
> Community email addresses:
>   Post message: [EMAIL PROTECTED]
>   Subscribe:    [EMAIL PROTECTED]
>   Unsubscribe:  [EMAIL PROTECTED]
>   List owner:   [EMAIL PROTECTED]
>
> Shortcut URL to this page:
>   http://groups.yahoo.com/group/php-list
>
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here 
> <http://us.ard.yahoo.com/SIG=129fjgc4q/M=298184.6018725.7038619.3001176/D=groups/S=1705005703:HM/EXP=1110730164/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075>
>  
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/php-list/
>        
>     * To unsubscribe from this group, send an email to:
>       [EMAIL PROTECTED]
>       <mailto:[EMAIL PROTECTED]>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 3/9/2005
>  
>


[Non-text portions of this message have been removed]



Community email addresses:
  Post message: [EMAIL PROTECTED]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to