[PHP] Re: Sessions don't work?

2002-07-24 Thread Alexander Deruwe
; same when register_globals = On I'm really puzzled by this; could someone please point me in the right direction? -- Alexander Deruwe AQS-CarControl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sessions don't work?

2002-07-24 Thread Alexander Deruwe
er it, but I have to write code that will run on 4.0.6. Versions and the like: PHP 4.2.2 Apache/1.3.26 (Unix) Debian GNU/Linux All this on Linux ppc (benh kernel) 2.4.19 Thanks in advance, -- Alexander Deruwe AQS-CarControl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Lazy evaluation?

2002-01-16 Thread Alexander Deruwe
e CC me in replies) Thanks in advance, -- Alexander Deruwe ([EMAIL PROTECTED]) AQS-CarControl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP + Smarty question.

2001-12-18 Thread Alexander Deruwe
, and thus my code creates it anew. Basically what I am trying to do is add new stuff to the array, after it has been passed to the template and back into the script. Thanks, (please CC me in replies because I no longer subscribe to php-general due to too much traffic..) -- Alexander Deruwe

Re: [PHP] How can i start using templates

2001-11-27 Thread Alexander Deruwe
On Tue, 27 Nov 2001, narko wrote: > How can i start using templates? PHPLib or Smarty come to mind. Search Google. -- Alexander Deruwe ([EMAIL PROTECTED]) AQS-CarControl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] Printing Reports

2001-11-27 Thread Alexander Deruwe
, please? -- Alexander Deruwe ([EMAIL PROTECTED]) AQS-CarControl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Weird database stuff.

2001-11-13 Thread Alexander Deruwe
If you reply, please include a CC for me, as I am on digest (I don't have time to sort through all the messages at work anyway, but I do contribute from home. :) Thanks -- Alexander Deruwe ([EMAIL PROTECTED]) AQS-CarControl -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] PHP for shell scripting: weird error.

2001-10-19 Thread Alexander Deruwe
4.10-ac11. Distribution debian unstable. Thanks in advance, Alexander Deruwe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] File extension inc?

2001-10-03 Thread Alexander Deruwe
On Wednesday 03 October 2001 12:13, Jan Grafström wrote: > Hi! > How does server handle the .inc extension and for what do I use it ? You should be aware that if the webserver is not set up to handle .inc files as PHP code, that it might output them as text to the user. Thus possibly showing pa

Re: [PHP] something like alert (javascript)

2001-10-03 Thread Alexander Deruwe
On Wednesday 03 October 2001 14:30, Eduardo Kokubo wrote: > Is there any function in PHP that is similar to alert() or confirm() of > javascript ? I tried die() but that's not what I need. PHP is server side, so you cannot have it pop windows up, or ask the user questions in an inputbox (unless

Re: [PHP] Re: Detecting user logout.

2001-10-02 Thread Alexander Deruwe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 02 October 2001 18:11, tonyz wrote: > why bother charting logouts. use cookies that expires so you know that > they will eventually lose access and need to login again. Yes, but then I can't show a list of logged in users (for administrat

[PHP] Detecting user logout.

2001-10-02 Thread Alexander Deruwe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, I keep track of my users using PHP4 sessions, with verification against a PostgreSQL database. How can I detect when a user logs out / is logged out? I provide a hyperlink 'Logout' which users are supposed to click, so I can obviously che

Re: [PHP] php and java problem

2001-10-01 Thread Alexander Deruwe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 30 September 2001 21:36, Nikola Veber wrote: > Hi ! > > I was able to determine the user's screen resolution, but I'd like to let > php know that(the next page loaded should be in > the right resolution, I'd like to pass a value to php, but

Re: [PHP] Variable conversion problem

2001-09-21 Thread Alexander Deruwe
On Friday 21 September 2001 01:45, Neil Silvester wrote: > Another PHP problem has kept me up all night, scouring through my database > books and trying everything I could think of. I am still new to the MySQL > and PHP field, but never the lass I will not give up. > $cat is a variable that is pas

[PHP] Writing to two tables in 1-N relationship.

2001-09-20 Thread Alexander Deruwe
must have been in this position before. :) I hope I explained the problem ok, I tend to get carried away. Thanks in advance, Alexander Deruwe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

Re: [PHP] form handling problem

2001-09-17 Thread Alexander Deruwe
On Monday 17 September 2001 15:24, you wrote: > Well, > > > > always works fine for me. > > Note that you should use "action" instead of "target", and the semicolon > after $PHP_SELF should be inside the ?> not outside of it... might be one > of these two errors causing the problem (although I ca

[PHP] JavaScript, PHP cooperation.

2001-09-09 Thread Alexander Deruwe
then reload the caller page so that the just added record appears in the combobox where the user can select it for completing the file? Or add it to the combobox manually with JavaScript to avoid a reload? Alexander Deruwe. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] Smarty + JavaScript

