Re: [PHP] Re: Pulling my hair out over an include_once();

2010-03-20 Thread Rene Veerman
cool. tip: if you're gonna use libs like magpie, in 1 or more projects on a webserver, i'd put it in htdocs/lib/magpie-x.y.z, (x.y.z=versionnumber), then require_once('/lib/magpie-x.y.z/[magpie top include script.inc]') it at the top of htdocs/projectName/index.php or if it's only to be used in a

Re: [PHP] Re: Pulling my hair out over an include_once();

2010-03-20 Thread Adam Richardson
On Sun, Mar 21, 2010 at 2:20 AM, Watson Blair wrote: > ya, sorry i diden't specify, i'm trying to build a simple RSS (haha, fat > chance it being simple, right?) reader for a site to import an ebay RSS feed > and desplay the contense. I'm using Magpie to accomplish it. also, you'll be > glad to kn

Re: [PHP] Re: Pulling my hair out over an include_once();

2010-03-20 Thread Watson Blair
ya, sorry i diden't specify, i'm trying to build a simple RSS (haha, fat chance it being simple, right?) reader for a site to import an ebay RSS feed and desplay the contense. I'm using Magpie to accomplish it. also, you'll be glad to know that your fix worked like a charm, all i need to do now is

Re: [PHP] Re: Pulling my hair out over an include_once();

2010-03-20 Thread Watson Blair
hey adam, i changed the code to use file_get_contents();, however, when i tried to later call a function form the file rss_fetch.inc it came up as an undefined function did i miss something? thanks, Watson On Sun, Mar 21, 2010 at 1:46 AM, Adam Richardson wrote: > On Sun, Mar 21, 2010 at 1:12

Re: [PHP] Re: Pulling my hair out over an include_once();

2010-03-20 Thread Adam Richardson
On Sun, Mar 21, 2010 at 1:45 AM, Stan Vassilev wrote: > > Hi, > > As the error says, this is a problem with the server configuration. > In your php.ini file, allow_url_include should be enabled. > > As an alternative, if you have allow_url_include off, but allow_url_fopen > on, you can file_get_co

Re: [PHP] Pulling my hair out over an include_once();

2010-03-20 Thread Rene Veerman
is this file you need on your local server or truely on another machine? and if it's on another machine, why do you need to include() it from there? why not make a local copy as was suggested earlier? there are many reasons not to include php scripts off other servers, esp if the servers involved

Re: [PHP] Re: Pulling my hair out over an include_once();

2010-03-20 Thread Adam Richardson
On Sun, Mar 21, 2010 at 1:12 AM, Watson Blair wrote: > ah, i forgot to properly phrase my question... what am i doing wrong, and > how do i make it work? slash, could you guys/girls point me towards a > tutorial that will give me a hand? > Thanks again, > Watson > > On Sun, Mar 21, 2010 at 1:00 AM

Re: [PHP] Re: Pulling my hair out over an include_once();

2010-03-20 Thread Stan Vassilev
Hi, As the error says, this is a problem with the server configuration. In your php.ini file, allow_url_include should be enabled. As an alternative, if you have allow_url_include off, but allow_url_fopen on, you can file_get_contents() that URL and eval() it. Keep in mind you need *absolute

[PHP] Re: Pulling my hair out over an include_once();

2010-03-20 Thread Watson Blair
ah, i forgot to properly phrase my question... what am i doing wrong, and how do i make it work? slash, could you guys/girls point me towards a tutorial that will give me a hand? Thanks again, Watson On Sun, Mar 21, 2010 at 1:00 AM, Watson Blair wrote: > Hey all, i'm sure i'm missing something gl

[PHP] Pulling my hair out over an include_once();

2010-03-20 Thread Watson Blair
Hey all, i'm sure i'm missing something glaringly obvious, but i have yet to find a solution to this online... so heres the line of code that i'm getting hung up on: http://www.jennysjunket.com/magpierss/rss_fetch.inc";);?> which gives me this: *Warning*: include() [function.include]: URL file-a

Re: [PHP] Session Variable Problem

