[PHP-WIN] RE: can't connect to mysql

2003-07-04 Thread Uttam
YES means a password was used by client for connecting to server. regds, -Original Message- From: zicux [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2003 03:06 To: [EMAIL PROTECTED] Subject: can't connect to mysql Hello, I have a problem with connecting to MySQL. It gives out mess

RE: [PHP-WIN] Simple Answer, but I can't see it....

2003-04-01 Thread Uttam
* just skip the action attribute in tag. * mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 22:44 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Simple Answer, but I can't see it This is the some of the code that is contained within the PHP page... more HTML & PHP etc... ?> Mor

RE: [PHP-WIN] RE:[newbie]session problem

2003-03-19 Thread Uttam
a word of caution right out of manual: " Caution If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use session_register(), session_is_registered() and session_unregister(). " another snip from manual: " Use of $_SESSION (or $HTTP_SESSION_VARS with PHP 4.0.6 or less) is recommended for s

RE: [PHP-WIN] RE:[newbie]session problem

2003-03-19 Thread Uttam
afaik, a session is handled as follows in later versions of php: 1. initiate session i.e. session_start(); this is required only if you do not have session.auto_start=1 in php.ini. 2. Add session variables to global array $_SESSION[] like $_SESSION['test']="test variable" 3. Access the session v

[PHP-WIN] RE: IDE's

2003-03-15 Thread Uttam
This is good & free: Maguma Studio for PHP at http://www.maguma.com/en/lightdownload.html regds, -Original Message- From: Beach, Jim [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2003 03:25 To: [EMAIL PROTECTED] Subject: IDE's Does anyone have experience with PHP integrated develo

[PHP-WIN] RE: Sending mail on Windows 98

2003-03-14 Thread Uttam
On my Win98 / Xitami / PHP 4.2.3, I only specify following in php.ini: [mail function] SMTP= sendmail_from= and it works pretty well. regards, -Original Message- From: Geoff Ogilvy [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 01:40 To: [EMAIL PROTECTED] Subject: Sending mail

[PHP-WIN] RE: basic sessions...

2003-03-07 Thread Uttam
*use $HTTP_SESSION_VARS [] instead of $_SESSION[] * Upgraded to 4.2.2 or later, i also had difficulty running sessions on 4.1.1 regds, -Original Message- From: venu gopal [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 19:00 To: [EMAIL PROTECTED] Subject: basic sessions... I am

[PHP-WIN] RE: =at wit's end with GD Libraries=

2003-02-28 Thread Uttam
: Saturday, March 01, 2003 10:37 To: Uttam; [EMAIL PROTECTED] Subject: Re: =at wit's end with GD Libraries= Say I wanted to use: php_gd.dll after uncommenting the line in the php.ini file - where exactly would that file - php_gd.dll - reside? Many thanks. TR --- [This E-mail scanned for vi

[PHP-WIN] RE: =at wit's end with GD Libraries=

2003-02-28 Thread Uttam
additional extensions). regds, -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 20:29 To: Uttam; [EMAIL PROTECTED] Subject: Re: =at wit's end with GD Libraries= Would that be: php-4.3.1-Win32.zip and php-4.2.3-installer.exe Please a

[PHP-WIN] RE: Still having problems....

2003-02-28 Thread Uttam
is it the missing braces for while in get_list() function definition? function get_list($q) { $result = mssql_query($q) or die("ERROR in - get_sw_ids function"); while ($rr[] = mssql_fetch_array($result)) $i++; return $rr; } -Original Message- From: A. Mikkelsen [mailto

[PHP-WIN] RE: =at wit's end with GD Libraries=

2003-02-28 Thread Uttam
or you can download the latest version of php with bundled gd... regds, -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:21 To: [EMAIL PROTECTED] Subject: =at wit's end with GD Libraries= I want to thank those who tried to help with my

[PHP-WIN] RE: =at wit's end with GD Libraries=

2003-02-28 Thread Uttam
the API version of GD library and PHP must be same. not every GD library works with every version of PHP. i am able to produce conflict message on my Win98 system by running wrong version of PHP from command line, screen shot (very small png file 1.8kb) of the error message is attached . hope th

RE: [PHP-WIN] newbie: installing php_gd

2003-02-27 Thread Uttam
someone in this list earlier suggested that the '~' character has mysterious behavious in php.ini, i.e. rest of file after any '~' character is ignored. I see this character in your php.ini, just see if removing this helps. another idea coming to me is to rename the 'extensions' directory to <8 ch

RE: [PHP-WIN] Duplicate entry removal

2003-02-27 Thread Uttam
isn't it better to just: SELECT DISTINCT YEAR() FROM ; regds, -Original Message- From: Michael Power [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 17:10 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Duplicate entry removal Better yet define the required dataset with SQL

[PHP-WIN] RE: PHP and MySQL

2003-02-19 Thread Uttam
here's something from manual which may give you a direction: <> you can also refer to mysql mailing list [EMAIL PROTECTED] regds, -Original Message- From: Veselina Jecheva [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 17:39 To: [EMAIL PROTECTED] Subject: PHP and MySQL H

[PHP-WIN] RE: Interesting problem - PHP 4.3, IIS5, ISAPI

2003-02-14 Thread Uttam
also u r using wrong variable $fd in while loop while you have defined $fp, so this becomes infinite loop. this should give a warning message, if you have not disabled display of same. check your error logs. $fp = fopen("d:\www\ex030124.log", "r"); $i = 0; while (!feof($fp)) { $rowData =

[PHP-WIN] RE: Interesting problem - PHP 4.3, IIS5, ISAPI

2003-02-14 Thread Uttam
call the stoptiming() function before tag, browser may ignore any text after tag. Execution time " . ($endTime - $startTime) . " seconds."; } startTiming(); ?> Stats Server "; } */ $i++; //echo $i . ""; } stopTiming(); ?> regds, -Original

[PHP-WIN] RE: MySQL: some script I must do

2003-02-11 Thread Uttam
i think u shld refer this to mysql mailing list ([EMAIL PROTECTED] / [EMAIL PROTECTED]) . -Original Message- From: Rui [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 02:02 To: [EMAIL PROTECTED] Subject: MySQL: some script I must do First of all, I must thank all the people w

[PHP-WIN] RE: script not allowing login after generating new password

2003-02-04 Thread Uttam
what command are you using to change the password? *if you are using GRANT then you don't need to use PASSWORD() function, unless you use IDENTIFIED BY PASSWORD clause *if you are using INSERT or SET then you need to use PASSWORD() function to encrypt the password. see the actual password stored

[PHP-WIN] Multiple MySQL Queries

2003-02-01 Thread Uttam
in MySQL client i can run multiple queries in a single statement like: "CREATE TEMPORARY TABLE x (a CHAR(6), b FLOAT(12,4)); INSERT INTO x SELECT a, sum(*blah*)..FROM y ; SELECT * FROM x INNER JOIN z ;" but in PHP ";" is not allowed in function mysql_query(). Is there some workaround for run

[PHP-WIN] RE: Web pages don't show up in IE 6 w/SP1.

2003-01-31 Thread Uttam
use the 'view source' to see what information is being passed to browser. otherwise post more information about your configuration, address used to access the file, contents of php file etc. regds, -Original Message- From: Jammy Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30,

[PHP-WIN] Who is foo & what is bar?

2003-01-21 Thread Uttam
In many code examples in PHP documention (& others also), I have seen authors referring to variables 'foo' & 'bar', but I have yet not discovered the origin of these names. I am sure there must be dozens of others who have the curiosity to find how the use of these names started. Can anyone quenc

[PHP-WIN] RE: Odd for loop behavior.

2003-01-20 Thread Uttam
i think the problem is not with this code but with the code u r filling your array with. r u sure the array $traits is the way u want it to be? i got correct result with following code: 1, 'traitname' => 'Ideas'), Array ( 'traitid' => 3, 'traitname' => 'Voice' ),Array ( 'traitid' => 5, 'traitn

RE: [PHP-WIN] RE: What kind of Editor you used to build PHP script ?

2003-01-17 Thread Uttam
if you have MySQL, Apache and PHP then why not? thats in line with open-source paradigm. regds, -Original Message- From: Sean Malloy [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 12:51 To: Uttam; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] RE: What kind of Editor you used to

[PHP-WIN] RE: What kind of Editor you used to build PHP script ?

2003-01-16 Thread Uttam
i hv been using plain text editor (Notetab Light) mostly, and hv also tried some IDEs but found them not stable enough... apart from powerful text editor, here's the wishlist from a php script editor: * ROCK SOLID stability * syntax highlighting (with monochrome mode) * VB like immediate warnings

[PHP-WIN] RE: form question

2003-01-13 Thread Uttam
is it because your ISP has register_globals turned off? if so this may correct the problem: function handleform() { global $_POST['comments']; global $_POST['yourname']; global $_POST['youremail']; $comments=stripslashes($_POST['comments']); $yourname=stripslashes($_POST['yourname']); $your

RE: [PHP-WIN] PHP + Win98 Question

2003-01-13 Thread Uttam
i hv been using sessions on Win98 / Xitami / PHP 4.2.3 without any problem. regds, -Original Message- From: Dash McElroy [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 13:53 To: Dean Hayes Cc: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] PHP + Win98 Question Dean, What kind of pr

[PHP-WIN] RE: please remove me from list

2002-10-18 Thread Uttam
pls. send a message to: [EMAIL PROTECTED] regds, -Original Message- From: John Dunn [mailto:newzenithz@;excite.com] Sent: Thursday, October 17, 2002 03:30 To: [EMAIL PROTECTED] Subject: please remove me from list I hope that this is correct for me to get removed from this mailing

[PHP-WIN] RE: printer_ functions...

2002-10-16 Thread Uttam
it depends on your printer & system. if you want to use printer commands directly in your code then u must know the commands for your printer. the algorithm will be: 1. Initialize printer ( @ is the command for most dot matrix printers) . 2. Set paper size, tabs (vertical & horizontal) etc. usi

RE: [PHP-WIN] PHP_SELF

2002-10-14 Thread Uttam
i think u need to do this: a) convert the mysql result to an array using some iteration function like array_walk(). b) if u r using sessions, save the array as a session variable for subsequent usage. OR if u need to pass it as hidden field, then u should use the serialize() function to pass the

[PHP-WIN] RE: Acces DB and PHP connection ?

2002-10-14 Thread Uttam
u mean DSN (not DNS) i suppose... well, i hv also been looking for a way, pls. do let me know if you find one... regds, -Original Message- From: Dennis Philpot [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 15:56 To: [EMAIL PROTECTED] Subject: Acces DB and PHP connection ?

[PHP-WIN] RE: Sessions

2002-10-12 Thread Uttam
use absolute path like including the last slash in php.ini: session.save_path=c:\temp\phpsess\ regds, -Original Message- From: Nick Chorley [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 12, 2002 17:11 To: [EMAIL PROTECTED] Subject: Sessions How can I use session functions on Windo

[PHP-WIN] RE: Rows of data all the same

2002-10-10 Thread Uttam
i was also having trouble with odbc/access, may be my function can work for you too: try this code: "; $numfields=odbc_num_fields($result); for ($i=1;$i<=$numfields;$i++) { echo "".odbc_field_name($result,$i).""; } echo ""; while (odbc_fetch

RE: [PHP-WIN] works on one server and not another

2002-10-10 Thread Uttam
is the register_globals setting in php.ini is same in both the machines? i think u need to use $_POST[name] instead of $name... regds, -Original Message- From: Tim Blackwell [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 18:46 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] wo

RE: [PHP-WIN] Creating files with PHP - need help

2002-10-10 Thread Uttam
long file or folder names like "Program files" have equivalent short names. It is most probably "c:\progra~1" for "C:\Program Files". To see the short name, right click on the folder or file and in the properties, check the MS-DOS name. so your path can be like "C:/progra~1/apache~1/htdocs/abc.t

[PHP-WIN] RE: works on one server and not another

2002-10-10 Thread Uttam
1. is mysql server on both the machines (localhost)? 2.mysql gives access permission based on username@machinenameORipaddress, are your sure the user name you are giving has insert permission on the table specified? 2. hope in both the machine php is configured to understand '' as php code delimit

[PHP-WIN] RE: ODBC connection parameters

2002-10-08 Thread Uttam
you must be having php manual installed, there is a topic called Unified ODBC Functions. you can refer the same for connecting to odbc databases. you need odbc_connect() to connecto to database, the syntax is: int odbc_connect (string dsn, string user, string password [, int cursor_type]) foll

RE: [PHP-WIN] odbc_fetch_array function

2002-10-08 Thread Uttam
trying different values of cursor type in the connect function may help: odbc_connect (string dsn, string user, string password [, int cursor_type]) permitted values are: SQL_CUR_USE_IF_NEEDED SQL_CUR_USE_ODBC SQL_CUR_USE_DRIVER SQL_CUR_DEFAULT however, i was not

[PHP-WIN] RE: Sending data to a script from a form

2002-10-07 Thread Uttam
use $_GET['user'] and $_GET['address']... output.php $_GET['user']\n\n"; echo "your address is:\n\n$_GET['address']"; ?> regds, -Original Message- From: R Strang [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 04:12 To: [EMAIL PR

[PHP-WIN] RE: IIS 5 - ASP & PHP dev enviorment

2002-10-07 Thread Uttam
as far as i understand, in this situation IIS would be configured to process .php files using php module and .asp files will be processes as usual, so there should not be any problem. regds, -Original Message- From: JGreening [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 03:50

[PHP-WIN] RE: Mail problem

2002-10-05 Thread Uttam
are you sure your mail settings in php.ini are correct: [mail function] ; For Win32 only. SMTP= ; for Win32 only ; For Win32 only. sendmail_from= ; for Win32 only regds, -Original Message- From: Francisco Murillo Montoya [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 22:51

RE: [PHP-WIN] What do I need to do?

2002-10-05 Thread Uttam
these are required only if you are going to use the mail function through PHP, i.e. you want to send mail message through your PHP script. If you are not going to use the mail function it does not matters. these values can also be later changed in php.ini file (in windows directory): //*php.in

[PHP-WIN] RE: Need SQL Help for PHP_WIN and ODBC/Access

2002-10-03 Thread Uttam
try "SELECT Files.Fileame, Products.ProdName FROM Products INNER JOIN Files ON Products.bid = Files.bid WHERE Products.ProdName LIKE ' * " . $ProdVar . " * ' " pls. remove spaces arnd * , i hv put them to make clearly visible single & double quotes. this may also work: "SELECT Files.Fileame, Pr

[PHP-WIN] RE: i need help with an undefined variable

2002-10-02 Thread Uttam
this is due to 'register_globals' is off by default in php 4. this is for security reasons. pls. use $game as $_GET['game']. alternatively you can turn on 'register_globals' in php.ini (not recommended). regds, -Original Message- From: Anyang [mailto:[EMAIL PROTECTED]] Sent: Wednesday

[PHP-WIN] RE: Anyone know how to set IMAP

2002-09-30 Thread Uttam
as far as i know, you can not use the mail function without a mail server in windows. by the way, whome you want to send mail w/o mail server i.e. another windows user or linux user or anyone else?? regds, -Original Message- From: konchim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, Octobe