Re[4]: [PHP] Cannot enable extensions. Why?

2002-07-05 Thread Julie Meloni
hat's _definitely_ my fault. Uh huh. The list is here to help, and point in the right direction, as Steph 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. Lor

Re[2]: [PHP] Cannot enable extensions. Why?

2002-07-05 Thread Julie Meloni
use the dl() function. 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 (h

Re: [PHP] Cannot enable extensions. Why?

2002-07-05 Thread Julie Meloni
t.extension Extension Loading Directives: 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/

Re[2]: [PHP] Re: I am probably dumb but why isn't this inserting stuffinto my DB?

2002-07-05 Thread Julie Meloni
ourself at the mysql command line. >> >> 2) print 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/thickbo

Re: [PHP] V basic newbie problem

2002-07-03 Thread Julie Meloni
in tutorials abound. (including here: http://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

Re: [PHP] upgrading php...

2002-07-02 Thread Julie Meloni
tp://www.thickbook.com/extra/index.html?t=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/thickboo

Re: [PHP] Register globals off

2002-07-01 Thread Julie Meloni
you just start with understanding the $_POST and $_GET superglobals 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/ex

Re: [PHP] Win98, Apache, PHP Config Problem

2002-07-01 Thread Julie Meloni
ne ever done 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 --

Re: [PHP] what is wrong with this simple query?

2002-06-24 Thread Julie Meloni
. If you do not use AS to make an alias, then you use max(id) as the third parameter 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/t

Re[2]: [PHP] is there a way to track downloads

2002-06-23 Thread Julie Meloni
titute 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/ex

Re[2]: [PHP] UPDATE mysql

2002-06-22 Thread Julie Meloni
The user should echo the query as suggested 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 ht

Re: [PHP] array_reverse

2002-06-22 Thread Julie Meloni
id DESC - 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

Re[2]: [PHP] some one PLEASE help me!

2002-06-21 Thread Julie Meloni
htdocs/cp/login.php on line 45 Actually, it's not (but good helping!). Because there's 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 --> [EMA

Re: [PHP] RE4: Update PHP

2002-06-16 Thread Julie Meloni
u explain me a little bit more, how to do ? To which I will respond, albeit "classically", that you could: a) read the installation manual or b) read a tutorial or c) read previous email message, which says to run the configure command, then make, then make install, which will put the modu

Re[2]: [PHP] Update PHP

2002-06-16 Thread Julie Meloni
ot access, then you have to have 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 --> [

Re: [PHP] Update PHP

2002-06-16 Thread Julie Meloni
part, just the PHP building part. Good luck! - 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

Re[2]: [PHP] Can't set a cookie? [SOLVED]

2002-06-16 Thread Julie Meloni
n altered in the 2nd edition of the book. 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 proces

Re: [PHP] Can't set a cookie?

2002-06-15 Thread Julie Meloni
"0" instead of "". Or, time()+somenum (not in quotes). - 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 -- PH

Re: [PHP] massive find/replace on MySQL db

2002-06-15 Thread Julie Meloni
that doesn't work well, then I'd probably dump the data, run it through a string replacing 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

Re[2]: [PHP] session problems....

2002-06-14 Thread Julie Meloni
n't. But please don't say that it's wrong to do so. That's 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/exe

Re: [PHP] ucwords() usage QUICKIE

2002-06-14 Thread Julie Meloni
t being said, I'm not sure what you are trying to do anyway. ucwords() upper-cases the first letter of words in a string. (http://www.php.net/manual/en/function.ucwords.php) such as: $string = "this is a test"; $newstring = ucwords($string); echo $newstring // This Is A Test - Julie -->

Re[3]: [PHP] sessions help

2002-06-13 Thread Julie Meloni
headers already sent (output >>LD> started 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. T

Re: [PHP] truncating dilema

2002-06-13 Thread Julie Meloni
length) NW> I will use substr() 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 --&

Re[2]: [PHP] sessions help

2002-06-13 Thread Julie Meloni
7) LD> in c:\program 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.thi

