[PHP] Re: changing session name

2002-09-09 Thread Luke Welling
> I want to change the default session name 'PHPSESSID' to say ex. 'seid'. > > How can I do this without editing to the php.ini since I'm having a site on > a virtual host. Try putting this at the start of your scripts: ini_set ('session.name'

Re: [PHP] Upload Progress

2002-09-09 Thread Luke Welling
an argument for ASP? HTTP has no way of tracking file upload progress, no matter what scripting language you are using. Luke Welling. -- PHP and MySQL Web Development by Luke Welling and Laura Thomson http://www.amazon.com/exec/obidos/ASIN/0672317842/tangledwebdesign -- PHP General Mailing L

Re: [PHP] Got another ripper for you all ;-)

2002-08-15 Thread Luke Welling
> trim($ulist[1]); You mean: $ulist[1] = trim($ulist[1]); Trim() returns a modifies copy of the string. It does not alter the original. A lot of the string functions work like that. Luke Welling -- PHP and MySQL Web Development by Luke Welling and Laura Thomson http://www.amazon.com/e

Re: [PHP] Which costs more: connecting to a DB or accessing the file system?

2002-06-25 Thread Luke Welling
handle some of the harder parts for you. It really does depend exactly what you are trying to do with your database or file. Cheers, Luke Welling -- PHP and MySQL Web Development by Luke Welling and Laura Thomson http://www.amazon.com/exec/obidos/ASIN/0672317842/tangledwebdesign -- PHP Genera

[PHP] Re: Reporting the size of a file/directory on the web server. 820420

2002-03-15 Thread Luke Welling
calculate the approximate download time for > different connection types. > > Is there a way do this? If so I thank you in advance > for the help. http://www.php.net/filesize Luke Welling -- PHP and MySQL Web Development Luke Welling and Laura Thomson http://www.amazon.com/

[PHP] Re: What permissions for uploading?

2002-03-15 Thread Luke Welling
permissions on both the folder you want to copy the uploaded file to and the temp directory that it needs to go to first? Luke Welling -- PHP and MySQL Web Development Luke Welling and Laura Thomson http://www.amazon.com/exec/obidos/ASIN/0672317842 -- PHP General Mailing List (http://www.php.n

[PHP] Re: Sorting in php

2002-03-15 Thread Luke Welling
"Uma Shankari T." wrote: > Can anyone please tell me is there any function in php for sorting in > which the contents are stored in array Have you seen sort(), arsort(), asort(), ksort(), natsort(), natcasesort(), rsort(), usort(), array_multisort(), or uksort()? Luke We

[PHP] Re: Anyone Up?

2002-01-31 Thread Luke Welling
ho $varname; > if ($varname) > echo "$varname = $i"; > } In that case it is easy, I did not know that the ids were just 1 to 12, I thought they could be anything spat out by the database. How about something like this: for ($i = 1; $i <= $NMax; $i++) { $varname = "Ch

[PHP] Re: Anyone Up?

2002-01-31 Thread Luke Welling
ys I can think of. 1) You could change the way that your code creates the checkbox names, so that rather than getting 12 variables, you get an array with 12 elements. 2) You could repeat your MySQL query on the echo page, and loop though code something like this: $varname = "Check".$mydat

[PHP] Re: a piece of PHP history

2001-12-12 Thread Luke Welling
&as_mind=17&as_minm=5&as_miny=1981&as_m axd=12&as_maxm=12&as_maxy=1995&rnum=2&selm=3r7pgp%24aa1%40ionews.io.org You can send email to [EMAIL PROTECTED] to try to convince them to add it as an important historical post to their timeline at: http://www.google.com/google

[PHP] Re: Sorry, i need HTML help

2001-08-29 Thread Luke Welling
n off topic question to an already busy mailing list. Luke Welling. -- 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 PROTECTED]

Re: [PHP] Week Number

