Re: [PHP] Changing maximum upload file size

2004-05-23 Thread Rachel Rodriguez
--- Matt Palermo <[EMAIL PROTECTED]> wrote: > Does this allow you to work with larger files than > the maximum specified in > the php.ini or just smaller ones? > > Thanks, > > Matt Palermo > http://sweetphp.com The max specified in the php.ini are the largest size you can upload regardless of w

Re: [PHP] Changing maximum upload file size

2004-05-23 Thread Matt Palermo
Does this allow you to work with larger files than the maximum specified in the php.ini or just smaller ones? Thanks, Matt Palermo http://sweetphp.com "Rachel Rodriguez" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > --- Matt Palermo <[EMAIL PROTECTED]> wrote: > > Is there a wa

Re: [PHP] Changing maximum upload file size

2004-05-23 Thread Rachel Rodriguez
--- Matt Palermo <[EMAIL PROTECTED]> wrote: > Is there a way to change the maximum file upload > size in a PHP script? Kind > of like the way you can change the error reporting > in a script, but I just > want to adjust the max file upload size. Does > anyone know if this can be > done? The PHP

[PHP] Changing maximum upload file size

2004-05-23 Thread Matt Palermo
Is there a way to change the maximum file upload size in a PHP script? Kind of like the way you can change the error reporting in a script, but I just want to adjust the max file upload size. Does anyone know if this can be done? Thanks, Matt Palermo http://sweetphp.com -- PHP General Mailing

Re: [PHP] Help w/ PHP Sessions

2004-05-23 Thread Curt Zirzow
* Thus wrote Justin Kozuch ([EMAIL PROTECTED]): > Hi All, > > ... > > Here is the code that I have on the login form, called index.php > > > mysql_select_db($database_verspeeten, $verspeeten); > $query_rs_authlevel = "SELECT tbl_users.id_authlevel FROM tbl_users"; > $rs_authlevel = mysql_query

Re: [PHP] mySQL table output...

2004-05-23 Thread Rachel Rodriguez
My apologies, I accidentally clicked some key combination in Yahoo that sent off my message before I finished. Here we go again: while ($row = mysql_fetch_array($sql_result)) { $col_1 = $row['column1']; $col_2 = $row['column2']; $col_3 = $row['column3']; $val_1 = $row['value1'];

Re: [PHP] mySQL table output...

2004-05-23 Thread Rachel Rodriguez
--- Russell P Jones <[EMAIL PROTECTED]> wrote: > I just want to print out a table from mySQL. Thats > it. into an html table. > > Column 1 | Col 2 | Col 3 > - > Val 1| val 2 | val 3 > Val 4| val 5 | val 6 > > > any ideas on how to do this? Sure, this is a fai

[PHP] mySQL table output...

2004-05-23 Thread Russell P Jones
I just want to print out a table from mySQL. Thats it. into an html table. Column 1 | Col 2 | Col 3 - Val 1| val 2 | val 3 Val 4| val 5 | val 6 any ideas on how to do this? Russ Jones -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] Help w/ PHP Sessions

2004-05-23 Thread Justin Kozuch
Hi All, I am creating an admin panel for a client, and part of the panel uses a menu system that, depending on the logged-in user's authorization level, displays certain menu items. Here is the code that I have on the login form, called index.php mysql_select_db($database_verspeeten, $verspeet

Re: [PHP] How to insert, change and remove fields like Enum

2004-05-23 Thread Don Read
On 21-May-2004 Andre wrote: > > Hello... > Someone now or have script's about insert, change and remove fields > like Enum in one table. > Thanks . > For sets (Emum should be similar) : function getsetvalues($tbl, $fld) { global $dbconn; $search=array('set(', ')', "'"); $qry="S

[PHP] DOM XML output whitespace

