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
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
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
[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
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
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
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
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
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
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
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
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
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['
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
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
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?
>
>
"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
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
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"
"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
* 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
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
[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
"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
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
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/)
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
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
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
--- 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
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'];
* 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
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
--- 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
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
--- 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
36 matches
Mail list logo