Hello everybody,
can anyone explain to me, why I can't resize an array inside a class?
Sample Code:
Output:
Parse error: parse error, unexpected '(', expecting ',' or ';' in
/srv/www/htdocs/stundenplan/stpoo.php on line 4
Thanks,
Dirk
--
PHP General Ma
Well, doesn't work either:
Parse error: parse error, unexpected T_VARIABLE, expecting T_FUNCTION
in /srv/www/htdocs/stundenplan/stpoo.php on line 5
I forgot to mention that I'm using php-5.0.1 before
Dirk
On Fri, 10 Sep 2004 14:26:22 -0400, John Holmes
<[EMAIL PROTECTED]> wrot
Works fine within the constructor, thanks.
Dirk
On Fri, 10 Sep 2004 14:38:45 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> From: "dirk" <[EMAIL PROTECTED]>
> >> Try this:
> >> var $input = array(1,2,3);
> >> var $input2 = array();
> >&g
turn
statement. In german you call this "Prozedur". Don't know if it's the
same as procedure in english. But you will call this piece to see some output.
Dirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try it with escaped qutation marks (\")
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
call of your website. It's too early in the
morning for details (I just stood up), but if you have questions about
realization please ask.
Dirk.
On Fri, 01 Oct 2004 15:45:54 +0200, -{ Rene Brehmer }-
<[EMAIL PROTECTED]> wrote:
> At 10:31 01-10-2004, Graham Cossey wrote:
> >
$REMOTE_ADDR == "212.3.54.65" || $REMOTE_ADDR == "212.3.54.66" is correct
On Sun, 3 Oct 2004 12:39:11 +0100, Graham Cossey <[EMAIL PROTECTED]> wrote:
>
> ||= OR
> && = AND
>
>
>
> -Original Message-
> From: argesson [mailto:[EMAIL PROTECTED]
> Sent: 03 October 2004 11:30
> To: [EMAIL
een "America/Chicago" and "Europe/Berlin"
while "date.timezone" stays "Europe/Sweden" all the time...
Dirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot;America/Chicago" and "Europe/Berlin"
while "date.timezone" stays "Europe/Sweden" all the time...
Dirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Rixham wrote:
Dirk wrote:
Hello,
what could cause the timezone in PHP to, randomly, jump back and forth
6 hours now and then?
from phpinfo():
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Defaul
Nathan Rixham wrote:
Dirk wrote:
Nathan Rixham wrote:
Dirk wrote:
Hello,
what could cause the timezone in PHP to, randomly, jump back and
forth 6 hours now and then?
from phpinfo():
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezon
Nathan Rixham wrote:
Dirk wrote:
Nathan Rixham wrote:
Dirk wrote:
Hello,
what could cause the timezone in PHP to, randomly, jump back and
forth 6 hours now and then?
from phpinfo():
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezon
t",$dbh)
or die("Could not select first_test");
if (mysql_query("insert into people values('5','Hazel','Burger')")) {
print "successfully inserted record";
}
else {
print "Failed to insert record";
}
mysql_c
Thilo Klein wrote:
Dear readers,
I am new to relational DB but not to MySQL & PHP in general. I
created a RDB using Powerdesigner. Struggling with the program's
complexity I managed to create a set of databases being interconnected
via (foreign) keys.
What I want to know is how to use
Same applies here using
XP pro SP1, apache 1.3.27
no dll will load even if the extensions path is set to the correct dir
in this case
J:\php-4.3.0\extensions - where they reside
dirk
On Sun, 29 Dec 2002 14:38:51 -, [EMAIL PROTECTED] (Rui Costa) wrote:
> hi,
>
> Windows XP, Apac
Am Dienstag, 15. Juli 2003 14:39 schrieb bob pilly:
> Can i declare an array that doesnt have a fixed size? Basically i want to
> assign the results of a query to the array but obviously the query results
> can change. Something along the lines of:
$myarray= array();
> while($temp=mssql_fetch_arr
se an audience into the
world of content management
I recently incorporated it in a homegrown Content Management System and
am very happy with it... As always everything depends on the
knowledgeability of your userbase...
Hope this helps,
Dirk Maetens
--
PHP General Mailing List (http://www.php.net
Hi all,
the httpd - Process on my linux-box exits (no segfault)
when executing the following simple script with php 4.2.3.
I don't get the expected error message ( something like
'Allowed memory size of 512000 bytes exhausted').
=[test Script]===
[end of Script]==
some client side script to produce the differences.
Does anyone know if there is a better way to do this?
Thanks,
Dirk.
site...
HTH & good luck with the project,
dirk
ps: I welcome any insights you might gather on implementing template inheritance
without the need for includes (by any means), as I will be facing a similar
conversion project in the opening weeks of 2004.
--
PHP General Mailing List (http://ww
Hello list,
Simple Enough Objective: store file remotely (wu-ftp);
MinorSnag: PHP's ftp-functions unavailable at localhost;
BelowWorkaround: works fine for deleting remote file;
MajorSnag: how to STORE a file remotely using socket?
BTW: I also messed with fopen("ftp://user:pass@...";) but fail
Hello list,
Simple Enough Objective: store file remotely (wu-ftp);
MinorSnag: PHP's ftp-functions unavailable at localhost;
BelowWorkaround: works fine for deleting remote file;
MajorSnag: how to STORE a file remotely using socket?
BTW: I also messed with fopen("ftp://user:pass@...";) but fail
Hello list,
Simple Enough Objective: store file remotely (wu-ftp);
MinorSnag: PHP's ftp-functions unavailable at localhost;
BelowWorkaround: works fine for deleting remote file;
MajorSnag: how to STORE a file remotely using socket?
BTW: I also messed with fopen("ftp://user:pass@...";)
but fail
ub\blabla\pages\news\admin\publish.php on line
17
I gave writing permission to the directory \data\ but it doesn't work. Can
you tell me please, what i have to do!
Tanks a lot
Dirk Ritters
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
PROTECTED] would be nice)
Thanks.
--
Dirk Maetens
Belgium
--
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]
, you must reconfigure and install
php,
good luck,
Dirk
Am Dienstag, 15. MÃrz 2005 14:00 schrieb Steven Sher:
> Can someone please help me configure php. I have installed php on SUSE
> 9.2 by default it loads php with session support disabled how do I
> enable it, I know I am supposed to
Here:
http://www.zend.com/php5/
Am Sonntag, 24. Oktober 2004 21:01 schrieb Michael Lauzon:
> Where can I find detailed PHP5 tutorials, but written for the
> beginner...they must be online tutorials as I cannot afford any
> computer books at the moment?!
>
> --
> Michael Lauzon
> http://phantasyr
I found this one very usefull:
http://shiflett.org/php-security.pdf
You should anyway start at:
http://php.net/security/
good luck,
Dirk
Am Dienstag, 26. Oktober 2004 13:44 schrieb Nick Wilson:
> Hello all,
>
> I was wondering if anyone might have suggestions or useful links on
>
sablot' '--with-iconv' '--with-mm'
'--enable-dba'
Both PHP versions reside in different directories and use different php.ini's.
To use PHP5 i simply put a .htaccess file like this in the root of the
php5-project-directory:
Action php5-script /cgi-php5
hey :)
i use for this reason:
for($i= 0, $size= sizeof($arr); $i < $size; $i++) {
echo $arr[$i];
}
Peter Lauri:
> Best groupmember,
>
> For the moment when I loop an array I use something like this:
>
> reset($arr);
> while($a=each($arr)) {
> echo $a['value'];
> }
>
> But the each() functi
Hey again :)
Peter Lauri:
> But what if the array have a unordered keystructure? What your loop do is
> to call the value with key $i, or am I wrong? What if the keys are strings?
$arr= array(1 => "dirk", 'wife' => "iris", 'dog' => &qu
n and i must
commit: He does his job on it very,very well :)
So in one sentence: I use PHPUnit for PHP4 and PHPUnit2 for PHP5 and i am
really happy with it.
Have fun,
Dirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Am Mittwoch, 12. Januar 2005 11:13 schrieb Shaun:
> Hi,
>
> I have site that allows users to upload private information to our server.
> We would like to encrypt the data for security reasons and only allow
> certain users to be able to un-encrypt the data and view it. I have looked
> at the PHP en
ance for these who can deliever solutions or ideas!
Dirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r messages after which
make stops:
/usr/lib/libsablot.so: 'undefined reference to 'JS_*'
where * stands for nearly 20 different JS "objects(methods?).
Can someone tell me where the problem lies and give me at least a hint
to solve it?
Many thx in advance
Dirk
--
Thanks for the info, it was really helpfull. One question though, is
it necessary to first encode my data with the base64 algo, or can I
skip that step and immediately urlencode my data?
Dirk
On 2/21/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
> You probably should be URL-encoding you
Manuel Lemos schreef:
Hello,
on 02/21/2006 03:40 PM Dirk Vanden Boer said the following:
I have a C++ application that posts binary data to a php script that I
created using libcurl. Everything works fine except when my binary data
happens to start with the '&' symbol. In tha
hen looks like data=&ÑÚA
Reading the post is done like this:
if (isset($_POST['data'])
Is there a way to fix this problem?
Thanks in advance
Dirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the hint, I'm not doing any encoding at the moment, I'll
try it out tomorrow.
Dirk
On 2/21/06, Paul Scott <[EMAIL PROTECTED]> wrote:
> On Tue, 2006-02-21 at 19:40 +0100, Dirk Vanden Boer wrote:
> > The post argument then looks like data=&A
> >
Hi all,
Just wanted to know if it's possible to write iptc tags with php, and, if
so, how?
I can read them trough getimagesize().
TIA,
Dirk
Bean IT
T: +31 (0)23 - 5422299
F: +31 (0)23 - 5422728
W: http://www.bean-it.nl
--
PHP General Mailing List (http://www.php.net/)
To unsubs
e.
Nor can the anonymous and authenticated parts be split in separate folders.
Is this goal even possible or is the only way to not allow anonymous access (but for
replacement a dummy user like "guest" with no password) or implement the auth
in PHP?
Any feedback is highly appreciated.
perhaps it do something wrong?)
Of course i can use int's, but in my opinion either a warning should be
given or the function should gracefully handle the wrong typed parameter.
Thank you for any feedback,
Dirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$a;
$a++;
echo "$a";
$a = 0;
}
foo();
foo();
foo();
///
Now it outputs:
1
1
1
Regards,
Dirk Oschlies
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
43 matches
Mail list logo