Ok, next step/question

Ok, next step/question

am 11.01.2008 11:26:23 von Jacob Kruger

Now got that main page redirecting/spitting out the relevant JS code to get
it to move on to the next page, but there I was trying to ascertain if the
session variable/array element had actually been set, and, for whatever
reason, no PHP code seems to be executing in main.php.

Below is what I currently have inbetween the tags:

echo "testing...";
?>

Before I was trying to do something along the lines of:
echo $_SESSION["admin"];

And that also did nothing.

I also tried changing the static HTML content to see if maybe the output was
just being cached or something, but that renders correctly.

Any ideas? (am I just not 'trying' correctly or something)

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

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

Re: Ok, next step/question

am 11.01.2008 14:42:35 von James Crow

Jacob,

You must issue a session_start() prior to outputting any code to the
browser for sessions to work. There are tons of different ways to
configure things, but session_start() as the first thing in the script
should get you started. Here is a basic example:

index.php:
session_start();
$_SESSION['test_me'] = 'My test $_SESSION variable'; // stores a value
in the $_SESSION array
?>



################## End of index.php ##################


page2.php:
session_start()
?>
Page 2
echo $_SESSION['test_me'];
?>

################# End of page2.php #######################

The index.php page simply stores a value in the $_SESSION super global
array and then immediately redirects to page2.php. page2.php retrieves
the value stored by index.php and displays it as the content of the web
page.

This code is all from memory so it might have a bug, but it is how I got
started working with session support in PHP.

Thanks,
James


On Fri, 2008-01-11 at 12:26 +0200, Jacob Kruger wrote:
> Now got that main page redirecting/spitting out the relevant JS code to get
> it to move on to the next page, but there I was trying to ascertain if the
> session variable/array element had actually been set, and, for whatever
> reason, no PHP code seems to be executing in main.php.
>
> Below is what I currently have inbetween the tags:
>
> > echo "testing...";
> ?>
>
> Before I was trying to do something along the lines of:
> echo $_SESSION["admin"];
>
> And that also did nothing.
>
> I also tried changing the static HTML content to see if maybe the output was
> just being cached or something, but that renders correctly.
>
> Any ideas? (am I just not 'trying' correctly or something)
>
> Stay well
>
> Jacob Kruger
> Blind Biker
> Skype: BlindZA
> '...Fate had broken his body, but not his spirit...'
>

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

Re: Ok, next step/question

am 11.01.2008 14:52:56 von Jacob Kruger

Already got that one on the very first line of the initial (index.php) page,
and I am assigning an array element in that first page, which seems to work
fine.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message -----
From: "James Crow" <
james@ultratans.com>
To: "Jacob Kruger" <
jacobk@cknet.co.za>
Cc: <
php-windows@lists.php.net>
Sent: Friday, January 11, 2008 3:42 PM
Subject: Re: [PHP-WIN] Ok, next step/question

> Jacob,
>
> You must issue a session_start() prior to outputting any code to the
> browser for sessions to work. There are tons of different ways to
> configure things, but session_start() as the first thing in the script
> should get you started. Here is a basic example:
>
> index.php:
> > session_start();
> $_SESSION['test_me'] = 'My test $_SESSION variable'; // stores a value
> in the $_SESSION array
> ?>
>
>
>
> ################## End of index.php ##################
>
>
> page2.php:
> > session_start()
> ?>
> Page 2
> > echo $_SESSION['test_me'];
> ?>
>
> ################# End of page2.php #######################
>
> The index.php page simply stores a value in the $_SESSION super global
> array and then immediately redirects to page2.php. page2.php retrieves
> the value stored by index.php and displays it as the content of the web
> page.
>
> This code is all from memory so it might have a bug, but it is how I got
> started working with session support in PHP.
>
> Thanks,
> James
>
>
> On Fri, 2008-01-11 at 12:26 +0200, Jacob Kruger wrote:
>> Now got that main page redirecting/spitting out the relevant JS code to
>> get
>> it to move on to the next page, but there I was trying to ascertain if
>> the
>> session variable/array element had actually been set, and, for whatever
>> reason, no PHP code seems to be executing in main.php.
>>
>> Below is what I currently have inbetween the tags:
>>
>> >> echo "testing...";
>> ?>
>>
>> Before I was trying to do something along the lines of:
>> echo $_SESSION["admin"];
>>
>> And that also did nothing.
>>
>> I also tried changing the static HTML content to see if maybe the output
>> was
>> just being cached or something, but that renders correctly.
>>
>> Any ideas? (am I just not 'trying' correctly or something)
>>
>> Stay well
>>
>> Jacob Kruger
>> Blind Biker
>> Skype: BlindZA
>> '...Fate had broken his body, but not his spirit...'
>>
>
>

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

Re: Ok, next step/question

am 11.01.2008 14:57:55 von Jacob Kruger

Ok. Just realised that you might have meant that I need that
session_start(); statement on the first line of every page?

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message -----
From: "Jacob Kruger"
To:
Sent: Friday, January 11, 2008 3:52 PM
Subject: Re: [PHP-WIN] Ok, next step/question


