php-general Digest 3 Mar 2010 04:54:39 - Issue 6618
Topics (messages 302472 through 302494):
Re: Error Message - Need help troubleshooting
302472 by: Rick Dwyer
302473 by: Rene Veerman
302474 by: Ashley Sheridan
302476 by: Rick Dwyer
302478 by: Ashley
On 1 March 2010 19:34, Adam Richardson simples...@gmail.com wrote:
I use namespaces within my web framework because the framework takes a more
functional approach (no objects are created within the framework other than
from existing classes such as PDO or Exception, immutability is promoted,
If you want server-unique session ids, use session_name() before
session_start()..?
session.entropy_file seems to be used only with /dev/urandom,
and seems to be used to _increase_ the differences betweeen
session ids.
On Mon, Mar 1, 2010 at 5:49 PM, Sascha Wojewsky
sascha.wojew...@heinze.de
On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote:
i doubt you passed us the entire .js.php script..
The rest of the JS is as follows:
a href='javascript:loadOSS()'img src='/images/myimage.jpg'
width='161' height='57' align='right' /Open Window...
As far as other PHP goes, the whole
k, add ?php error_reporting(0); ? to your script,
to prevent the error from showing.
On Tue, Mar 2, 2010 at 2:38 PM, Rick Dwyer rpdw...@earthlink.net wrote:
On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote:
does the script itself ever fail, asides from showing this msg?
No it works fine. The
On Tue, 2010-03-02 at 14:49 +0100, Rene Veerman wrote:
k, add ?php error_reporting(0); ? to your script,
to prevent the error from showing.
On Tue, Mar 2, 2010 at 2:38 PM, Rick Dwyer rpdw...@earthlink.net wrote:
On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote:
does the script itself ever
On Tue, Mar 2, 2010 at 6:11 AM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Tue, 2010-03-02 at 08:12 -0300, Juan wrote:
Hi,
I need an application to run mysql/php/apache or similar in one cd, to
make a presentation.
The presentation itself is a php site that uses mysql to do some
On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote:
How is $item_id created? You've not shown that in your PHP script
examples.
// parse item id from the url
$refer=$_SERVER['HTTP_REFERER'];
$thispage=$_SERVER['PHP_SELF'];
$item_id=substr($thispage, -9);
$item_id=substr($item_id, 0, 5);
On Mon, Mar 01, 2010 at 01:48:14PM -0700, Hansen, Mike wrote:
Is there a PHP Best Practices Book, Document, or web site that has
information similar to Perl Best Practices but for PHP?
FWIW, we tried to create a thread to gather these best practices
ideas, and mostly what we got was arguments
On Tue, 2010-03-02 at 09:35 -0500, Rick Dwyer wrote:
On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote:
How is $item_id created? You've not shown that in your PHP script
examples.
// parse item id from the url
$refer=$_SERVER['HTTP_REFERER'];
$thispage=$_SERVER['PHP_SELF'];
I do not know if the question has been answered, but how are you opening
the session? Are you using session_start() or are you using
session_register()?
Rick Dwyer wrote:
On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote:
How is $item_id created? You've not shown that in your PHP script
On Mar 2, 2010, at 9:35 AM, Ashley Sheridan wrote:
I'm assuming then that both the Javascript an the PHP code you have
above are both on the same page. The only way I can see your problem
occurring would be if your javascript part was on a different page
and you were attempting to output
On Mar 2, 2010, at 9:45 AM, Joseph Thayne wrote:
I do not know if the question has been answered, but how are you
opening the session? Are you using session_start() or are you using
session_register()?
Hi Joseph.
It is created via:
session_start();
--Rick
--
PHP General Mailing List
From: pan
Hansen, Mike mike.han...@atmel.com wrote in message
news:7941b2693f32294aaf16c26b679a258d0efdc...@csomb01.corp.atmel.com...
Is there a PHP Best Practices Book, Document, or web site that has
information similar to Perl Best Practices but for PHP?
Yeah, it's hard to find this
Hi,
I used simplexml as use flag and did emerge -av php. I still get the
same below issue.
Fatal error: Call to undefined function simplexml_import_dom() in
/var/www/localhost/htdocs/apps/latency-monitor/Monitor/LatencyScraper.php
on line 39
Please suggest.
Thanks,
Kaushal
--
PHP General
On Tue, 2010-03-02 at 20:36 +0530, Kaushal Shriyan wrote:
Hi,
I used simplexml as use flag and did emerge -av php. I still get the
same below issue.
Fatal error: Call to undefined function simplexml_import_dom() in
/var/www/localhost/htdocs/apps/latency-monitor/Monitor/LatencyScraper.php
On Tue, 2010-03-02 at 20:36 +0530, Kaushal Shriyan wrote:
Hi,
I used simplexml as use flag and did emerge -av php. I still get the
same below issue.
Fatal error: Call to undefined function simplexml_import_dom() in
/var/www/localhost/htdocs/apps/latency-monitor/Monitor/LatencyScraper.php
-Original Message-
From: Bob McConnell [mailto:r...@cbord.com]
Sent: Tuesday, March 02, 2010 7:52 AM
To: pan; php-general@lists.php.net
Subject: RE: [PHP] Re: Best Practices Book, Document, Web Site?
From: pan
Hansen, Mike mike.han...@atmel.com wrote in message
Paul M Foster wrote:
On Mon, Mar 01, 2010 at 01:48:14PM -0700, Hansen, Mike wrote:
Is there a PHP Best Practices Book, Document, or web site that has
information similar to Perl Best Practices but for PHP?
FWIW, we tried to create a thread to gather these best practices
ideas, and mostly
The way I've done this in the past it with XAMPP and a simple autorun.inf
file.
Code the autorun.inf file to start Apache and MySQL, then launch the users
web browser (I used IE for this, as i knew everyone would have it
installed).
The only problem, is that this method only works on windows
W dniu 02.03.2010 16:18, Teus Benschop pisze:
The following note on the function quick reference on php.net may help:
Gentoo users: emerge does not compile dev-lang/php with simplexml by
default. To enable this option, add the flag simplexml to your USE
variable and recompile php.
Teus.
And
On 03/02/2010 04:06 PM, Kaushal Shriyan wrote:
Hi,
I used simplexml as use flag and did emerge -av php. I still get the
same below issue.
Can you provide us with data that indeed you have enabled important
useflags on that php which you have compiled?
You also need to restart/reload
What we've done is use VMWare Workstation (free fully working trial
available) to build a LAMP VM.
VMWare Player is a free download to anyone, so we just send the VM (.vmdk
files, etc.) and they run it.
The same could be done with VirtualBox or the Virtualization tool of your
choice.
ya, tried that one and next to nada came up... well nothing useful
anyways
On Sun, Feb 28, 2010 at 2:37 PM, Rene Veerman rene7...@gmail.com wrote:
yea, google for lastrss.. or get wild and google for lastrss
example or tutorial
On Sun, Feb 28, 2010 at 12:05 AM, Watson Blair
ThinAPP by VMware is a better alternative I think, it makes the VM into an
EXE, so autorun will load the exe, which you can set a windows or full
screen. Of course this isn't free.
Also RoadsendPHP http://roadsend.com can package an app in offline mode,
with an embedded web server
On Wed, Mar 3, 2010 at 1:11 AM, mrfroasty mrfroa...@gmail.com wrote:
On 03/02/2010 04:06 PM, Kaushal Shriyan wrote:
Hi,
I used simplexml as use flag and did emerge -av php. I still get the
same below issue.
Can you provide us with data that indeed you have enabled important useflags
on
Thanks, Richard, I wasn't aware of that function. Another nice option.
On Tue, Mar 2, 2010 at 6:18 AM, Richard Quadling
rquadl...@googlemail.comwrote:
On 1 March 2010 19:34, Adam Richardson simples...@gmail.com wrote:
I use namespaces within my web framework because the framework takes a
Thanks for taking time to provide the examples, Clancy, I'll know what
potential pitfalls to wary of now :)
On Fri, Feb 26, 2010 at 11:01 PM, clanc...@cybec.com.au wrote:
A week ago Dasn asked a question about converting arrays, and I quoted one
possible way of
achieving his task, using the
i did see some useful links..
what are you trying to achieve with it?
On Tue, Mar 2, 2010 at 10:19 PM, Watson Blair bestudios...@gmail.com wrote:
ya, tried that one and next to nada came up... well nothing useful
anyways
On Sun, Feb 28, 2010 at 2:37 PM, Rene Veerman rene7...@gmail.com
thank you for your answer,
If you want server-unique session ids, use session_name() before
session_start()..?
i cannot use session_name, because i've to regenarete a session id by
permanent login.
i'm using session_regenerate_id, and session_name doesen't works with it (?)
Hi folks. I have a complicated PHP app that is eating up more memory than I
think it should. I have a couple of theories as to where it could be going,
but I need some way to verify it.
There are a number of large data structures (mostly arrays) that get built up
throughout the course of the
31 matches
Mail list logo