In the host just add new entries like this:
127.0.0.1 localhost
127.0.0.1 exampleone.com
127.0.0.1 exampletwo.com
Then in the apache config you add:
NameVirtualHost *
ServerAdmin [EMAIL PROTECTED]
DocumentRoot E:/sites/exampleone
ServerName exampleone
the host name you want touse has to be a valid hostname .. so you can't just
make on up and go beauty i'll use that one .. it has to be added to ur dns
in order for virtual hosts to work
> -Original Message-
> From: Sean M. Mayhew [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 24 July 2002
php-windows Digest 24 Jul 2002 00:57:39 - Issue 1254
Topics (messages 14889 through 14910):
Re: phpnuke
14889 by: Wayne A. Darby
Is there a limit...
14890 by: R.S. Herhuth
14891 by: Scott Carr
14895 by: anders nawroth
Re: MySQL..
14892 by: Peter
CO
Im trying to set up virtual hosts with apache for testing php on my local
machine. I've searched the web all over and found the same instructions
consistantly and have tried them numerous times but have been unsuccessful.
First of all I'm having trouble determining where this "hosts" file is
s
Check the MySQL Manual on page 329 - it might give you some good insight
into the server tuning that might be required. If you aren't using mysql,
then it might give you a lead at least on things to check with whatever
database you *are* using.
(V)
- Original Message -
From: "R.S. Herhu
What Database are you using? How are you accessing the data? Direct, PEAR::DB,
ADODB?
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
Quoting "R.S. Herhuth" <[EMAIL PROTECTED]>:
>
> After checking the bios it seems to be truncating right around the
>From the PHP Manual, Chapter 7 (String Type):
Note: It is no problem for a string to become very large. There is no
practical bound to the size of strings imposed by PHP, so there is no reason
at all to worry about long strings.
It doesn't help solve the problem, but it should put you at ease a
I ran into a similar problem, deduced that my problem had to do with a
buffer pool limit someplace, PHP?, APACHE, MY BROWSER, someplace. Modified
my output to include more newlines where it made sense ("\n"), and the
problem went away. Never really pinned it down.
hope you find it,
Warren Vail
The explaination I posted was from the manual on the page I copied into the email.
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
Quoting Peter <[EMAIL PROTECTED]>:
> Scott's explaination makes it look a bit like the if syntax in MS Excel
>
> If($fi
After checking the bios it seems to be truncating right around the 4092
character mark (including spaces). I checked the database and it does
in fact contain the entire bio (well over the 4092 character mark)...and
as a side note ASP returns the entire bio. It seems to be some type of
truncatio
Subscribe php-windows [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Scott's explaination makes it look a bit like the if syntax in MS Excel
If($first, $second, $third)
"Kit Kerbel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> What, if you please, does this syntax denote exactly.
>
> ($i==0?($i):($i*20))
>
>
> ___
try ($i==0)?$i:($i*20)
--
Best regards,
George Nicolae
IT Manager
___
PaginiWeb.com - Professional Web Design
www.PaginiWeb.com
"Kit Kerbel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> What, if you please, does this syntax denote exac
That's (roughly) a shorthand if statement. (if)?(then):(else);
So this:
if($i==0) {
$i++;
} else {
$i*20;
}
Is the same as this:
($i==0)?($i++):($i*20);
Jason Soza
- Original Message -
From: "Kit Kerbel" <[EMAIL PROTECTED]>
Date: Tuesday, July 23, 2002 11:
If $i equals 0 then return $i else return $i multiplied by 20
-Original Message-
From: Kit Kerbel [mailto:[EMAIL PROTECTED]]
Sent: 23 July 2002 12:35
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Syntax
What, if you please, does this syntax denote exactly.
($i==0?($i):($i*20))
__
Nope :)
Have you checked the return status of all mysql function calls?
most probably, there's a failing connect or query call somewhere
that you're not catching.
--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
"Wayne A. Darby" <[EMAIL PROTECTED]> wrote in message
[EMAI
http://www.php.net/manual/en/language.expressions.php
There is one more expression that may seem odd if you haven't seen it in other
languages, the ternary conditional operator:
$first ? $second : $third
If the value of the first subexpression is TRUE (non-zero), then the second
subexpression i
What, if you please, does this syntax denote exactly.
($i==0?($i):($i*20))
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
Maybe it's truncated by your DB when storing the text.
Check out the type of field in the DB ...
Anders
> Is there a limit to the amount of text a variable can hold?
>
> I have a situation where I'm querying a SQL database for a Salesmans
--
PHP Windows Mailing List (http://www.php.net/)
To
Can anyone point me at a command or tutorial or sample script on how to
deal with the pesky special characters that occur when users copy and
paste Microsoft Word file generated text into a text area? All the
apostrophes, quotes and ellipses are converted into question marks when
they are parsed
I have a number of COM scripts that ran perfectly.. until I got XP, and now
they are acting very odd. I know based on reading some of the archive that I
am not alone here. What I was not able to determine is this:
- Has anyone figured out why it is that you cannot get excel, word, whatever
to go
You could do it through regedit.
If you have to logon to the network, go to HKEY_CURRENT_USER > Software >
Microsoft > Windows > Current Version then check in Run and RunOnce to see
if MySQL is there. If it is delete that entry (make sure you know you're
deleting the right one though!)
Now do this
How big are the larger BIOS?
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
Quoting "R.S. Herhuth" <[EMAIL PROTECTED]>:
>
> Is there a limit to the amount of text a variable can hold?
>
> I have a situation where I'm querying a SQL database for a S
Is there a limit to the amount of text a variable can hold?
I have a situation where I'm querying a SQL database for a Salesmans
Biography and then echoing the variable using the syntax "$row['bio]"
and for some reason the bios appear to be truncated on the larger bios.
I am not processing the
The lines below are what my admin page now looks like???
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in c:\program files\apache
group\apache\htdocs\includes\sql_layer.php on line 238
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result
r
php-windows Digest 23 Jul 2002 10:33:47 - Issue 1253
Topics (messages 14878 through 14888):
php.ini
14878 by: Wayne A. Darby
uploading
14879 by: Kit Kerbel
Re: "weeks" via date function
14880 by: Nicola Delbono
14887 by: Wolfgang Schneider
Re: Exec
Hi guys,
Know this is not a MySQL forum.. wud however appreciate if anyone can answer my
question...
I had installed MySQL as an service on my Win 98 machine...I seem to hv forgotten how
to remove/uninstall the service! (feeling sheepish)...
can anyone pl tellme how exactly do I uninstall the
27 matches
Mail list logo