> Already got that one on the very first line of the initial (index.php)
> page,
> and I am assigning an array element in that first page, which seems to
> work
> fine.
>
> Stay well
>
> Jacob Kruger
> Blind Biker
> Skype: BlindZA
> '...Fate had broken his body, but not his spirit...'
>
> ----- Original Message -----
> From: "James Crow" <
> james@ultratans.com>
> To: "Jacob Kruger" <
> jacobk@cknet.co.za>
> Cc: <
> php-windows@lists.php.net>
> Sent: Friday, January 11, 2008 3:42 PM
> Subject: Re: [PHP-WIN] Ok, next step/question
>
>> Jacob,
>>
>> You must issue a session_start() prior to outputting any code to the
>> browser for sessions to work. There are tons of different ways to
>> configure things, but session_start() as the first thing in the script
>> should get you started. Here is a basic example:
>>
>> index.php:
>> >> session_start();
>> $_SESSION['test_me'] = 'My test $_SESSION variable'; // stores a value
>> in the $_SESSION array
>> ?>
>>
>>
>>
>> ################## End of index.php ##################
>>
>>
>> page2.php:
>> >> session_start()
>> ?>
>> Page 2
>> >> echo $_SESSION['test_me'];
>> ?>
>>
>> ################# End of page2.php #######################
>>
>> The index.php page simply stores a value in the $_SESSION super global
>> array and then immediately redirects to page2.php. page2.php retrieves
>> the value stored by index.php and displays it as the content of the web
>> page.
>>
>> This code is all from memory so it might have a bug, but it is how I got
>> started working with session support in PHP.
>>
>> Thanks,
>> James
>>
>>
>> On Fri, 2008-01-11 at 12:26 +0200, Jacob Kruger wrote:
>>> Now got that main page redirecting/spitting out the relevant JS code to
>>> get
>>> it to move on to the next page, but there I was trying to ascertain if
>>> the
>>> session variable/array element had actually been set, and, for whatever
>>> reason, no PHP code seems to be executing in main.php.
>>>
>>> Below is what I currently have inbetween the tags:
>>>
>>> >>> echo "testing...";
>>> ?>
>>>
>>> Before I was trying to do something along the lines of:
>>> echo $_SESSION["admin"];
>>>
>>> And that also did nothing.
>>>
>>> I also tried changing the static HTML content to see if maybe the output
>>> was
>>> just being cached or something, but that renders correctly.
>>>
>>> Any ideas? (am I just not 'trying' correctly or something)
>>>
>>> Stay well
>>>
>>> Jacob Kruger
>>> Blind Biker
>>> Skype: BlindZA
>>> '...Fate had broken his body, but not his spirit...'
>>>
>>
>>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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

Re: Ok, next step/question

am 11.01.2008 19:25:17 von James Crow

That is correct. The session_start() command must appear in each script
that needs to access the $_SESSION variable.

Thanks,
James

On Fri, 2008-01-11 at 15:57 +0200, Jacob Kruger wrote:
> Ok. Just realised that you might have meant that I need that
> session_start(); statement on the first line of every page?
>
> Stay well
>
> Jacob Kruger
> Blind Biker
> Skype: BlindZA
> '...Fate had broken his body, but not his spirit...'
>
> ----- Original Message -----
> From: "Jacob Kruger"
> To:
> Sent: Friday, January 11, 2008 3:52 PM
> Subject: Re: [PHP-WIN] Ok, next step/question
>
>
> > Already got that one on the very first line of the initial (index.php)
> > page,
> > and I am assigning an array element in that first page, which seems to
> > work
> > fine.
> >
> > Stay well
> >
> > Jacob Kruger
> > Blind Biker
> > Skype: BlindZA
> > '...Fate had broken his body, but not his spirit...'
> >
> > ----- Original Message -----
> > From: "James Crow" <
> > james@ultratans.com>
> > To: "Jacob Kruger" <
> > jacobk@cknet.co.za>
> > Cc: <
> > php-windows@lists.php.net>
> > Sent: Friday, January 11, 2008 3:42 PM
> > Subject: Re: [PHP-WIN] Ok, next step/question
> >
> >> Jacob,
> >>
> >> You must issue a session_start() prior to outputting any code to the
> >> browser for sessions to work. There are tons of different ways to
> >> configure things, but session_start() as the first thing in the script
> >> should get you started. Here is a basic example:
> >>
> >> index.php:
> >> > >> session_start();
> >> $_SESSION['test_me'] = 'My test $_SESSION variable'; // stores a value
> >> in the $_SESSION array
> >> ?>
> >>
> >>
> >>
> >> ################## End of index.php ##################
> >>
> >>
> >> page2.php:
> >> > >> session_start()
> >> ?>
> >> Page 2
> >> > >> echo $_SESSION['test_me'];
> >> ?>
> >>
> >> ################# End of page2.php #######################
> >>
> >> The index.php page simply stores a value in the $_SESSION super global
> >> array and then immediately redirects to page2.php. page2.php retrieves
> >> the value stored by index.php and displays it as the content of the web
> >> page.
> >>
> >> This code is all from memory so it might have a bug, but it is how I got
> >> started working with session support in PHP.
> >>
> >> Thanks,
> >> James
> >>
> >>
> >> On Fri, 2008-01-11 at 12:26 +0200, Jacob Kruger wrote:
> >>> Now got that main page redirecting/spitting out the relevant JS code to
> >>> get
> >>> it to move on to the next page, but there I was trying to ascertain if
> >>> the
> >>> session variable/array element had actually been set, and, for whatever
> >>> reason, no PHP code seems to be executing in main.php.
> >>>
> >>> Below is what I currently have inbetween the tags:
> >>>
> >>> > >>> echo "testing...";
> >>> ?>
> >>>
> >>> Before I was trying to do something along the lines of:
> >>> echo $_SESSION["admin"];
> >>>
> >>> And that also did nothing.
> >>>
> >>> I also tried changing the static HTML content to see if maybe the output
> >>> was
> >>> just being cached or something, but that renders correctly.
> >>>
> >>> Any ideas? (am I just not 'trying' correctly or something)
> >>>
> >>> Stay well
> >>>
> >>> Jacob Kruger
> >>> Blind Biker
> >>> Skype: BlindZA
> >>> '...Fate had broken his body, but not his spirit...'
> >>>
> >>
> >>
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>

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

Re: Ok, next step/question

am 15.01.2008 12:05:26 von Jacob Kruger

Ok.

Been trying out various things including double-checking if my error display
settings were there etc. etc., and finally sort of figured out what was
going wrong when I eventually saved the output of main.php from internet
explorer after it was still not showing any output, and then I sort of
discovered that for whatever reason, the PHP code isn't actually being
interpreted/processed since it still shows up in the html source thereof.

FWIW, here's the complete source code of that main.php file (as it appears
when I edit it, or when I save it from IE):





Admin main page


