[PHP-DB] Inserting images in postgres

2002-05-03 Thread sharmad
claretions Can anyone point out the error Thanks Sharmad -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Search engine

2001-12-18 Thread Sharmad Naik
Hi, I wanted to develop a good and fast search engine (robost too) can anyone help me with some ideas. -TIA Sharmad -- Feel free to contact me (flames about my english and the useless of this driver will be redirected to /dev/null, oh no, it's full...). (Michael

[PHP-DB] converting extracted variables to arrays

2001-12-17 Thread sharmad
Hi, i have a variable which is multi valued seperated by # (say as) delimiter like student#name#address#college#etc... #...# i want to seperate it into an array with index $i can anyone suggest a way to do so TIA -Sharmad -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e

[PHP-DB] mysql EXPLAIN

2001-12-14 Thread Sharmad Naik
How do i get all the info for mysql just the EXPLAIN statement in postgres -- Feel free to contact me (flames about my english and the useless of this driver will be redirected to /dev/null, oh no, it's full...). (Michael Beck, describing the PC-speaker sound device) ---

[PHP-DB] Q about indices

2001-12-11 Thread sharmad
name,only third name and all other combination of first ,second and third name or the performance increases when we have only 1 indice of all first ,second and third name Thanks -Sharmad -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP-DB] Replace like

2001-12-08 Thread Sharmad Naik
You are right, It is slow b'cause it forces sequential search. I don't see REGEXP as a ans to this. Sharmad On Fri, Dec 07, 2001 at 09:07:01AM -0400, Miles Thompson wrote: > > Better yet, check the the MySQL docs and confirm whether or not there is a > difference in sp

[PHP-DB] Replace like

2001-12-06 Thread sharmad
LIKE decreases the speed like nothing as compared to "=" -TIA Sharmad -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DB] Fast template

2001-12-03 Thread sharmad
p') in /var/www/html/htdocs/templates/demo.php on line 3 Fatal error: Cannot instantiate non-existent class: fasttemplate in /var/www/html/htdocs/templates/demo.php on line 5 pls help me TIA SHARMAD --- Feel free to contact me (flames about my english and the useless of this driver will b

[PHP-DB] include shell scripts

2001-11-03 Thread sharmad
I m making a web based config tool in which i require to configure a package via browser but whats happening in that if i give the command in system() call then the packege is being tried to install as nobody user (default apache user) .Pls give me the link about how to go about it (other than CGI

[PHP-DB] Ms-Access to Mysql converter

2001-11-01 Thread sharmad
can anyone tell me which is a good Ms-Access to MySQL converter under open source /demo /commercial/etc. -TIA Sharmad -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP-DB] Application variables

2001-10-27 Thread sharmad
Pls tell me how to implement application variables in PHP like they are supported in ASP else i might have to have the value stored in the database and update every now and then which is simply an overhead. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

[PHP-DB] Structure Of Imap

2001-10-02 Thread Sharmad Naik
structure or any info related to it as the docs too don't indicate anything (especially what r the attibutes i can extract from the structure) -TIA Sharmad -- `sudo rm -f /bin/laden' - ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/

[PHP-DB] some commands

2001-09-05 Thread Sharmad Naik
Does php help me in find features and faults of my m/c or network. I want to know whether there are any commands or calls to do so. like getting my cpu info. -TIA Sharmad -- Donot rely on the Operating System which don't have any sources for.

[PHP-DB] Seperate a variable

2001-07-28 Thread Sharmad Naik
Hi, I m extracting a variable from a dbase and assigning it as say $var .The Value of this variable is always a/or more number/s at the begining followed by a set of characters .I want to seperate the numbers from the characters.Can anybody explain me how to say value of $var= 511T

Re: [PHP-DB] password

2001-07-17 Thread Sharmad Naik
Thanks Alexey, I have set the passwd for the root user,but now how do i set the passwd for other users. Another Q ,Can I have a passwd for each table created -Thanks Sharmad On Tue, Jul 17, 2001 at 11:10:31AM +0400, Alexey Borzov wrote: > Greetings, Sharmad! > > At 1

[PHP-DB] fragmentation (Horizontal and vertical)

2001-07-17 Thread Sharmad Naik
Hi can anybody tell me or point any reference on how to carry out fragmentation on database (specially PostgreSQL) in practice. Thanks Sharmad -- Donot rely on the Operating System which don't have any sources for. -Seen somewhere on th

[PHP-DB] password