2010-03-20 Thread Adam Richardson
t;> $_SESSION['lend_fname']=stripslashes($_POST['lend_fname']); > >> > >> Calling the session varible to the input field for review > >> > >> >> 'value="'.htmlentities($_SESSION['lend_fname']).'"&

Re: [PHP] Session Variable Problem

2010-03-20 Thread Gary
end_fname']).'"';}?> >> >> The page starts at http://www.paulgdesigns.com/one2one/lend_bor_input.php >> >> Im confused as to why they keep getting dropped and how to stop it. >> >> Hopefully I have given enough information. >> >> Thank you >> >>

Re: [PHP] Session Variable Problem

2010-03-20 Thread Adam Richardson
d_fname']).'"';}?> > > The page starts at http://www.paulgdesigns.com/one2one/lend_bor_input.php > > Im confused as to why they keep getting dropped and how to stop it. > > Hopefully I have given enough information. > > Thank you > > Gary > &g

Re: [PHP] blog design issue...

2010-03-20 Thread Rene Veerman
i'd go with "tags" over categories, because you can add multiple tags to a single blog post. table posts: postID integer ... table post_tags: postID integer tagID integer tagPercentageApplies float /* optional, not the industry standard */ table tags: tagID integer tagName varchar On Sat, Mar

[PHP] Session Variable Problem

2010-03-20 Thread Gary
confused as to why they keep getting dropped and how to stop it. Hopefully I have given enough information. Thank you Gary __ Information from ESET Smart Security, version of virus signature database 4961 (20100320) __ The message was checked by ESET Smart Security. http

Re: [PHP] blog design issue...

2010-03-20 Thread Dan McCullough
Table is the way to go for all the reasons that Rob mentioned. > > This is going to be a small blog to start, but I guess I should always be >> looking at performance, security, & maintainability right? >> > > Good way to start is start small and build a strong base around a good database, good

Re: [PHP] blog design issue...

2010-03-20 Thread tedd
At 11:40 AM -0400 3/20/10, Jason Pruim wrote: I know you are all probably thinking "What does this have to do with PHP?" and in reality... It's probably stretching it a little bit... BUT I am in the process of writing a blog software (Yes I'm aware of all the open source, and paid stuff out the

Re: [PHP] blog design issue...

2010-03-20 Thread Richard
Hi, > eg.4&2=6. Oops, that should be 4|2 = 6. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 13th March) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] blog design issue...

2010-03-20 Thread Robert Cummings
Jason Pruim wrote: I know you are all probably thinking "What does this have to do with PHP?" and in reality... It's probably stretching it a little bit... BUT I am in the process of writing a blog software (Yes I'm aware of all the open source, and paid stuff out there... I'm doing this to

Re: [PHP] blog design issue...

2010-03-20 Thread Richard
Hi, > I know you are all probably thinking "What does this have to do with PHP?" > and in reality... It's probably stretching it a little bit... BUT I am in > the process of writing a blog software (Yes I'm aware of all the open > source, and paid stuff out there... I'm doing this to learn :)) I a

Re: [PHP] blog design issue...

2010-03-20 Thread Ashley Sheridan
On Sat, 2010-03-20 at 11:40 -0400, Jason Pruim wrote: > I know you are all probably thinking "What does this have to do with > PHP?" and in reality... It's probably stretching it a little bit... > BUT I am in the process of writing a blog software (Yes I'm aware of > all the open source, and

[PHP] blog design issue...

2010-03-20 Thread Jason Pruim
I know you are all probably thinking "What does this have to do with PHP?" and in reality... It's probably stretching it a little bit... BUT I am in the process of writing a blog software (Yes I'm aware of all the open source, and paid stuff out there... I'm doing this to learn :)) I am loo

Re: [PHP] How do I upgrade GD?

