Chris Shiflett wrote:
> View source, and I think you'll understand. Or, remove the call to
> htmlentities().
>
> Chris
..
Thank you all for your assistance.
Best...
TR
...
"...when a browser sees <, it prints out a < character instead of
thinking "OK here comes an HTML tag.
Copied and pasted the following sample script from the php manual and this
outputs:
...
bold";
echo htmlentities($str);
?>
..
// outputs: A 'quote' is bold
Not sure why the I am still getting the tags and spaces after the call to
htmlentities().
Thank you for any help.
TR
Greetings,
The following code is from "Learning PHP5 [O'Reilly] on page 90. Example -
6.5:
I get a:
Warning: Invalid argument supplied for foreach() in
c:\apache\htdocs\or_6.4.php on line 15
after submitting the form.
I'm not sure why since the example uses the call to foreach() in which the
a
Chris Lott" <[EMAIL PROTECTED]> wrote in message:
> I am looking for a new text for my beginning PHP and MySQL programming
> class. This class is for COMPLETE beginners who have never programmed
> before. I have used, in the past, PHP4: A Beginner's Guide and PHP for
> the World Wide Web (Visual
Chris Lott wrote in message:
> I am looking for a new text for my beginning PHP...[snipped]
...
Besides Larry's book - which is excellent - try David Sklar's book called
"Learning PHP 5" (O'Reilly).
Not too much on mySQL with PHP except for chapter 7 _however_ the whole book
is groun
..
In strcasecmp() - this comparison will return 0 - interpreted by PHP as
FALSE - eventhough words are _equal_ so what will execute is "words are not
equal".
whereas if the negation symbol of ! is inserted as in:
...
...
to read if the comparsion which is returned is n
Thank you Chris.
My question was the call to
mysql_fetch_array()
will also return a result set without the additional argument constant as
in:
while ($row = mysql_fetch_array($sql))
{...
// no constant is being used
There are many times that I see that used in textbooks - without the
constan
When using mysql_fetch_array() is it necsessary to specify the second
argument - meaning the constant of MYSQL_NUM or MYSQL_ASSOC?
I have seen many examples where it is left out and it is coded:
$row = mysql_fetch_array($sql);
as opposed to
$row = mysql_fetch_array($sql, MYSQL_BOTH);
Thank you
Justin Patrin <[EMAIL PROTECTED]> wrote in message:
> Thanks, lots of good info here. It's nice to have all of the info at once.
>
> I don't know about eregs myself, but I'll try a preg solution:
>
> $new_text = preg_replace('!(.*?)!', ' target="_blank">\1', $text);
Thank you.
I tried th
Greetings,
I'm using an RSS feed from the New York Times and right now the a href link
takes the user to the same window.
I'd like the link to open in it's own window by using the target .html
attribute.
I was hoping that I could use the eregi_replace() call by inserting:
http://\\0";>target="_
Reading "Creating Interactive Websites with PHP and Web Services" (Sybex) by
Eric Rosebrock.
I've found it a good textbook and wanted to get some feedback from the group
about two things I noticed in most of the code throughout the book which has
helped me.
1. The author separtares .html form fro
Greets,
The following code snippet receives data from a textbox named searchtext if
the user types in a word.
It then tries to match that word from the mysql database using:
$searchtext = $_POST['searchtext'];
if ($searchtext != '') { // Some search text was specified
$where .= " AND blurb LIKE
Thank you.
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you.
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A basic ht counter script from Meloni's book on mysql (page 318).
Not working for me.
Every time I load the page the counter stays at zero.
Thanks for help.
TR
..
You have been counted.
The current number is
.
// mysql SCHEMA
CREATE TABLE test_track(
id INT NOT N
Marek Kilimajer <[EMAIL PROTECTED]> wrote in message:
> You said register globals are off, didn't you? Where is the above
> variable set then?
>
> :)
...
That was it.
Many thanks Marek and others.
Checking through the command line the file was uploaded to mysql database.
Howeve
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message:
> So what's the output? How do you know it's not working? If you're not
> getting an error, then your query is running and something is going in
> the database. Are you sure the problem isn't in how you're displaying
> the data?
Lowell Allen <[EMAIL PROTECTED]> wrote in message:
> You might try using "$HTTP_POST_FILES" rather than "$_FILES" -- was
> necessary in my code recently.
>
> --
> Lowell Allen
...
Lowell,
Thank you.
I tried that in code below.
Still - no dice.
Any other thoughts?
Best...
TR
..
John W. Holmes <[EMAIL PROTECTED]> wrote in message:
> Remember... we're laughing with you, not at you. You forgot to call
> mysql_query() in your code. :)
.
Hmmm... I wish it was as simple as that.
I inserted the mysql_query() below
but it still doesn't upload the file nor does
Greets,
Register globals are to off - however the files will not upload.
At wit's end - help please!
Thank all in advance.
TR
This file has the following Database ID: $id";
echo "";
echo "Click to view file";
MYSQL_CLOSE();
} else {
// else show the fo
In the following snippet, which uploads binary files to a mySQL database it
works fine when Register Globals are set to ON.
.
mysql_connect("localhost","root","pass");
mysql_select_db("adatabase");
$data = addslashes(fread(fopen($form_data, "r"), filesize($form_data)));
$result=my
Jason Barnett" <[EMAIL PROTECTED]> wrote in message:
> Actually, why don't you just use plain text like this. Sheesh,
> sometimes I forget the easy answer :)
..
Jason,
Thanks for the reply.
Since those figures change _daily_ on their site, I was hoping for a way to
open the file, re
Greets,
I've been able to open a remote URL, read it and then lop off everything
except the last line and break it into an array with its' tabs - /t .
The data will then be inserted into a table.
However, the following URL shows reservoir storage and is a .doc file. I am
unable to run the same s
php / mysql/ apache
I tried the following using the call to htmlspecialchars()
not sure why it is insn't working.
I get the output:
Test
Thank you.
TR
..
//script
Test", ENT_QUOTES);
echo $new;
?>
// this is what is output:Test
// instead of this...
// Test
- Original Message -
From: "Richard Davey" <[EMAIL PROTECTED]>
> Hello Anthony,
> I feel the book you're learning from might not be the best out there!
> Especially as it uses the horrible if : else : endif notation,
> includes code on the same line as the PHP tags themselves and is
> tea
The following script is from Kevin Yank's book (Sitepoint).
When I test it _without_ entering a name in the text box and hit submit, the
_next_ page
loads - however the same page should load beacuse of the conditional
if (!isset($name) ):
.
If I replace
!isset()
with
empty()
li
I currently have websites with two ISP's.
I am getting a lot of warnings throughout a .php script on one server - such
as:
php_hostconnect()
I have used the _same_ .php script exactly on my other ISP's server and I
don't get any warnings.
In addition, I have tested this script locally on Apache
Using php/apache/mysql on win 98
I am testing an mail script.
The script has a .html form which receives the text input and then a .php
script to execute the variables in a mail() function.
When I publish both files - the .html and .php - to my ISP's server and
enter the data and hit submit I r
Using php/apache/mysql
I am testing an mail script.
The script has a .html form which receives the text input and then a .php
script to execute the variables in a mail() function.
When I publish both files - the .html and .php - to my ISP's server and
enter the data and hit submit I receive an
Marek Kilimajer <[EMAIL PROTECTED]> wrote in message:
> There are 10 '[PAGEBREAK]' substrings in the string. If the string is
> split apart at these substrings, it will give you total 11 parts.
Thank you.
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Greetings-
I'm have the follwing string called $text and throughout this string I'd
like to split this into an array by calling spliti() at the tag called
PAGEBREAK.
So, I count the array elements starting at 0 and get to 9.
When I call count(), I get 11. Could somebody please explain why this is
I'm trying to receive data from a mysql database through php.
Using the command line at mysql listed below gives me a result set.
I am able to connect to the database through php, however, when using the
following script, I receive no data when the data is in the table called
pictures in the db c
Greetings all,
I'm looking for a tutorial or some assistance in explaning how store and
then open and read a binary file using php/mysql.
I've got a few tutorials about storing the binary data _within_ a mysql
table from Kevin Yank, phpbuilder, etc. but I've heard that it's sometime
better to keep
Additinally, upon looking at the session files in:
C:/apache/tmp:
I get from session file from script session_1a.php:
products|s:23:"a:1:{i:0;s:6:"Tardis";}";
...
However, looking at session file from script session_1.php:
I get:
products|s:2:"N
Sure.
Here it is.
There are three scripts.
session_1.php: the original form script.
session_1a.php: a revised script with a conditional else.
session_2.php: the receiving script for the session array variable.
Running script 1a and 2 works fine.
However the original script 1 and 2 gives me a e
Thanks again but here's what happens when I run that.
The form box appears.
I select an option.
I hit submit.
The page that loads says:
Warning: Invalid argument supplied for foreach() in
c:\apache\htdocs\session_yyy.php on line 13
I then hit the link:
Back to content page.
The form box appears
Thanks John and others.
I'm using the script and no values show up in the page:
session_bb.php
after I submit the values in the form.
If somebody would like to test both scripts (session_aa.php and
session_bb.php) and get back to me I would be grateful.
As I said, these were from her book/CD.
Using mysql, apache and win98
The following code is from "PHP, mySQL and Apache" (SAMS) by Julie Meloni.
Page 338-339 (hour 16).
After choosing my selections in the form box and hitting submit I get:
...
Warning: Invalid argument supplied for foreach() in
c:\apache\htdocs\listing16.
Was able to get this to filter:
.
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm trying to filter a word - in this case - called badword1 - to be
replaced
with asterisks.
Listed below is my .html form and .php receiving script.
I've also added the same script which gets a hardcoded string.
In the first example, the output still shows the original message _without_
re
k .= "
mailto:$post_owner>$post_owner[$post_create_time]
$post_text
";
}
//close up the table
$display_block .= "";
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "Anthony Ritter"
> You also asked a very, very common question, i.e. how to alternate colors
in
> table rows... there are a ton of websites/tutorials out there that explain
> ways to do this.
>
> ---John Holmes...
Apologies for the lengthy code.
I've tried using a few tuto
The following code snippet outputs a table from a mySQL database.
In version 1, I am able to get alternating background cell colors. However,
the output gives me the same post five times.
In version 2, I am able to receive five separate posts - which is what I'm
looking for - but I'd like to get
This is what I receive via e-mail after I click submit using the following
code. As you can see - the html attribute
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 14, 2003 2:04 PM
Subject: Thank you for registering
> Thank you for registering tony
>
> http://www.gonefishingguideservice.com/[EM
Hi,
I'm trying to find a script that does the following:
1. A user is presented with a form with a textbox for their e-mail address.
2. The user types in their e-mail addrees and submits the form.
3. A note is then sent from that server if their e-mail address , in fact,
exists.
3. If the e-mail a
Jennifer Goodie" <[EMAIL PROTECTED]> writes:
> You didn't switch the aliases around, you just switched the join order.
> This will provide unexpected results. In order to understand it, you
should
> read up on left joins.
> http://www.mysql.com/doc/en/JOIN.html
Thank
Ford, Mike [LSS]" <[EMAIL PROTECTED]> writes:
> You have a conceptual misconception. In effect, you need to read that
query
> as:
>
> "select ft.topic_id, ft.topic_title
> from ( forum_posts as fp
> left join forum_topics as ft
> on fp.topic_id = ft.topic_id
>
[EMAIL PROTECTED]
wrote in message:
> Hi Folks,
>
> I am currently learning php and Mysql a scripting language and DB i just
feel
> in love with. I am currently having problem in opening file to put data
> collected from clients when the purchase from an online shop. The scripts
is as
> follows.
>
The following code is From Julie Meloni's textbook - PHP, mySQL and Apache
(SAMS) on page 305-307 / Listing 14.5:
It's the last script of a discussion forum which is comprised of four php
files and one html file.
The script can be seen at:
http://www.thickbook.com
Chapter 14 off the zipfile.
An
Thanks Jackson.
I appreciate the assistance.
Am I on the right track?
Best...
TR
..
// this is the form
Your e-mail address:
...
//process.php
mailto:[EMAIL PROTECTED]/email_verify.php?email=$email&c
onfirmation_ID=$confirmation_ID>link"
mail($_POST['
Jennifer Goodie" <[EMAIL PROTECTED]> writes:
They don't. ft is aliased to forum_topics.
That's right.
ft is aliased to the forum_topics table.
The query reads:
...
$verify = "select ft.topic_id, ft.topic_title from forum_posts as fp left
join forum_topics as ft
Ford, Mike [LSS]" <[EMAIL PROTECTED]> writes:
> You have a conceptual misconception. In effect, you need to read that
query
> as:
>
> "select ft.topic_id, ft.topic_title
> from ( forum_posts as fp
> left join forum_topics as ft
> on fp.topic_id = ft.topic_id
>
Larry E . Ullman" <[EMAIL PROTECTED]> wrote in message:
> The mysql_real_escape_string() requires a connection to the database.
> The connection identifier is defined in another script so it's brought
> in using the global statement.
>
> Hope that helps,
> Larry
..
The following function is from Larry Ullman's PHP and mySQL on page 217 -
script 6.8 - in which there is a connection to a mySQL database using PHP.
My question is that I'm not sure of the global variable $dbc.
If I am to understand...this made up function escape_data() will receive a
piece of da
Curt Zirzow writes:
> I did some testing you can see the code and results here:
> http://zirzow.dyndns.org/html/php/tests/preg/parse_doc.php
..
Thanks Curt.
I checked it out and I still pick up the following lines which I was looking
to delete on the pattern match.
They are:
Curt Zirzow wrote in message:
> This exact thing was talked about earlier today, with the subject
> 'Using eregi_replace()'.
Right.
However, I've tried using the following code in which the text from the URL
is printed out completely and then I change the variable from $
In the following snippet, I'm trying to open and read a URL into the
variable $contents.
I'd like to use preg_replace() to return only part of that string beginning
with say - regional and ending with new - but I get the complete URL string
returned.
Thank you for any assistance.
Tony Ritter
.
However, this works using:
preg_replace()
.
Thank you all.
Is there a way I can be sure of the syntax?
"!.*?(hello.*going).*!", // the pattern which - I think - reads as follows:
!.*? //
do not use any character or characters before the grouping of hello
Messju Mohr" <[EMAIL PROTECTED] writes:
> you mean
> $newtext= ereg_replace(".*?(hello.*going).*","\\1",$text);
> ??
..
Thank you but I get:
Warning: REG_BADRPT: in c:\apache\htdocs\string.php on line 3
Using:
.
Regards,
TR
Using eregi_replace(), is there a way to take out a piece of a sentence -
which has spaces - and then return the new sentence?
For example, to return the new sentence:
hello I must be going
from the original sentence:
blah blah blah hello I must be going blah blah.
I tried:
...
Ivo:
> Why not use :
> www.thesite.com/thepage.asp#here
.
Thank you Ivo.
I don't usually use asp but was wondering if the word "go" in asp like:
www.thesite.com/thepage.asp?go=here
is a _reserved_ word in .asp which acts like the symbol "#" - serving as
the
anchor.
And
I am trying to access a page published on a server - and then using an
anchor - to jump to a specific paragraph on that page.
For instance, if using asp, I could write:
www.thesite.com/thepage.asp?go=here
where "here" -the value - in the string query would be marked up as:
...
Burhan Khalid" wrote in message:
> You need to edit the php.ini file (or if this is hosted, have your host
> change the php.ini file).
>
> The setting you want is : force-cgi-redirect
>
> You need to change this to false (0) for it to work on IIS.
>
> IIRC, it says something along those lines in th
When calling up a page on my web with the extension of .php, I presently get
the following notice. (please see below)
Before yesterday, I had been able to load any .php page on my web.
The ISP which hosts this web is on NT.
Please advise.
Thank you.
Tony Ritter
..
Greetings all,
Using PHP 4.1.1 / Apache Server / MS Win 98 / IE 5.5
The following script is from Julie Meloni's book PHP Fast and Easy on page
170-174.
The first part is an html form in which the user browses and chooses a file
to be upoloaded to the server.
The script works fine in that when I
Marek,
For testing purposes, on my home computer with php 4.1.1 and Apache Server,
the script works fine.
Now, I'd like the script to work on my ISP's server which hosts my site.
They use MS IIS.
What are the correct steps for them to install the php_gd.dll file on their
server since that same s
The following script works fine when I test it at home using localhost on:
MS Win 98
Apache Server
PHP 4.1.1
php_gd.dll
I then publish the script to my web at my ISP's MS IIS server which is the
host and get an undefined function call of:
ImageCreate()
The ISP has said that they have installed
Justin Garrett wrote:
> You were missing a semicolon:
> $result=strcmp($firstword, $secondword);
...
Thank you Justin and all other.
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The following test script for the function strcmp() is from page 114 -115 of
PHP (Hungry Minds).
I'm getting a parse error on line 6.
Using PHP 4.1.1 / MS Win 98 / Apache Server.
Many thanks...
Tony Ritter
..
=1)
{
$statement="comes after";
}
else if
I'm getting a fatal error on the following script using
MS Win 98 / Apache Server / PHP 4.1.1. / php_gd.dll
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in
c:\apache\htdocs\testphoto.php on line 6
Is there a workaround to this function so that I can crop part of the source
.jpeg?
In the following php script, the function takes the original file and crops
to the destination file.
I've ran the script using a .png file and a .jpg file.
The .png works fine whereas the .jpeg file returns only part of the image
along with a blue rectangle.
For instance - where the original ima
There is a photograph named bar.jpg in a remote URL called
http://www.foo.com
The photograph is about 640 x 480 in size.
The following script allows me to open and read the file.
In addition, I have a file named data.jpg in my web folder.
I want to write the bar.jpg into the data.jpg file and at
Hugh,
That script works fine.
Thank you.
What I am trying to achieve is to pull a .jpeg from a remote URL and then
resize and/or crop it after it is placed in a variable.
Your script is able to open and read the original file for output.
In the following script, I have the variable $contents hol
I'm trying to test the following script to display the contents of the
following URL but it will not output.
Any advice will be greatly appreciated.
Thank you.
Tony Ritter
...
http://www.weather.com";, "r");
$contents = fread($file_handl
I'm looking for a php tutorial or script which can open and read an existing
.jpg or .png from another URL.
Next, the script then modifies that image by - say - cropping off the bottom
by 20px or resizing it by 50%.
Lastly, could this modified file then be renamed on ones server?
Many thanks,
To
Using PHP 4.1.1. / Apache / Win 98
I'd like to use a .jpg from another URL - say:
http://www.blah.com/foo.jpg
and turn it into a variable using PHP and then once it is a variable to try
to manipulate that image using GD Libraries which are installed.
Is this possible?
I tried placing the strin
Thank you to all that came to my aid while I was muddleing through my
attempts to install GD Libraries.
Since I had various versions of PHP from textbook CD's - I downloaded PHP
Triad which happened to be PHP version 4.1.1
I changed two lines in the php.ini file and ran the phpinfo() function cal
Rich,
I've got five screenshots at this URL:
www.gonefishingguideservice.com/php1.htm
If you get a chance please take a look.
I got php_gd2.dll from the zipfile (see photo) and the "extensions"
sub-directory was not there when I installed.
Many thanks,
TR
...
P.S.
If you get a moment, maybe you could send me a .txt file of your php.ini
file along with you php_gd2.dll setup.
That way I could check line for line.
Many thanks,
TR
---
[This E-mail scanned for viruses by gonefishingguideservice.com]
--
PHP General Mailing List (http://www.php.net/)
To
Rich,
I've checked my php.ini files on my drive and all I've got is one.
The php_gd2.dll file is in:
C:/PHP/extensions
There was no default folder called extensions when I installed PHP so I made
a directory called extensions under PHP.
Everytime I take out the semicolon in the .ini file, the p
I run the following script:
// the page loads o.k. when the semi-colon remains as in:
;extension=php_gd2.dll
but if I remove the semicolon as in:
extension=php_gd2.dll
the page won't load and the server hangs up.
..
\\ this is my php.ini file on MS Win
I want to thank those who tried to help with my questions about using the GD
libraries.
I still have not gotten them to function using PHP.
I've put two screenhots of the phpinfo() page at:
www.gonefishingguideservice.com/php_page.htm
If you care to take a look at those images, you'll see that
Chris,
The function I'm trying to get...it's:
imagecreate()
I am using MS Win 98 / PHP 4 and Apache.
I tried running the following script but got an undefined call to
imagecreate()
The following copy is located in my php.ini file...one of which is:
..
;extension=php_gd.dll
...
Fine Chris.
Maybe you'd be kind enough to explain how I can get that function to work.
I've uncommented the line in the php.ini file.
In "Mastering PHP" (Sybex) on page 559 - Chapter 18, the authors of the
textbook - Allen and Hornberger - say when using Win to:
...
"uncommen
Yes Adam.
Any ideas?
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On MS Win 98 / Apache / PHP 4
If somebody out there using Win can check my php.ini file and advise me what
I'm doing wrong.
I have uncommented:
..
extension=php_gd.dll
..
and have included:
..
extension_dir = C:\php4\extensions
I ru
In my php.ini file, this is what it looks like:
...
extension_dir = C:\php4\extensions\; directory in which the loadable
extensions (modules) reside
extension=php_gd.dll
Many thanks,
TR
--
PHP General Mailing List (http://www.php.net
--
Steve Magruder wrote in message :
> To reduce its display size in an img tag, specify 640 * .75 for the width
> (assuming 640 is for width) and 480 * .75 for the height. If you actually
> want to reduce the size of the image, then look at PHP's image-related
> functions (and the GD librar
Using MS Win 98 / PHP 4 and Apache.
I tried running the following script but got an undefined call to:
ImageCreate()
The following copy is located in my php.ini file...one of which is:
..
;extension=php_gd.dll
..
I tried uncommenting this line to no avail.
What is
I'd like to use (with permission) .jpg files from a webcam from another URL.
Once that URL is opened and read via PHP as a file into my site is it
possible to resize that image? It measures 640 x 480 pixels and I would
like to reduce the image size by 25%.
Thank you.
Tony Ritter
--
PHP Gen
Many thanks Jason.
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is what I was getting at.
The following is correct mysql syntax in which a comma must be added after
each field - except for the last field - in this case price:
i.e.,
.
CREATE TABLE chairs(
id int(5),
item varchar(50),
desc text,
price float
);
.
Ho
Greetings...
The following is the _third_ part of a script found in Julie Meloni's book
"PHP Essentials" on page 118.
The script dynmically generates a form box of field names, field types and
field sizes for a mysql table depending on what the user chooses.
My question is about syntax or logic i
Jason Wong wrote in message:
> Try the mysql website or the mysql list?
.
Yep. I went to the mysql site and they didn't have any promo material like
t-shirts, visors, etc.
My news server doesn't have any mysql newsgroups. SQL - yes - but not
mysql.
There was a shop
My guiding season begins in April.
Anybody out there know where I can purchase a nice mysql dolphin t-shirt?
Thank you.
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greg wrote in message:
> I believe you need to have mcrypt installed.
> -Greg
.
Not sure what mcrypt is.
Please advise.
In Ullman's textbook, it says that decrypt() and encrypt(0 fuctions will not
work if PHP is not installed as a module.
However, in his example in the boo
Using MS Win98 / PHP /Apache
I'm getting a undefined function error - crypt()
The following scripts were taken from Larry Ullman's book on PHP on page
60-61.
Any advice would be helpful.
Thank you.
Tony Ritter
..
//ullmanform.html
HTML Form
Chris Shiflett" wrote in message:
> Your query returns two rows because you have two rows in
> the database that match the condition:
>
> host='localhost'
>
> --
> Chris
..
Chris,
I was under the impression that the mysql database had as default user when
instal
John W. Holmes wrote in message :
> Because a default install of MySQL includes an anonymous user, one with
> no username or password. There is also a root user with no password.
> Read the MySQL manual on Installation and the GRANT command on how to
> fix this.
>
> ---John W. Holmes...
..
Working on:
Win 98 / mysql 3.23.55 / php 4
I installed mysql 3.23.55 and wanted to check the user table in the mysql
db.
The query was:
SELECT User FROM user WHERE host='localhost';
The output was:
xx
user |
xx
||
||
root
1 - 100 of 170 matches
Mail list logo