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
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
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
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
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
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
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
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
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
=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
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]
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
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
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
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
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
=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
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
, 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
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
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]
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
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
23 matches
Mail list logo