[PHP-WIN] Install PHP with IIS 5/W2K

2002-09-23 Thread Pascal S.
I installed PHP 4.2.3 using the installer from PHP.net I can send the test.php file to the php.exe, and I get the right html code. However, trying to open the same test.php in IE 6 won't produce anything. The window gets the right title, all html is displayed right, but nothing between is exec

RE: [PHP-WIN] Getting at addressbook information on an Exchange Server...

2002-09-23 Thread Vail, Warren
For what it's worth, I abandoned trying to do this at my shop, it appears that our exchange support group had no interest in getting me the right release of CDO (Collaborative Data Objects) and the necessary permissions to access these items. I think I crossed a territorial boundary or sumpin. Th

Re: [PHP-WIN] Re: GET / POST

2002-09-23 Thread Richard Dobson
Try making it listen to all ip addresses instead of simply the network ip. Listen 0.0.0.0:80 Richard On Tuesday, September 24, 2002, at 12:05 am, M.B. wrote: > By the way, does anyone of you knows how to make a lot of changes in > Apache? > > I need to configurate it for a network, but I ha

[PHP-WIN] Re: GET / POST

2002-09-23 Thread M.B.
By the way, does anyone of you knows how to make a lot of changes in Apache? I need to configurate it for a network, but I have a porblem. See teh topic: using apache on a network. M.B. wrote: Hi, I have installed PHPTraid so, that went OK. But I have a network and I would like to see the pages

Re: [PHP-WIN] GET / POST

2002-09-23 Thread M.B.
I don't really know what you mean, but I think you whant to send variables from a form or something (page, or whatever). And then what would you want to do with it? If you whant to use it write away, use the "header"-methode. If you whant to use it after leaving the page in anouther page, then use

[PHP-WIN] Re: GET / POST

2002-09-23 Thread M.B.
Whell, I don;t know what is wrong with your version of apache, but the differends between the POST en GET-methode is, that the GET methode is used if you whant to recieve data back on you screen. The POST-methode is used only for sending things somewere (like an email, or variables to anouther pag

Re: [PHP-WIN] Getting at addressbook information on an Exchange Server...

2002-09-23 Thread M.B.
I must say, I'm interested too. M.B. "Ernani Joppert Pontes Martins" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have made a com+ module in php that uses CDO (Collaboration Data Objects) > to interact with exchange server profiles and send e-mails with

RE: [PHP-WIN] Problem uploading a file (bug in PHP 4.2.3 !?) worked with 4.2.2

2002-09-23 Thread Jose
The problem keeps being there under 4.2.2. Just to clarify that. I thought it did work there. > -Original Message- > From: Jose [mailto:[EMAIL PROTECTED]] > Sent: 23 September 2002 21:41 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Problem uploading a file (bug in PHP 4.2.3 !?) worked > w

php-windows Digest 23 Sep 2002 20:45:24 -0000 Issue 1353

2002-09-23 Thread php-windows-digest-help
php-windows Digest 23 Sep 2002 20:45:24 - Issue 1353 Topics (messages 15952 through 15964): Re: Cookies do not work 15952 by: brother - Martin Bagge 15953 by: Sjaak 15954 by: brother - Martin Bagge 15955 by: Sjaak 15956 by: Sjaak Re: GET / POST

[PHP-WIN] Problem uploading a file (bug in PHP 4.2.3 !?) worked with 4.2.2

2002-09-23 Thread Jose
Hi, I was working on some code and couldn't get the following form to return anything under Windows XP with Apache 1.3.26 and PHP 4.2.3. I've just tried in a Solaris machine with same versions of Apache and PHP and it works just fine. Same with a Linux machine running Red Hat and same versions o

[PHP-WIN] Re: Test

2002-09-23 Thread +Alibi_
Bleh Test!! -- Anthony Shapley www.ants-resource.com ICQ: 167013817 Yahoo: the_php_coder Msn: [EMAIL PROTECTED] Aim: AntsResource "+Alibi_" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Oh what the hell one more! > --

Re: [PHP-WIN] GET / POST

2002-09-23 Thread Dash McElroy
Looks like you've got a syntax error trying to concatentate strings. $msg = "Sender Name:\t" . $_POST['sender_name'] . "\n"; (notice the dots there inbetween the quotes... it's easier to see when you have an editor that has syntax highlighting). -Dash If all the world's a stage, I want to oper

Re: [PHP-WIN] GET / POST

2002-09-23 Thread Carl Caamano
What I really would like to know is how do I change this line to a PHP4 compatible line without having the register_global set to on. The orginal code is $msg = "Sender Name:\t $sender_name\n"; I've tried these: $msg = "Sender Name:\t $_POST['sender_name']\n"; $msg = "Sender Name:\t" $_POST['se

RE: [PHP-WIN] GET / POST

2002-09-23 Thread Matt Kynaston
Like I said, I'm lazy too. I guess the security risks are down to giving any user the chance to set any variable on your page to whatever they feel like at the beginning of the script - by simply playing with the URL. An extreme example of what could go wrong is something like: if ($foo ==

Re: [PHP-WIN] GET / POST

2002-09-23 Thread Carl Caamano
Thanks for the tip. I can get to my php.ini, but i was just wondering what the "correct" way to code. I'm not sure what the security risks are, but I'm going to check them out shortly at PHP.net. As for me, there is none, because I am on an isolated (i.e. not public) network I'm not sure if using

RE: [PHP-WIN] GET / POST

2002-09-23 Thread Matt Kynaston
Yeah, lots of lazy coders out there (me included :). You can try something like this at the top of your script to mimic register_globals if you don't have access to your php.ini - keep in mind security risks: if (!ini_get('register_globals')) { // mimic GPCS order

Re: [PHP-WIN] GET / POST

2002-09-23 Thread Carl Caamano
I am also a newbie to PHP. I have been writing and copying code from the web. It seems to me without having the register_global set to on, 99% of the code out there is useless. I have been using the POST method for my form method. I've tried modifiy code from the web to work without the regis

Re: [PHP-WIN] Cookies do not work

2002-09-23 Thread Sjaak
Yes the same version on both servers :( register_globals is set to off (also tried with on, same result) "Sjaak" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thx for know > > > "Brother - Martin Bagge" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTEC

Re: [PHP-WIN] Cookies do not work

2002-09-23 Thread Sjaak
Thx for know "Brother - Martin Bagge" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Do you have the same PHPversion in the servers? > Is register_globals set to off or on in php.ini? Same setting in both > servers? > > $_COOKIES is the new super global array

RE: [PHP-WIN] Cookies do not work

2002-09-23 Thread brother - Martin Bagge
Do you have the same PHPversion in the servers? Is register_globals set to off or on in php.ini? Same setting in both servers? $_COOKIES is the new super global array for cookies, don't forget that =) I cann't see any other explaniation but I'm new to this cookiething. /brother > -Original

Re: [PHP-WIN] Cookies do not work

2002-09-23 Thread Sjaak
Yo bro, When i launch the file info.php with the following URL: http://localhost/info.php i see the cookie. When i launch the same file from my webserver: http://www.website.com/info.php i get the message no cookie find? Please help me! Thx in advance. "Brother - Martin Bagge" <[EMAIL PROTEC

RE: [PHP-WIN] Cookies do not work

2002-09-23 Thread brother - Martin Bagge
You cannot use the cookies in the same as you stated them. http://www.php.net/manual/en/function.setcookie.php see common pitfalls. You have to do it like: set cookie > new page to check the cookies. /brother > -Original Message- > From: Sjaak [mailto:[EMAIL PROTECTED]] > Sent: den 2