php-general Digest 3 Mar 2010 04:54:39 -0000 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 Sheridan
        302479 by: Joseph Thayne
        302480 by: Rick Dwyer
        302481 by: Rick Dwyer

Re: App to put a whole PHP Site in CD/DVD
        302475 by: Bastien Koert
        302488 by: Sion Duncan
        302491 by: Daevid Vincent
        302493 by: David Murphy

Re: Best Practices Book, Document, Web Site?
        302477 by: Paul M Foster
        302482 by: Bob McConnell
        302486 by: Hansen, Mike
        302487 by: Shawn McKenzie

gentoo php
        302483 by: Kaushal Shriyan
        302484 by: Ashley Sheridan
        302485 by: Teus Benschop
        302489 by: Krzysztof Antczak
        302490 by: mrfroasty
        302494 by: Kaushal Shriyan

Re: Wondering if anyone has experince with lastRSS
        302492 by: Watson Blair

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
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 page is PHP so I wouldn't know where to even start. My guess was that the problem was originating from the previous code I sent over, but I don't know enough PHP to be sure.



does the script itself ever fail, asides from showing this msg?

No it works fine. The most annoying thing in making it difficult to to troubleshoot is this message does not always appear.


--Rick






On Tue, Mar 2, 2010 at 5:46 AM, Rick Dwyer <rpdw...@earthlink.net> wrote:
Hello List.

I have some JS code that open a new window with a contact form in it. When the link is clicked to open the new window, I will get the following error
SOMETIMES:

"Warning: Unknown: Your script possibly relies on a session side- effect which existed until PHP 4.2.3. Please be advised that the session extension
does not consider global variables as a source of data, unless
register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off,
respectively. in Unknown on line 0"

My JS code with a bit of PHP in it looks like this:

function loadOSS()
var oss_itemid = "<?php echo $item_id; ?>";
var loadOSS = window.open("my_url/my_file.php?iid=" + oss_itemid, "",
"scrollbars = no ,menubar = no ,height =600,width=600,resizable=yes,toolbar=no,location=no,status=no");
}

As I said above, the error message does not always appear.

Is the error due to the fact I am JS & PHP together?

Any help in understanding what I am doing wrong is appreciated.

 --Rick



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--- End Message ---
--- Begin Message ---
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 most annoying thing in making it difficult to to
> troubleshoot is this message does not always appear.

--- End Message ---
--- Begin Message ---
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 fail, asides from showing this msg?
> >
> > No it works fine.  The most annoying thing in making it difficult to to
> > troubleshoot is this message does not always appear.
> 


If there is a genuine problem, that won't actually fix it though.

How is $item_id created? You've not shown that in your PHP script
examples.

Thanks,
Ash
http://www.ashleysheridan.co.uk



--- End Message ---
--- Begin Message ---
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);

$_SESSION['item_id'] = "$item_id";    

The above is where item_id is created and added to a session.

The important thing is that this error never showed up before until I added the Javascript link below:

var oss_itemid = "<?php echo $item_id; ?>";
var loadOSS = window.open("http://www.myurl/myfile.php?iid="; + oss_itemid, "", "scrollbars = no ,menubar = no ,height=600,width=600,resizable=yes,toolbar=no,location=no,status=no");


When I was testing initially, I had removed the variable above in the link with a hard coded value and I never received this error. Only when I made it dynamic did this error appear.

Thanks for any help.

--Rick

--- End Message ---
--- Begin Message ---
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'];
> $item_id=substr($thispage, -9);
> $item_id=substr($item_id, 0, 5);
> 
> $_SESSION['item_id'] = "$item_id";    
> 
> The above is where item_id is created and added to a session.
> 
> The important thing is that this error never showed up before until I  
> added the Javascript link below:
> 
> var oss_itemid = "<?php echo $item_id; ?>";
> var loadOSS = window.open("http://www.myurl/myfile.php?iid="; +  
> oss_itemid, "",  
> "scrollbars 
> = 
> no 
> ,menubar 
> = 
> no 
> ,height=600,width=600,resizable=yes,toolbar=no,location=no,status=no");
> 
> 
> When I was testing initially, I had removed the variable above in the  
> link with a hard coded value and I never received this error.  Only  
> when I made it dynamic did this error appear.
> 
> Thanks for any help.
> 
> --Rick
> 

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 the $item_id. If PHP could not find a
variable with that name, it may be reverting to using the item_id value
found in $_SESSION, which would give you the error you're seeing.

Try changing the line to

var oss_itemid = "<?php echo $_SESSION['item_id']; ?>";

and see if that gives you the error.

Thanks,
Ash
http://www.ashleysheridan.co.uk



--- End Message ---
--- Begin Message --- 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 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);