echo "admin?: " . $_SESSION["admin"] . "
";
echo "What the hell!?!?!?";
?>



Anyideas (and FWIW, I have tried changing various small things, but who
knows...)?

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message -----
From: "James Crow"
To: "Jacob Kruger"
Cc:
Sent: Friday, January 11, 2008 8:25 PM
Subject: Re: [PHP-WIN] Ok, next step/question


> That is correct. The session_start() command must appear in each script
> that needs to access the $_SESSION variable.
>
> Thanks,
> James
>
> On Fri, 2008-01-11 at 15:57 +0200, Jacob Kruger wrote:
>> Ok. Just realised that you might have meant that I need that
>> session_start(); statement on the first line of every page?
>>
>> Stay well
>>
>> Jacob Kruger
>> Blind Biker
>> Skype: BlindZA
>> '...Fate had broken his body, but not his spirit...'
>>
>> ----- Original Message -----
>> From: "Jacob Kruger"
>> To:
>> Sent: Friday, January 11, 2008 3:52 PM
>> Subject: Re: [PHP-WIN] Ok, next step/question
>>
>>
>> > Already got that one on the very first line of the initial (index.php)
>> > page,
>> > and I am assigning an array element in that first page, which seems to
>> > work
>> > fine.
>> >
>> > Stay well
>> >
>> > Jacob Kruger
>> > Blind Biker
>> > Skype: BlindZA
>> > '...Fate had broken his body, but not his spirit...'
>> >
>> > ----- Original Message -----
>> > From: "James Crow" <
>> > james@ultratans.com>
>> > To: "Jacob Kruger" <
>> > jacobk@cknet.co.za>
>> > Cc: <
>> > php-windows@lists.php.net>
>> > Sent: Friday, January 11, 2008 3:42 PM
>> > Subject: Re: [PHP-WIN] Ok, next step/question
>> >
>> >> Jacob,
>> >>
>> >> You must issue a session_start() prior to outputting any code to the
>> >> browser for sessions to work. There are tons of different ways to
>> >> configure things, but session_start() as the first thing in the script
>> >> should get you started. Here is a basic example:
>> >>
>> >> index.php:
>> >> >> >> session_start();
>> >> $_SESSION['test_me'] = 'My test $_SESSION variable'; // stores a value
>> >> in the $_SESSION array
>> >> ?>
>> >>
>> >>
>> >>
>> >> ################## End of index.php ##################
>> >>
>> >>
>> >> page2.php:
>> >> >> >> session_start()
>> >> ?>
>> >> Page 2
>> >> >> >> echo $_SESSION['test_me'];
>> >> ?>
>> >>
>> >> ################# End of page2.php #######################
>> >>
>> >> The index.php page simply stores a value in the $_SESSION super global
>> >> array and then immediately redirects to page2.php. page2.php retrieves
>> >> the value stored by index.php and displays it as the content of the
>> >> web
>> >> page.
>> >>
>> >> This code is all from memory so it might have a bug, but it is how I
>> >> got
>> >> started working with session support in PHP.
>> >>
>> >> Thanks,
>> >> James
>> >>
>> >>
>> >> On Fri, 2008-01-11 at 12:26 +0200, Jacob Kruger wrote:
>> >>> Now got that main page redirecting/spitting out the relevant JS code
>> >>> to
>> >>> get
>> >>> it to move on to the next page, but there I was trying to ascertain
>> >>> if
>> >>> the
>> >>> session variable/array element had actually been set, and, for
>> >>> whatever
>> >>> reason, no PHP code seems to be executing in main.php.
>> >>>
>> >>> Below is what I currently have inbetween the tags:
>> >>>
>> >>> >> >>> echo "testing...";
>> >>> ?>
>> >>>
>> >>> Before I was trying to do something along the lines of:
>> >>> echo $_SESSION["admin"];
>> >>>
>> >>> And that also did nothing.
>> >>>
>> >>> I also tried changing the static HTML content to see if maybe the
>> >>> output
>> >>> was
>> >>> just being cached or something, but that renders correctly.
>> >>>
>> >>> Any ideas? (am I just not 'trying' correctly or something)
>> >>>
>> >>> Stay well
>> >>>
>> >>> Jacob Kruger
>> >>> Blind Biker
>> >>> Skype: BlindZA
>> >>> '...Fate had broken his body, but not his spirit...'
>> >>>
>> >>
>> >>
>> >
>> > --
>> > PHP Windows Mailing List (http://www.php.net/)
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>> >
>> >
>>
>
>

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

Re: Ok, next step/question

am 15.01.2008 13:00:17 von Jacob Kruger

Ok.

Just tested this on another machine as well, and I now see if I go to the
phpInfo link on the WAMP server homepage on either machine it does seem to
work, but not in my own pages.

Also, rechecked on both machines, and I actually noticed that the very first
line:


does in fact seem to be being processed/disappears, but the rest of the php
code is still rendering unprocessed in those pages, so who knows.

Maybe I should actually send some of you my actual page file in case there's
something strange therein that I'm not noticing - who knows.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message -----
From: "Matt Horn"
To: "Jacob Kruger"
Sent: Tuesday, January 15, 2008 1:23 PM
Subject: Re: [PHP-WIN] Ok, next step/question


> does
> > phpinfo();
> ?>
>
> return anything?
>
>
> On 15/01/2008, Jacob Kruger wrote:
>> Ok.
>>
>> Been trying out various things including double-checking if my error
>> display
>> settings were there etc. etc., and finally sort of figured out what was
>> going wrong when I eventually saved the output of main.php from internet
>> explorer after it was still not showing any output, and then I sort of
>> discovered that for whatever reason, the PHP code isn't actually being
>> interpreted/processed since it still shows up in the html source thereof.
>>
>> FWIW, here's the complete source code of that main.php file (as it
>> appears
>> when I edit it, or when I save it from IE):
>>
>>
>>
>>
>>
>> Admin main page
>>
>>
>> >> echo "admin?: " . $_SESSION["admin"] . "
";
>> echo "What the hell!?!?!?";
>> ?>
>>
>>
>>
>> Anyideas (and FWIW, I have tried changing various small things, but who
>> knows...)?
>>
>> Jacob Kruger
>> Blind Biker
>> Skype: BlindZA
>> '...Fate had broken his body, but not his spirit...'
>>
>> ----- Original Message -----
>> From: "James Crow"
>> To: "Jacob Kruger"
>> Cc:
>> Sent: Friday, January 11, 2008 8:25 PM
>> Subject: Re: [PHP-WIN] Ok, next step/question
>>
>>
>> > That is correct. The session_start() command must appear in each script
>> > that needs to access the $_SESSION variable.
>> >
>> > Thanks,
>> > James
>> >
>> > On Fri, 2008-01-11 at 15:57 +0200, Jacob Kruger wrote:
>> >> Ok. Just realised that you might have meant that I need that
>> >> session_start(); statement on the first line of every page?
>> >>
>> >> Stay well
>> >>
>> >> Jacob Kruger
>> >> Blind Biker
>> >> Skype: BlindZA
>> >> '...Fate had broken his body, but not his spirit...'
>> >>
>> >> ----- Original Message -----
>> >> From: "Jacob Kruger"
>> >> To:
>> >> Sent: Friday, January 11, 2008 3:52 PM
>> >> Subject: Re: [PHP-WIN] Ok, next step/question
>> >>
>> >>
>> >> > Already got that one on the very first line of the initial
>> >> > (index.php)
>> >> > page,
>> >> > and I am assigning an array element in that first page, which seems
>> >> > to
>> >> > work
>> >> > fine.
>> >> >
>> >> > Stay well
>> >> >
>> >> > Jacob Kruger
>> >> > Blind Biker
>> >> > Skype: BlindZA
>> >> > '...Fate had broken his body, but not his spirit...'
>> >> >
>> >> > ----- Original Message -----
>> >> > From: "James Crow" <
>> >> > james@ultratans.com>
>> >> > To: "Jacob Kruger" <
>> >> > jacobk@cknet.co.za>
>> >> > Cc: <
>> >> > php-windows@lists.php.net>
>> >> > Sent: Friday, January 11, 2008 3:42 PM
>> >> > Subject: Re: [PHP-WIN] Ok, next step/question
>> >> >
>> >> >> Jacob,
>> >> >>
>> >> >> You must issue a session_start() prior to outputting any code to
>> >> >> the
>> >> >> browser for sessions to work. There are tons of different ways to
>> >> >> configure things, but session_start() as the first thing in the
>> >> >> script
>> >> >> should get you started. Here is a basic example:
>> >> >>
>> >> >> index.php:
>> >> >> >> >> >> session_start();
>> >> >> $_SESSION['test_me'] = 'My test $_SESSION variable'; // stores a
>> >> >> value
>> >> >> in the $_SESSION array
>> >> >> ?>
>> >> >>
>> >> >>
>> >> >>
>> >> >> ################## End of index.php ##################
>> >> >>
>> >> >>
>> >> >> page2.php:
>> >> >> >> >> >> session_start()
>> >> >> ?>
>> >> >> Page 2
>> >> >> >> >> >> echo $_SESSION['test_me'];
>> >> >> ?>
>> >> >>
>> >> >> ################# End of page2.php #######################
>> >> >>
>> >> >> The index.php page simply stores a value in the $_SESSION super
>> >> >> global
>> >> >> array and then immediately redirects to page2.php. page2.php
>> >> >> retrieves
>> >> >> the value stored by index.php and displays it as the content of the
>> >> >> web
>> >> >> page.
>> >> >>
>> >> >> This code is all from memory so it might have a bug, but it is how
>> >> >> I
>> >> >> got
>> >> >> started working with session support in PHP.
>> >> >>
>> >> >> Thanks,
>> >> >> James
>> >> >>
>> >> >>
>> >> >> On Fri, 2008-01-11 at 12:26 +0200, Jacob Kruger wrote:
>> >> >>> Now got that main page redirecting/spitting out the relevant JS
>> >> >>> code
>> >> >>> to
>> >> >>> get
>> >> >>> it to move on to the next page, but there I was trying to
>> >> >>> ascertain
>> >> >>> if
>> >> >>> the
>> >> >>> session variable/array element had actually been set, and, for
>> >> >>> whatever
>> >> >>> reason, no PHP code seems to be executing in main.php.
>> >> >>>
>> >> >>> Below is what I currently have inbetween the tags:
>> >> >>>
>> >> >>> >> >> >>> echo "testing...";
>> >> >>> ?>
>> >> >>>
>> >> >>> Before I was trying to do something along the lines of:
>> >> >>> echo $_SESSION["admin"];
>> >> >>>
>> >> >>> And that also did nothing.
>> >> >>>
>> >> >>> I also tried changing the static HTML content to see if maybe the
>> >> >>> output
>> >> >>> was
>> >> >>> just being cached or something, but that renders correctly.
>> >> >>>
>> >> >>> Any ideas? (am I just not 'trying' correctly or something)
>> >> >>>
>> >> >>> Stay well
>> >> >>>
>> >> >>> Jacob Kruger
>> >> >>> Blind Biker
>> >> >>> Skype: BlindZA
>> >> >>> '...Fate had broken his body, but not his spirit...'
>> >> >>>
>> >> >>
>> >> >>
>> >> >
>> >> > --
>> >> > PHP Windows Mailing List (http://www.php.net/)
>> >> > To unsubscribe, visit: http://www.php.net/unsub.php
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
> --
>
> -------------------------------------------
> matt@cypherpunk.za.net
> http://www.cypherpunk.za.net
> ------------------------------------------
>

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

Re: Ok, next step/question

am 15.01.2008 13:12:39 von Jacob Kruger

Installed the full WAMP server configuration after I was encountering
problems with the PHP add-on for IIS, and I now simply stop IIs, then start
WAMP, and FWIW, I literally installed it on the second machine right now to
try this out, but, like I said, it also seems to have a problem of sorts.

Strangest thing is that while the installed page for PHPInfo works, it won't
even work in one of my own pages that has it in.

FWIW, I have WAMP server v.2.0 - AFAIK the latest version so I don't think
the problem is actually therein.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message -----
From: "Matt Horn"
To: "Jacob Kruger"
Sent: Tuesday, January 15, 2008 2:05 PM
Subject: Re: [PHP-WIN] Ok, next step/question


> looks tome as if php is not correctly installed
>
> how did you install it?
> zip or msi?
>
> ISAPI filter or the cgi option?
>
>
> On 15/01/2008, Jacob Kruger wrote:
>> Nope.
>>
>> Also tried that one, and not just in that page. Wherever I put it
>> (except I
>> haven't tried it in the 'working' index.php yet) it also returns nothing.
>>
>> Just strange that the first page (index.php) still processes the logon
>> entries in that form, and spits out the required javascript to then take
>> you
>> to the page that does nothing. Have tried various combinations of F5,
>> Ctrl
>> + F5 etc. to make sure that it's not just a client-side cacheing doing
>> something, so who knows.
>>
>> Stay well
>>
>> Jacob Kruger
>> Blind Biker
>> Skype: BlindZA
>> '...Fate had broken his body, but not his spirit...'
>>
>> ----- Original Message -----
>> From: "Matt Horn"
>> To: "Jacob Kruger"
>> Sent: Tuesday, January 15, 2008 1:23 PM
>> Subject: Re: [PHP-WIN] Ok, next step/question
>>
>>
>> > does
>> > >> > phpinfo();
>> > ?>
>> >
>> > return anything?
>> >
>> >
>> > On 15/01/2008, Jacob Kruger wrote:
>> >> Ok.
>> >>
>> >> Been trying out various things including double-checking if my error
>> >> display
>> >> settings were there etc. etc., and finally sort of figured out what
>> >> was
>> >> going wrong when I eventually saved the output of main.php from
>> >> internet
>> >> explorer after it was still not showing any output, and then I sort of
>> >> discovered that for whatever reason, the PHP code isn't actually being
>> >> interpreted/processed since it still shows up in the html source
>> >> thereof.
>> >>
>> >> FWIW, here's the complete source code of that main.php file (as it
>> >> appears
>> >> when I edit it, or when I save it from IE):
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Admin main page
>> >>
>> >>
>> >> >> >> echo "admin?: " . $_SESSION["admin"] . "
";
>> >> echo "What the hell!?!?!?";
>> >> ?>
>> >>
>> >>
>> >>
>> >> Anyideas (and FWIW, I have tried changing various small things, but
>> >> who
>> >> knows...)?
>> >>
>> >> Jacob Kruger
>> >> Blind Biker
>> >> Skype: BlindZA
>> >> '...Fate had broken his body, but not his spirit...'
>> >>
>> >> ----- Original Message -----
>> >> From: "James Crow"
>> >> To: "Jacob Kruger"
>> >> Cc:
>> >> Sent: Friday, January 11, 2008 8:25 PM
>> >> Subject: Re: [PHP-WIN] Ok, next step/question
>> >>
>> >>
>> >> > That is correct. The session_start() command must appear in each
>> >> > script
>> >> > that needs to access the $_SESSION variable.
>> >> >
>> >> > Thanks,
>> >> > James
>> >> >
>> >> > On Fri, 2008-01-11 at 15:57 +0200, Jacob Kruger wrote:
>> >> >> Ok. Just realised that you might have meant that I need that
>> >> >> session_start(); statement on the first line of every page?
>> >> >>
>> >> >> Stay well
>> >> >>
>> >> >> Jacob Kruger
>> >> >> Blind Biker
>> >> >> Skype: BlindZA
>> >> >> '...Fate had broken his body, but not his spirit...'
>> >> >>
>> >> >> ----- Original Message -----
>> >> >> From: "Jacob Kruger"
>> >> >> To:
>> >> >> Sent: Friday, January 11, 2008 3:52 PM
>> >> >> Subject: Re: [PHP-WIN] Ok, next step/question
>> >> >>
>> >> >>
>> >> >> > Already got that one on the very first line of the initial
>> >> >> > (index.php)
>> >> >> > page,
>> >> >> > and I am assigning an array element in that first page, which
>> >> >> > seems
>> >> >> > to
>> >> >> > work
>> >> >> > fine.
>> >> >> >
>> >> >> > Stay well
>> >> >> >
>> >> >> > Jacob Kruger
>> >> >> > Blind Biker
>> >> >> > Skype: BlindZA
>> >> >> > '...Fate had broken his body, but not his spirit...'
>> >> >> >
>> >> >> > ----- Original Message -----
>> >> >> > From: "James Crow" <
>> >> >> > james@ultratans.com>
>> >> >> > To: "Jacob Kruger" <
>> >> >> > jacobk@cknet.co.za>
>> >> >> > Cc: <
>> >> >> > php-windows@lists.php.net>
>> >> >> > Sent: Friday, January 11, 2008 3:42 PM
>> >> >> > Subject: Re: [PHP-WIN] Ok, next step/question
>> >> >> >
>> >> >> >> Jacob,
>> >> >> >>
>> >> >> >> You must issue a session_start() prior to outputting any code
>> >> >> >> to
>> >> >> >> the
>> >> >> >> browser for sessions to work. There are tons of different ways
>> >> >> >> to
>> >> >> >> configure things, but session_start() as the first thing in the
>> >> >> >> script
>> >> >> >> should get you started. Here is a basic example:
>> >> >> >>
>> >> >> >> index.php:
>> >> >> >> >> >> >> >> session_start();
>> >> >> >> $_SESSION['test_me'] = 'My test $_SESSION variable'; // stores a
>> >> >> >> value
>> >> >> >> in the $_SESSION array
>> >> >> >> ?>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> ################## End of index.php ##################
>> >> >> >>
>> >> >> >>
>> >> >> >> page2.php:
>> >> >> >> >> >> >> >> session_start()
>> >> >> >> ?>
>> >> >> >> Page 2
>> >> >> >> >> >> >> >> echo $_SESSION['test_me'];
>> >> >> >> ?>
>> >> >> >>
>> >> >> >> ################# End of page2.php #######################
>> >> >> >>
>> >> >> >> The index.php page simply stores a value in the $_SESSION super
>> >> >> >> global
>> >> >> >> array and then immediately redirects to page2.php. page2.php
>> >> >> >> retrieves
>> >> >> >> the value stored by index.php and displays it as the content of
>> >> >> >> the
>> >> >> >> web
>> >> >> >> page.
>> >> >> >>
>> >> >> >> This code is all from memory so it might have a bug, but it is
>> >> >> >> how
>> >> >> >> I
>> >> >> >> got
>> >> >> >> started working with session support in PHP.
>> >> >> >>
>> >> >> >> Thanks,
>> >> >> >> James
>> >> >> >>
>> >> >> >>
>> >> >> >> On Fri, 2008-01-11 at 12:26 +0200, Jacob Kruger wrote:
>> >> >> >>> Now got that main page redirecting/spitting out the relevant JS
>> >> >> >>> code
>> >> >> >>> to
>> >> >> >>> get
>> >> >> >>> it to move on to the next page, but there I was trying to
>> >> >> >>> ascertain
>> >> >> >>> if
>> >> >> >>> the
>> >> >> >>> session variable/array element had actually been set, and, for
>> >> >> >>> whatever
>> >> >> >>> reason, no PHP code seems to be executing in main.php.
>> >> >> >>>
>> >> >> >>> Below is what I currently have inbetween the
>> >> >> >>> tags:
>> >> >> >>>
>> >> >> >>> >> >> >> >>> echo "testing...";
>> >> >> >>> ?>
>> >> >> >>>
>> >> >> >>> Before I was trying to do something along the lines of:
>> >> >> >>> echo $_SESSION["admin"];
>> >> >> >>>
>> >> >> >>> And that also did nothing.
>> >> >> >>>
>> >> >> >>> I also tried changing the static HTML content to see if maybe
>> >> >> >>> the
>> >> >> >>> output
>> >> >> >>> was
>> >> >> >>> just being cached or something, but that renders correctly.
>> >> >> >>>
>> >> >> >>> Any ideas? (am I just not 'trying' correctly or something)
>> >> >> >>>
>> >> >> >>> Stay well
>> >> >> >>>
>> >> >> >>> Jacob Kruger
>> >> >> >>> Blind Biker
>> >> >> >>> Skype: BlindZA
>> >> >> >>> '...Fate had broken his body, but not his spirit...'
>> >> >> >>>
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> > --
>> >> >> > PHP Windows Mailing List (http://www.php.net/)
>> >> >> > To unsubscribe, visit: http://www.php.net/unsub.php
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> PHP Windows Mailing List (http://www.php.net/)
>> >> To unsubscribe, visit: http://www.php.net/unsub.php
>> >>
>> >>
>> >
>> >
>> > --
>> >
>> > -------------------------------------------
>> > matt@cypherpunk.za.net
>> > http://www.cypherpunk.za.net
>> > ------------------------------------------
>> >
>>
>>
>
>
> --
>
> -------------------------------------------
> matt@cypherpunk.za.net
> http://www.cypherpunk.za.net
> ------------------------------------------
>

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

Re: Ok, next step/question

am 15.01.2008 13:23:49 von Jacob Kruger

Ok.

That seems to have fixed it (on at least one of the machines)

Thanks.

S'pose that's one of the irritations when using a screenreader since I
suppose I ass-umed that it didn't make a difference, and my screenreader
reads the different versions in exactly the same way.

Thanks again, and let's now see if I can come right further on.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message -----
From: "germana"
To: "Jacob Kruger"
Sent: Tuesday, January 15, 2008 2:14 PM
Subject: Re: [PHP-WIN] Ok, next step/question


>I don't know if im getting you well, and maybe this was an error on the
> email and not in your code but.....
>
> this, i think should be like:
> > echo "admin?: " . $_SESSION["admin"] . "
";
> echo "What the hell!?!?!?";
> ?>
>
> Note the space between >
> On Tue, 2008-01-15 at 13:05 +0200, Jacob Kruger wrote:
>
>> >> echo "admin?: " . $_SESSION["admin"] . "
";
>> echo "What the hell!?!?!?";
>> ?>
>
>
> Good Look!!!
>
>
>
>

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

Re: Ok, next step/question

am 15.01.2008 13:31:46 von Jacob Kruger

No longer really relevant, but FWIW, my files are in a subfolder of
C:\WAMP\www, and like I said, it was in fact processing index.php, but not
all the code in main.php and they are in the same folder.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message -----
From: "Matt Horn" <
matt@cypherpunk.za.net>
To: "Jacob Kruger" <
jacobk@cknet.co.za>
Sent: Tuesday, January 15, 2008 2:18 PM
Subject: Re: [PHP-WIN] Ok, next step/question

> ok
>
> this is a stupid question but yeah
>
> your files are in the htdoc directory ?
>
> and that has been set us as the place php will process files?
>
>
> On 15/01/2008, Jacob Kruger <
jacobk@cknet.co.za
> wrote:
>> Installed the full WAMP server configuration after I was encountering
>> problems with the PHP add-on for IIS, and I now simply stop IIs, then
>> start
>> WAMP, and FWIW, I literally installed it on the second machine right now
>> to
>> try this out, but, like I said, it also seems to have a problem of sorts.
>>
>> Strangest thing is that while the installed page for PHPInfo works, it
>> won't
>> even work in one of my own pages that has it in.
>>
>> FWIW, I have WAMP server v.2.0 - AFAIK the latest version so I don't
>> think
>> the problem is actually therein.
>>
>> Stay well
>>
>> Jacob Kruger
>> Blind Biker
>> Skype: BlindZA
>> '...Fate had broken his body, but not his spirit...'
>>
>> ----- Original Message -----
>> From: "Matt Horn" <
matt@cypherpunk.za.net>
>> To: "Jacob Kruger" <
jacobk@cknet.co.za>
>> Sent: Tuesday, January 15, 2008 2:05 PM
>> Subject: Re: [PHP-WIN] Ok, next step/question
>>
>>
>> > looks tome as if php is not correctly installed
>> >
>> > how did you install it?
>> > zip or msi?
>> >
>> > ISAPI filter or the cgi option?
>> >
>> >
>> > On 15/01/2008, Jacob Kruger <
jacobk@cknet.co.za
> wrote:
>> >> Nope.
>> >>
>> >> Also tried that one, and not just in that page. Wherever I put it
>> >> (except I
>> >> haven't tried it in the 'working' index.php yet) it also returns
>> >> nothing.
>> >>
>> >> Just strange that the first page (index.php) still processes the logon
>> >> entries in that form, and spits out the required javascript to then
>> >> take
>> >> you
>> >> to the page that does nothing. Have tried various combinations of F5,
>> >> Ctrl
>> >> + F5 etc. to make sure that it's not just a client-side cacheing doing
>> >> something, so who knows.
>> >>
>> >> Stay well
>> >>
>> >> Jacob Kruger
>> >> Blind Biker
>> >> Skype: BlindZA
>> >> '...Fate had broken his body, but not his spirit...'
>> >>
>> >> ----- Original Message -----
>> >> From: "Matt Horn" <
matt@cypherpunk.za.net>
>> >> To: "Jacob Kruger" <
jacobk@cknet.co.za>
>> >> Sent: Tuesday, January 15, 2008 1:23 PM
>> >> Subject: Re: [PHP-WIN] Ok, next step/question
>> >>
>> >>
>> >> > does
>> >> > >> >> > phpinfo();
>> >> > ?>
>> >> >
>> >> > return anything?
>> >> >
>> >> >
>> >> > On 15/01/2008, Jacob Kruger <
jacobk@cknet.co.za
> wrote:
>> >> >> Ok.
>> >> >>
>> >> >> Been trying out various things including double-checking if my
>> >> >> error
>> >> >> display
>> >> >> settings were there etc. etc., and finally sort of figured out what
>> >> >> was
>> >> >> going wrong when I eventually saved the output of main.php from
>> >> >> internet
>> >> >> explorer after it was still not showing any output, and then I sort
>> >> >> of
>> >> >> discovered that for whatever reason, the PHP code isn't actually
>> >> >> being
>> >> >> interpreted/processed since it still shows up in the html source
>> >> >> thereof.
>> >> >>
>> >> >> FWIW, here's the complete source code of that main.php file (as it
>> >> >> appears
>> >> >> when I edit it, or when I save it from IE):
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Admin main page
>> >> >>
>> >> >>
>> >> >> >> >> >> echo "admin?: " . $_SESSION["admin"] . "
";
>> >> >> echo "What the hell!?!?!?";
>> >> >> ?>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Anyideas (and FWIW, I have tried changing various small things, but
>> >> >> who
>> >> >> knows...)?
>> >> >>
>> >> >> Jacob Kruger
>> >> >> Blind Biker
>> >> >> Skype: BlindZA
>> >> >> '...Fate had broken his body, but not his spirit...'
>> >> >>
>> >> >> ----- Original Message -----
>> >> >> From: "James Crow" <
james@ultratans.com>
>> >> >> To: "Jacob Kruger" <
jacobk@cknet.co.za>
>> >> >> Cc: <
php-windows@lists.php.net>
>> >> >> Sent: Friday, January 11, 2008 8:25 PM
>> >> >> Subject: Re: [PHP-WIN] Ok, next step/question
>> >> >>
>> >> >>
>> >> >> > That is correct. The session_start() command must appear in each
>> >> >> > script
>> >> >> > that needs to access the $_SESSION variable.
>> >> >> >
>> >> >> > Thanks,
>> >> >> > James
>> >> >> >
>> >> >> > On Fri, 2008-01-11 at 15:57 +0200, Jacob Kruger wrote:
>> >> >> >> Ok. Just realised that you might have meant that I need that
>> >> >> >> session_start(); statement on the first line of every page?
>> >> >> >>
>> >> >> >> Stay well
>> >> >> >>
>> >> >> >> Jacob Kruger
>> >> >> >> Blind Biker
>> >> >> >> Skype: BlindZA
>> >> >> >> '...Fate had broken his body, but not his spirit...'
>> >> >> >>
>> >> >> >> ----- Original Message -----
>> >> >> >> From: "Jacob Kruger" <
jacobk@cknet.co.za>
>> >> >> >> To: <
php-windows@lists.php.net>
>> >> >> >> Sent: Friday, January 11, 2008 3:52 PM
>> >> >> >> Subject: Re: [PHP-WIN] Ok, next step/question
>> >> >> >>
>> >> >> >>
>> >> >> >> > Already got that one on the very first line of the initial
>> >> >> >> > (index.php)
>> >> >> >> > page,
>> >> >> >> > and I am assigning an array element in that first page, which
>> >> >> >> > seems
>> >> >> >> > to
>> >> >> >> > work
>> >> >> >> > fine.
>> >> >> >> >
>> >> >> >> > Stay well
>> >> >> >> >
>> >> >> >> > Jacob Kruger
>> >> >> >> > Blind Biker
>> >> >> >> > Skype: BlindZA
>> >> >> >> > '...Fate had broken his body, but not his spirit...'
>> >> >> >> >
>> >> >> >> > ----- Original Message -----
>> >> >> >> > From: "James Crow" <
>> >> >> >> >
james@ultratans.com>
>> >> >> >> > To: "Jacob Kruger" <
>> >> >> >> >
jacobk@cknet.co.za>
>> >> >> >> > Cc: <
>> >> >> >> >
php-windows@lists.php.net>
>> >> >> >> > Sent: Friday, January 11, 2008 3:42 PM
>> >> >> >> > Subject: Re: [PHP-WIN] Ok, next step/question
>> >> >> >> >
>> >> >> >> >> Jacob,
>> >> >> >> >>
>> >> >> >> >> You must issue a session_start() prior to outputting any
>> >> >> >> >> code
>> >> >> >> >> to
>> >> >> >> >> the
>> >> >> >> >> browser for sessions to work. There are tons of different
>> >> >> >> >> ways
>> >> >> >> >> to
>> >> >> >> >> configure things, but session_start() as the first thing in
>> >> >> >> >> the
>> >> >> >> >> script
>> >> >> >> >> should get you started. Here is a basic example:
>> >> >> >> >>
>> >> >> >> >> index.php:
>> >> >> >> >> >> >> >> >> >> session_start();
>> >> >> >> >> $_SESSION['test_me'] = 'My test $_SESSION variable'; //
>> >> >> >> >> stores a
>> >> >> >> >> value
>> >> >> >> >> in the $_SESSION array
>> >> >> >> >> ?>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> ################## End of index.php ##################
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> page2.php:
>> >> >> >> >> >> >> >> >> >> session_start()
>> >> >> >> >> ?>
>> >> >> >> >> Page 2
>> >> >> >> >> >> >> >> >> >> echo $_SESSION['test_me'];
>> >> >> >> >> ?>
>> >> >> >> >>
>> >> >> >> >> ################# End of page2.php #######################
>> >> >> >> >>
>> >> >> >> >> The index.php page simply stores a value in the $_SESSION
>> >> >> >> >> super
>> >> >> >> >> global
>> >> >> >> >> array and then immediately redirects to page2.php. page2.php
>> >> >> >> >> retrieves
>> >> >> >> >> the value stored by index.php and displays it as the content
>> >> >> >> >> of
>> >> >> >> >> the
>> >> >> >> >> web
>> >> >> >> >> page.
>> >> >> >> >>
>> >> >> >> >> This code is all from memory so it might have a bug, but it
>> >> >> >> >> is
>> >> >> >> >> how
>> >> >> >> >> I
>> >> >> >> >> got
>> >> >> >> >> started working with session support in PHP.
>> >> >> >> >>
>> >> >> >> >> Thanks,
>> >> >> >> >> James
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> On Fri, 2008-01-11 at 12:26 +0200, Jacob Kruger wrote:
>> >> >> >> >>> Now got that main page redirecting/spitting out the relevant
>> >> >> >> >>> JS
>> >> >> >> >>> code
>> >> >> >> >>> to
>> >> >> >> >>> get
>> >> >> >> >>> it to move on to the next page, but there I was trying to
>> >> >> >> >>> ascertain
>> >> >> >> >>> if
>> >> >> >> >>> the
>> >> >> >> >>> session variable/array element had actually been set, and,
>> >> >> >> >>> for
>> >> >> >> >>> whatever
>> >> >> >> >>> reason, no PHP code seems to be executing in main.php.
>> >> >> >> >>>
>> >> >> >> >>> Below is what I currently have inbetween the
>> >> >> >> >>> tags:
>> >> >> >> >>>
>> >> >> >> >>> >> >> >> >> >>> echo "testing...";
>> >> >> >> >>> ?>
>> >> >> >> >>>
>> >> >> >> >>> Before I was trying to do something along the lines of:
>> >> >> >> >>> echo $_SESSION["admin"];
>> >> >> >> >>>
>> >> >> >> >>> And that also did nothing.
>> >> >> >> >>>
>> >> >> >> >>> I also tried changing the static HTML content to see if
>> >> >> >> >>> maybe
>> >> >> >> >>> the
>> >> >> >> >>> output
>> >> >> >> >>> was
>> >> >> >> >>> just being cached or something, but that renders correctly.
>> >> >> >> >>>
>> >> >> >> >>> Any ideas? (am I just not 'trying' correctly or something)
>> >> >> >> >>>
>> >> >> >> >>> Stay well
>> >> >> >> >>>
>> >> >> >> >>> Jacob Kruger
>> >> >> >> >>> Blind Biker
>> >> >> >> >>> Skype: BlindZA
>> >> >> >> >>> '...Fate had broken his body, but not his spirit...'
>> >> >> >> >>>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > PHP Windows Mailing List (
http://www.php.net/)
>> >> >> >> > To unsubscribe, visit:
http://www.php.net/unsub.php
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> PHP Windows Mailing List (
http://www.php.net/)
>> >> >> To unsubscribe, visit:
http://www.php.net/unsub.php
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> >
>> >> > -------------------------------------------
>> >> >
matt@cypherpunk.za.net
>> >> >
http://www.cypherpunk.za.net
>> >> > ------------------------------------------
>> >> >
>> >>
>> >>
>> >
>> >
>> > --
>> >
>> > -------------------------------------------
>> >
matt@cypherpunk.za.net
>> >
http://www.cypherpunk.za.net
>> > ------------------------------------------
>> >
>>
>> --
>> PHP Windows Mailing List (
http://www.php.net/)
>> To unsubscribe, visit:
http://www.php.net/unsub.php
>>
>>
>
>
> --
>
> -------------------------------------------
>
matt@cypherpunk.za.net
>
http://www.cypherpunk.za.net
> ------------------------------------------
>

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

Re: Ok, next step/question

am 15.01.2008 17:08:21 von Niel Archer

Hi,
the second tag has a space between " a starting php tag. That would explain why it's not being processed

--
Niel Archer

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

Re: Ok, next step/question

am 15.01.2008 22:13:54 von Jacob Kruger

Thanks.

Yes, we figured that one out.

Like I said earlier, the problem is that I basically didn't realise the
difference since my screenreader software doesn't read those two versions
differently, so, to be honest, I hadn't realised it was a problem.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message -----
From: "Niel Archer"
To:
Sent: Tuesday, January 15, 2008 6:08 PM
Subject: Re: [PHP-WIN] Ok, next step/question


> Hi,
> the second tag has a space between " > a starting php tag. That would explain why it's not being processed
>
> --
> Niel Archer
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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