[PHP-WIN] Re: PHPInfo.php

2002-08-15 Thread Seairth Jacobs
I could not get Apache 2 to load the module properly (I do not think the windows version supports Apache2), so I went back to Apache 1.3.26. This may not be a problem if you are using CGI instead. As for your test php, just put the following in a php file in the htdocs folder, then call it: T

[PHP-WIN] Re: AllowPathInfoForScriptMappings in IIS5 (was Re: [PHP] URL path question)

2002-08-15 Thread Seairth Jacobs
"Seairth Jacobs" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > It turns out that only the Apache module works here. CGI does not. Maybe > this is the same problem with IIS. I am using the CGI version of PHP. > Maybe if I switched to the ISAPI version, it

[PHP-WIN] PHPInfo.php

2002-08-15 Thread Charles Fowler
Help My machine's (OS - Win98-2ndEd, Apache 2.39, PHP 4.2.2) browser (Netscape 6.2, IE 6, Communicator 4.79) can't find/view the phpinfo.php file from the localhost, which is I how I am meant to test the proper installation of PHP. The file came up initally as a unidentified system file and

RE: [PHP-WIN] PHPWiki + IIS

2002-08-15 Thread brother
> -Original Message- > From: brother [mailto:[EMAIL PROTECTED]] > > I'm trying to install PHPWiki on my IIS server but it just don't work. > > If you could help me answer back and let's keep it off the > list because of > the O/T status on this =) > > -- > > initial error: > G:\www\i

RE: [PHP-WIN] PHPWiki + IIS

2002-08-15 Thread brother
> -Original Message- > From: brother [mailto:[EMAIL PROTECTED]] > > -- > last error: > the images in the themes is in place but the doesn't load correct. > they seem to be trying to be loaded of > http://themes/xxx/zzz.png and anyone > can tell why they won't > load but why is the URLs

[PHP-WIN] Re: AllowPathInfoForScriptMappings in IIS5 (was Re: [PHP] URL path question)

2002-08-15 Thread Seairth Jacobs
"Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Seairth Jacobs wrote: > > As I understand it, it would allow me to do the following: > > > > /path/file.php/more_path/ > > > > Where PATH_INFO would be equal to "more_path/", instead of > > "/

[PHP-WIN] PHPWiki + IIS

2002-08-15 Thread brother
I'm trying to install PHPWiki on my IIS server but it just don't work. If you could help me answer back and let's keep it off the list because of the O/T status on this =) -- initial error: G:\www\irl\PHPwiki\lib\PageType.php:157: Warning[2]: Invalid argument supplied for foreach() what have I

[PHP-WIN] Re: results of mysql_fetch are returning the incorrect records

2002-08-15 Thread K. Lee
I tried echo the sql in this function but I do not know where it print the statement. This function is inside *.inc file which is require in the html that I am printing the results of the query. So, to answer your question, I using the data to display on a html page. I am returning an array fro

RE: [PHP-WIN] Checkbox/Database Issues

2002-08-15 Thread Collins, Robert
I think i see the problem. but the solution depends on the db schema: Please not that neither of these is tested and both use the email address of the person as a unique id(i am assuming that $recipient is a field of the form containing the users email. otherwise there sould be some other unique

[PHP-WIN] Re: Checkbox/Database Issues

2002-08-15 Thread Christoph Grottolo
Stephanie wrote: > Here's my problem: I have a form in which there is a question and 5 > checkboxes to select from (ex: you can select more than one checkbox) > > I need to get each checkbox that is selected to show up when it is > inputed into the mySQL DB. > > I can get the first selected checkb

RE: [PHP-WIN] Checkbox/Database Issues

2002-08-15 Thread Metin Kale
Did you use an element name like: element_name[] ? You need to add the [] to your element name. This creates an array and you need to loop through it to get each result. Metin At 02:26 PM 8/15/2002 -0500, Collins, Robert wrote: >Stephanie, > >can you give an example of your form and the co

[PHP-WIN] Re: AllowPathInfoForScriptMappings in IIS5 (was Re: [PHP] URL path question)

2002-08-15 Thread Christoph Grottolo
Seairth Jacobs wrote: > As I understand it, it would allow me to do the following: > > /path/file.php/more_path/ > > Where PATH_INFO would be equal to "more_path/", instead of > "/path/file.php/". Right now, I get an error back from the above, > giving the following message: For me this doesn't

Re: [PHP-WIN] Checkbox/Database Issues

2002-08-15 Thread Afan Pasalic
Try this: "; // Inserting into DB depands of the way you want to do it. All results in one column or each checkbox has its own column, or... // Need more info... } else { $ChekboxCopies = array(1 => 'Copy for checkbox 1', 'Copy for checkbox 2', 'Copy for checkbox 3', 'Copy for checkbox 4',

RE: [PHP-WIN] Checkbox/Database Issues

2002-08-15 Thread Collins, Robert
Stephanie, can you give an example of your form and the code used to submit it to the Db? Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] -Original Message- From: Ste

[PHP-WIN] Checkbox/Database Issues

2002-08-15 Thread Stephanie
Here's my problem: I have a form in which there is a question and 5 checkboxes to select from (ex: you can select more than one checkbox) I need to get each checkbox that is selected to show up when it is inputed into the mySQL DB. I can get the first selected checkbox in, but nothing I've done

RE: [PHP-WIN] CSS Question

2002-08-15 Thread Collins, Robert
If I understand correctly you could just make you style sheet a php file (ie. style.css.php) then enter code like ## start file style.css.php BODY {BACKGROUND: ; COLOR: ;} A:link {COLOR: ; FONT-FAMILY: Arial; TEXT-DECORATION: none;} A:

[PHP-WIN] CSS Question

2002-08-15 Thread Scott Carr
I know this is not the specific list for this, but I figured there'd be a couple CSS gurus here. Is there a way to create CONTSTANTS or variables in css? I have 2 colors that I need to use in about 20 places, and it would be benificial to use a constant. Thanks for any help. -- Scott Carr

[PHP-WIN] Quotes issues

2002-08-15 Thread R.S. Herhuth
I need to strip off quotes both single and double from form input. This is what I have but it doesn't appear to be working: str_replace("\"","",$string); str_replace("\'","",$string); Please help. Thanks, Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP-WIN] Re: AllowPathInfoForScriptMappings in IIS5 (was Re: [PHP] URL path question)

2002-08-15 Thread Seairth Jacobs
As I understand it, it would allow me to do the following: /path/file.php/more_path/ Where PATH_INFO would be equal to "more_path/", instead of "/path/file.php/". Right now, I get an error back from the above, giving the following message: CGI Error: The specified CGI application misbehaved by

php-windows Digest 15 Aug 2002 18:43:10 -0000 Issue 1290

2002-08-15 Thread php-windows-digest-help
php-windows Digest 15 Aug 2002 18:43:10 - Issue 1290 Topics (messages 15271 through 15275): GD.DLL 15271 by: Martin 15272 by: Kit Kerbel 15273 by: Martin Re: errors while uploading my php site .. ! ! ! ! 15274 by: toby z Re: AllowPathInfoForScriptMappin

[PHP-WIN] Re: AllowPathInfoForScriptMappings in IIS5 (was Re: [PHP] URL path question)

2002-08-15 Thread Christoph Grottolo
Seairth Jacobs wrote: > I came accross the following IIS4/5 Metabase setting: > > AllowPathInfoForScriptMappings > > MS claims that this forces PATH_INFO and PATH_TRANSLATED to act > according to the CGI specification, however this setting seems to > have made no difference at all for me. I am