ult($result,0,"count(*)");
--
+--------+
| Julie Meloni ([EMAIL PROTECTED]) |
| Tech. Director, i2i Interactive (www.i2ii.com) |
||
| "PHP Essentials" "PHP Fast Easy&
s
cookie values and have _no_ expiredate set. Every time a request is made
_both_ cookie values (login and password) are checked with that on the
server.
I would hope that you are not storing and matching the user's plaintext
password...
+--------+
|
denis mettler wrote:
But I don't have the mysql.sock in this directory.
Is mysqld running at all?
++
| Julie Meloni ([EMAIL PROTECTED]) |
||
| "PHP Essentials" and "PHP Fast Easy&
different variables and it will take me
PS forever to write a query like
Therein lies your problem - quite likely you need to normalize!
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN
LE You'll need to have a cgi version of PHP to use in cronjobs
Not entirely true; you can run a script off your server as well, using
lynx -dump http://server/path/to/file as the line in crontab
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
--
PHP General Mailing List
.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and little insert snippets scattered
about to handle that.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
files\apache group\apache\htdocs\wan\sessions.php on line 9
LD Same warning for Doc 2.
That just means you put it in the wrong place. It has to go before
any (and any means ANY) output.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24
() in my php to format the descriptions but I thought
NW I'd ask here if anyone had a *better* suggestion?
You could use the substring() function in MySQL (or a similar function
in your db of choice) to make the db do the work instead of PHP.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED
at c:\program files\apache
group\apache\htdocs\wan\sessions.php:7)
LD in c:\program files\apache group\apache\htdocs\wan\sessions.php on line 9
Check for whitespace, line break, etc before or after the tag, then. These
things count as output.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED
);
echo $newstring // This Is A Test
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
not the answer to the
guy's particular problem.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
script, and load it all back in. That
wouldn't take too long either.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net
).
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
C I know that setting the expire parameter to 0 is supposed to kill the cookie
C when browser is closed, but I can't seem to make that happen.
Using 0 in the time slot does work for this, as long as the entire
browser process ends.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
someone with root access do it for you.
If you are saying that you didn't do it the first time and you don't
know how, then read the instruction manual or tutorial _very_ closely,
since it will be your first time.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach
not understand option c, then you must read the installation
manual or a tutorial to gain some insight into the power that is root,
in this case.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN
an error
before -- his system's failure to write the session -- the warning is
the output that is referenced afterwards. First error is the actual
problem.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
previously, so as to
ensure that values for the variables are all actually there, and being
passed to MySQL.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP
opening a file and writing a line, for inserting
a record into a db.
Plenty of examples in the manual. (ok, at least 1)
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
of
mysql_result()
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this kind of
JB install,
All the time. Never had a problem.
Tutorials here:
http://www.thickbook.com/extra/index.html?t=in
Installing MySQL on Windows is just an installer file. PHP is already
configured to use it; nothing extra needed.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED
in relation to your forms, you've made a
good first step.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net
=in
There are other installation tutorials in many places.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
://www.thickbook.com/extra/php_mysql.phtml)
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
mysql_error().
Any time a query fails.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
: enable_dl
Is it on in php.ini? Your error message would indicate that it is
not.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List
.
And then, do what steph said.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
did
with your version differences -- but don't jump all over us because
you haven't read the manual and have no idea about any idiosyncracies
for your specific OS/server/etc.
Lordy.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours
N Hello, I have a question: does anyone know how to divide MySQL results to
N pages and display on a website in 1 2 3 4 form?
Use LIMIT within your SELECT statement:
http://www.mysql.com/doc/S/E/SELECT.html
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the master.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
main page?
No. If using Apache, you can set the value of DirectoryIndex (in
httpd.conf) to index.php index.html index.whatever. You can have a
list of them. Apache will first look for the first name in the list,
and so on.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
.
That's all.
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
will this return the row number or the id fields value..?
FYI, you could:
a) try it and see
b) see what the manual has to say:
http://www.php.net/manual/en/function.mysql-insert-id.php
The answer is Gets the id generated from the previous INSERT
operation.
- Julie
-- Julie Meloni
-- [EMAIL
record.
I'm just going to assume you're f*cking with all of us and leave it at
that.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--
PHP General Mailing List
pegc ScriptAlias /php/ C:/Php/
pegc AddType application/x-httpd-php .php .phtml .html
pegc AddType application/x-httpd-php-source .phps
pegc Action application/x-httpd-php /Php/php.exe
Check for mismatched cases in httpd.conf.
Julie Meloni
[EMAIL
NF You appear to have a typo in your httpd.conf:
NF Action application/x-httpd-php /Php/php.exe
NF should be as follows: (note the )
NF Action application/x-httpd-php /Php/php.exe
This is not accurate.
Julie Meloni
[EMAIL PROTECTED]
PHP Essentials PHP Fast Easy
Files\Apache
pegc Group\Apache\htdocs/phpinfo.php on line 3
pegc when I tried the phpinfo test.
The function is phpinfo()
Julie Meloni
[EMAIL PROTECTED]
PHP Essentials PHP Fast Easy
--- www.thickbook.com ---
--
PHP General Mailing List (http://www.php.net
whitespace and line breaks, etc.
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
--
PHP General 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
://www.php.net/manual/en/ref.session.php
LXXVIII. Session handling functions
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
at
all. I contributed some chapters to a very basic how to work with
Flash book, but it has nothing to do with PHP.
Sorry for any confusion.
- Julie
++
| Julie Meloni ([EMAIL PROTECTED]) |
||
| PHP Essentials
er there for $200/mo
(www.mytrainingcamp.com) and am ecstatic about it.
So, go Hurricane!
- Julie
+----+
| Julie Meloni ([EMAIL PROTECTED]) |
||
| "PHP Essentials" and "PHP Fast Easy&
45 matches
Mail list logo