Silly me, it's $HTTP_HOST. :)
Paul Juliano wrote:
>Hi,
>
>What's the php function to find out what server a php page is located?
>For example, the php page is at www.myserver.com. The php page should be able
>to display "Welcome to www.myserver.com
Hi,
What's the php function to find out what server a php page is located?
For example, the php page is at www.myserver.com. The php page should be able
to display "Welcome to www.myserver.com". If the same php page is at
www.yourserver.com, it should be able to display "Welcome to www.yourserv
$link = mysql_connect ("localhost","root","mypassword")
or die ("Could not connect");
I'm pretty sure that the username/password is correct. I can connect
from the linux shell using mysql -u root -p
Dan Cleveland wrote:
>What does your mysql_connect statement look like?
>
>Da
Hello,
I have a simple question when connecting through mysql. It seems that php
is trying to connect to /tmp/mysql.sock, but it's not in the /tmp directory.
It's in /var/lib/mysql/mysql.sock. I can connect throught mysql through the command
line just fine, but php functions cannot. It gives t
Hi,
How do I manually compile php-4.0.5-dev with an Apache rpm installation? Or do
I have to install both apache and php manually? I know how to do the second
method, but as much as possible, I don't want to hose the running apache install.
Thanks.
__
www.edsam
Hello,
I have a php page that accepsts posted data. I'd like to benchmark it
using ab (apache benchmark). In the ab man page, it has a -p POSTFILE option.
Does anyone here know what format should this post file contain?
Thanks.
__
www.edsamail.com
--
PHP Gene
Hello,
How would I simulate an http post in PHP. Something like the equivalent
of this:
And how would I be able to read the resulting page.
__
www.edsamail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
7 matches
Mail list logo