$_SESSION['item_id'] = "$item_id";
The above is where item_id is created and added to a session.

The important thing is that this error never showed up before until I added the Javascript link below:

var oss_itemid = "<?php echo $item_id; ?>";
var loadOSS = window.open("http://www.myurl/myfile.php?iid="; + oss_itemid, "", "scrollbars=no,menubar=no,height=600,width=600,resizable=yes,toolbar=no,location=no,status=no");


When I was testing initially, I had removed the variable above in the link with a hard coded value and I never received this error. Only when I made it dynamic did this error appear.

Thanks for any help.

--Rick


--- End Message ---
--- Begin Message ---

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 the $item_id. If PHP could not find a variable with that name, it may be reverting to using the item_id value found in $_SESSION, which would give you the error you're seeing.


Yes this is the case.

However, what you said brings up a point if interest. The page that the link is bringing up contains the following:

        if ($_GET["iid"]=='') {
        $item_id = ($_SESSION["item_id"]);
        }
        else
        {
        $item_id = $_GET["iid"];
        }

This code determines if the user is getting there from the initial link and if so, sets the variable item_id to the value passed in the URL. Again however, this was not returning errors when the link was hardcoded with a value in place of item_id.

--Rick


--- End Message ---
--- Begin Message ---

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


--- End Message ---
--- Begin Message ---
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
>> 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
>> whole site, and when the user inserts it on the cd/dvd reader it's
>> able to use the website like if him/her would be using the http
>> protocol. So, this application should let me put mysql/php/apache in
>> the cd, then it should work from the cd.
>>
>> I would like to use some free software application, I would like to
>> avoid using commercial branches because I need this for a commercial
>> project that isn't able to pay licenses. Also I preffer Free Software.
>>
>> So, if you know some appplication that helps me to develop this, and
>> also if I would be able to make the cd multiplatform for the principal
>> OS ( Gnu/linux, win, mac ) even better.
>>
>> Thanks a lot.
>>
>> Juan
>>
>
>
> If you want this sort of setup, then why not go with a live Linux CD/DVD
> that has the website on. You can lock the live OS down so that it is in
> what's called a kiosk mode, which should meet your requirements.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>

