> > http://160.221.21.129/timelog/?user_id=9
>
> This is what I don't understand.
> The thing is, the correct call should be
>
> http://160.221.21.129/timelog/index.php?user_id=9
>
> and inside you should have
>
> $user_id = $_GET['user_id'];
>
> Unless it is a
Because it self calls the script name is sometimes ommited on the header
line, it usualy still works. Don't know why this happens.
I dont need ' $user_id = $_GET['user_id']; ' because this isn't use within
the program.
It's the SESSION variables that should be passed and used.
The user_id is jus
This is a very long thread, so sorry if I didn't read a bit, but there
is one thing I don't understand.
In your mail you say :
>Calling the page for the first time works:
http://160.221.21.129/timelog/index.php
OK
Self-calling with the additional user_id
parameter set results
in the
Both set to: on
"Luis Moreira" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Garry Grierson wrote:
>
> >If I do this by passing the paramiters back into the script via the
header
> >line it works OK.
> >When I try to use the SESSION variable it cant find the values, as I said
> >thi
Garry Grierson wrote:
If I do this by passing the paramiters back into the script via the header
line it works OK.
When I try to use the SESSION variable it cant find the values, as I said
this is working on another machine running identical op and browser software
etc...
Any ideas?
"Garry Grierson
If I do this by passing the paramiters back into the script via the header
line it works OK.
When I try to use the SESSION variable it cant find the values, as I said
this is working on another machine running identical op and browser software
etc...
Any ideas?
"Garry Grierson" <[EMAIL PROTECTED]>
tion and you won't have a problem usually.
Good luck!
-TG
> -Original Message-
> From: Garry Grierson [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 18, 2004 7:14 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] Self-calling script problem.
>
>
> User_ID is set a
The problem seems to be that the SESSION information isn't being found!?
Any Ideas?
"Trevor Gryffyn" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
.
I don't see any $_GET['User_ID'] statements anywhere. When you pass a
value via the URL like "scriptname.php?userid=", you either
User_ID is set as a global variable so it doesn't 'usually need to be
specifically read into the script. I'll try this though, if it works I would
have to change it thorough the system.
Doesn't explain why it is working on other systems though!
"Trevor Gryffyn" <[EMAIL PROTECTED]> wrote in message
I don't see any $_GET['User_ID'] statements anywhere. When you pass a
value via the URL like "scriptname.php?userid=", you either need to
use $_GET[] or $_REQUEST[] to retrieve the data. That could be why it's
being 'ignored'
-TG
> -Original Message-
> From: Garry Grierson [mailto:[
10 matches
Mail list logo