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
* 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
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
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
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
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
*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
: 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
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
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
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
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
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
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
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
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 =
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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 ?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
45 matches
Mail list logo