[PHP] Re: changing session name

2002-09-10 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', 'seid'); Luke Welling. -- PHP and MySQL Web

Re: [PHP] Upload Progress

2002-09-09 Thread Luke Welling
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 List (http://www.php.net/) To unsubscribe, visit: http

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/exec

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

2002-06-25 Thread Luke Welling
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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[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 Welling -- PHP

[PHP] Re: What permissions for uploading?

2002-03-15 Thread Luke Welling
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.net/) To unsubscribe, visit

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

2002-03-15 Thread Luke Welling
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/exec/obidos/ASIN/0672317842 -- PHP General Mailing List (http://www.php.net

[PHP] Re: Anyone Up?

2002-01-31 Thread Luke Welling
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.$mydata-id; echo $$varname; Good Luck. Luke Welling

[PHP] Re: Anyone Up?

2002-01-31 Thread Luke Welling
e) echo $varname = $ibr; } 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 = Check.$i if (isset($$varname) echo $$varname.br; } Luke

[PHP] Re: a piece of PHP history

2001-12-12 Thread Luke Welling
=12as_maxm=12as_maxy=1995rnum=2selm=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/googlegroups/archive_announce_20.html Luke Welling -- PHP and MySQL Web Development

[PHP] Re: Sorry, i need HTML help

2001-08-29 Thread Luke Welling
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-30 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 about: intval( date(z)/7 ); Luke Welling --- PHP

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

2001-05-13 Thread Luke Welling
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/exec/obidos/ASIN/0672317842/tangledwebdesign -- PHP

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 List

Re: [PHP] PostgreSQL vs. Interbase

2001-05-07 Thread Luke Welling
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 SourceForge. Cheers, Luke Welling -- PHP and MySQL Web

Re: [PHP] Refreshing multiple frames?

2001-05-07 Thread Luke Welling
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: [EMAIL PROTECTED

Re: [PHP] updating flash file with php

2001-05-07 Thread Luke Welling
=slides%2Fintroid=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] For additional

[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 many, but I would like

Re: [PHP] PostgreSQL vs. Interbase

2001-05-07 Thread Luke Welling
, 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 any other. Cheers, Luke Welling -- PHP General Mailing List (http

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 Welling and Laura Thomson, and have a second, could

Re: [PHP] Is it possible?

2001-03-26 Thread Luke Welling
sbrowser 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$[EMAIL PRO

Re: [PHP] PHP MYSQL BOOKS

2001-03-19 Thread Luke Welling
s 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.amazon.com/exec/obidos/ASIN/0672317842 although y