2004-05-23 Thread Dan Phiffer
Hello, Is there a way to get DOM XML to insert human-friendly whitespace between elements created programmatically? I'm using PHP 5 these days, so I guess I'm looking for some way to tell a DomDocument to prettify its save() output. Thanks! -Dan -- PHP General Mailing List (http://www.php.net/)

[PHP] Re robi: Re:[PHP] Is there any good examples of PHPLIB?

2004-05-23 Thread phplist
Hi~robi! Thank you,troby,my friend! With your guidance I found first time that PEAR is a very good coding tool which I'd like to learn later.But my server provider do not have it;fortunately,I overcomed the difficultys of PHPLIB by debugging and testing yesterday. To respond you

[PHP] Re: sessions

2004-05-23 Thread Torsten Roehr
"Maarten Weyn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It worked for 5 minutes after a reboot, but now i get the same problem > > what happens is that on every session_start(); > a new sessid is created how comes it doesn't use the old one Haven't followed this thread yet. Ar

Re: [PHP] sessions

2004-05-23 Thread Martin Geisler
[EMAIL PROTECTED] (Richard Davey) writes: > Perhaps - imagine how many scripts out there would break if it did > :) (not that I'd care, I code exclusively with E_ALL) > > Actually, doesn't PHP5 do this? The following test gives just one 'Notice: Use of undefined constant foo...' message when I ru

[PHP] Re: sessions

2004-05-23 Thread Maarten Weyn
It worked for 5 minutes after a reboot, but now i get the same problem what happens is that on every session_start(); a new sessid is created how comes it doesn't use the old one "Maarten Weyn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > All my session_start() calls wer

Re: Re[2]: [PHP] sessions

2004-05-23 Thread Curt Zirzow
* Thus wrote Maarten Weyn ([EMAIL PROTECTED]): > it works back after a reboot What works how after what is booted when? Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: How to display all keys in a multi-dim array?

2004-05-23 Thread Torsten Roehr
"Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Torsten, > > Sunday, May 23, 2004, 6:44:08 PM, you wrote: > > >> $array = array(); > >> $array['a'] = "1"; > >> $array['a']['b'] = "2"; > >> $array['a']['b']['c'] = "3"; > >> $array['a']['b']['c']['d'] = "4"; > > TR

Re: [PHP] Re: How to display all keys in a multi-dim array?

2004-05-23 Thread Richard Davey
Hello Torsten, Sunday, May 23, 2004, 6:44:08 PM, you wrote: >> $array = array(); >> $array['a'] = "1"; >> $array['a']['b'] = "2"; >> $array['a']['b']['c'] = "3"; >> $array['a']['b']['c']['d'] = "4"; TR> Could you describe a bit more in detail what you mean with "based on search TR> result for 4"

[PHP] apache suexec, CGI PHP and filesystem stuff

2004-05-23 Thread Peter Risdon
I posted a few days ago about problems with filesystem commands like copy(), move_uploaded_file(), backticked shell commands and so on while using CGI PHP under apache suexec. It seems that these only work in directory trees starting in the directory in which the script itself resides. So if th

[PHP] Re: How to display all keys in a multi-dim array?

2004-05-23 Thread Torsten Roehr
"Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I am trying to work out how to display all of the keys in a > multi-dimensional array (not their values). For example: > > $array = array(); > $array['a'] = "1"; > $array['a']['b'] = "2"; > $array['a']['b']['c

Re: Re[4]: [PHP] sessions

2004-05-23 Thread Maarten Weyn
no i cleaned the /tmp dir, now the problem occurs again "Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Maarten, > > Sunday, May 23, 2004, 4:13:27 PM, you wrote: > > MW> it works back after a reboot > MW> but does anybody know how it could have happened? > >

[PHP] How to display all keys in a multi-dim array?

2004-05-23 Thread Richard Davey
Hi all, I am trying to work out how to display all of the keys in a multi-dimensional array (not their values). For example: $array = array(); $array['a'] = "1"; $array['a']['b'] = "2"; $array['a']['b']['c'] = "3"; $array['a']['b']['c']['d'] = "4"; What I need is to be able to somehow print out

Re[4]: [PHP] sessions

2004-05-23 Thread Richard Davey
Hello Maarten, Sunday, May 23, 2004, 4:13:27 PM, you wrote: MW> it works back after a reboot MW> but does anybody know how it could have happened? Maybe your temp directory got full? Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I am not young enough

[PHP] Re: sessions

2004-05-23 Thread Maarten Weyn
it works back after a reboot but does anybody know how it could have happened? "Maarten Weyn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > All my session_start() calls were working fine. > But since yesterday the vars i use does not keep there value > i use $_SESSION['

Re: Re[2]: [PHP] sessions

2004-05-23 Thread Maarten Weyn
it works back after a reboot but does anybody know how it could have happened? "Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Jeroen, > > Sunday, May 23, 2004, 4:00:46 PM, you wrote: > > >> Should username have quote around it? Wouldn't it try to make it a co

Re[3]: [PHP] sessions

2004-05-23 Thread Richard Davey
Hello Jeroen, Sunday, May 23, 2004, 4:05:12 PM, you wrote: >> It cares enough to raise a script Warning ;) JS> That's true, but it should be giving an error instead of a warning imho ;-) Perhaps - imagine how many scripts out there would break if it did :) (not that I'd care, I code exclusively

