Hello,

I have a similar problem whereby in the receiving PHP program the variable
$Myname doesn't contain anything (i.e. echo $Myname returns nothing) however
$_GET['Myname'] returns the correct value.  How can this be?

I attach the two short files.  I'd appreciate it if anyone can tell me why
this is happening.  It seems to me that I'm following the right conventions.
I'm running this under Apache on a Windows XP system.  I sent another news
item today but became more enlightened by the response to this similar
problem.  Apologies for the superfluous item.

Regards

Tony

"Richard Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Michael,
>
> Wednesday, February 11, 2004, 2:48:00 AM, you wrote:
>
> MTP> Again, no are any errors displayed or logged.  Any help would be
greatly
> MTP> appreciated.
>
> Your code is fine (well, the code you posted anyway) so I'd bet the
> problem is Apache related regarding the config of PHP on your system.
>
> Simple test, stick this page on your server:
>
> <?php
>      echo phpinfo();
> ?>
>
> and call it via your browser - do you get to see all the PHP settings?
>
> If you do, then you need to check if it's just form data that isn't
> being passed, again a simple script like:
>
> <?php
>      echo $_GET['value'];
> ?>
>
> and call the script with: script.php?value=something
>
> If that works, try the same thing only for POST values.
>
> Many things to test!
>
> -- 
> Best regards,
>  Richard                            mailto:[EMAIL PROTECTED]


begin 666 prog.html
M/"%$3T-465!%([EMAIL PROTECTED]"3$E#("(M+R]7,T,O+T141"!(5$U,(#0N,#$@
M5')A;G-I=&EO;F%L+R]%3B(^#0H-"CQH=&UL/@T*/&AE860^#0H)/'1I=&QE
M/E5N=&ET;&5D/"]T:71L93X-"CPO:&5A9#X-"CQB;V1Y/@T*/$9/4DT@;65T
M:&]D/5!/[EMAIL PROTECTED]/2)P<F]G,BYP:' B/@T*(" [EMAIL PROTECTED]
M37EN86UE(B!465!%/2)415A4(CX-"B @/$E.4%54(%194$4]4U5"34E4/@T*
;/"]&3U)-/@T*/"]B;V1Y/@T*/"]H=&UL/@T*
`
end

begin 666 prog2.php
M/#]P:' -"@T*)&YA;64](E1O;GDB.PT*/SX-"@T*/"%$3T-465!%($A434P@
M4%5"3$E#("(M+R]7,T,O+T141"!(5$U,(#0N,[EMAIL PROTECTED]')A;G-I=&EO;F%L+R]%
M3B(^#0H-"CQH=&UL/@T*/&AE860^#0H)/'1I=&QE/E5N=&ET;&5D/"]T:71L
M93X-"CPO:&5A9#X-"@T*/&)O9'D^#0H\5$%"[EMAIL PROTECTED]/3$^#0H-"CP_
M<&AP( T*(" @96-H;R B/% ^/%12/[EMAIL PROTECTED]&%R86UE=&5R/"]4
M1#X\5$0^37D@;F%M92!I<R!\(B N("1->6YA;[EMAIL PROTECTED] B?#PO5$0^/"]44CX\
M+U ^(CL-"B @(&5C:&\@(CQ0/CQ44CX\5$0^3&[EMAIL PROTECTED]:6%B;&4\+U1$
M/CQ41#Y->2!N86UE(&ES('PB("X@)&YA;[EMAIL PROTECTED] B?#PO5$0^/"]44CX\+U ^
M(CL-"B @(&5C:&\@(CQ0/CQ44CX\5$0^27,@=&AE('9A<FEA8FQE(&UY;F%M
M92!E;7!T>2 H,2!M96%N<R!Y97,I/"]41#X\5$0^(B N(&5M<'1Y*"1M>6YA
M;64I("X@(CPO5$0^/"]44CX\+U ^(CL@( T*(" @96-H;R B/% ^/%12/CQ4
M1#Y#:&5C:VEN9R!'[EMAIL PROTECTED]/"]41#X\5$0^(B N("1?1T546R=->6YA
M;64G72 N("(\+U1$/CPO5%(^/"]0/B([#0H@("!E8VAO("(\4#X\5%(^/%1$
M/D-H96-K:6YG(%!O<[EMAIL PROTECTED]/"]41#X\5$0^(B N("1?4$]35%LG37EN
M86UE)[EMAIL PROTECTED] B/"]41#X\+U12/CPO4#XB.PT*#0H_/@T*#0H\+V)O9'D^#0H\
(+VAT;6P^#0H`
`
end

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to