php-windows Digest 5 Apr 2003 05:25:53 -0000 Issue 1668

2003-04-04 Thread php-windows-digest-help
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

[PHP-WIN] Re: sessions problems

2003-04-04 Thread Gregory Kaczmarczyk
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.

[PHP-WIN] sessions problems

2003-04-04 Thread Gregory Kaczmarczyk
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_

[PHP-WIN] Fw: PHP array => Javascript array :: solved

2003-04-04 Thread Ignatius Reilly
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

Re: [PHP-WIN] still sessions

2003-04-04 Thread Stephen
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

Re: [PHP-WIN] still sessions

2003-04-04 Thread Iggy
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

Re: [PHP-WIN] still sessions

2003-04-04 Thread Piotr Pluciennik
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 >

RE: [PHP-WIN] still sessions

2003-04-04 Thread Charles P. Killmer
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

[PHP-WIN] still sessions

2003-04-04 Thread Iggy
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

[PHP-WIN] Re: PHP Editor

2003-04-04 Thread John
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 > >

RE: [PHP-WIN] Web services

2003-04-04 Thread Mihail Bota
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

Re: [PHP-WIN] Re: Subject: PHP probs with XML docs

2003-04-04 Thread Neil Smith
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

[PHP-WIN] Re: Subject: session ids

2003-04-04 Thread Iggy
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

[PHP-WIN] May be of interest for web development...

2003-04-04 Thread Svensson, B.A.T. (HKG)
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

RE: [PHP-WIN] PHP and beers...

2003-04-04 Thread Asendorf, John
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

RE: [PHP-WIN] PHP Editor - proud answers

2003-04-04 Thread 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 >

[PHP-WIN] PHP and beers...

2003-04-04 Thread Svensson, B.A.T. (HKG)
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

RE: [PHP-WIN] PHP Editor

2003-04-04 Thread Piotr Pluciennik
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

RE: [PHP-WIN] PHP Editor

2003-04-04 Thread Jill . Ramonsky
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

Re: [PHP-WIN] PHP Editor

2003-04-04 Thread Stephen
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

RE: [PHP-WIN] Web services

2003-04-04 Thread Svensson, B.A.T. (HKG)
> 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 -0000 Issue 1667

2003-04-04 Thread php-windows-digest-help
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:

RE: [PHP-WIN] PHP Editor

2003-04-04 Thread Svensson, B.A.T. (HKG)
> 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

[PHP-WIN] PHP array => Javascript array

2003-04-04 Thread Ignatius Reilly
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

Re: [PHP-WIN] PHP Editor

2003-04-04 Thread Piotr Pluciennik
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 > > _

[PHP-WIN] RE : Subject: session ids

2003-04-04 Thread Neil Smith
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

RE: [PHP-WIN] Better Error Trapping!

2003-04-04 Thread Svensson, B.A.T. (HKG)
> 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

[PHP-WIN] Re: Subject: PHP probs with XML docs

2003-04-04 Thread Neil Smith
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