Re: [PHP-WIN] auto increment

2002-12-06 Thread Pat Johnston
Thanks to all who replied to my problem. Much appreciated... Pat J. "Cam Dunstan" <[EMAIL PROTECTED]> wrote in message 004001c29c63$23c7fec0$7866a8c0@camhome">news:004001c29c63$23c7fec0$7866a8c0@camhome... > another gotcha with auto increment fields - you can`t combine contents of > two tables,

php-windows Digest 6 Dec 2002 11:14:05 -0000 Issue 1473

2002-12-06 Thread php-windows-digest-help
php-windows Digest 6 Dec 2002 11:14:05 - Issue 1473 Topics (messages 17304 through 17311): Re: Fast Web server 17304 by: Juan Rosero IIS fails on require_once 17305 by: Richard Creech 17306 by: Christoph Grottolo Event Viewer Entries 17307 by: DL Neil

Re: [PHP-WIN] hello there.

2002-12-06 Thread Stephen Edmonds
It's called 'Register Globals' Basically, rather than having $DOCUMENT_ROOT, all the preset variables are stored in 'Super arrays'. This means you will now have to use $_SERVER["DOCUMENT_ROOT"] For more information: http://www.php.net/manual/en/security.registerglobals.php Use phpinfo(32); to li

Re: [PHP-WIN] hello there.

2002-12-06 Thread Rico Derks
Hi Crhistopher, In the newer versions of PHP. Register_globals is switched off. You can switch it on again in PHP.INI. If I'am correct, they switched it off due to security reasons. Depending how important that is for you, you can switch it on. Greetings, RICO. At 09:02 PM 12/5/2002 -0600, ch

[PHP-WIN] Could not open fdf document

2002-12-06 Thread Ad Brouwer
Hi all, When submitting a form to my php-script, I get the error: Could not open fdf document: test.fdf this is my script: $txtNaam'"; fdf_close($fdf); ?> The file test.fdf is created correctly (first three code-lines). Running php 4.2.2 on W2K and IIS Any suggestions? Ad Brouwer -- PHP

RE: [PHP-WIN] mystery line

2002-12-06 Thread Svensson, B.A.T. (HKG)
> God bless us everyone. Will that make our programs free of bugs? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] mystery line

2002-12-06 Thread Stephen Edmonds
Only if you circle your computer 3 times and tap your heels together. Or was that tap your heels together 3 times, then circle your computer? One of the two... - Original Message - From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "PHP Windows Help List" <[EMAIL

[PHP-WIN] PHP Admin for Active Dir

2002-12-06 Thread Brennan Mann
Hello Everybody, Does PHP have to capabilities to interact with windows 2000 server active directory to manage users, see which users are logged on. Stuff that you would be able to do from the console of the sever. If so, do you know where I could find a doc on this. Thanks, Brennan -- PH

[PHP-WIN] Includes not working on W2K

2002-12-06 Thread Ed Turbin
I've just installed PHP on Windows 2000 and I'm not able to use includes. I'm able to get the PHP info screen as a test, so I know it is working. I edited the PHP.ini file to the directory where my include files are located and still no luck. Is there anything that I am overlooking, or anything els

Re: [PHP-WIN] Includes not working on W2K

2002-12-06 Thread Luis Ferro
In php.ini file that is present in the windows directory check the include_path directive. It should have something like: include_path = ".;c:\apps\php\pear" Also, when making includes, check for the escaped "\". If they are present but not escaped, the directory that php will try to find will

[PHP-WIN] DOCUMENT_ROOT on Apache

2002-12-06 Thread Radovan Radic
Hi I installed Apache 1.3.27 on w2k, after using IIS. When i try to output print "Home; it gives me A HREF="c:/inetpub/wwwroot/test/" instead of http://localhost/test Why is that? Radovan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Could not open fdf document

2002-12-06 Thread Christoph Grottolo
Ad Brouwer wrote: > Hi all, > > When submitting a form to my php-script, I get the error: > Could not open fdf document: test.fdf > > this is my script: > $fdffp = fopen("test.fdf", "w"); > fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA)); > fclose($fdffp); > > $fdf = fdf_open("test.fdf"

[PHP-WIN] CGI or EXEC

2002-12-06 Thread Brennan Mann
Hello, I want to get some opinions on whether to use a CGI call from a web page or using PHP to use exec(). Right now I am using a form/CGI to invoke the program, but recently I discovered that PHP can exe program with parms. 1.) Which method would you use? 2.) Which is more secure? 3.) Anyt

Re: [PHP-WIN] Includes not working on W2K

2002-12-06 Thread Frank M. Kromann
On Windows 200 and XP you can use / as your seperator. This will not work on WIndows 98 though. Using the / makes your code work on both W2k and *nix boxes. It can be used both in php.ini and in your scripts. - Frank > In php.ini file that is present in the windows directory check the > include

[PHP-WIN] Re: DOCUMENT_ROOT on Apache

2002-12-06 Thread erythros
because your asking for the document root, ie: the directory root. "Radovan Radic" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > I installed Apache 1.3.27 on w2k, after using IIS. > When i try to output > print "Home; > it gives me A HREF="c:/inetpub/ww

[PHP-WIN] Re: DOCUMENT_ROOT on Apache