Re[2]: [PHP] sessions

2004-05-23 Thread Jeroen Serpieters
On Sun, 23 May 2004, Richard Davey wrote: > > It cares enough to raise a script Warning ;) > That's true, but it should be giving an error instead of a warning imho ;-) -- Jeroen Anybody who thinks a little 9,000-line program [Java] that's distributed free and can be cloned by anyone is going

Re[2]: [PHP] sessions

2004-05-23 Thread Richard Davey
Hello Jeroen, Sunday, May 23, 2004, 4:00:46 PM, you wrote: >> Should username have quote around it? Wouldn't it try to make it a constant >> otherwise? >> echo $_SESSION['username'] JS> Unfortunately, imho, php doesn't seem to care that much in such cases ;-) JS> $_SESSION[username] will have

Re: [PHP] sessions

2004-05-23 Thread Jeroen Serpieters
On Sun, 23 May 2004, Daniel Clark wrote: > > Should username have quote around it? Wouldn't it try to make it a constant > otherwise? > > echo $_SESSION['username'] > Unfortunately, imho, php doesn't seem to care that much in such cases ;-) $_SESSION[username] will have the same result as $_SE

Re: [PHP] sessions

2004-05-23 Thread Daniel Clark
Should username have quote around it? Wouldn't it try to make it a constant otherwise? echo $_SESSION['username'] >>Hi, >> >>All my session_start() calls were working fine. >>But since yesterday the vars i use does not keep there value >>i use $_SESSION['varname'] >> >>Nothing has been changed

[PHP] sessions

2004-05-23 Thread Maarten Weyn
Hi, All my session_start() calls were working fine. But since yesterday the vars i use does not keep there value i use $_SESSION['varname'] Nothing has been changed to the server normally, but on all my sites it does work anymore i think the problem is that when i use session_start() and then fo

[PHP] mod_php + oracle

2004-05-23 Thread André Ventura Lemos
Though I have: OCI8 Supportenabled Revision$Revision: 1.183.2.12 $ Oracle Version 10.1 Compile-time ORACLE_HOME/opt/oracle/product/10.1.0/db_1 Libraries Used no value and '--with-oci8=/opt/oracle/product

[PHP] Re: Random Record Retrieval

2004-05-23 Thread Martin Geisler
[EMAIL PROTECTED] (Robb Kerr) writes: > How's that for alliteration in a subject line? Very nice! :-) > [...] And, if this is the best way to go, unfortunately I don't > know how to write a random number generator in PHP so would > appreciate any help. Your idea sounds good, and luckily you do

Re: [PHP] Using php to modify a css file

2004-05-23 Thread Jednorozec Pokojowiec
On Sun, 23 May 2004 01:19:44 -0400 (EDT), [EMAIL PROTECTED] (Michal Migurski) wrote: >> Without a > not shouldn't make any difference -- but it does. > >It will only make a difference if the HTTP response from the server is >different somehow -- contains junk, wrong headers, that sort of thing. Th

Re: [PHP] Is there any good examples of PHPLIB?

2004-05-23 Thread robi
Da Su 23. May 2004 10:07 dsx wrote: > Is there any good examples of PHPLIB?I can only write very simple > programs of PHPLIB,but when the functions and classes added, I cannot hold > it.So I'd like to learn some code examples of it,who can provide me some or > a website about it? Thank you in

[PHP] Is there any good examples of PHPLIB?

2004-05-23 Thread dsx
Is there any good examples of PHPLIB?I can only write very simple programs of PHPLIB,but when the functions and classes added, I cannot hold it.So I'd like to learn some code examples of it,who can provide me some or a website about it? Thank you in advance. -- PHP General Mailing