[PHP-WIN] RE: Alternate table rows

2002-10-04 Thread Nikolai Jeliazkov
Hi Davy, I hope this helps. best regards ?php $gray = 1; $colors[0] = #efefef; $colors[1] = #d3d3d3; echo table cellpadding=\2\ cellspacing=\1\bgcolor=\#ff\\n; while ($row=mysql_fetch_array($result)) { $gray = !$gray; echo tr bgcolor=\ . $colors[$gray] . \\n; echo

[PHP-WIN] Error

2002-10-04 Thread Ivo Stoykov
Hi I've faced following problem running php 4.2.2 4.2.3 with apache 2.0.40 IIS and DBG php debugger, version 2.11.2, by Dmitri Dmitrienko Opening a page with errors I've got message Instruction at 0x1009553e referenced memory at 0x. The memory can not be written Neither debugger

php-windows Digest 4 Oct 2002 12:38:23 -0000 Issue 1371

2002-10-04 Thread php-windows-digest-help
php-windows Digest 4 Oct 2002 12:38:23 - Issue 1371 Topics (messages 16150 through 16159): Alternate table rows 16150 by: Davy Obdam 16151 by: Flint Doungchak 16152 by: Dash McElroy 16153 by: Rich Gray 16158 by: Nikolai Jeliazkov Looking for

[PHP-WIN] dates

2002-10-04 Thread Tim Blackwell
any reason why my echo statement doesn't work in this script? ? mysql_select_db(tutorial); $query = SELECT DATE_FORMAT(tutdate, '%b-%e %l%p') as date FROM tutorial_table; $result = mysql_query($query); $num_results = mysql_num_rows($result); for ($i=0; $i $num_results; $i++) {

Re: [PHP-WIN] dates

2002-10-04 Thread Luis Moreira
Tim, This simple script works $row = abcd\efg; $r1 = stripslashes($row); print NO STRIP $row br; print STRIP $r1 br; And gives the output NO STRIP abcd\efg STRIP abcdefg What do you mean by doesn't work? Have you checked if you are stripping an empty string, for instance ? Luis

RE: [PHP-WIN] dates

2002-10-04 Thread Rich Gray
Tim In your select statment you have labeled the returned column as date yet your mysql_fetch_array uses the label 'tutdate' - the labels don't match... To fix it, either do this... $query = SELECT DATE_FORMAT(tutdate, '%b-%e %l%p') as tutdate FROM tutorial_table; or do this ... $vardate =

RE: [PHP-WIN] What do I need to do?

2002-10-04 Thread Matt Kynaston
I am not running Apache. Just the standard Windows IIS5+ default web site and FrontPage. In IIS admin, go to the web site, right click and select properties, select 'home directory' tab, click 'configure', click 'Add'. In the 'extension' box type '.php' and browse for the php.exe (often

[PHP-WIN] Unable to Fork - suggestions?

2002-10-04 Thread Paul Groves
Hi - I need to run some system commands using passthru() or exec() but every single one I do gives me an unable to fork error. For example, when trying to make a call to an ImageMagick tool: ?php Header(Content-type: image/gif); passthru(C\imagemagick\convert -crop 0x0 -bordercolor white -border

RE: [PHP-WIN] What do I need to do?

2002-10-04 Thread Svensson, B.A.T. (HKG)
Ok! I am really in the dark here. I have tried several different things and none of them have worked. It is a bit unclear what you want to do. Do you want to: a) develop a BBS your self? b) install a pre-existing BBS? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP-WIN] lost trying to file upload

2002-10-04 Thread mattat119
matt here i have php4triad running on my win2000, explorer6 cant get my head around the file uploading ive tryed many possibilities and come up nada everytime ive read the manual page nothing changes heres my script form enctype=multipart/form-data action=upload.php method=post input

RE: [PHP-WIN] What do I need to do?