2001-09-08 Thread Alexander Deruwe
Hey all, If anyone else out there is using Smarty as templating engine, how do you put JavaScript into the template? It seems to barf on the opening and closing braces of every JS function, rendering JS totally useless. I must be missing something. ad. -- PHP General Mailing List (http://ww

Re: [PHP] Releasing Your Code

2001-09-06 Thread Alexander Deruwe
On Thursday 06 September 2001 21:20, James wrote: > Multiple part question to all: I would like to add a 12th question to this: 12) Is it useful to release source for a business application, specifically target to one line of work? Are there any considerations beside the obvious (what license,

Re: [PHP] book help

2001-09-06 Thread Alexander Deruwe
On Thursday 06 September 2001 16:35, Nikola Veber wrote: > Can anyone who has this book suggest what chapters should > I read first or which topics on php are the most apropriate for a beginner. You shouldn't use the cookbook in that way. Try like this: You are writing whatever application it is

Re: [PHP] returns (functions)

2001-09-05 Thread Alexander Deruwe
On Wednesday 05 September 2001 17:17, Joseph Bannon wrote: > I have a foreach loop running in a function. During the foreach loop, if a > variable matches another variable, it does "return $variable". My question > is this: does the function automatically stop running when the variable is > return

Re: [PHP] how to connect to php from vb

2001-09-05 Thread Alexander Deruwe
On Wednesday 05 September 2001 16:19, sagar wrote: > hi, > > can i connect to php from a vb appliation. > should this be asked elsewhere (if so pl > let me know) Uhm, I don't quite understand what you mean there. Anyhow, accessing PHP from VB seems kindof, like a nono, but perhaps you mean acces

Re: [PHP] How to call a member from the base class?

2001-09-03 Thread Alexander Deruwe
On Monday 03 September 2001 09:47, A. op de Weegh wrote: > How do I make sure in the something() member of class B, that the parent > class member something() is also called? Can I do this: Hello there, person with the same name as self, :) class B extends A { function something() {

Re: [PHP] Countdown

2001-08-29 Thread Alexander Deruwe
On Wednesday 29 August 2001 19:38, you wrote: > Hi ! > > I have a Problem with a Countdown.I want that somebody can register through > my PHP Script. After the Registration the Script should email this person > after exact 30 days on his emailadress without visiting the Homepage > again.So how sho

Re: [PHP] syntax help please?

2001-08-29 Thread Alexander Deruwe
On Wednesday 29 August 2001 14:45, Glyndower wrote: > Heres my "I'm a newbie" question... exactly how and where do I define the > variables so that i can use them in a different order than they are in the > query? Go over your results like this instead: while ($row = mysql_fetch_row($result))

Re: [PHP] Sorry, i need HTML help

2001-08-29 Thread Alexander Deruwe
On Wednesday 29 August 2001 19:08, you wrote: > Sorry to post here but i need to know this info fast! > > How do i make a scrolling marquee in HTML without using javascript You use the Insert scrolling text here tags. ad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] HTML/PHP's static state problem.

2001-07-09 Thread Alexander Deruwe
Hello Maxim, Basically I mean this: I load the page, it has two comboboxes ( with ). The first one contains names of countries, the second names of cities within those countries. When I select "Belgium" in the first one, I only want to see all Belgian cities. Now with JavaScript this wouldn't re

[PHP] HTML/PHP's static state problem.

2001-07-09 Thread Alexander Deruwe
Hey all, I've run into a little problem: Take, for example, combobox A and combobox B. Suppose B's s depend on what is selected in A.. Is it possible to update B according to what is selected in A? Thanks, Alexander 'ad' Deruwe -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Single quote

2001-07-06 Thread Alexander Deruwe
On Fri, Jul 06, 2001 at 11:28:38AM +0200, Andy wrote: > I got a data file containing this line: > $ 1'000'000.- > > Then I read and echo this line > $fp = fopen ( $sFilename,"r"); > $sData = fgets ( $fp, 1000 ) ) > > echo $sData > > Now what came out is > $ 1\'000\'000.- >

Re: [PHP] verifying that a dropdown was selected

2001-07-05 Thread Alexander Deruwe
On Thu, Jul 05, 2001 at 12:05:28PM +0200, Tom Gitzinger wrote: > Hello Richard, > > I'm not quite sure but I think the problem is the following: > - If no month has been specified, the variable $month is not defined. > - If you then mention $month in >if ($month == "") > the Pars