2001-07-16 Thread Sharmad Naik
Hi, Can anyone tell me how to protect my database or else how can i set my password in postgres for every database. -Thanks Sharmad -- Donot rely on the Operating System which don't have any sources for. -Seen somewhere on th

Re: [PHP-DB] Postgres and PHP and Apache

2001-07-07 Thread Sharmad Naik
add this line to /etc/ld.so.conf /usr/local/pgsql/lib and then run ldconfig restart apache and then see the magic -Enjoy Sharmad On Thu, Jul 05, 2001 at 11:41:56AM -0400, Kelly Hamlin wrote: > root@www:/var/lib/apache/bin# ./apachectl start > Syntax error on line 239 of /var/lib/apach

[PHP-DB] Redhat TUX

2001-07-06 Thread Sharmad Naik
I have heard about a new server developed by Redhat called TUX. Is php supported in this? -Thanks -- Donot rely on the Operating System which don't have any sources for. -Seen somewhere on the Net ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| ||

[PHP-DB] flash

2001-06-24 Thread Sharmad Naik
I know that this mail is not to be posted on this list but in case if anyone can pls help, Can anyone tell what's the name of the package for flash with php and where to locate it -Thanks -- Donot rely on the Operating System which don't have any sources for.

[PHP-DB] headers

2001-05-24 Thread Sharmad Naik
How do I eanble headers in php3.ini file -Thanks -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP-DB] php-notepad

2001-05-18 Thread Sharmad Naik
Please tell me an editor for Linux -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[PHP-DB] php notepad

2001-05-18 Thread Sharmad Naik
Hi, I have recently fineshed my project in php I want to document it. Can anyone tell me an editor that highlights the code of PHP ? and another question off the way is can i get drivers anywhere for an Epson stylus Color 480 printer -Regards -- The secret of the universe is @*&í!'ñ^#+ NO CARRIE

[PHP-DB] variable vaule lost

2001-05-12 Thread Sharmad Naik
pls look at the attachment -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/ "); $i=10; for ($j=0;$j<3;$j++){ echo $j; echo(""); } echo(""); echo(""); ?>

[PHP-DB] linking images

2001-04-30 Thread Sharmad Naik
I m using postgresql-7.0.2 with php,My problem is that this database doesn't allow more than 4k images to be stored . I wanted to know how to store images in a directory and keep its link in the dbase or if anyone can tell me how to split the image so that it can be kept in the dbase -Thanks --

[PHP-DB] modules dir

2001-04-30 Thread Sharmad Naik
Can Anybody tell me the purpose of modules dir ,that is observed in the dir of php-**version** after unzip or installing -Thanks -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/ -- PHP Database Mailing List (http://www.php.

[PHP-DB] uploaded images display

2001-04-22 Thread Sharmad Naik
I have written a small script having connectivity with postgresql which can upload an image and display the already uploaded images. But it doesn't display the uploaded images. I guess the problem lies somewhere in $file_url. Pls help me http://sanico.sharmad.org"; if (isset($fuploa

[PHP-DB] OOPS

2001-04-21 Thread Sharmad Naik
I wanted to learn OOP in PHP .I m using postgresql and have a table called price containing the price_of_recycle of an object (0th row for bottle, 1st row for create and 2nd row for cans).I wanted to write an OOPS PHP program that would extract the price from the database for the individ

[PHP-DB] Loading jpg (etc)

2001-04-21 Thread Sharmad Naik
Hi, I wanted to know how to store and retrive images like jpeg,bmp from database.I have a table called member with mem_id and photo. Pls instruct how to do it I m using postgresql but any reference would do -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER ___

[PHP-DB] HTTP1.0/404 Not found

2001-04-18 Thread Sharmad Naik
Hi, I want to know now to avoid displaying HTTP/1.0 404 Not found page. Despite the fact that i want say that everyone to go to index.php page on any non existing URL. pls tell me where to do the exact and how?. Pls help me -thanks -- The secret of the universe is @*&í!'ñ^#+ NO C

[PHP-DB] hide passing value

2001-04-18 Thread Sharmad Naik
I want to hide the values being passed between forms like password. For that i tried GET and POST but wouldn't work. Any other Ideas. -Regards -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/ -- PHP Database Mailing List (h

Re: [PHP-DB] SELECT query

2001-04-13 Thread Sharmad Naik
irst i search table1 ,then table2,table3 using table4 and displaying unique record > > At 11:33 PM 4/13/01 +0530, Sharmad Naik wrote: > >I have three table called table1, table2, table3 all having fields like: > >table1 contain id and username and id referencing table4 &

[PHP-DB] SELECT query

2001-04-13 Thread Sharmad Naik
containing id as primary key I want to develop a search engine which shows unique record after searching all the three table but shouldn't contain multiple answers for same SEARCH for username Pls help me, -Regards Sharmad -- The secret of the universe is @*&í!'ñ

[PHP-DB] element in the SELECT query

2001-04-11 Thread Sharmad Naik
say u say a query like SELECT * from user where user='sharmad'; Is there any variable like pg_Result that will count the number of differnet values in * ? like i wanted to give something like for($i=0;$ihttp://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP-DB] connection to database

2001-04-11 Thread Sharmad Naik
Hi, While writing dynamic pages I use pg_connect to connect to the database. I wanted to know whether i alway need to close database connection or while closing the FORM or going to another page does the connect close automatically. Is pg_close necessary to be given ? -- The se

Re: [PHP-DB] Images donot appear

2001-04-09 Thread Sharmad Naik
On Mon, Apr 09, 2001 at 08:08:47AM +0100, Corin Rathbone wrote: > If you are using windows, > Uncomment (un ;) the following line in php.ini > extension=php_gd.dll > I m using Linux.What to do then .I looked at the ini file .There r gd options for only Windoze.What do i do now or do i require a

[PHP-DB] Images donot appear

2001-04-08 Thread Sharmad Naik
Although i have compiled php with gd i don't get image do i have to make any changes in php.ini -Regards -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP-DB] using LIMIT

2001-04-08 Thread Sharmad Naik
On Sun, Apr 08, 2001 at 02:09:04AM -0300, Manuel Lemos wrote: > Hello Sharmad, > > On 06-Apr-01 08:33:54, you wrote: > > >Hi, > > Thanks for firstly helping me out with the prevoius query. > > I have a database with mem_id(int) and name(text) as its fie

Re: [PHP-DB] using LIMIT

2001-04-07 Thread Sharmad Naik
On Fri, Apr 06, 2001 at 02:15:34PM +0300, Dainius Vaskelis wrote: > I suppose that you are using MySQL (because of LIMIT operator in SQL query) I m using PostgreSql > So: > > In the second query i write a query whereby i say > > $result=pg_Exec($database,"SELECT mem_id,name from search LIMIT $co

[PHP-DB] $DOCROOT

2001-04-07 Thread Sharmad Naik
HI, If i say header("Location:http://$HTTP_HOST/$DOCROOT/say.htm"); the file displayed will be http://localhost/say.htm but now say i have a user called php and that user wants to display the following http://localhost/~php/say.htm specifying equivalent variable l

[PHP-DB] headers

2001-04-07 Thread Sharmad Naik
pache/htdocs/searchdisplay.php on line 6 -Sharmad -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

[PHP-DB] using LIMIT

2001-04-06 Thread Sharmad Naik
Hi, Thanks for firstly helping me out with the prevoius query. I have a database with mem_id(int) and name(text) as its fields. In the first form (HTML) ,I take mem_id,name and count(used for LIMIT) from the browser. In the second query i write a query wher

[PHP-DB] passing parameters between forms

2001-04-02 Thread Sharmad Naik
rameters between search2.php and search3.php.If there is +another way out pls tell. I tried using functions to get the work done.but couldn't get my way out. Can anybody help me? Sharmad -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER ___ _ _ _ |_|_||_

[PHP-DB] passing parameters between forms

2001-04-02 Thread Sharmad Naik
ay out pls tell. I tried using functions to get the work done.but couldn't get my way out. Can anybody help me? Sharmad -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/ -- P

[PHP-DB] Library Management System

2001-03-30 Thread Sharmad Naik
+Serials and Thesis records althought the books has been completed throughly. We +would be very thankful if anyone could give us a record or two of Thesis and +Serials in ISO 2709 format. Hoping for a best, Yours sincerly, Hiren & Sharmad -- The secret of the universe is @*&í!'ñ^

[PHP-DB] Library Managament project

2001-03-30 Thread Sharmad Naik
and Thesis records althought the books has been completed throughly. We would be very thankful if anyone could give us a record or two of Thesis and Serials in ISO 2709 format. Hoping for a best, Yours sincerly, Hiren & Sharmad -- The secret of the universe is @*&í!'ñ^