Re: [PHP] JDBC Driver for MySQL

2004-09-12 Thread Manoj Nahar
see this link

http://dev.mysql.com/downloads/connector/j/3.0.html

official mysql jdbc driver. 

PS. Give google a chance.

On Sun, 12 Sep 2004 15:52:12 +0200, Daniel Schierbeck [EMAIL PROTECTED] wrote:
 I'm sorry if this is off-topic, but i figured this was the best place to
 ask:
 
 I've begun using the Eclipse IDE, and has downloaded the Quantum DB
 plugin. It says that i need a JDBC driver in order to connect to a
 remote MySQL database - where do i get that? I've looked at mysql.com,
 but i couldn't find anything (i might just be stupid ;)).
 
 Hope some of you know :)
 
 PS. And thanks to the guy that recommended Eclipse in this list - it rocks!
 
 Daniel Schierbeck
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


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



Re: [PHP] Hire a developer

2004-08-29 Thread Manoj Nahar
great stuff john

On Sun, 29 Aug 2004 11:52:16 -0700, Ed Lazor [EMAIL PROTECTED] wrote:
  -Original Message-
  joshua wrote:
 
   If you wish to have more
   information on this project, please contact me off-list:
   joshua$abbott[at]crystalstream[dot]net
  
   replacing:
   $ with .
   [at] with @
   [dot] with .
 
  I am interested. Can you please contact me at
 
  *hn[foo]hl!$s(_2_)littler$dpsar%[foo]c!
 
  replacing:
  $ with e
   with o
  [foo] with .
  (_2_) with @
  ps with sp
  little with big
  % with k
  ! with m
  * with j
 
  ;)
 
 We should come up with a regexp for parsing John's email addy :P hehe
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


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



[PHP] List mail going to spam in gmail

2004-07-18 Thread Manoj Nahar
Most of the mails from php-general is going is marked as spam. 
is anyone else experiencing the same?

Manoj

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



Re: [PHP] connecting remote host ..

2004-06-14 Thread Manoj Nahar
Hi Gowthaman,

For mysql to allow remove connecivity u have to make entry in mysql
database in tables db, user and host giving the IP of remote PC from
which u want to connect and username and password then reload the
database and It will all work

Manoj


On 14 Jun 2004 10:25:48 +0530, gowthaman ramasamy [EMAIL PROTECTED] wrote:
 
 hello list,
 My php script works fine with local mysql database.
 however when try to use some remote database it fails and gives follwing
 error ..
 
 Warning: mysql_connect(): Unknown MySQL Server Host 'http' (2) in
 /usr/local/apache2/htdocs/gowtham/forphp/db_qry_4repeat.php on line 86
 
 the mysql_connect() syntax is as follows ..
 $db=mysql_connect(192.168.1.109, root, password);
 192.168.1.109 is the ip (internal IP on LAN) of the machine hosting the
 database.
 
 thanx a lot in advance ..
 
 --
 Ra. Gowthaman,
 Graduate Student,
 Bioinformatics Lab,
 Malaria Research Group,
 ICGEB , New Delhi.
 INDIA
 
 Phone: 91-9811261804
   91-11-26173184; 91-11-26189360 #extn 314
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


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



Re: [PHP] strange!

2003-12-17 Thread manoj nahar
Change this line

if($dowork) {

to 

if($_POST[dowork]) {

it should work the. In your php.ini the variable register_gloabal seem 
to be off.

Manoj Nahar

Tom Holton wrote:

Hello everyone,
I looked through the FAQs and documentation and I cannot find this
anywhere:
We have a new Redhat server with this kernal: 2.4.20-20.9smp #1 SMP
We used redhat itself to install apache and php (I used to always do it by
hand)
apache: Server version: Apache/2.0.40
PHP Version 4.2.2
I found the PHP version out by making a file containing: ?phpinfo()?

I also can get statements like

print something

and even

$TT =TRUE;
if($TT) print something else;
to work.
But, incredibly to me, I cannot get form variables to be sent and seen.
See the end of the email for the example script.
I can take this very simple script that does not work on this new server
and have it work on my current server which is running PHP Version 4.1.2
and Apache Server version: Apache/1.3.22 (Unix)
I saw that there were incompatibility issues with PHP's prior to version
4.2.3 with Apache 2.0, but, since I can get some statements to work, and
it is only because the form variables are not recognized, I thought it
must be some new directive in httpd.conf of php.ini
Any help or info on this is much appreciated!

?php

$TT=TRUE;
if($TT) print TT worked;
if($dowork) {
 print brThese statements do not print when the dowork button is
pushed;
 print brField 1: $fld1;
 print brField 2: $fld2;
 print brField 3: $fld3;
}
print BRthis statement prints;

?

form name=asd method=POST
brinput name=fld1 size=12
brinput name=fld2 size=12
brinput name=fld3 size=12
brinput type=submit name=dowork value='do work'
/form
?

 

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


[PHP] Handling Database errors in php

2003-12-05 Thread manoj nahar
Hi guys,

Column of table defined as primary key. there is violation and error 
message from database.

1) First way is to check if the value is already in database and then 
contuninue with insert
   (this invloes an extra select for every insert and leaves 
defined primary key redundant)


What is the best approach to be followed for this scenario.?
what if there are several constrains defined on a table?
cheers

Manoj

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


Re: [PHP] Get the current file name

2003-07-25 Thread manoj nahar
u can try
$filename=$_SERVER[SCRIPT_NAME];
Manoj

Shaun wrote:

Hi,

due to a current PHP upgrade i am unable to use the following code to get
the filename of the page:
$s = getenv('SCRIPT_NAME');

I need to get the filename without any avariables attached. For example if
the URL is
www.mydomain.com/test.php?test=yes

using $s = getenv('PHP_SELF');

returns test.php?test=yes

how can I return just test.php i.e. the filename on its own

Thanks for your help



 





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


Re: [PHP] PHP should know my data!

2003-07-25 Thread manoj nahar
and much needed function

debug_and_test_all_my_code();

Jay Blanchard wrote:

[snip]
Quit horsing around fellas, what if the developers take interest in this
thread and decide it's a good idea to release PHP6 with cranial
electrodes that will detect what I want to do, and instead of me
having to code the application, PHP will just spit out the
application... That way our bosses won't need us...
[/snip]
Do not forget the automated file-upload of the files that I haven't
created yet, this feature needs a single function
call...place_on_any_server($thought)
Thx!

 





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


[PHP] Reports with PHP Mysql

2003-03-03 Thread Manoj Nahar
Hi there,

Any class or libraries for generating, formatting reports with PHP Mysql?

Manoj

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.459 / Virus Database: 258 - Release Date: 25/02/2003

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

[PHP] PEAR with php 4.2.3 on Apache 1.3.27 on WinXP

2003-02-13 Thread Manoj Nahar
Hi guys,

I have been trying to setup PEAR with php 4.2.3 on Apache 1.3.27 on WinXP.

I have followed all the installation instructions religiously and
installaion is done properly. I have also tried PEAR webbased installer and
working fine.

But when i try to use DB it doesn;t seem to like the idea. it does not give
any errors and it does not show any records too. just throws blank page on
my face.

what could be the reason for this indifference.

any pointers?

cheers
Manoj 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003


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


[PHP] Postnuke --- Meta keywords and title different for all the pages...

2002-11-28 Thread Manoj Nahar
Hi there,

I would like to know has anybody being able to do this.

Each page has its own meta keywords and title.

I have searched lot of information about it but no luck.

any help or pointer with this would be greatly appreciated.

Manoj 


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