2002-12-06 Thread Radovan Radic
Ok, what should i do ot get http://localhost/test I need this do make a link to homepage (i got same app on more servers and i dont want to hard-code in every page ) Radovan "Erythros" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > because your asking for the

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
Anthony, > The PHP mail scripts were taken from Julie Meloni's book on PHP called "Fast > and East" on pp. 116-117. (PrimaTech). > In fact, she writes: > "If you're using PHP4 on Windows, look for the following lines in your > php.ini file: > 1. For the SMTP entry, use 'localhost" or the name of t

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread Anthony Ritter
DL, I have quoted her exactly from her book where it says: Windows Users: **Check your php.ini File** She then writes what I previously posted. That's it. She offers no alternatives. Regards, TR --- [This E-mail scanned for viruses by gonefishingguideservice.com] -- PHP Windows Mailing L

Re: [PHP-WIN] Includes not working on W2K

2002-12-06 Thread Ed Turbin
Still no luck with this. My include path in the php.ini is set to: include_path = ".;\c:\php\includes" and I have the includes directory in the above listed location. Any ideas? "Frank M. Kromann" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Windows 200 a

Re: [PHP-WIN] Includes not working on W2K

2002-12-06 Thread DL Neil
Ed, > Still no luck with this. My include path in the php.ini is set to: > include_path = ".;\c:\php\includes" and I have the includes directory in the > above listed location. Any ideas? you don't want the first \ - before the c:\etc path Regards, =dn -- PHP Windows Mailing List (http://www.

Re: [PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
Anthony, > I have quoted her exactly from her book where it says: > > Windows Users: > > **Check your php.ini File** > > She then writes what I previously posted. > That's it. She offers no alternatives. Not true - you've bamboozled yourself somehow. You quoted Julie: "1. For the SMTP entry, us

Re: [PHP-WIN] Includes not working on W2K

2002-12-06 Thread Ed Turbin
Dl, I tried that and it's still not happening. What else could you reccommend checking? Is there any way that I can take the guess work out of this? "Dl Neil" <[EMAIL PROTECTED]> wrote in message 0e4001c29d66$56672320$c900a8c0@jrbrown">news:0e4001c29d66$56672320$c900a8c0@jrbrown... > Ed, > > > St

[PHP-WIN] Re: DOCUMENT_ROOT on Apache

2002-12-06 Thread erythros
home this will build it onto the pre-exsistin web address. so if your at www.mypage.com and you click that link you'll go to www.mypage.com/test. "Radovan Radic" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ok, > what should i do ot get > http://localhost/tes

Re: [PHP-WIN] Includes not working on W2K

2002-12-06 Thread DL Neil
Ed, > Dl, I tried that and it's still not happening. What else could you > reccommend checking? Is there any way that I can take the guess work out of > this? Here's what my dev system has: include_path = ".;C:\Documents and Settings\Administrator\My Documents\WebWork\Code\Includes" Hope it he

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread Anthony Ritter
DL, Sorry to be a pain... but using either: the address of my outgoing mail server or localhost still gives me: Warning: Failed to Connect in c:\program files\apache group\apache\htdocs\send_simpleform.php on line 19 Thanks again for your time. TR --- [This E-mail scanned for viruses by g

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
> Sorry to be a pain... but using either: > the address of my outgoing mail server > or > localhost > still gives me: > Warning: Failed to Connect in c:\program files\apache > group\apache\htdocs\send_simpleform.php on line 19 Did you restart Apache after changing PHP.INI? Please post the mail()

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread Anthony Ritter
O.K. DL... Thanks for the reply. And your time. :-{} Yes. I restarted Apache - it came up the same. It would seem that Apache works along with php4 since I get the enviromental variables, etc. page when I go to: http://localhost/phpinfo.php which was saved as: This is exactly what the lin

php-windows Digest 6 Dec 2002 23:20:36 -0000 Issue 1474

2002-12-06 Thread php-windows-digest-help
php-windows Digest 6 Dec 2002 23:20:36 - Issue 1474 Topics (messages 17312 through 17336): Re: hello there. 17312 by: Stephen Edmonds 17313 by: Rico Derks Could not open fdf document 17314 by: Ad Brouwer 17321 by: Christoph Grottolo Re: mystery line

[PHP-WIN] Generating forms using OOP

2002-12-06 Thread Davy Obdam
Hi People, I ve just started with some OOP programming in PHP and now i have to build a set of classes that can generate a html form.. But i have a problem with the thing I hope someone can help me here or give me some pointers,... any help is apreciated. Here is a part of my code : class

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread Anthony Ritter
To all who assisted me today. I finally managed to get the mail () funtion to work. Thank you and happy holidays to you all... TR -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] upgrading OS

2002-12-06 Thread Trystano
Hi, all, i'm going to upgrade my OS from XP home to XP Pro. Now at the mo i'm running Apache, PHP, and MySQL. If I perform the upgrade, will everything still run as normal? Has anybody been in a situation like this before? Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe

[PHP-WIN] Re: [PHP] Generating forms using OOP

2002-12-06 Thread Tom Rogers
Hi, Saturday, December 7, 2002, 9:43:47 AM, you wrote: DO> Hi People, DO> I ve just started with some OOP programming in PHP and now i have to DO> build a set of classes that can generate a html form.. But i have a DO> problem with the thing DO> I hope someone can help me here or give me s