Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Not working PHP, security hole
@ 2002-07-11 19:49 Stephan Trajkoff
  2002-07-11 20:18 ` Matt Taggart
  2002-07-11 20:24 ` Randolph Chung
  0 siblings, 2 replies; 3+ messages in thread
From: Stephan Trajkoff @ 2002-07-11 19:49 UTC (permalink / raw)
  To: parisc-linux

Please admins of parisc-linux to fix their problem
<?
$_db_host=3D"localhost";
#$_db_host=3D"puffin.external.hp.com";
$_db_user=3D"parisc";
$_db_password=3D"parisc";
$_db_database=3D"hw";
$_db_connection=3D"_db_unconnected";

$_db_result=3D"";
$_db_row=3D"";

Function connectDatabase(){
 global $_db_host;
 global $_db_user;
 global $_db_password;
 global $_db_connection;
 if($_db_connection=3D=3D"_db_unconnected"){
  $_db_connection=3Dmysql_connect
($_db_host,$_db_user,$_db_password);
  }
 }

Function queryDatabase($query){
 global $_db_database;
 global $_db_result;
 $_db_result =3D mysql_db_query($_db_database,$query);
 return $_db_result;
 }

Function nextRow($result =3D "_db_unset"){
 global $_db_result;
 global $_db_row;

 if($result=3D=3D"_db_unset"){
  $_db_row =3D mysql_fetch_object($_db_result);
  }
 elseif(is_integer($result)){
  $_db_row =3D mysql_fetch_object($result);
  }
 else {
  return "";
  }
 return $_db_row;
 }

Function numRows($result =3D "_db_unset"){
 global $_db_result;

 if($result=3D=3D"_db_unset"){
  return mysql_num_rows($_db_result);
  }
 elseif(is_integer($result)){
  return mysql_num_rows($result);
  }
 return "";
 }

Function disconnectDatabase(){
 global $_db_result;
 global $_db_connection;
 mysql_free_result($_db_result);
 mysql_close($_db_connection);
 }

Function insertId(){
 return mysql_insert_id();
 }

Function escapeString($instring){
 return AddSlashes($instring);
 }
?>
use apachetoolbox to compile apache php mysql
www.apachetoolbox.com

-------------------------------------------------------------------
-->> Add WEB ACCESS to your POP email accounts with
-->> FREE Perl CGI scripts! Download today! http://www.adjeweb.com
-------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Not working PHP, security hole
  2002-07-11 19:49 [parisc-linux] Not working PHP, security hole Stephan Trajkoff
@ 2002-07-11 20:18 ` Matt Taggart
  2002-07-11 20:24 ` Randolph Chung
  1 sibling, 0 replies; 3+ messages in thread
From: Matt Taggart @ 2002-07-11 20:18 UTC (permalink / raw)
  To: Stephan Trajkoff; +Cc: parisc-linux

"Stephan Trajkoff" writes...

> Please admins of parisc-linux to fix their problem

We're upgrading it today. It will be fixed shortly.

-- 
Matt Taggart        Linux Development Lab
taggart@fc.hp.com   HP Linux Systems Operation

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Not working PHP, security hole
  2002-07-11 19:49 [parisc-linux] Not working PHP, security hole Stephan Trajkoff
  2002-07-11 20:18 ` Matt Taggart
@ 2002-07-11 20:24 ` Randolph Chung
  1 sibling, 0 replies; 3+ messages in thread
From: Randolph Chung @ 2002-07-11 20:24 UTC (permalink / raw)
  To: Stephan Trajkoff; +Cc: parisc-linux

In reference to a message from Stephan Trajkoff, dated Jul 11:
> Please admins of parisc-linux to fix their problem

thanks for posting the passwords to the mailing list :-/

the admins are fixing things now.

randolph
--  
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-11 20:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-11 19:49 [parisc-linux] Not working PHP, security hole Stephan Trajkoff
2002-07-11 20:18 ` Matt Taggart
2002-07-11 20:24 ` Randolph Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox