[PHP] Mysql session handler?

2008-01-29 Thread Mike Yrabedra
Can anyone recommend a good php-mysql session handler class? I have found a lot of them, but they are all pretty old, pre-2005 -- Mike B^)> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Setting session from within iframe?

2008-01-28 Thread Mike Yrabedra
I have a problem that maybe someone can shed some light on. I have a page, lets say it is located here... www.domain1.com On this page is a iframe with a src like so... www.domain2.com/mypage.php This php page has a session _start call in it. The problem is, the session cookie is not set wh

Re: [PHP] include "config.php" does not work anymore after PHP 5.2

2007-12-02 Thread Mike Yrabedra
on 12/2/07 2:22 AM, wmac at [EMAIL PROTECTED] wrote: > > Hello, > > I have been working with PHP 5.0 and my "register_globals" has always been > Off since PHP 4.1 > > Today I upgraded to PHP 5.2 and now neither of my include "config.php" work. > > Neither of the variables defined in include fi

Re: [PHP] Instantiate phpmailer in a separate class?

2007-11-29 Thread Mike Yrabedra
on 11/29/07 1:53 AM, Jochem Maas at [EMAIL PROTECTED] wrote: > Mike Yrabedra wrote: >> Hello, >> >> I want to have a class send some emails. >> >> I wanted to use the excellent phpMailer class to do this. >> >> What is the proper way to use

[PHP] Instantiate phpmailer in a separate class?

2007-11-28 Thread Mike Yrabedra
Hello, I want to have a class send some emails. I wanted to use the excellent phpMailer class to do this. What is the proper way to use the phpMailer class from within a method of a separate class? -- Mike B^)> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] Nested include/require not working in 5.2 (SOLVED)

2007-11-28 Thread Mike Yrabedra
on 11/27/07 3:49 PM, Wolf at [EMAIL PROTECTED] wrote: > > ---- Mike Yrabedra <[EMAIL PROTECTED]> wrote: >> on 11/27/07 1:53 PM, Wolf at [EMAIL PROTECTED] wrote: >> >>> >>> Mike Yrabedra <[EMAIL PROTECTED]> wrote: >>&

Re: [PHP] Nested include/require not working in 5.2

2007-11-27 Thread Mike Yrabedra
on 11/27/07 3:49 PM, Wolf at [EMAIL PROTECTED] wrote: > > ---- Mike Yrabedra <[EMAIL PROTECTED]> wrote: >> on 11/27/07 1:53 PM, Wolf at [EMAIL PROTECTED] wrote: >> >>> >>> Mike Yrabedra <[EMAIL PROTECTED]> wrote: >>&

Re: [PHP] Nested include/require not working in 5.2

2007-11-27 Thread Mike Yrabedra
on 11/27/07 1:53 PM, Wolf at [EMAIL PROTECTED] wrote: > > ---- Mike Yrabedra <[EMAIL PROTECTED]> wrote: >> on 11/27/07 1:43 PM, Wolf at [EMAIL PROTECTED] wrote: >> >>> >>> Mike Yrabedra <[EMAIL PROTECTED]> wrote: >>>>

Re: [PHP] Nested include/require not working in 5.2

2007-11-27 Thread Mike Yrabedra
on 11/27/07 1:43 PM, Wolf at [EMAIL PROTECTED] wrote: > > ---- Mike Yrabedra <[EMAIL PROTECTED]> wrote: >> on 11/27/07 11:46 AM, Jochem Maas at [EMAIL PROTECTED] wrote: >> >>> Mike Yrabedra wrote: >>>> >>>> I am not able to use inclu

Re: [PHP] Nested include/require not working in 5.2

2007-11-27 Thread Mike Yrabedra
on 11/27/07 11:46 AM, Jochem Maas at [EMAIL PROTECTED] wrote: > Mike Yrabedra wrote: >> >> I am not able to use includes or requires in nested files using php 5.2.3 >> (osx) >> >> Including or Requiring files directly works. >> >> Including fil

[PHP] Nested include/require not working in 5.2

2007-11-27 Thread Mike Yrabedra
ame throughout. This does not happen in 5.1.6 Is there a fix for this or is it PHP causing the problem? -- Mike Yrabedra B^)> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Bcompiler errors

2007-11-16 Thread Mike Yrabedra
on 11/15/07 12:51 PM, Daniel Brown at [EMAIL PROTECTED] wrote: > On Nov 15, 2007 12:36 PM, Mike Yrabedra <[EMAIL PROTECTED]> wrote: >> on 11/15/07 11:17 AM, Colin Guthrie at [EMAIL PROTECTED] wrote: >> >>> Mike Yrabedra wrote: >>>> Hello, >>>&

[PHP] Bcompiler errors

2007-11-15 Thread Mike Yrabedra
I am unsure as to where I need to go from here? I am concerned about putting this into production if it happens this often. Any ideas? P.S. Running PHP 5.2.3 on Mac OS X intel xserve Apache 2.2.4 -- Mike Yrabedra B^)> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] Re: Bcompiler errors

2007-11-15 Thread Mike Yrabedra
on 11/15/07 11:17 AM, Colin Guthrie at [EMAIL PROTECTED] wrote: > Mike Yrabedra wrote: >> Hello, >> >> >> I am getting these errors all the time now, on multiple scripts at random >> times. >> >> Warning: bcompiler: Bad bytecode file format at 0

Re: [PHP] Bcompiler errors

2007-11-15 Thread Mike Yrabedra
on 11/15/07 10:55 AM, Daniel Brown at [EMAIL PROTECTED] wrote: > On Nov 15, 2007 10:31 AM, Mike Yrabedra <[EMAIL PROTECTED]> wrote: >> >> Hello, >> >> >> I am getting these errors all the time now, on multiple scripts at random >> times. >>

Re: [PHP] Bcompiler errors

2007-11-15 Thread Mike Yrabedra
on 11/15/07 11:07 AM, Daniel Brown at [EMAIL PROTECTED] wrote: > On Nov 15, 2007 11:05 AM, Mike Yrabedra <[EMAIL PROTECTED]> wrote: >> on 11/15/07 10:55 AM, Daniel Brown at [EMAIL PROTECTED] wrote: >> >>> On Nov 15, 2007 10:31 AM, Mike Yrabedra <[EMAIL PR

Re: [PHP] Unable to use exec() in php

2007-06-18 Thread MIKE YRABEDRA
;> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > exec('date 2>&1',$ret); > echo $ret."\n"; > ?> -- Mike Yrabedra B^)> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Php script diagnostic app?

2007-06-17 Thread MIKE YRABEDRA
I was wondering if there was some kind of application that would process a php script, logging any functions (or classes) it encounters along the way. Logging times and memory use. I am trying to figure out what in a script slows it down so much. Any ideas? -- Mike Yrabedra B^)> --

[PHP] Imap certificate error?

2007-01-10 Thread MIKE YRABEDRA
When using imap_open to access my email server, I keep getting a invalid certificate error. The cert on the email server is issued from Geotrust and is quite common (Rapidssl). The error comes from it not being listed in the root certificates list (bundle). My question is, is this a problem

[PHP] Only allow one vhost to use exec() ?

2006-12-29 Thread MIKE YRABEDRA
I want to be able to use the exec() function on my site, but do not want to allow all the other users that same ability. IS there a safe and secure way to limit the use of that function to a single virtualhost...maybe even a single page or directory? -- Mike B^)> -- PHP General Mailing Lis

[PHP] Let openbasedir limited folks use system-wide includes

2004-01-27 Thread MIKE YRABEDRA
into their directories cannot use it. It gives an openbase directory error every time. Does anyone know of a solution for this without compromising security? ++ Mike Yrabedra (President) 323 Incorporated Home of MacDock.com, MacAgent.com and MacShirt.com

[PHP] Php ftp client recommendations?

2003-12-11 Thread MIKE YRABEDRA
Can anyone recommend a good, secure, stable php ftp client? And please save the "look at hotscripts" responses. I am looking for actual user input. Thanks. +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock.com, MacAge

Re: [PHP] Crossed paths?

2003-11-21 Thread MIKE YRABEDRA
check the whole > uppercase-lowercase thing first. Not likely, I am running Mac OS X and have never had a 'case' problem. ++ Mike Yrabedra (President) 323 Incorporated Home of MacDock.com, MacAgent.com and MacShirt.com +--

[PHP] Crossed paths?

2003-11-21 Thread MIKE YRABEDRA
roubleshoot this one? +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock.com, MacAgent.com and MacShirt.com ++ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: [EMAIL PROTEC

[PHP] Instant timeout

2003-11-04 Thread MIKE YRABEDRA
What would cause a php page to instantly prompt a timeout error when loading? ++ Mike Yrabedra (President) 323 Incorporated Home of MacDock.com, MacAgent.com and MacShirt.com ++ W: http://www.323inc.com

[PHP] Comments / Feedback script?

2003-10-22 Thread MIKE YRABEDRA
Anyone know of a good 'comments/ feedback' creation script that writes to a static text file (no MySQL)? The user would enter their email, name and comment. They would then be displayed on the page using an include function. +----+ Mik

[PHP] PHP generated AuthUserFiles?

2003-10-10 Thread MIKE YRABEDRA
rd. TIA +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock.com, MacAgent.com and MacShirt.com ++ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: [EMAIL PROTECTED] I: icha

[PHP] Script that pulls several pages from list?

2003-09-24 Thread MIKE YRABEDRA
. This way the user never needs to wait on the cache to happen. Any help would be appreciated :-) ++ Mike Yrabedra (President) 323 Incorporated Home of MacDock.com, MacAgent.com and MacShirt.com ++ W: http

Re: [PHP] webserver for mac

2003-08-27 Thread MIKE YRABEDRA
hing less than a G4, Mac OSX may be too > hungry?!? > > Justin Actually you can, 4D Webstar (4.5 on Mac Classic). So secure and stable that the US Army used it for their web site. Having said that, let me also say that WebSTAR is crap compared to Apache. :-) +--

Re: [PHP] 4.3.2 fopen() problem/limit?

2003-07-17 Thread MIKE YRABEDRA
on 7/17/03 8:28 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > ohh, excuse me, i read bad your message. > What is the size of the file ?? > check in php.ini the postmax_size param. 8MB, that should plenty big enough. +----+ Mike Yrabedra (

Re: [PHP] 4.3.2 fopen() problem/limit?

2003-07-17 Thread MIKE YRABEDRA
ull??? +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: [EMAIL PROTECTED] I: ichatmacd

[PHP] 4.3.2 fopen() problem/limit?

2003-07-17 Thread MIKE YRABEDRA
half of the source page. Almost like it gets to 20k then stops the stream. Anyone know if this is a bug or if there is a way to fix the problem? TIA ++ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop

Re: [PHP] zend optimizer for 4.3.2

2003-07-17 Thread MIKE YRABEDRA
r platforms. +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: [EMAIL PROTECTED] I: ichatmacdock ++ "

[PHP] Security-OTHER than safe mode?

2003-07-08 Thread MIKE YRABEDRA
ould greatly be appreciated. TIA +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: [EMAIL PROTECTED]

[PHP] Security-other than safe mode?

2003-07-07 Thread MIKE YRABEDRA
ould greatly be appreciated. TIA +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: [EMAIL PROTECTED]

[PHP] Using INCLUDES in SAFE MODE

2003-07-02 Thread MIKE YRABEDRA
x27;s config, to allow access to *specific* directories when in safe_mode? TIA +----+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1

[PHP] Convert KB to MB?

2003-06-19 Thread MIKE YRABEDRA
Is there a simple script that will take a value in Kilobytes and convert it to MegaBytes? ++ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www

[PHP] Php get vcard info?

2003-06-10 Thread MIKE YRABEDRA
Is it possible to use php to snag vCard info and insert it into a form? ++ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop ++ W: http://www.323inc.com/ P: 770.382.1195

Re: [PHP] Yearbook script?

2003-06-09 Thread MIKE YRABEDRA
for the cars...:) > > http:\\www.peloke.webhop.org > > > > -Original Message- > From: John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Monday, June 09, 2003 7:12 AM > To: 'MIKE YRABEDRA'; 'PHP List' > Subject: RE: [PHP] Yearbook script? > > &g

[PHP] Yearbook script?

2003-06-09 Thread MIKE YRABEDRA
Anyone know of a good yearbook script? One that will show a listing of photos, that when clicked on, will bring up a page with more info on the individual? TIA ++ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop

[PHP] Banner ad solution?

2003-03-20 Thread MIKE YRABEDRA
Can someone suggest a 'good' banner ad solution that is done in php. Please do not suggest phpAdNews since it has proven very unstable for me and others. -- Mike Yrabedra President 323, Inc. Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.c

[PHP] Phpadsnew?

2003-03-03 Thread MIKE YRABEDRA
Has anyone else had problems with this app opening tons of processes and never closing them? -- Mike Yrabedra President 323, Inc. Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM: ichatmacdock

Re: [PHP] Preventing the "hijacking" of pictures

2003-02-28 Thread MIKE YRABEDRA
LinkLok that may do what you need. It encrypts the image tag so it will only work on your pages. Search for it in Hotscripts.com HTH -- Mike Yrabedra President 323, Inc. Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://m

[PHP] Fputs including php syntax?

2003-02-25 Thread MIKE YRABEDRA
Is it possible to use 'fputs' to write to a text file and include php code within it? That way the generated page will have working php syntax within. How do I make it so the php code is treated like text and not code? -- Mike Yrabedra President 323, Inc. Home of The MacDo

[PHP] Received: (from www@localhost) ???

2003-02-24 Thread MIKE YRABEDRA
I am using sendmail and php and it works great... However, It always says this in the header of the email Received: (from [EMAIL PROTECTED]) Is there a way I can change this to something less generic, more specific to my server? TIA -- Mike Yrabedra President 323, Inc. Home of The

Re: [PHP] Opendir listing

2003-02-20 Thread MIKE YRABEDRA
on 2/20/03 3:34 PM, MIKE YRABEDRA at [EMAIL PROTECTED] wrote: > How do I remove the '.' and '..' from displaying with the following script? > I want just the files, not the dots. > > if ($handle = opendir('graphics/')) { > echo "Files:\n&qu

[PHP] Opendir listing

2003-02-20 Thread MIKE YRABEDRA
"; } closedir($handle); } ?> -- Mike Yrabedra President 323, Inc. Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM: ichatmacdock ___ "Whatever

Re: [PHP] List folder contents with links?

2003-02-20 Thread MIKE YRABEDRA
on 2/20/03 11:49 AM, David Otton at [EMAIL PROTECTED] wrote: >> Is it possible to display the contents of a given folder, list them , and >> make them links? > > http://www.php.net/manual/en/function.readdir.php Thanks :-) -- Mike Yrabedra President 323, Inc. Home of T

[PHP] List folder contents with links?

2003-02-20 Thread MIKE YRABEDRA
Is it possible to display the contents of a given folder, list them , and make them links? -- Mike Yrabedra President 323, Inc. Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM: ichatmacdock

[PHP] Encrypted URL links?

2003-02-20 Thread MIKE YRABEDRA
I have a site that sells software and wants to have downloadable purchases. Is there a way to encrypt a URL that will still work when clicked on, BUT not show the customer where the file actually resides? Is it also possible to have it expire after a given amount of time? TIA -- Mike

[PHP] Use GnuPG with PHP?

2003-02-13 Thread MIKE YRABEDRA
I want to be able to encrypt a block of text using a passphrase. Then when I get the email, I just need to unlock it using that passphrase (no keys...i think). Can anyone tell me how to do this in PHP code? TIA -- Mike Yrabedra President 323 Enterprises Home of The MacDock and The

[PHP] IS PEAR Secure?

2003-02-12 Thread MIKE YRABEDRA
I am looking into installing PEAR on my production server running 4.3. Are there any PEAR security issues to be concerned about? -- Mike Yrabedra President 323 Enterprises Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM

[PHP] PGP and PHP together???

2003-02-12 Thread MIKE YRABEDRA
Is it possible to use php and pgp together? Are there any good tutorials out there? -- Mike Yrabedra President 323 Enterprises Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM: ichatmacdock

Re: [PHP] Multi-User phpMyAdmin

2003-02-08 Thread MIKE YRABEDRA
ouldn't have any global privileges. For example, to grant the user real_user with all privileges on the database user_base:    GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password'; --snip-- -- Mike Yrabedra President 3

[PHP] Adding mhash function without recompile?

2003-02-06 Thread MIKE YRABEDRA
. TIA -- Mike Yrabedra President 323 Enterprises Home of The MacDock and The MacSurfshop [http://macdock.com] : [http://macsurfshop.com] VOICE: 770.382.1195 iChat/AIM: ichatmacdock ___ "in all your ways acknowledge Him a