Am 30.12.2011 17:11, schrieb Floyd Resler:
On Dec 30, 2011, at 11:05 AM, Matt Graham wrote:
I'm still not sure why they aren't displaying. But as long as I have a place
to find them I'm cool with that.
Maybe anything in your web application overrides display_errors?
--
Marco Behnke
Dipl
action to simply callrecs.php and see if that works.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz
smime.p7s
Am 10.01.12 21:28, schrieb Mike Mackintosh:
On Jan 10, 2012, at 15:12, Marco Behnke ma...@behnke.biz wrote:
Am 10.01.12 21:07, schrieb Donovan Brooke:
David Savage wrote:
OK...I admit I'm new at thisI have this html file:
html
head
titleGenerate pdf file of LD, Toll Free
to figure out why his
posting the form does not work. I say, it can't work as long as long as
there is Q:\ ins his form action, no way it will do, because you leave
your webserver context anyways.
He must change it to a valid web url.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer
($path)) {
require_once $path;
}
};
spl_autoload_register($callback);
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http
,
'x509_extensions'= 'usr_cert',
'encrypt_key_cipher' = 'OPENSSL_CIPHER_3DES');
same here
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218
variable is tested in
many places to see if things should be done. That is just as bad as
lots of GOTO -- often when having to write something like that I will
have a GOTO (in
Good code uses Exceptions and try catch for that kind of scenarios.
--
Marco Behnke
Dipl. Informatiker (FH), SAE
Am 06.02.12 21:55, schrieb Adam Richardson:
On Mon, Feb 6, 2012 at 3:44 PM, Marco Behnke ma...@behnke.biz wrote:
Am 06.02.12 17:23, schrieb Alain Williams:
many places to see if things should be done. That is just as bad as
lots of GOTO -- often when having to write something like that I
if you use cURL and set the CURLOPT_CONNECTTIMEOUT option.
- Matijn
That won't help. When you reach the sleep with your request, the
connection is already established.
What you want is curl with
CURLOPT_TIMEOUT max execution time
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer
the flexibility, I'd be happy
to hear it. Marc
Is math all you want to use? Parsing will be an easy doing and I am
pretty sure there are a lot of examples around the web.
E.g.:
http://www.phpclasses.org/package/2695-PHP-Safely-evaluate-mathematical-expressions.html
--
Marco Behnke
Dipl. Informatiker
of information.
var_dump($_POST); // at the beginning of the script
// the code that assembles $string
// the target url for your curl request from curl_init or CURLOPT
// the other curloptions not mentioned here but used
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified
;
I like the first one. Plus you handle it to dynamically to the right type
function __get($value)
{
if is float return float casted value
if is boolean ...
and so on
}
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174
with my script??
$message .= pbMessage:/bblockquote .$m./blockquote/p;
As far as I can see your main html tags are missing?
$message = 'htmlbody' . $message . '/body/html';
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail
what errors are appear into your browser and your logfiles. Post
them and the codelines for these errors on the list.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine
extend Exception? It was always my understanding that
doing so would cause a fatal error.
Ah, I guess that is the problem. Your application framework uses namespaces.
I guess you should try
catch (\Exception $e)
instead of
catch (Exception $e)
:-)
James
--
Marco Behnke
Dipl
another class AND use PDO
- You can easily exchange PDO with another abstraction layer if you
like, without changing the interface, just changing the implmentation
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma
. It is
faster and uses less memory.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz
signature.asc
Description
://de2.php.net/manual/de/function.session-status.php
to check a session status.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http
to avoid incrementing not set array keys
foreach ($words as $word) {
if (array_key_exists($word, $freq)) {
$freq[$word] = 1;
} else {
$freq[$word]++;
}
}
For output, you may want to sort the array:
ksort($freq);
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
knows why this is happening?
This happened while I was getting a line using fgets and hence I tried
storing that string into a variable and outputting but it still doesn't show
the characters between the .
Any help is highly appreciated.
Thanks
--
Best Regards,
Sunil Meena
--
Marco
Am 04.10.12 02:48, schrieb David McGlone:
Hi everyone, I have been playing around with some code the list helped me
with
a while back and I'm not grasping the concept between return and echo and the
PHP manual doesn't answer this, unless I'm missing something. There is an
example at the
have developed a real templating engine or if
you are going by eval()? From what I see, it looks a bit like that.
But these are only my points. I browsed the pages, had no insight on the
code.
But I like your concept on the in place editing, that looks pretty cool
and handy.
--
Marco Behnke
Dipl
your goal, so we can
discuss on how we can improve it.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz
quoting that post?
Posted by Rasmus http://toys.lerdorf.com/authors/1-Rasmus on Monday,
February 27. 2006
Adam
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich
://stackoverflow.com/questions/1185605/when-to-use-static-vs-instantiated-classes
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http
, or is my thinking wrong?
maybe because of
--disable-cgi
Thank you for help and Greetings
Silvio
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
in-between too.
Normally you would pass credential as post variables or even better use
http auth for that. (read about http code 401
How to send in HTTP:
http://en.wikipedia.org/wiki/Basic_access_authentication
Read in auth vars in PHP: http://php.net/manual/de/features.http-auth.php
--
Marco
? (session_save_path)?
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz
signature.asc
Description: OpenPGP digital
Am 12.12.12 15:58, schrieb Jim Giner:
On 12/12/2012 8:08 AM, ma...@behnke.biz wrote:
Jim Giner jim.gi...@albanyhandball.com hat am 12. Dezember 2012 um
02:53
geschrieben:
On 12/11/2012 7:27 PM, Marco Behnke wrote:
Am 08.12.12 19:08, schrieb Jim Giner:
All my debugging messages indicagte
or warnings.
my sub points to a folder within my domain's structure. My session's
store point (?) is \tmp. You asked two different questions.
point taken ;)
I will try to do a setup like yours and check which code works for me.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer
On 28.12.2012 16:30, Floyd Resler wrote:
I'm having a perplexing problem with a rewrite rule (it's off topic but it's
Friday!). My initial path is
piccDetails/index/0/linetypes/2012-01-01/2012-12-31/Successful and that works
great. However, in my script I want to change the zero in the
On 28.12.2012 17:13, Floyd Resler wrote:
On Dec 28, 2012, at 11:09 AM, Marco Behnke ma...@behnke.biz wrote:
On 28.12.2012 16:30, Floyd Resler wrote:
I'm having a perplexing problem with a rewrite rule (it's off topic but it's
Friday!). My initial path is
piccDetails/index/0/linetypes/2012
you'll avoid restarting the webserver
and it will clear all APC cache forcing APC to cache everything again.
since apache and cli do not share the same apc, it will not work.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174
going to carry on in PHP, and my experience says that
we should write the solution in a procedural-style, instead of OOP.
Is there any benefit to use OOP in these situations?
Please share your thoughts.
Thanks,
-behzad
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
triggering this to happen? I have the following
line in my php.ini:
error_reporting = E_ALL E_STRICT E_NOTICE E_DEPRECATED
Thank you,
Angela
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Boxes and stuff for
relations? If I understood you correct, this is what you were looking for?
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218
also has global define functionality (like
the define in php) ? I also want to do kind of SELECT * FROM house WHERE type
= HOUSE_SMALL_TYPE in mysql query.
Maybe this is what you are looking for?
http://forums.mysql.com/read.php?98,273432,273432
--
Marco Behnke
Dipl. Informatiker (FH), SAE
array. Any thoughts on this? Is this a known bug (haven't found it…)
Thanks!
Just a thought that came to my mind: Have you disabled browser caching?
And about the push is undefined in the logs: How do you call the
script for the first time? With or with push parameter?
--
Marco Behnke
Dipl
- Software: Ubuntu packages only (updated)
- HTTP request handling: nginx load balancer → PHP FPM daemon
- Machine: VMware Fusion (managed by Vagrant) hosted on OS X 10.8.3
Thanks,
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
on the single quotes, or store the variable in a
temporary var before using the print.
Or use printf which is much more readable.
- Matijn
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik
['ExpiryDate'] = 2013-04-23;
$int_timestamp = strtotime($_SESSION['ExpiryDate']);
echo date('D, \t\h\e jS \o\f M Y', $int_timestamp );
Use SINGLE QUOTES!
--
Chris.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e
? In any event, it seems like someone
would
have solved this by now before I go re-inventing the wheel.
d.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich
Am 03.05.2013 21:34, schrieb Daevid Vincent:
-Original Message-
From: Marco Behnke [mailto:ma...@behnke.biz]
Sent: Friday, May 03, 2013 12:01 PM
To: Daevid Vincent; php php-general@lists.php.net
Subject: Re: [PHP] Need a tool to minimize HTML before storing in memecache
If you
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz
signature.asc
Description: OpenPGP digital signature
this!
First of all, I don't know why you would use the print *function* when
you can also use the echo language construct (better and faster). But
read and learn http://de2.php.net/manual/en/function.print.php
print is not actually a real function (it is a language construct)
--
Marco Behnke
Dipl
45 matches
Mail list logo