php-windows Digest 16 Aug 2002 08:12:47 -0000 Issue 1291
Topics (messages 15276 through 15295):
Re: AllowPathInfoForScriptMappings in IIS5 (was Re: [PHP] URL path question)
15276 by: Seairth Jacobs
15283 by: Christoph Grottolo
15289 by: Seairth Jacobs
15293 by: Seairth Jacobs
Quotes issues
15277 by: R.S. Herhuth
CSS Question
15278 by: Scott Carr
15279 by: Collins, Robert
Checkbox/Database Issues
15280 by: Stephanie
15281 by: Collins, Robert
15282 by: Afan Pasalic
15284 by: Metin Kale
15285 by: Christoph Grottolo
15286 by: Collins, Robert
15295 by: toby z
Re: results of mysql_fetch are returning the incorrect records
15287 by: K. Lee
PHPWiki + IIS
15288 by: brother
15290 by: brother
15291 by: brother
PHPInfo.php
15292 by: Charles Fowler
15294 by: Seairth Jacobs
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
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 not returning a complete set of
HTTP headers. The headers it did return are:
>From what I understand, this should work. I have seen several posts where
this works just fine under Apache. Further, if I were using an ISAPI
extension (not script mapping), this works correctly.
Maybe I am just misunderstanding where the problem is, or what the above
flag is meant to achieve. Fact is, IIS is not allowing me to do something
that Apache is. I would prefer to use IIS, since I need if for other
applications and do not want to run two web servers on the same computer...
Any thoughts on how I can get this to work?
"Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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 using the IIS5 on W2K
> > Pro (not Server), so this may not be an available option since this
> > version of IIS is somewhat limited (though MS does not mention this).
> >
> > The MS KB is:
> >
> > http://support.microsoft.com/default.aspx?scid=kb;en-us;q184320
> >
> ... and states, it's for IIS 4 only.
>
> We solved the problem like this:
>
> if (!empty($PATH_INFO)) {
> $Actual_Path=$PATH_INFO;
> } else {
> $Actual_Path=$SCRIPT_NAME;
> }
> $baseDir=substr($Actual_Path,1,(strpos($Actual_Path,"/",1)-1));
>
> This works at least in Win32 on Apache and IIS with CGI and SAPI.
>
> Christoph
>
--- End Message ---
--- Begin Message ---
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 work in Apache (CGI).
http://localhost:96/info.php/something/ returns
Fatal error: Unable to open f:\testroot\info.php\something\ in Unknown on
line 0
So it seems, Apache passes the request to php, but php doesn't deal
correctly with the path... maybe it's a php problem on windows (or something
against the CGI spec.)
Christoph
--- End Message ---
--- Begin Message ---
"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
> > "/path/file.php/". Right now, I get an error back from the above,
> > giving the following message:
>
> For me this doesn't work in Apache (CGI).
>
> http://localhost:96/info.php/something/ returns
> Fatal error: Unable to open f:\testroot\info.php\something\ in Unknown on
> line 0
>
> So it seems, Apache passes the request to php, but php doesn't deal
> correctly with the path... maybe it's a php problem on windows (or
something
> against the CGI spec.)
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 would work... I'll have to try
that out.
--
---
Seairth Jacobs
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
"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 would work... I'll have to
try
> that out.
Well, the ISAPI filter doesn't work for this. If you try to specify *any*
path after the php file, you get an error (not even a message for PHP).
*sigh* It's looking like I will need to install Apache...
---
Seairth Jacobs
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--- End Message ---
--- Begin Message ---
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
<?php
$color_a = "#FFFFFF";
$color_b = "#000000";
$color_c = "#CC0000";
?>
<STYLE>
BODY {BACKGROUND: <? echo $color_a; ?>; COLOR: <? echo $color_b; ?>;}
A:link {COLOR: <? echo $color_b; ?>; FONT-FAMILY: Arial; TEXT-DECORATION:
none;}
A:visited {COLOR: <? echo $color_b; ?>; FONT-FAMILY: Arial; TEXT-DECORATION:
none;}
A:active {COLOR: <? echo $color_b; ?>; FONT-FAMILY: Arial; TEXT-DECORATION:
none;}
A:hover {COLOR: <? echo $color_c; ?>; TEXT-DECORATION: none;}
.ul {COLOR: <? echo $color_b; ?>; FONT-FAMILY: Arial; TEXT-DECORATION:
underline;}
.text {COLOR: <? echo $color_b; ?>; FONT-SIZE: 18px; FONT-FAMILY: Arial;}
</STYLE>
## stop file style.css.php
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Fax: (504) 248-3866
Email : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: Scott Carr [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 1:59 PM
To: PHP Windows
Subject: [PHP-WIN] CSS Question
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
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
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 seems to
work.
Any help would be much appreciated :-)
Stephanie
--
**********************
Stephanie K. Piet
OptiMetrics, Inc.
2107 Laurel Bush Rd. Suite 209
Bel Air, MD 21015
[EMAIL PROTECTED]
http://www.OptiMetrics.org
(410)569-6081 ext: 111
fax: (410)569-6083
--- End Message ---
--- Begin Message ---
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] <mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: Stephanie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 2:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Checkbox/Database Issues
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 seems to
work.
Any help would be much appreciated :-)
Stephanie
--
**********************
Stephanie K. Piet
OptiMetrics, Inc.
2107 Laurel Bush Rd. Suite 209
Bel Air, MD 21015
[EMAIL PROTECTED]
http://www.OptiMetrics.org
(410)569-6081 ext: 111
fax: (410)569-6083
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Try this:
<?php
if(isset($Submit))
{
while(list($key, $value) = each($HTTP_POST_VARS))
echo"$key: $value<br>";
// 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',
'Copy for checkbox 5'
);
echo"<form method=post action=\"$PATH_INFO\">";
for($i=1; $i<=5; $i++)
{
echo"<input type=checkboxes name=Check.$i> $ChekboxCopies[$i]<br><br>";
}
echo"<input type=Submit name=Submit value=\"Submit\">";
echo"</form>";
}
?>
----- Original Message -----
From: Stephanie
To:
Sent: Thursday, August 15, 2002 3:15 PM
Subject: [PHP-WIN] Checkbox/Database Issues
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 seems to
work.
Any help would be much appreciated :-)
Stephanie
--
**********************
Stephanie K. Piet
OptiMetrics, Inc.
2107 Laurel Bush Rd. Suite 209
Bel Air, MD 21015
[EMAIL PROTECTED]
http://www.OptiMetrics.org
(410)569-6081 ext: 111
fax: (410)569-6083
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
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 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] <mailto:[EMAIL PROTECTED]>
>
>
>
>-----Original Message-----
>From: Stephanie [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 15, 2002 2:15 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] Checkbox/Database Issues
>
>
>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 seems to
>work.
>
>Any help would be much appreciated :-)
>
>Stephanie
>
>
>
>
>
>--
>**********************
>Stephanie K. Piet
>OptiMetrics, Inc.
>2107 Laurel Bush Rd. Suite 209
>Bel Air, MD 21015
>[EMAIL PROTECTED]
>http://www.OptiMetrics.org
>(410)569-6081 ext: 111
>fax: (410)569-6083
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
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 checkbox in, but nothing I've done seems
> to work.
You must use something like this in the HTML form:
<input type=checkbox name=myCheck[] value=1>
<input type=checkbox name=myCheck[] value=2>...
Note the square braces at the end of the name, they indicate php to populate
an array.
In PHP you should then have the array myCheck in $_GET or $_POST with the
values which have been checked.
HTH,
Christoph
--- End Message ---
--- Begin Message ---
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
id). that way you can identify what a specific user requested.
//ex 1:
testing
-------
email
tools
//using the same form
<?php
$count=count($Tools);
$recipient = "[EMAIL PROTECTED]";
$subject = "Test Form Entry";
$headers= "From: [EMAIL PROTECTED]\n";
mail($recipient, $subject, $msg, $headers);
$browser_os = $HTTP_USER_AGENT;
$IP = $REMOTE_ADDR;
$timedate = date("YmdgiA");
$result = @mysql_pconnect("localhost", "root", "test")
or die("There was an error in connecting to the database");
mysql_select_db("test")
or die("There was an error in connecting to the database");
for ($i=0; $i<$count; $i++) {
$msg="What types of tools are you interested in: $Tools[$i]";
$query = "insert into testing (email, tools) values('" .$recipient.
"', '" .$Tools[$i]. "')";
$result = mysql_query($query);
}
?>
----------------------------------------------------------------------------
-----------------------------
//ex2:
testing
-------
email
tool1
tool2
tool3
tool4
tool5
//using the same form
<?php
$count=count($Tools);
for ($i=0; $i<$count; $i++) {
// echo $Tools[$i];
$msg="What types of tools are you interested in: $Tools[$i]";
}
$recipient = "[EMAIL PROTECTED]";
$subject = "Test Form Entry";
$headers= "From: [EMAIL PROTECTED]\n";
mail($recipient, $subject, $msg, $headers);
$browser_os = $HTTP_USER_AGENT;
$IP = $REMOTE_ADDR;
$timedate = date("YmdgiA");
$result = @mysql_pconnect("localhost", "root", "test")
or die("There was an error in connecting to the database");
mysql_select_db("test")
or die("There was an error in connecting to the database");
$query = "insert into testing(email, tool1, tool2, tool3, tool4, tool5)
values('" .$recipient. "','" .$Tools[0]. "', '" .$Tools[1]. "', '"
.$Tools[2]. "', '" .$Tools[3]. "', '" .$Tools[4]. "')";
$result = mysql_query($query);
?>
----------------------------------------------------------------------------
--------------
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Fax: (504) 248-3866
Email : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: Stephanie Piet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 2:34 PM
To: Collins, Robert
Subject: Re: [PHP-WIN] Checkbox/Database Issues
Sure, the top half is part of checkbox area I was talking about. The bottom
portion is the part that sends the e-mail with the form info and stores it
into the DB. Let me know if you need anything else on this, thanks a bunch
:-)
<tr>
<td class="subbody">
<b>What types of tools are you interested in? (Check all that apply)</b>
<br>
<input type="checkbox" name="Tools[]" id="Tools[]" value="Incident Command
Software">Incident Command Software<br>
<input type="checkbox" name="Tools[]" id="Tools[]" value="Contamination Area
Estimator">Contamination Area Estimator<br>
<input type="checkbox" name="Tools[]" id="Tools[]" value="Rapid Hazmat /
Agent Identification">Rapid Hazmat / Agent Identification<br>
<input type="checkbox" name="Tools[]" id="Tools[]" value="Hazmat Detector
Placement Planning & Sampling">Hazmat Detector Placement Planning &
Sampling<br>
<input type="checkbox" name="Tools[]" id="Tools[]" value="PPE Decision
aid">PPE Decision Aid<br>
</td>
</tr>
____________________________________________________________
<?php
$count=count($Tools);
for ($i=0; $i<$count; $i++) {
// echo $Tools[$i];
$msg="What types of tools are you interested in: $Tools[$i]";
}
$recipient = "[EMAIL PROTECTED]";
$subject = "Test Form Entry";
$headers= "From: [EMAIL PROTECTED]\n";
mail($recipient, $subject, $msg, $headers);
$browser_os = $HTTP_USER_AGENT;
$IP = $REMOTE_ADDR;
$timedate = date("YmdgiA");
$result = @mysql_pconnect("localhost", "root", "test")
or die("There was an error in connecting to the database");
mysql_select_db("test")
or die("There was an error in connecting to the database");
$query = "insert into testing(Tools)
values('" .$Tools[$i]. "')";
$result = mysql_query($query);
?>
----- Original Message -----
From: "Collins, Robert" <[EMAIL PROTECTED]>
To: "'Stephanie'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 3:26 PM
Subject: RE: [PHP-WIN] Checkbox/Database Issues
> 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] <mailto:[EMAIL PROTECTED]>
>
>
>
> -----Original Message-----
> From: Stephanie [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 2:15 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Checkbox/Database Issues
>
>
> 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 seems to
> work.
>
> Any help would be much appreciated :-)
>
> Stephanie
>
>
>
>
>
> --
> **********************
> Stephanie K. Piet
> OptiMetrics, Inc.
> 2107 Laurel Bush Rd. Suite 209
> Bel Air, MD 21015
> [EMAIL PROTECTED]
> http://www.OptiMetrics.org
> (410)569-6081 ext: 111
> fax: (410)569-6083
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
stephanie
make sure ur inserting the right values into ur db
check the field names in ur form && db
ive tried this thing and it works fine .....
but incase u still run into error ....
sen me a copy of ur code
n ill scan it thru fo u .....
good luck .....
toby .....
<[EMAIL PROTECTED]> 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 checkbox in, but
> nothing I've done seems to
> work.
>
> Any help would be much appreciated :-)
>
> Stephanie
>
>
>
>
>
> --
> **********************
> Stephanie K. Piet
> OptiMetrics, Inc.
> 2107 Laurel Bush Rd. Suite 209
> Bel Air, MD 21015
> [EMAIL PROTECTED]
> http://www.OptiMetrics.org
> (410)569-6081 ext: 111
> fax: (410)569-6083
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
--- End Message ---
--- Begin Message ---
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 from this
function.
"David Robley" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> says...
> > I have problems with mysql_fetch return the wrong records. If I execute
the
> > sql statement in mysql, I receive the correct results. When I used
> > mysql_fetch function, it does not return the correct results. Below is
my
> > function and the format sql statement
> >
> > function companiesByBusiness_ZipCode_BusinessOrContactName( $ctgyno,
> > $zipcode, $businessandcontactname ) {
> > $sql = "select company_no, name, contact, business_phone, mobile_phone,
> > services_desc, brief_bio, pager, address, city, state, zipcode,
> > picture_file, case ifnull(picture_file, 'No Picture') when 'No Picture'
then
> > 'b' else 'a' end pic_ind from company";
> > if( $ctgyno != "ALL") {
> > $sql .= " where business_ctgy_no = $ctgyno";
> > if( $zipcode != "" ) {
> > $sql .= " and (zipcode like '".substr( $zipcode, 0, 3 )."%' and
zipcode
> > != '$zipcode')";
> > }
> > if( $businessandcontactname != "" ) {
> > $sql .= " and (name = '$businessandcontactname'";
> > $sql .= " or contact = '$businessandcontactname')";
> >
> > }
> > $sql .= " order by pic_ind, name, company_no";
> > }
> >
> > $query = mysql_query( $sql ) or die( $sql."<p>".mysql_error() );
> >
> > //$numrows = mysql_num_rows( $query );
> > while( $assoc = mysql_fetch_assoc( $query ) ) {
> > $rows[] = $assoc;
> >
> > sql statement:
> > select company_no, name, contact, business_phone, mobile_phone,
> > services_desc, brief_bio, pager, address, city, state, zipcode,
> > picture_file, case ifnull(picture_file, 'No Picture') when 'No Picture'
then
> > 'b' else 'a' end pic_ind from company where business_ctgy_no = 1 and
> > (zipcode like '276%' and zipcode != '27616') and (name = 'Gil Bryan' or
> > contact = 'Gil Bryan') order by pic_ind, name, company_no
> >
> > It seems like it is ignoring the last condition, name = 'Gil Bryan' or
> > contact = 'Gil Bryan'). Any help is greatly appreciated.
> >
> > }
> >
> > return $rows;
> > }
>
> First, I'd suggest echoing $sql just before you send it to mysql to ensure
> that what you hope is there is actually there. Also, what are you
> returning from your function? Or how are you using the data gathered from
> your tables?
>
> --
> David Robley
> Temporary Kiwi!
>
> Quod subigo farinam
--- End Message ---
--- Begin Message ---
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 forgotten? What have I made wrong?
--
another error, related maybe?
When I view pages I get:
"The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.
----------------------------------------------------------------------------
----
Cannot have a DOCTYPE declaration outside of a prolog. Error processing
resource 'http://arbeta.nu/index.php?pagename=HomePage&action=edit'. Line 4,
Position 11
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
----------^"
It doesn't seem to be my fault =)
--
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 wrong?
/brother (and please, let's keep it of the list)
--- End Message ---
--- Begin Message ---
> -----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 wrong?
>
> /brother (and please, let's keep it of the list)
the images loads correctly in mozilla so it seems to be a IE erro that the
developers should be aware of =)
/brother
--- End Message ---
--- Begin Message ---
> -----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\irl\PHPwiki\lib\PageType.php:157: Warning[2]: Invalid argument
> supplied for foreach()
>
> what have I forgotten? What have I made wrong?
the other two errors where only occuring in IE 6 not in mozilla 1.1b. Damn I
hate to spam the list like this.
/brother
--- End Message ---
--- Begin Message ---
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 now its associated with IE (i.e with an IE
icon on it).
Any advice would be welcome. [EMAIL PROTECTED]
CJ
--- End Message ---
--- Begin Message ---
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:
<?php
phpinfo();
?>
That should do it.
---
Seairth Jacobs
[EMAIL PROTECTED]
"Charles Fowler" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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 now its associated with IE (i.e with an IE
> icon on it).
>
> Any advice would be welcome. [EMAIL PROTECTED]
>
> CJ
>
--- End Message ---