[PHP] SMS

2002-09-04 Thread Lejanson C. Go

what are the components to be use if you want to set
up a site that SENDS Free SMS and uses PHP?

-- 
Lejanson C. Go, SDE I


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




Re: [PHP] PostgreSQL

2002-07-16 Thread Lejanson C. Go

[EMAIL PROTECTED] wrote:

 PHP is compiled with PostgreSQL support but I can not connect. I get
 this error message What does it mean and what do I need to do to fix
 it
 
 Warning: pg_connect() unable to connect to PostgreSQL server: connectDB()
 -- connect() failed: Connection refused Is the postmaster running (with -i)
 at 'localhost' and accepting connections on TCP/IP port '5583'? in
 /home/sites/home/web/test/test.php on line 2
 
 
   
 
 

either your postmaster is not running... or your postmaster does not 
accept TCP/IP connections... read the documentation for PostgreSQL 
Installation it has tons of info there for your convenience...

try editing your pg_hba.conf file for postgreSQL... so it will accept
tcp IP connections:

host all IP  255.255.255.0   trust


where IP is the ip address of the host that will access the postgreSQL
database at the server.

i hope i got it right



-- 
Lejanson C. Go, SDE I


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




Re: [PHP] stupid error, please kick me (and send me a solution)

2002-06-03 Thread Lejanson C. Go

try this jule..

 $link_glob = mysql_connect('$host_glob', '$un_glob', '$pw_glob');
 $temp= PASSWORD($password);
 $query = INSERT INTO user values('0', '$fname', '$lname', '$email',
'$username', '$temp');;



i think this will work..=) i hope ive done something.



- Original Message -
From: Jule Slootbeek [EMAIL PROTECTED]
To: mysql [EMAIL PROTECTED]; php-general
[EMAIL PROTECTED]
Sent: Tuesday, June 04, 2002 6:09 AM
Subject: [PHP] stupid error, please kick me (and send me a solution)


 Hey guys,
 i'm getting this error with the following sql script using php:
 --error--
 Warning: Supplied argument is not a valid MySQL-Link resource in
 /var/www/phpquiz/register_user.php on line 12
 --error--

 --script--
 $link_glob = mysql_connect('$host_glob', '$un_glob', '$pw_glob');
 $query = INSERT INTO user values('0', '$fname', '$lname', '$email',
 '$username', PASSWORD('$password');
 $result = mysql_db_query('$db_glob', '$query', $link_glob');
 if (!$result) {
 echo font size=+1Your Information could not be entered into the
database,
 Please contact the a
 href=mailto:$webmasterwebmaster/a./fontbrbr . mysql_errno() .
 :  . mysql_error() . brbr;
 } else {
 echo font size=+1Your Information has successfully been entered into
the
 database!/fontbr;

 --
 Jule Slootbeek
 [EMAIL PROTECTED]

 http://blindtheory.cjb.net



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




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.360 / Virus Database: 199 - Release Date: 5/7/2002


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