Might wanna look at phpdock ( http://www.nusphere.com/products/phpdock.htm )

-- 

Bastien

Cat, the other other white meat

--- End Message ---
--- Begin Message ---
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 systems.


On 2 March 2010 14:19, Bastien Koert <phps...@gmail.com> wrote:

> 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
> >> 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
> >> whole site, and when the user inserts it on the cd/dvd reader it's
> >> able to use the website like if him/her would be using the http
> >> protocol. So, this application should let me put mysql/php/apache in
> >> the cd, then it should work from the cd.
> >>
> >> I would like to use some free software application, I would like to
> >> avoid using commercial branches because I need this for a commercial
> >> project that isn't able to pay licenses. Also I preffer Free Software.
> >>
> >> So, if you know some appplication that helps me to develop this, and
> >> also if I would be able to make the cd multiplatform for the principal
> >> OS ( Gnu/linux, win, mac ) even better.
> >>
> >> Thanks a lot.
> >>
> >> Juan
> >>
> >
> >
> > If you want this sort of setup, then why not go with a live Linux CD/DVD
> > that has the website on. You can lock the live OS down so that it is in
> > what's called a kiosk mode, which should meet your requirements.
> >
> > Thanks,
> > Ash
> > http://www.ashleysheridan.co.uk
> >
> >
> >
>
> Might wanna look at phpdock ( http://www.nusphere.com/products/phpdock.htm)
>
> --
>
> Bastien
>
> Cat, the other other white meat
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
~ Sion Duncan.

PHd in Sarcasm from the University of Smugness.

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning.

--- End Message ---
--- Begin Message ---
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. 

> -----Original Message-----
> From: Juan [mailto:j...@rodriguezmonti.com.ar] 
> Sent: Tuesday, March 02, 2010 3:12 AM
> To: php-gene...@lists.php.net
> Subject: [PHP] App to put a whole PHP Site in CD/DVD
> 
> 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
> whole site, and when the user inserts it on the cd/dvd reader it's
> able to use the website like if him/her would be using the http
> protocol. So, this application should let me put mysql/php/apache in
> the cd, then it should work from the cd.
> 
> I would like to use some free software application, I would like to
> avoid using commercial branches because I need this for a commercial
> project that isn't able to pay licenses. Also I preffer Free Software.
> 
> So, if you know some appplication that helps me to develop this, and
> also if I would be able to make the cd multiplatform for the principal
> OS ( Gnu/linux, win, mac ) even better.
> 
> Thanks a lot.
> 
> Juan
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--- End Message ---
--- Begin Message ---
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 (MicroServer).  

Depending on your needs not sure which is most applicable for you.
But its atleast free :) and you could compile for linux and windows and let
autorun launch the windows one and users launch the linux one.


David 

-----Original Message-----
From: Daevid Vincent [mailto:dae...@daevid.com] 
Sent: Tuesday, March 02, 2010 2:24 PM
To: 'Juan'; php-gene...@lists.php.net
Subject: RE: [PHP] App to put a whole PHP Site in CD/DVD

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. 

> -----Original Message-----
> From: Juan [mailto:j...@rodriguezmonti.com.ar] 
> Sent: Tuesday, March 02, 2010 3:12 AM
> To: php-gene...@lists.php.net
> Subject: [PHP] App to put a whole PHP Site in CD/DVD
> 
> 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
> whole site, and when the user inserts it on the cd/dvd reader it's
> able to use the website like if him/her would be using the http
> protocol. So, this application should let me put mysql/php/apache in
> the cd, then it should work from the cd.
> 
> I would like to use some free software application, I would like to
> avoid using commercial branches because I need this for a commercial
> project that isn't able to pay licenses. Also I preffer Free Software.
> 
> So, if you know some appplication that helps me to develop this, and
> also if I would be able to make the cd multiplatform for the principal
> OS ( Gnu/linux, win, mac ) even better.
> 
> Thanks a lot.
> 
> Juan
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
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 from people who took
exception one way or another.

Paul

-- 
Paul M. Foster

--- End Message ---
--- Begin Message ---
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 stuff.
> 
> A google search on {+"Best Practices" +"PHP"} returned only
> 4,340,000 hits.
> 
> Maybe, some day, someone will think to write something up.

The problem with this method is that scanning these results reveals
conflicting and contradictory recommendations that are all over the
place. Some are so old they may not even be valid PHP any more. Reading
even a small subset of these pages is an exercise in frustration. But
that makes sense as there doesn't appear to be any consistency nor
consensus within the community, or even within some of the larger
projects.

Speaking of consensus, based on a recent discussion on the Perl
Beginners mailing list, the Perl Best Practices book is now considered
to be deprecated among the active Perl community. Many of its
recommendations are obsolete and no longer used. It is long past due for
a major rewrite.

Bob McConnell

--- End Message ---
--- Begin Message ---
 

> -----Original Message-----
> From: Bob McConnell [mailto:r...@cbord.com] 
> Sent: Tuesday, March 02, 2010 7:52 AM
> To: pan; php-gene...@lists.php.net
> Subject: RE: [PHP] Re: Best Practices Book, Document, Web Site?
> 
> From: pan
> > ""Hansen, Mike"" <mike.han...@atmel.com> wrote in message 
> >>
> news:7941b2693f32294aaf16c26b679a258d0efdc...@csomb01.corp.atm
> el.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.
> > 
> > A google search on {+"Best Practices" +"PHP"} returned only
> > 4,340,000 hits.
> > 
> > Maybe, some day, someone will think to write something up.
> 
> The problem with this method is that scanning these results reveals
> conflicting and contradictory recommendations that are all over the
> place. Some are so old they may not even be valid PHP any 
> more. Reading
> even a small subset of these pages is an exercise in frustration. But
> that makes sense as there doesn't appear to be any consistency nor
> consensus within the community, or even within some of the larger
> projects.
> 
> Speaking of consensus, based on a recent discussion on the Perl
> Beginners mailing list, the Perl Best Practices book is now considered
> to be deprecated among the active Perl community. Many of its
> recommendations are obsolete and no longer used. It is long 
> past due for
> a major rewrite.
> 
> Bob McConnell

Yep. Perl Best Practices is due for a rewrite/update. I came across this page 
that attempts to update it:
http://www.perlfoundation.org/perl5/index.cgi?pbp_module_recommendation_commentary

For PHP, I'll stick with the PEAR recommendations and do the best I can with 
whatever is missing.

Thanks.

--- End Message ---
--- Begin 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 what we got was arguments from people who took
> exception one way or another.
> 
> Paul
> 

That is not correct.  I take exception with your comments.

-- 
Thanks!
-Shawn
http://www.spidean.com

--- End Message ---
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
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 line 39
> 
> Please suggest.
> 
> Thanks,
> 
> Kaushal
> 


What does a phpinfo() script tell you about the extension? Is it visible
in the info page? If not, have you made sure that there is nothing that
might need to be added to your php.ini enabling the module (loading the
module is not the same as it being enabled)

Thanks,
Ash
http://www.ashleysheridan.co.uk



--- End Message ---
--- Begin Message ---
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 line 39
> 

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.


--- End Message ---
--- Begin Message ---
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 that means: USE="simplexml" emerge -av php

KA.

--- End Message ---
--- Begin Message ---

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 apache once you finished compiling php.

Results on my development platform:
#emerge -pv php

dev-lang/php-5.2.12 USE="apache2 bcmath berkdb bzip2 calendar cgi cli crypt ctype curl curlwrappers doc exif fdftk filter ftp gd gdbm gmp hash iconv imap inifile ipv6 json ldap ldap-sasl mcve mhash mysql mysqli ncurses nls pcre pdo posix readline reflection session simplexml snmp soap sockets spell spl ssl threads tidy tokenizer truetype unicode wddx xml xmlreader xmlrpc xmlwriter xsl zlib

You can easily add flags with something like this:
#echo "dev-lang/php simplexml xml xmlreader xmlwritter" >> /etc/portage/package.use

GR
Muhsin

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



--
Extra details:
OSS:Gentoo Linux
profile:x86
Hardware:msi geforce 8600GT asus p5k-se
location:/home/muhsin
language(s):C/C++,VB,VHDL,bash,PHP,SQL,HTML,CSS
Typo:40WPM
url:http://www.mzalendo.net
url:http://www.zanbytes.com


--- End Message ---
--- Begin Message ---
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 that php which you have compiled?
> You also need to restart/reload apache once you finished compiling php.
>
> Results on my development platform:
> #emerge -pv php
>
> dev-lang/php-5.2.12  USE="apache2 bcmath berkdb bzip2 calendar cgi cli crypt
> ctype curl curlwrappers doc exif fdftk filter ftp gd gdbm gmp hash iconv
> imap inifile ipv6 json ldap ldap-sasl mcve mhash mysql mysqli ncurses nls
> pcre pdo posix readline reflection session simplexml snmp soap sockets spell
> spl ssl threads tidy tokenizer truetype unicode wddx xml xmlreader xmlrpc
> xmlwriter xsl zlib
>
> You can easily add flags with something like this:
> #echo "dev-lang/php simplexml xml xmlreader xmlwritter" >>
> /etc/portage/package.use
>
> GR
> Muhsin
Thanks Muhsin :). I did followed it already. it worked like a charm

Kaushal

--- End Message ---
--- Begin Message ---
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 <bestudios...@gmail.com>
> wrote:
> > Hey all,
> > I'm looking at lastRSS as a solution for displaying an Ebay RSS feed on a
> > website, however i'm having a hard time wrapping my head around it, could
> > you guys suggest a good tutorial? also, if there are better solutions for
> > what i'm trying to do, bring it on.
> > Thanks,
> > Watson
> >
>

--- End Message ---

Reply via email to