2002-10-04 Thread Svensson, B.A.T. (HKG)
Ok, so your question is basically How do I install php? The answer top this question is: consult www.php.net/manual which will cover most things you need to know to get php up and running. -Original Message- From: Douglas F. Keim [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04,

[PHP-WIN] Any one have this problem?

2002-10-04 Thread konchim
I am using WINXP when i use form method=post action=aa.php to the aa.php I can not echo anything But when i user form method=get action=aa.php I can echo the value how to fix?Or it is a Bug? Kon chim -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-WIN] What do I need to do?

2002-10-04 Thread Douglas F. Keim
I am in the process of installing PHP. One of the screens is asking for my SMTP server and the from address for the mail function. I am assuming that the SMTP server is the one that I use for getting and sending mail currently in Outlook. It is the one provided by my ISP. The from address is

RE: [PHP-WIN] Any one have this problem?

2002-10-04 Thread Davy Obdam
Hi Kon, If your using PHP version 4.1.x and above this doesn`t work automaticly. Either turn register_globals back On in the php.ini file or (better) use the new superglobals to acces the variables. Use $HTTP_GET_VARS['variable'] or HTTP_POST_VARS['variable'] to get to echo those variables so u

Re: [PHP-WIN] What do I need to do?

2002-10-04 Thread Douglas F. Keim
Thanks Matt. I got PHP installed and I created the page for the web and viewed it. Now before I install the PHP BBS, I think that I need to have the database running. Let me expand on the MSSQL thing. I have seen this icon in the tray of some other customers. It appears like a server with a

RE: [PHP-WIN] Alternate table rows

2002-10-04 Thread Davy Obdam
Hi Dash, Thanks it works! Best regards, Davy Obdam mailto:[EMAIL PROTECTED] -Original Message- From: Dash McElroy [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 1:53 AM To: 'Davy Obdam'; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Alternate table rows phpMyAdmin does it

[PHP-WIN] MySQL install for BBS on PHP

2002-10-04 Thread Douglas F. Keim
I am looking at the different version for MySQL under Windows. I have downloaded one zipi file entitled mysql-max-3.23.49-win and second one named mysqlgui-win32-static-1.7.5-2 Which one is the right one to install? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP-WIN] Premature end of script headers

2002-10-04 Thread Prachi Shah
Hi all, I had to reinstall windows 2000 on my machine for some funny reasons and hence am now setting up my webserver and other things. I installed Apache 1.3.27 and that works fine. I then downloaded PHP4 and was trying to configure it to the Apache web server. I followed all instructions in

[PHP-WIN] mail programs

2002-10-04 Thread Dean Hayes
hey, i just started to get into the mail() function with php4 could anyone tell me the best mail program to use under windows 98 as i would like to test my scripts on my local box before i make them live thanks Dean The Insane Guy Hayes

Re: [PHP-WIN] mail programs

2002-10-04 Thread Cam Dunstan
Dean, try www.impchat.com for a very nifty little mail app for win98 called HermMail - freeware. Haven`t been there for a long while so can`t be certain it is still there - worth a try. Cam D - Original Message - From: Dean Hayes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday,

[PHP-WIN] What do I need to do?

2002-10-04 Thread Douglas F. Keim
Ok! I am really in the dark here. I have tried several different things and none of them have worked. I want to create a test bulletin board on my personal box. Once this is completed, I am going to try to get this set up at the ISP that runs a web site for a club I belong to. They just need

[PHP-WIN] guest book ?????

2002-10-04 Thread toby z
ok guys stuck as usual i ve to make a guest book on my site and have no clue how to get about it as usual will someone pleez tell me where to start from and what to do and second guyz plz do tell me if any one has worked on it , how long would it take to make thnx a million guyz

php-windows Digest 5 Oct 2002 06:21:02 -0000 Issue 1372

2002-10-04 Thread php-windows-digest-help
php-windows Digest 5 Oct 2002 06:21:02 - Issue 1372 Topics (messages 16160 through 16180): What do I need to do? 16160 by: Douglas F. Keim 16164 by: Matt Kynaston 16166 by: Svensson, B.A.T. (HKG) 16168 by: Douglas F. Keim 16170 by: Svensson, B.A.T.