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
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 (?)
> session.entrop
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 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 wrote:
>>
>> yea, google for "lastrss".
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, wrote:
> A week ago Dasn asked a question about converting arrays, and I quoted one
> possible way of
> achieving his task, using the operation:
>
> $i =
Thanks, Richard, I wasn't aware of that function. Another nice option.
On Tue, Mar 2, 2010 at 6:18 AM, Richard Quadling
wrote:
> On 1 March 2010 19:34, Adam Richardson wrote:
> > I use namespaces within my web framework because the framework takes a
> more
> > functional approach (no objects ar
On Wed, Mar 3, 2010 at 1:11 AM, mrfroasty 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 tha
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 (MicroServe
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 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
> wrote:
> > Hey all,
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.
> -Or
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 apa
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
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 syst
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,
> -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"" wrote in message
> >>
> news:7941b2693f
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/LatencyScrap
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/LatencyScrap
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 Mai
From: pan
> ""Hansen, Mike"" 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 stuff.
>
>
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
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 t
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
ex
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']
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 argume
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);
$_SE
On Tue, Mar 2, 2010 at 6:11 AM, Ashley Sheridan
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
>> queries, to s
On Tue, 2010-03-02 at 14:49 +0100, Rene Veerman wrote:
> k, add to your script,
> to prevent the error from showing.
>
> On Tue, Mar 2, 2010 at 2:38 PM, Rick Dwyer wrote:
> > On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote:
> >> does the script itself ever fail, asides from showing this msg?
>
k, add to your script,
to prevent the error from showing.
On Tue, Mar 2, 2010 at 2:38 PM, Rick Dwyer 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 most annoying thing in making it difficult
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()'>width='161' height='57' align='right' />Open Window...
As far as other PHP goes, the whole page is PHP so I wouldn't know
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
wrote:
> Hi,
>
> i'm new to
On 1 March 2010 19:34, Adam Richardson 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,
> etc.), and in this
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
> queries, to show data, and I would like to know how to embbed php and
> mysql
Hello All,
OSSCamp is again being organized in Chandigarh on April 10, 2010. This is
another step ahead to foster the open source community in the city
beautiful. At a Camp, we love to cross-talk, huddle together, raise some
noise, celebrate technology, argue over the coolest OS ever made, fight o
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
queries, to show data, and I would like to know how to embbed php and
mysql to one cd for a presentation. I mean; one cd containing the
w
33 matches
Mail list logo