php-windows Digest 5 Apr 2003 05:25:53 - Issue 1668
Topics (messages 19293 through 19312):
Re: Web services
19293 by: Svensson, B.A.T. (HKG)
19303 by: Mihail Bota
Re: PHP Editor
19294 by: Stephen
19295 by: Jill.Ramonsky.Aculab.com
19296 by: Piotr Pluc
1. 'session.save_path' is set to 'c:\php\sessiondata'
I watched that directory & this is what I found:
Example1 For each page I call session_start(), a new session file
gets created. So: call a page, file gets created checking, say,
$_SESSION['username']. nothing there, so call login page.
New to windows/PHP!
I'm having quite a bit of trouble with getting sessions to work right.
I've got PHP 4.3.1 installed on Windows 2000 with IIS. php.ini is
default from installation.
Each time I run session_start(), a new session is created disgarding the
previous page's session. If I call ini_
In face of the lack of enthusiasm generated by my question, I decided to
write the blasted function myself. (a refreshing exercise in recursion)
If anyone is interested to obtain a copy, drop me a note.
Ignatius
"l'avantage d'ĂȘtre borgne, c'est qu'il faut deux fois moins de temps pour
s'habituer
before calling session start, use this:
session_id( xxx )
xxx must be the session ID as created on the previous page. If you need to
know what the session id currently is use
session_id()
xxx must be alpha-numeric only btw. If there is no session with the session
id of xxx, then a new session w
I have done this million times, but it doesn't work.
I declare the session variables like you said it, but the moment I go on the
next page a new session is started instead of retrieving the old one.
I don't know if there is something in the php.ini file that I still need to
set, but I am getting
AFAIK you can access them same way like in cookie
based sessions when SID is on.
HTH
Piotr
--- Iggy <[EMAIL PROTECTED]> wrote:
> ok I have a very simply question to which I have not
> found a good answer
> yet.
>
> I have disabled cookie based sessions, i.e I pass
> the session Id through the
>
Set session values like this
session_start();
$_SESSION["username"] = "sjohnson";
Get session values like this
session_start();
echo $_SESSION["username"];
The $_SESSION MUST be uppercase.
Charles Killmer
-Original Message-
From: Iggy [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04
ok I have a very simply question to which I have not found a good answer
yet.
I have disabled cookie based sessions, i.e I pass the session Id through the
URL. How do I access the variables and their data that are related to that
session ID on subsequent pages?
Thanx
Iggy
--
PHP Windows Maili
Textpad
You'll want something with line numbers so you can track down errors.
"Chris And Trish Kaelin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does anyone have any recomendations for a good inexpensive / free editor
for
> PHP files?
>
> Chris Kaelin
>
>
I was just trying to ask for any help in understanding of SOAP, XML-RPC,
their use and some simple example for starters...
On Fri, 4 Apr 2003, Svensson, B.A.T. (HKG) wrote:
> > Hello,
> >
> > I konw this subject was discussed extensively by the members of this list;
> > I became interested in it
According to the xhtml spec, you should be sending the doctype tags and PIs
like this :
http://www.w3schools.com/xhtml/xhtml_syntax.asp
http://www.w3.org/1999/xhtml";>
Title goes here
Body text goes here
Which means that you should *not* hav a PI at the top specifying xml. So,
if you send
ok this has helped alot and I found the source of my problems.
However I have another question now:
once created I pass the session ID through the URL. I also have some
variables defined within this session and I would like to be able to access
those on the subsequent pages until I kill the sessio
I terms of searching for help with I problem I have, I ran into this link:
http://www.google.nl/search?q=cache:FzULnguBHt8C:www.microsoft.com/backstage/SERVEROP.doc+stopweb.vbs+site:microsoft.com&hl=nl&ie=UT
F-8
which might be of general interest for those guys who uses Bill's web server.
--
PH
How rude to us Americans. We're just starting our workday and you taunt us
with your proximity to beer drinking time!
I fart in your general direction!
-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
> -Original Message-
> From: Svensson, B.A.T. (HKG
Yep, its free, and it easy to access, does not need
hazel with download an installation, etc. Simply the
most splendid optimal solution; even I can use it!
//Anders
> -Original Message-
> From:
> Sent: Friday, April 04, 2003 3:58 PM
> To: Svensson, B.A.T. (HKG); Php Win32 list
>
I have this problem with a php CD: I can't find it! I need to find it
because I put my beer opener on top of it, so now I wonder if anybody
know how I can find it? We are namely going to start to drink our Friday
beers with in 1 hour now, so I am really desperate to locate it.
--
PHP Windows Mail
Anders, you are probably very proud of your answers...
--- "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
wrote:
> > Does anyone have any recomendations for a good
> inexpensive / free editor for
> > PHP files?
>
> notepad.exe
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscr
TextPad
Available from http://www.textpad.com
This is one of those excellect programmers editors which can do proper
syntax recognition and coloring (of PHP, and many other languages besides),
and the PHP syntax rules are themselves stored in an easy-to-edit text file,
so if more functions get add
Or for a slightly more technical option, I like using maguma studio light.
Its free and has nice features. For a full list, try this site thou:
Full list of editors http://phpeditors.dancinghippo.com/
My favourite editor http://www.maguma.com/en/lightdownload.html
- Original Message -
F
> Hello,
>
> I konw this subject was discussed extensively by the members of this list;
> I became interested in it simply because this is one of my new tasks. I
> have to enable the site as a server for web service.
> What I have by now is a MySql database and a PHP web interface which
> manipula
php-windows Digest 4 Apr 2003 13:35:52 - Issue 1667
Topics (messages 19280 through 19292):
Re: Installing PHP with Apache on Win ME
19280 by: John
Re: Simple Answer, but I can't see it
19281 by: John
PHP Editor
19282 by: Chris and Trish Kaelin
19283 by:
> Does anyone have any recomendations for a good inexpensive / free editor for
> PHP files?
notepad.exe
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I am looking for a function or a class to convert a multidimensional
associative PHP array into an equivalent Javascript array (that is the
declaration string in : var my_array = )
Googled to no avail.
If somebody can save me a few hours of coding this thing, I would greatly
appreciate.
T
Maguma can be quite interesting.
http://www.maguma.com
HTH
Piotr
--- Chris and Trish Kaelin <[EMAIL PROTECTED]>
wrote:
> Does anyone have any recomendations for a good
> inexpensive / free editor for
> PHP files?
>
> Chris Kaelin
>
>
_
At 01:14 04/04/2003 +, you wrote:
Now my understanding of sessions may be
wrong, but I though when you kill a session the id is killed as well.
It is.
Your session is held by passing a 'session cookie' (not stored) on every
request to the server. That session cookie is dropped when you close
> I'd love to hear other people's input on this and how they are attacking
> this problem!
Simply using defensive programming; e.g. never assume you get
the resources you ask for, but also assume input you get is
incorrect.
Abstract pseudo code:
TRY DO_EVENT
IF DO_EVENT_SUCCESS
CONTI
Are you sending the correct DOCTYPE identifier at the start of the XHTML
file ? (Or rather, *what* are you sending and what *headers* are you also
sending ?)
Cheers,
Neil Smith.
At 01:14 04/04/2003 +, you wrote:
If I don't make the PHP document XHTML compliant, then the PHP document
loads
28 matches
Mail list logo