Re: [PHP] Newbie ? on sessions

2002-06-13 Thread Julie Meloni
article2." Easy enough, if you have tables 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

Re: [PHP] Help! authorization question...

2002-06-13 Thread Julie Meloni
tutorial. - 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

Re[2]: [PHP] Parse an email message for content

2002-06-10 Thread Julie Meloni
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 -- PH

Re[2]: [PHP] A small question - Mysql_insert_id

2002-06-01 Thread Julie Meloni
of the just inserted 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/067

Re: [PHP] A small question - Mysql_insert_id

2002-06-01 Thread Julie Meloni
%d\n", mysql_insert_id());" r> 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 previ

[PHP] mail clients (was: [PHP] fdup & Pipes?)

2002-05-30 Thread Julie Meloni
agehead's Personal MailClient 2000, or pine. 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 L

Re: [PHP] .php extension

2002-05-28 Thread Julie Meloni
ave any php in my 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 --&

Re: [PHP] while loop question - problem (new set of eyes needed)

2002-05-19 Thread Julie Meloni
R>$html .= " $concentration $concunit $compname"; LPR> } LPR> You are re-assigning the value of $row within the while construct. When you get to your query within the while chunk, use different variable names than the "m

Re: [PHP] Why would this command just Die!

2002-05-19 Thread Julie Meloni
your die message with die(mysql_error()) you will probably see a very helpful error message such as "no database selected" or "hey buddy, not connected". - 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

Re: [PHP] MySQL results

2002-04-26 Thread Julie Meloni
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.

Re: [PHP] MySQL - UPDATE & INSERT

2002-04-05 Thread Julie Meloni
150 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.am

Re: [PHP] General info about sessions?

2001-09-16 Thread Julie Meloni
ssions in general. http://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 additi

Re: [PHP] cookie error

2001-09-08 Thread Julie Meloni
utput. "output" includes 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 conta

Re[2]: [PHP] PHP/Apache configuration for Win NT

2001-08-22 Thread Julie Meloni
ndefined function: info() in C:\Program 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"

Re[2]: [PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread Julie Meloni
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] "

Re: [PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread Julie Meloni
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

Re: [PHP] php and flash 5 books?

2001-06-20 Thread Julie Meloni
that deals with PHP and Flash 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]) | |

Re: [PHP] Help running PHP on Apache and Windows 98

2001-04-02 Thread Julie Meloni
; ScriptAlias /php/ "C:/php/" > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps you need an Action line. Action application/x-httpd-php /php/php.exe +--------+ | Julie Meloni ([EMAIL PROTECTED]) | |

Re: [PHP] PHP Verbindung zu mysql

2001-03-21 Thread Julie Meloni
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

[PHP] a good hosting experience

2001-02-21 Thread Julie Meloni
dedicated server there for $200/mo (www.mytrainingcamp.com) and am ecstatic about it. So, go Hurricane! - Julie +--------+ | Julie Meloni ([EMAIL PROTECTED]) | || | "PHP Essentials" and "P

Re: [PHP] Installation on win32

2001-02-13 Thread Julie Meloni
the time. Swear. > Now, when I load this in my browser, I see this as the source, but nothing > displays on the page. Anybody recognize this? Can anybody point me in the > right direction? -- +----+ | Julie

Re: [PHP] Session With Cookies

2001-02-04 Thread Julie Meloni
t; In case of login/password required sites, I use the login and password as > 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

[PHP] Re: [PHP-DB] Easy MySQL question

2001-01-11 Thread Julie Meloni
= mysql_result($result); > echo $myrow; > $myrow = mysql_result($result,0,"count(*)"); -- ++ | Julie Meloni ([EMAIL PROTECTED]) | | Tech. Director, i2i Interactive (www.i2ii.com) | |

Re: [PHP] Sessions

2001-01-10 Thread Julie Meloni
ess you have a directory called /tmp on your Windows machine. +----+ | Julie Meloni ([EMAIL PROTECTED]) | | Tech. Director, i2i Interactive (www.i2ii.com) | || | "PHP Essent