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:
&mynumber=1
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: http://www.ph
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
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
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 idea
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
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 this
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 thi
outlook express 6
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 in
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
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
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.
hello $firstName $lastName
etc.
Problem:
I would like to put the whole email html layout in one var, like this:
$htmlEmail =
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
ou can put 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://w
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.209
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
't
work.
I also 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 unsubscri
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, just
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
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
I have one more than one occasion run into the problem of "headers already
sent" when I was using the header function in combination with cookies.
What is the right way of doing it?
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 mig
23 matches
Mail list logo