[PHP] Re: flash and php (using the varibles)

2003-01-09 Thread rolf vreijdenberger
in flash: result=null; URL= myscript.php loadVariables(URL, myobject, POST)//flash 5, MX has better capabilities gotoAndPlay(checkframe) well, you get a name/value pair from the script. the script ran some queries on the database. teh output from the script to flash is:

[PHP] $_SERVER['DOCUMENT_ROOT'] on localhost

2002-12-18 Thread rolf vreijdenberger
hey there, I include files outside the document root in my site. include $_SERVER['DOCUMENT_ROOT'].../inc.php ; when I use this on the localhost it doesn't find this variable: $_SERVER['DOCUMENT_ROOT'] which makes testing more annoying since I have to upload to my site all the time. any ideas

Re: [PHP] $_SERVER['DOCUMENT_ROOT'] on localhost

2002-12-18 Thread Rolf Vreijdenberger
yes, the server var doesn't exist in phpifno(); no difference winxp pro with iss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_SERVER['DOCUMENT_ROOT'] on localhost

2002-12-18 Thread rolf vreijdenberger
I use php 4.2.3 and only my pc is running xp, the server is a linux machine -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_SERVER['DOCUMENT_ROOT'] on localhost

2002-12-18 Thread rolf vreijdenberger
the document_root just doesn't show up in my phpinfo(); do windows machines have one anyway? I have used this var before, just not testing it locally. It normally shows up when I use phpifno on the server. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Default argument values for functions

2002-12-16 Thread rolf vreijdenberger
I want to use the value of a variable that is defined in a text.inc.php file as a default argumant value for a function. $t_email_afzender_rtg It doesn't work !!! I tried it without quotes and with. If I just put a string value in it it works, but that defeats the purpose of my inc.php file! So

[PHP] stop script on browser closing

2002-12-16 Thread rolf vreijdenberger
I was wondering when a script stops executing server side. I am sending out a large number of mails. This takes some time ( 30 secs) before it is done. If I close the browser window before the execution of the script, a lot of emails do not arrive. is there a way to prevent this? and how does

Re: [PHP] stop script on browser closing

2002-12-16 Thread rolf vreijdenberger
yes, thank you, found it in the manual thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Just Curious

2002-12-08 Thread rolf vreijdenberger
outlook express 6 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Good eve

2002-12-07 Thread rolf vreijdenberger
sorry, I read your post wrong! don't use php functions, but use native database functions. in mysql you can use date_format() SELECT field from table where date=DATE_FORMAT(now(), '%d/%m/%y); this makes the format of now(), which is 2002-12-07 into a format with first the days of the week

[PHP] Mail(): How much time?

2002-12-06 Thread rolf vreijdenberger
in one subject, Cc or Bcc field? thanks in advance -- Rolf Vreijdenberger De Pannekoek en De Kale Maystraat 6 2593 VW Den Haag T: 06-24245719 E: [EMAIL PROTECTED] W: www.depannekoekendekale.nl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Mail(): How much time?

2002-12-06 Thread rolf vreijdenberger
I do something similar, I wasn't clear with what I meant by a loop. the loop is the same as you do, I work on the result set too! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] evaluating vars in a var

2002-12-06 Thread rolf vreijdenberger
Hi, this problem came forth from my previously posted -Mail(): how much time-, but is different so I posted it seperately. I make html emails with personal stuff in it e.g. span class='someclass'hello $firstName $lastName/span etc. Problem: I would like to put the whole email html layout in one

Re: [PHP] evaluating vars in a var

2002-12-06 Thread rolf vreijdenberger
thanks a lot, I thought there might be a trick, this is really helpful, thanks again -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Good eve

2002-12-06 Thread rolf vreijdenberger
SELECT field1, field2, field3 FROM table WHERE date=NOW() -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Your opinion on globals/reference

2002-11-03 Thread rolf vreijdenberger
but what if you decide later you want more objects or globals in your function?? your parameter list could get quit long! -- Rolf Vreijdenberger De Pannekoek en De Kale W: www.depannekoekendekale.nl Gerard Samuel [EMAIL PROTECTED] schreef in bericht news:3DC54436.2090803;trini0.org... Something

[PHP] storing inc.php outside doc root

2002-10-31 Thread rolf vreijdenberger
want to use this for downloading files only via php scripts! thanks -- Rolf Vreijdenberger De Pannekoek en De Kale Maystraat 6 2593 VW Den Haag T: 06-24245719 E: [EMAIL PROTECTED] W: www.depannekoekendekale.nl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] storing inc.php outside doc root/security/includes

2002-10-31 Thread rolf vreijdenberger
this is how it is done: include ($_SERVER['DOCUMENT_ROOT'].'/../sensitivedata.inc.php'); explanation: suppose i have a file: www.mydomain.com/file.php on the server it could be : /home/sites/site168/web/file.php this file wants to include a file with sensitive data, (or just download some other

Re: Fw: [PHP] Re: headers and cookies

2002-10-30 Thread rolf vreijdenberger
what I found out in the meantime is that you CAN use cookies and headers, just like you said, but my particular problem arose because a notice was issued for an undefined variable; I didn't check correctly for it's existence. so any output, and also output like notices, warnings and errors,

[PHP] headers and cookies

2002-10-29 Thread rolf vreijdenberger
these consecutive calls for header and cookie? I know that all headers must be sent before other output but what is the catch here? -- Rolf Vreijdenberger -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] headers and cookies

2002-10-29 Thread Rolf Vreijdenberger
thanks, I already thought so I'll check it out! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: headers and cookies

2002-10-29 Thread rolf vreijdenberger
but are you really sure that you cannot use setcookie() and header() at the same time?? I cannot find it anywhere, either in the manuals or in tutorials or in the output control functions! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] outputting articles in a certain format.

2002-10-24 Thread rolf vreijdenberger
Ok, so basically, what you are saying is: do it yourself, or use other programms to do it for you. The basic layout is IN the database! I understand the way you might do it in xml, with e.g. a text element that includes paragraph elements that might include bold elements etc. I thought people