2010-03-20 Thread Per Jessen
PmI wrote: > Hi, > > how do I upgrade GD? PHP still comes bundled with the three year old > version 2.0.34, even though there have been lots of bugfixes in 2.0.35 > and 2.0.36 (most importantly, 2.0.36 now actually supports unicode > text, rather than "any unicode text as long as it's only UCS-2"

[PHP] How do I upgrade GD?

2010-03-20 Thread PmI
Hi, how do I upgrade GD? PHP still comes bundled with the three year old version 2.0.34, even though there have been lots of bugfixes in 2.0.35 and 2.0.36 (most importantly, 2.0.36 now actually supports unicode text, rather than "any unicode text as long as it's only UCS-2", which means any unico

Re: [PHP] no svn checkout of the current PHP development repo?

2010-03-20 Thread Daniel Brown
On Sat, Mar 20, 2010 at 09:03, Robert P. J. Day wrote: > >  ok, i might do that.  as daniel suggested, that issue is noticeably > outside the scope of this general list. Just be prepared for what you'll encounter on Internals. I was deliberately not suggesting that list at this point in time

Re: [PHP] no svn checkout of the current PHP development repo?

2010-03-20 Thread Robert P. J. Day
On Sat, 20 Mar 2010, Peter Lind wrote: > You should probably have a look at the internals list - there's a > lot of discussion going on as to what should happen in terms of SVN > structure. ok, i might do that. as daniel suggested, that issue is noticeably outside the scope of this general lis

Re: [PHP] no svn checkout of the current PHP development repo?

2010-03-20 Thread Peter Lind
You should probably have a look at the internals list - there's a lot of discussion going on as to what should happen in terms of SVN structure. Regards Peter On 20 March 2010 12:32, Robert P. J. Day wrote: > >  just for fun, i figured i'd check out the current PHP development > stream.  however

Re: [PHP] no svn checkout of the current PHP development repo?

2010-03-20 Thread Daniel P. Brown
This starts to get out of the scope of the General list. If you think it's a bug, report it. Did you check out the latest snap? It's an hourly build from the SVN repo. (If this top-posts, my apologies. I'm sitting in the living room with my little girl, typing from my DROID.) On Mar 20, 2010 7:3

Re: [PHP] PHP SMTP Mailers

2010-03-20 Thread Jan G.B.
2010/3/20 King Coffee > Hi, > > I'm executing a third-parity standard PHP application on a Windows IIS 7 > shared hosting server. > > I need to convert, or use, a SMTP mailer service. I found two SMTP PHP > scripts - I think may work. > > The sourceforge.net PHPMailer project and the pear.php.ne

[PHP] no svn checkout of the current PHP development repo?

2010-03-20 Thread Robert P. J. Day
just for fun, i figured i'd check out the current PHP development stream. however, if you read the web page here: http://php.net/svn.php there's no mention of the "trunk", simply references to branches such as 5.2 and 5.3. i popped over to: http://svn.php.net/viewvc/php/php-src/ and,

[PHP] PHP SMTP Mailers

2010-03-20 Thread King Coffee
Hi, I'm executing a third-parity standard PHP application on a Windows IIS 7 shared hosting server. I need to convert, or use, a SMTP mailer service. I found two SMTP PHP scripts - I think may work. The sourceforge.net PHPMailer project and the pear.php.net (Mail, Net_SMTP) project. Can

Re: [PHP] Re: where to make observations about current PHP manual?

2010-03-20 Thread Robert P. J. Day
On Fri, 19 Mar 2010, Daniel Brown wrote: > On Fri, Mar 19, 2010 at 20:57, Robert P. J. Day wrote: > > > >  i'm not sure that addresses my post -- it doesn't make grammatical > > sense to state that something is unavailable "since" something that is > > yet to be officially released. > > In mo

Re: [PHP] where to make observations about current PHP manual?

2010-03-20 Thread Robert P. J. Day
On Fri, 19 Mar 2010, Daniel Brown wrote: > On Fri, Mar 19, 2010 at 16:59, Robert P. J. Day wrote: > > > >  i don't see a separate mailing list for documentation so is this > > where i would point at oddities in the manual?  as in, here: > > > > http://www.php.net/manual/en/language.variables.exte

Re: [PHP] any reason *not* to use PEAR DB module when accessing mysql?

2010-03-20 Thread Paul M Foster
On Fri, Mar 19, 2010 at 02:01:03PM -0700, Michael A. Peters wrote: > > I use MDB2. > I hear PDO hyped a lot, what does it really give me that MDB2 does not, > other than making the application dependent upon a binary module? Maybe nothing. But PDO is built-in and MDB2 isn't. Paul -- Paul M.