[PHP] Re: PHP Web site down?

2002-08-21 Thread Sami Mahamed

it seems to be just your network, me and a couple of friends on differnt
networks were just talking about that place :) works fine for us!

-Sami

"Adam Williams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is it just me having network connectivity problems, or is the PHP website,
> http://www.php.net down?  I tried connecting to it from a couple of
> difference computers and I can't access it on any of them.  Just wondering
> if anyone else is having problems getting to their website too.
>
> Adam
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] testing

2002-08-21 Thread Sami Mahamed

just a test.

-Sami



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: connecting to db

2002-08-21 Thread Sami Mahamed

$dbhost = '';   // MySQL server hostname
$dbuser = '';   // MySQL username
$dbpass = '';   // MySQL password
$dbname = '';   // MySQL database name

mysql_connect("$dbhost", "$dbuser") && mysql_select_db("$dbname")
or $failed = "Could not connect to database.";

"Jim Long" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Just setting up a new db at a new domain and the connection script does
> not work.
> I've always been able to connect to a db using the following:
>
> 
>   // Connect to the database server
>   $dbcnx = @mysql_connect("localhost",
>"username", "password");
>   if (!$dbcnx) {
> echo( "Unable to connect to the " .
>   "database server at this time." );
> exit();
>   }
>
>
>
> The host support suggests the following:
>
> > Root as the mysql user and localhost as the server, unless you selected
remote mysql
> > connections from the web control panel.
>
> BTW: I DID select remote mysql. Should I unselect it?
>
> FMI (forgive my ignorance):
>
> What connection script should I use?
>
> Thanks So Much in Advance,
> Jim Long



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Web Site

2002-08-21 Thread Sami Mahamed

I think DSL is better than cable if you can't get a T3 line.

If you want a site hosted at your home, i strongly suggest
Apache(www.apache.org). Great sever tool :)  Or PHP-Triad(www.phpgeek.com
not sure if thats the site or not, sorry).

Sorry i have no PayPal account so i can't answer that one ;)

-Sami

"Peter Goggin" <[EMAIL PROTECTED]> wrote in message
00a101c2497c$f8e51410$030a@petergnt1">news:00a101c2497c$f8e51410$030a@petergnt1...
>
> I am setting up a web site which will be hosted on my own equipmet at
home,
> located in Melbourne, Australia
> I would like some general advice on two questions.
>
> 1. What sort of permanent interconnect should I look at (Cable is not
> available in my area).  Is DSL suitable? Are there any good providers in
the
> area?
>
> 2. I need to set up credit card payments. Has anyone any experience with
> PayPal? Are there any other providers I should consider.
>
>
> I don't know if this is the correct list for the questions, but if not
> perhaps someone could point me to where I can get some advice.
>
>
> Regards
>
> Peter Goggin
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php