2001-06-29 Thread Luke Welling
""Matt "TrollBoy" Wiseman"" <[EMAIL PROTECTED]> wrote: > Does know of anyway to get PHP to return the week number? > As in there are 52 weeks in a year and this is week x? > If there is no internal feature, perhaps something built into PHPLib? How

Re: [PHP] A question on how to get the root directory

2001-05-13 Thread Luke Welling
r. To see a list of the predefined constants, look at the output of the function phpinfo(). You will be able to see from what they are set to which ones you want to use. Cheers, Luke Welling ------ PHP and MySQL Web Development by Luke Welling and Laura Thomson http://www.amazon.com

Re: [PHP] Old PHP.net website..

2001-05-10 Thread Luke Welling
""Ender"" <[EMAIL PROTECTED]> wrote: > Does anyone remember the previous php.net website where you would hold > your cursor over a menu bar and it would pop up info? Does anyone know > how to do that or where the script for it is? See http://www.php.net/FAQ.php#13.1 -- PHP General Mailing L

Re: [PHP] updating flash file with php

2001-05-07 Thread Luke Welling
index.php?p=slides%2Fintro&id=ac2 Cheers, Luke Welling -- PHP and MySQL Web Development by Luke Welling and Laura Thomson http://www.amazon.com/exec/obidos/ASIN/0672317842/tangledwebdesign -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Refreshing multiple frames?

2001-05-07 Thread Luke Welling
retty sure there is an example at www.htmlgoodies.com. Cheers, Luke Welling -- PHP and MySQL Web Development by Luke Welling and Laura Thomson http://www.amazon.com/exec/obidos/ASIN/0672317842/tangledwebdesign -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Re: [PHP] PostgreSQL vs. Interbase

2001-05-07 Thread Luke Welling
t the current open source version is available from: http://www.borland.com/devsupport/interbase/opensource/ Ongoing "certified" versions with Borland support will be available from somewhere on borland.com for a price and any future open source versions will be available from SourceFo

Re: [PHP] Book Question - PHP and MySQL Web Development

2001-05-07 Thread Luke Welling
Egon Wrote: > On Tue, May 08, 2001 at 01:24:02AM +1000, Luke Welling wrote: > > > I was wondering if anybody out there who has a copy of my book has found any > > errors. > > > > If you have noticed any errors in "PHP and MySQL Web Development" by Luke &

Re: [PHP] PostgreSQL vs. Interbase

2001-05-07 Thread Luke Welling
ly has better documentation than PostgreSQL from their respective primary sources, but you will find a *lot* more documentation on using PHP with PostgreSQL than with Interbase. Where PHP examples and documentation is database specific, it is mostly MySQL, some PostgreSQL, some Oracle and very little of a

[PHP] Book Question - PHP and MySQL Web Development

2001-05-07 Thread Luke Welling
Hi all, I was wondering if anybody out there who has a copy of my book has found any errors. If you have noticed any errors in "PHP and MySQL Web Development" by Luke Welling and Laura Thomson, and have a second, could you drop me an email? I don't think there will be too ma

Re: [PHP] Is it possible?

2001-03-26 Thread Luke Welling
ssbrowser reliability will send you spiralling into JavaScript Hell. Luke Welling. -- 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 PROTECTED]

Re: [PHP] PHP & MYSQL BOOKS

2001-03-20 Thread Luke Welling
It is $39.95 at barnesandnobel.com and at fatbrain.com. That GST is a killer. It will probably have an RRP around $110 here in Australia too. Cheers, Luke Welling. ""YoBro"" <[EMAIL PROTECTED]> wrote in message 995r3k$poh$[EMAIL PROTECTED]">news:995r3k$poh

Re: [PHP] PHP & MYSQL BOOKS

2001-03-19 Thread Luke Welling
ins all the advanced features of PHP4 > and MySql as a compliment. I can't give you an unbiased opinion on whether it is good or not, but you might like to look at "PHP and MySQL Web Development" by Luke Welling and Laura Thomson. Here is a link to it on Amazon. http://www.amaz