[PHP] ACL Framework / Library

2008-12-24 Thread Feris
Hi All,
Is there any references for a good ACL framework / library ? I want to
develop one but if there is any available I didn't want to reinvent the
wheel.

Thanks,

Feris


Re: [PHP] Re: Yahoo/Gmail/Hotmail Contacts API

2008-11-04 Thread Feris
Hi Everyone,
Thanks for all the recommendation. Will explore them all.

Regards,

Feris

On Sun, Nov 2, 2008 at 7:52 PM, Eric Butera [EMAIL PROTECTED] wrote:

 On Sun, Nov 2, 2008 at 5:03 AM, Richard Heyes [EMAIL PROTECTED] wrote:
  Open id's really a toy at this point.
 
  Now that MS and Google have signed up it will soon get a lot bigger.
 
  http://news.bbc.co.uk/1/hi/technology/7699320.stm
 
  --
  Richard Heyes
 
  HTML5 Graphing for FF, Chrome, Opera and Safari:
  http://www.rgraph.org (Updated October 25th)
 

 When we see the ability to log into said services with openid, you'll
 have an argument.  AOL has been a provider for years, nothing has
 changed.

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




[PHP] Yahoo/Gmail/Hotmail Contacts API

2008-10-31 Thread Feris
Hi All,
I noticed that social networking sites can retrieve our contacts using an
authenticated session. Is there any open source PHP API to achieve the same
thing ?

Thanks,

Feris


[PHP] 301 redirect

2008-08-30 Thread Feris
Is it possible to do permanent redirect (301) with php ? If possible...
which is more efficient, by using .htaccess or  php redirect ?

Thanks,

Feris


[PHP] which costs more ?

2008-05-24 Thread Feris
Hi All,

I need to decide whether to consume feeds from third party as web services
or just creating my own system with relational MySQL backend.

Question is, which actually cost more ? Parsing a moderate streaming XML or
creating a mysql connection ? As I read from some sources that creating
initial connection to mysql is very costly.

Thanks,

Feris


Re: [PHP] which costs more ?

2008-05-24 Thread Feris
Hi Larry,

On Sat, May 24, 2008 at 11:54 AM, Larry Garfield [EMAIL PROTECTED]
wrote:

 I'm assuming this was intended for the list, not for me directly.  Grumble
 grumble.


I'm sorry for replying you privately, it is my gmail's default :(


 If you want to pull in data from Google web services, then either

 1) You always want the newest version and you just have to eat the cost;

 2) You don't always need the newest version and you can cache it locally in
 some form or another that makes sense for your use case.  Storing that
 cache
 in a local MySQL or SQLite database is probably the easiest/fastest/most
 common method.

 3) You decide you don't need Google data in the first place.

 Which you do depends on your use case.  Enjoy.


Thank you for the suggestions. Really appreciate it :)

Regards,

Feris


Re: [PHP] Resetting a session variable

2008-02-03 Thread Feris Thia C.
Resetting all session variables or one of those session vars ?

If you need to reset all then use *session_destroy() *function.

Hope it helps..

Regards,

Feris
http://top-10.bigspacehosting.com

On Feb 4, 2008 1:14 AM, Ron Piggott [EMAIL PROTECTED] wrote:

 What is the command to reset a session variable --- essentially deleting
 all of the values it contains?  Ron

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




Re: [PHP] how to make multiple website on one host

2008-02-03 Thread Feris Thia C.
Yes you can.

Just mirror the additional domains and in your PHP app check the
$_SERVER[HTTP_HOST] variable.

Hope this helps !

Regards,

Feris
http://top-10.bigspacehosting.com


On Feb 3, 2008 2:20 PM, jeffry s [EMAIL PROTECTED] wrote:

 i am wondering whether this can be done. i know it can.
 is it possible to make one website with the ability to host multiple
 website.
 it is something like website generator. eg: www.shopify.org

 let say for example i have a website www.example.org.
 i can point a domain name (www.example1.org) to the server where
 www.example.org hosted,
 and when user visit www.example1.org, it execute the same scripts as
 www.example.org with
 with different themes and website configuration.

 anyone have the idea?

 thanks



Re: [PHP] Persistent MySQL Connection

2007-06-19 Thread Feris

Richard Lynch wrote:

On Wed, June 13, 2007 8:53 am, PHP Mailing List wrote:
  

I currently running my php as cgi as it is more controllable in shared
hosting, the drawback is I cannot use mysql persistent connection so
mysql_pconnect() function is not an option. Is there any mysql
connection pool product for php running as cgi ?



The MySQL list could probably recommend several MySQL connection
pooling software packages, with PHP/cgi being largely irrelevant to
the question...

It's incredibly unlikely that your shared hosting server will actually
install any of them, mind you...

Persistent connections is probably not the road you should be on in
the first place.

How long are your connections taking?

  


Hi Lynch,

Sorry for very late reply Just see your reply. I think it will take 
as long as 5 minutes average. Any solution will be very appreciated.


Thanks !

Feris

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



[PHP] PEAR MIME Construct

2007-05-05 Thread Feris Thia C

Hi All,

I've read my mail through php://stdin and then decode email message 
using MIME package. How can I change the To header field and then 
reconstruct and send it again through sendmail ?


Regards,

Feris

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



[PHP] Troubleshott GD Freetype under Linux

2005-10-15 Thread Feris Thia C.
Hi All,

My PHP engine still cannot load JPEG library (GD) and Freetype fonts...

I use ./config.nice to reconfigure PHP coz it works... and I have compile it
with --jpeg-dir options. And seems not working at all.

How can I troubleshoot and resolve these problems ?

Regards,

Feris


[PHP] Freetype and JPEG disabled

2005-10-08 Thread Feris Thia C.
Hi All,

I've tried to compile and install PHP with gd and freetype library enabled,
and all PNG and GIF library are loaded. But somehow, JPEG and Freetype still
not recognized. I installed Freetype 2.0.

Anyone facing these problems before ??? How can I resolved these ?

Regards,

Feris


[PHP] Problem with Apache+Fedora Core 4 + PHP Installation

2005-09-06 Thread Feris Thia C.
Hi All,

I'm using Fedora Core 4 (kernell 2.6.11-1.1369_FC4) and having problem when 
installing Apache + PHP... the configuration that I'm using :

1. Apache 2.0.54
./configure --prefix=/usr/local/apache2 --enable-so
make
make install
2. PHP 4.3.1
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
make
make install

In Apache configuration file (httpd.conf) I adding these :

LoadModule php4_module modules/libphp4.so === line 232
AddType application/x-httpd-php .php

from compiling and installing process ... all run well... but when I'm 
starting apache

/usr/local/apache2/bin/apachectl start

I got this error :

Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf

Cannot load /usr/local/apache2/modules/libphp4.so into server: 
/usr/local/apache2/modules/libphp4.so: cannot restore segement prot after 
reloc : Permission denied

I already consult documentation for LoadModule syntax and it looks ok.

Has the error something to do with SE Linux ??

Please give me some advices to resolve this :)

Best Regards,

Feris


[PHP] Apache Linux question

2005-09-06 Thread Feris Thia C.
Hi All,

If I already install my Apache on linux system, then is it possible to check 
what configuration settings I provided when compiling the source ?? 

Regards,

Feris


[PHP] Windows DB Connection

2005-02-23 Thread Feris Thia
Hi,

I'm currently running Apache+PHP under Linux environment. And now
trying to connect to Ms Access (.mdb) database file which is shared by
a Windows station. What library I have to install  use ?

Thanks,
Feris

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