RE: [PHP-DB] what's wrong with this?

2002-01-27 Thread Ali Nayeri
can't you attach files in this mailing list? is there a special way? could someone tell me. Thanks -Original Message- From: Ali Nayeri [mailto:[EMAIL PROTECTED]] Sent: January 27, 2002 8:27 PM To: PHP Database Mailing List Subject: RE: [PHP-DB] what's wrong with this? i'm not sure why

RE: [PHP-DB] what's wrong with this?

2002-01-27 Thread Ali Nayeri
i'm not sure why the files didn't come through. i'll try again. -Original Message- From: Ali Nayeri [mailto:[EMAIL PROTECTED]] Sent: January 27, 2002 8:18 PM To: PHP Database Mailing List Subject: [PHP-DB] what's wrong with this? hi all i've been trying this script for a day and i just

Re: [PHP-DB] what's wrong with this?

2002-01-27 Thread Work
usage... ... ... ... include ("menu.inc'); include_menu() ... ... ... Check your PHP.INI.. Or send more code!!! Dan - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 27, 2002 10:18 PM Subject: [PHP-DB] what's wrong with this? hi all i'

[PHP-DB] what's wrong with this?

2002-01-27 Thread Ali Nayeri
hi all i've been trying this script for a day and i just can't figure out why it doesn't work. could someone check and see if there is something i did wrong? the error is "unknown function include_menu()" which actually exist in the menu.inc file. this is the structure: home.php includes (folde

Re: [PHP-DB] PHP safe mode

2002-01-27 Thread Jason Wong
On Monday 28 January 2002 04:43, CrossWalkCentral wrote: > Question? > What is php safe mode. > > I have heard that it will allow you to pass information to a mysql database > w/o a user name and pass. > > Has any one heard of this. I am just curious. I would not use it but if > this is something

[PHP-DB] Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Alan McFarlane
If you know you are running on an apache server, you could try using a simple .htaccess file in a (say) etc directory which contains any or all files you wish to secure. ie: /index.php /etc/config.php /etc/.htaccess --index.php --etc/config.php $config['db_host']="sql"; $confi

RE: [PHP-DB] [PHP] PHP and MYSQL Security`

2002-01-27 Thread Gurhan Ozen
The actual content of the .php files won't be seen from the net since it is server side scripting language.. But if you are still concerned you can put database connection info into another file (preferably .php file) and place it somewhere outside your web directory and access it thru require() o

[PHP-DB] Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Paul DuBois
At 16:59 -0800 1/27/02, Fred wrote: >If this file has a .php extension remote users will not have access to the >variables because the file is parsed by php and they never see the actual >file contents when requesting the document via the web. If you are >concerned with users on localhost having

[PHP-DB] Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Fred
If this file has a .php extension remote users will not have access to the variables because the file is parsed by php and they never see the actual file contents when requesting the document via the web. If you are concerned with users on localhost having access to the file, simply give it the c

[PHP-DB] [PHP] PHP and MYSQL Security`

2002-01-27 Thread Duky Yuen
How can I secure my username and password? In 1 of my files, it contains the following: $conn = mysql_connect( "12.34.56.78", "username", "password"); mysql_select_db("database",$conn); What should I do, so people can't get this information? Duky -- PHP Database Mailing List (http://

[PHP-DB] [PHP] File uploading like hotmail

2002-01-27 Thread Duky Yuen
I want to make something like when you are attaching something to an email in hotmail. I want to make something that searches your own computer for files on your harddisk that you want to upload to the server. But I don't know if this is possible. If this is possible.Can somebody tell me which fu

[PHP-DB] [PHP]please help

2002-01-27 Thread Duky Yuen
I want to make something like when you are attaching something to an email in hotmail. I want to make something that searches your own computer for files on your harddisk that you want to upload to the server. But I don't know if this is possible. If this is possible.Can somebody tell me which fu

Re: [PHP-DB] uploading

2002-01-27 Thread Raquel Rice
On Sun, 27 Jan 2002 13:04:09 +0200 Thomas \ "Thomas \"omega\" Henning" <[EMAIL PROTECTED]> wrote: > Hello how can i upload something from my hdd to the webserver > using php? > > note: don't have ftp on the machine!! > > Thanks > > Thomas "omega" Henning I usually don't like saying this, but

[PHP-DB] PHP safe mode

2002-01-27 Thread CrossWalkCentral
Question? What is php safe mode. I have heard that it will allow you to pass information to a mysql database w/o a user name and pass. Has any one heard of this. I am just curious. I would not use it but if this is something that is true I would like that could be a security problem. let me k

AW: [PHP-DB] Pictures+MySQL+PHP

2002-01-27 Thread Thomas Lamy
> -Ursprüngliche Nachricht- > Von: Michael Waples [mailto:[EMAIL PROTECTED]] > Gesendet: Samstag, 26. Januar 2002 09:54 > An: [EMAIL PROTECTED] > Betreff: Re: [PHP-DB] Pictures+MySQL+PHP > > > Ck Raju wrote: > > > > that I changed my mind. Gurhan Ozen>Storing images in the > databas

Re: [PHP-DB] Double results

2002-01-27 Thread Miles Thompson
$sql = "SELECT DISTINCT * FROM newforum WHERE id='$id' OR replyto='$id''"; BUT you do have an OR in your where condition. Try it - Miles On Sunday 27 January 2002 10:18 am, Jordy Driessen wrote: > Hello, > > Is there a query which can eliminate double results? Because my query ($sql > = "SELEC

[PHP-DB] Double results

2002-01-27 Thread Jordy Driessen
Hello, Is there a query which can eliminate double results? Because my query ($sql = "SELECT * FROM newforum WHERE id='$id' OR replyto='$id''";) selects information from my MySQL-database double which isn't necessary... Who knows the answer? Thanx, Jordy -- PHP Database Mailing List (http:

[PHP-DB] uploading

2002-01-27 Thread Thomas \"omega\" Henning
Hello how can i upload something from my hdd to the webserver using php? note: don't have ftp on the machine!! Thanks Thomas "omega" Henning -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

[PHP-DB] Re: PHP + Postgresql + Linux = Frustration

2002-01-27 Thread Yasuo Ohgaki
Mike Dichiappari wrote: > Hello, > > I am rather new to Linux but an old timer at software development. I am > investigating alternate platforms for future development for my company. > Linux is at the top of the list. > > I am trying to get a server setup with a db (PostgreSQL), web server > (