Re: [PHP] Nested includes - Relative paths?

2006-11-07 Thread Larry Garfield
On Tuesday 07 November 2006 21:50, Nuno Vaz Oliveira wrote: > because INCLUDE\SESSION.PHP is going to be included in INDEX.PHP witch is > NOT in the same directory of DATABASE.PHP? > > > In other words... When PHP processes an include statement does it include > the file where the include statemen

[PHP] OpenLDAP

2006-11-07 Thread Alain Roger
Hi, I want to authenticate user by checking with our LDAP their login and password. For that, i need before to : 1- download LDAP client librairies OpenLDAP or Bind9 2- compile those librairies 3- Compile PHP with option ==> --with-ldap 4- Setup php.ini by removing semi-colon in front of ==> exte

Re: [PHP] Time-Zone juggling

2006-11-07 Thread Travis Doherty
Richard Lynch wrote: >What is the least-stupid way to fix this, and get 20:00 in the >Portland OR server to turn into: >Mon, 03 Apr 2006 20:00:00 CDT >which is what time it really was. > >E. Without changing the schema which means having to re-do >everything else in the application. That's p

[PHP] Time-Zone juggling

2006-11-07 Thread Richard Lynch
I have a PostgreSQL database chockful of datatype: "time without time zone" The times I chucked in there are, like, '7:00 PM' and they all seem fine... Until I start trying to generate an RFC 882 datetime stamp. :-( At that point, the fact that the server lives in Portland OR, and my times are a

[PHP] Nested includes - Relative paths?

2006-11-07 Thread Nuno Vaz Oliveira
Hi All, I'm relatively new to PHP but I've had some training and feel quite confortable programming it... Anyway, I'm having a problem in understanding the correct behaviour of the include statement/function. Imagine that I have an INDEX.PHP file in my root directory and I want to include

Re: [PHP] pass value to next page

2006-11-07 Thread Wang Chen
Thanks much, y'all. Forgive to my typo on the original email. On 11/7/06, Jochem Maas <[EMAIL PROTECTED]> wrote: Wang Chen wrote: > Hi , > > Newbie question, I have a form, > > > input . > input... >

Re: [PHP] pass value to next page

2006-11-07 Thread Jochem Maas
Wang Chen wrote: > Hi , > > Newbie question, I have a form, > > > input . > input... > ... > > > The search.php3 goes to query mysql dat

Re: [PHP] Sorting MySQL queries

2006-11-07 Thread Dotan Cohen
On 07/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: you really need to deal with this issue at the database design/data entry level. doing things on the sort to exclude (otherwise undefined) initial articles (as some have suggested) is very maintenance heavy as you have to update the sort p

Re: [PHP] pass value to next page

2006-11-07 Thread benifactor
you could also do this all on one page... with different if statments to direct which part of the process your actually in. if (processone) { blah... blah... } if (processtwo) { blah... blah... } this is how all of my pages work, to an extent, and it make things much easier not having to pas

Re: [PHP] pass value to next page

2006-11-07 Thread Bruce Cowin
Hi, In search.php3, you'd need to save the values into inputs of type "hidden". You can then query them in result.php as per usual. I hope that helps. Regards, Bruce >>> "Wang Chen" <[EMAIL PROTECTED]> 8/11/2006 11:57 a.m. >>> Hi , Newbie question, I have a form,

[PHP] pass value to next page

2006-11-07 Thread Wang Chen
Hi , Newbie question, I have a form, input . input... ... The search.php3 goes to query mysql database to see if the infomation is new

Re: [PHP] list of countries

2006-11-07 Thread James Tu
Sorry, maybe I should have posted on that list. My post was about the list rather than about using MySQL. My initial thought was that country lists would have been something that people in this forum would have encountered and was also hoping that some people here would have multi-language

Re: [PHP] Spam using email on website

2006-11-07 Thread Bruce Cowin
Yikes, so besides disabling the mail() function, how do you check for all that? Regards, Bruce >>> "Richard Lynch" <[EMAIL PROTECTED]> 8/11/2006 8:14 a.m. >>> On Tue, November 7, 2006 12:42 am, Pieter du Toit wrote: > I have a website that is being crawled or whatever and i have a > submission >

Re: [PHP] list of countries

2006-11-07 Thread Rory Browne
A MySQL list would have been a better place for this. Then again Most people on the MySQL list would have known about http://dev.mysql.com/doc/world-setup/en/world-setup.html where as people on this are less likely to. On 11/7/06, James Tu <[EMAIL PROTECTED]> wrote: Does anyone have a list of

Re: [PHP] Parse Errors with 5.2 on Linux

2006-11-07 Thread Robert Cummings
On Tue, 2006-11-07 at 21:18 +, Stut wrote: > Richard Lynch wrote: > > I never have understood why it was kosher to leave the final ?> off, > > for example, so maybe that changed. :-) [I doubt it] > > Certainly hasn't changed, and I hope it never does. Having to find an > errant space or carr

Re: [PHP] Parse Errors with 5.2 on Linux

2006-11-07 Thread Stut
Richard Lynch wrote: I never have understood why it was kosher to leave the final ?> off, for example, so maybe that changed. :-) [I doubt it] Certainly hasn't changed, and I hope it never does. Having to find an errant space or carriage return at the end of an include file that is one of ne

[PHP] PHP Consultant / Contractor

2006-11-07 Thread Max Clark
Hi all, I apologize in advance for a commercially orientated posting in this discussion list - I did not see a business focused list to use instead. I am looking for a good reliable PHP developer that can help with some one off projects that I have (10-20 hours a month perhaps) - geographic

RE: [PHP] list of countries

2006-11-07 Thread Robert Cummings
On Tue, 2006-11-07 at 12:12 -0800, bruce wrote: > ummm... > > i must be missing something You're missing a capitalized 'i' at the beginning of your sentence :/ > how is asking for the list lazy??? Because he saw a list, and then decided not to use it because it was "muddled by HTML tags".

RE: [PHP] list of countries

2006-11-07 Thread bruce
ummm... i must be missing something how is asking for the list lazy??? -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 9:59 AM To: James Tu Cc: PHP Subject: Re: [PHP] list of countries On Tue, 2006-11-07 at 12:40 -0500, James Tu

Re: [PHP] postgreSQl and images

2006-11-07 Thread Richard Lynch
On Mon, November 6, 2006 5:17 pm, Børge Holen wrote: > aaight... I get yer point there, > BUT > > you see, what do you do when an artists changes it name... forget it, > that was > a bad choice... Oh no, it's a GREAT choice. First of all, if they really really changed their name, then I create a

Re: [PHP] list of countries

2006-11-07 Thread James Tu
Thanks everyone for the helpful links and suggestions! Any people here with access to a country list in Arabic or Chinese? -James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spam using email on website

2006-11-07 Thread Richard Lynch
On Tue, November 7, 2006 12:42 am, Pieter du Toit wrote: > I have a website that is being crawled or whatever and i have a > submission > form for an event. > > I keep on getting random mail from this form. > > I have even disabled the submit button on the form, but keep on > getting it. > > What c

Re: [PHP] PHP and dynamic DHTML TREE (not menu) - suggestions

2006-11-07 Thread Jochem Maas
Edward Kay wrote: > How about http://developer.yahoo.com/yui/treeview/ ? I made an ajaxy tree using this and other bits of YUI, using data from a mysql db that is then output as JSON data. getting it together was all rather painless, I can very much recommend using YUI's treeview. :-) I use the t

[PHP] Re: list of countries

2006-11-07 Thread Colin Guthrie
James Tu wrote: > Does anyone have a list of countries in a handy format for importing > into MySQL? I just really need a list. Wikipedia has a nice list, but > it's muddled by HTML tags. > > If you also have them in Chinese and Arabic that would be even better. See attached. Dunno how old it i

Re: [PHP] 'View as HTML' Conversions

2006-11-07 Thread Richard Lynch
Google for pdf2html, doc2html, excel2html and see what comes up... On Tue, November 7, 2006 5:16 am, Kevin wrote: > Hi, > > We are trying to create a script which (the same as google search and > gmail) allows for PDF's, Doc's, Excel etc to be converted to HTML > documents dynamically, this is j

Re: [PHP] list of countries

2006-11-07 Thread Richard Lynch
On Tue, November 7, 2006 11:40 am, James Tu wrote: > Does anyone have a list of countries in a handy format for importing > into MySQL? I just really need a list. Wikipedia has a nice list, > but it's muddled by HTML tags. > > If you also have them in Chinese and Arabic that would be even better.

RE: [PHP] Spam using email on website

2006-11-07 Thread Brad Fuller
> -Original Message- > From: Pieter du Toit [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 07, 2006 1:43 AM > To: php-general@lists.php.net > Subject: [PHP] Spam using email on website > > Hi guys > > I have a website that is being crawled or whatever and i have a submission > form f

Re: [PHP] list of countries

2006-11-07 Thread rouvas
On Tuesday 07 November 2006 19:58, Robert Cummings wrote: > On Tue, 2006-11-07 at 12:40 -0500, James Tu wrote: > > Does anyone have a list of countries in a handy format for importing > > into MySQL? I just really need a list. Wikipedia has a nice list, > > but it's muddled by HTML tags. Goto: h

RE: [PHP] Spam using email on website

2006-11-07 Thread Brad Fuller
> -Original Message- > From: Pieter du Toit [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 07, 2006 1:43 AM > To: php-general@lists.php.net > Subject: [PHP] Spam using email on website > > Hi guys > > I have a website that is being crawled or whatever and i have a submission > form f

Re: [PHP] problems with SOAP-PHP5 and heritage

2006-11-07 Thread Jürgen Wind
Jürgen Wind wrote: > > if you want sombody using nabble.com having a look into the attached .php > files, > you should zip them before upload(i got them without any linefeeds). > but it may be a nabble.com bug, i filed a bugreport anyhow. -- View this message in context: http://www.nabble.co

Re: [PHP] OpenLDAP

2006-11-07 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-11-07 15:57:17 +0100: > Hi, > > where can i find > OpenLDAPfiles > already compiled ? > i've downloaded the tar file, but i do not have a compiler with me... :-*( Ignoring for a while that this is *utterly* off t

Re: [PHP] list of countries

2006-11-07 Thread Robert Cummings
On Tue, 2006-11-07 at 12:40 -0500, James Tu wrote: > Does anyone have a list of countries in a handy format for importing > into MySQL? I just really need a list. Wikipedia has a nice list, > but it's muddled by HTML tags. Don't be lazy. And it's called "marked up" not muddled. Cheers, Rob.

Re: [PHP] problems with SOAP-PHP5 and heritage

2006-11-07 Thread Jürgen Wind
if you want sombody using nabble.com having a look into the attached .php files, you should zip them before upload(i got them without any linefeeds). -- View this message in context: http://www.nabble.com/problems-with-SOAP-PHP5-and-heritage-tf2588326.html#a7223514 Sent from the PHP - General ma

RE: [PHP] Parse Errors with 5.2 on Linux

2006-11-07 Thread Michael Caplan
Hi Richard, Thanks for the reply. I tracked the problem down to short tags being turned off in the php.ini (I know, short tags, bad, bad). That fixed it. Thanks, Mike -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 1:39 PM To: Michae

[PHP] list of countries

2006-11-07 Thread James Tu
Does anyone have a list of countries in a handy format for importing into MySQL? I just really need a list. Wikipedia has a nice list, but it's muddled by HTML tags. If you also have them in Chinese and Arabic that would be even better. -James -- PHP General Mailing List (http://www.php.n

Re: [PHP] Parse Errors with 5.2 on Linux

2006-11-07 Thread Richard Lynch
On Tue, November 7, 2006 11:30 am, Michael Caplan wrote: > I just installed PHP 5.2 on a linux server (compiled from source), and > am having some strange problems with a script that is reporting a > fatal > parse error: > > Parse error: syntax error, unexpected $end in > /xxx/xxx/xxx/functions.php

[PHP] Parse Errors with 5.2 on Linux

2006-11-07 Thread Michael Caplan
Hi there, I just installed PHP 5.2 on a linux server (compiled from source), and am having some strange problems with a script that is reporting a fatal parse error: Parse error: syntax error, unexpected $end in /xxx/xxx/xxx/functions.php on line 1213 This very script parses just a-okay

[PHP] PHP-based content and document management

2006-11-07 Thread Anas Mughal
I am looking for a PHP based content management system to integrate into my existing website. I am not interested in the community-type systems. All I need is to query the content management system for content or documents based on some search criteria. The interface to the system could be a PHP

[PHP] Re: Spam using email on website

2006-11-07 Thread Kevin
Pieter du Toit wrote: Hi guys I have a website that is being crawled or whatever and i have a submission form for an event. I keep on getting random mail from this form. I have even disabled the submit button on the form, but keep on getting it. What can i do? Did you write the mail s

[PHP] Re: Spam using email on website

2006-11-07 Thread Ivo F.A.C. Fokkema
On Tue, 07 Nov 2006 08:42:57 +0200, Pieter du Toit wrote: > Hi guys > > I have a website that is being crawled or whatever and i have a submission > form for an event. > > I keep on getting random mail from this form. > > I have even disabled the submit button on the form, but keep on getting

RE: [PHP] PHP and dynamic DHTML TREE (not menu) - suggestions

2006-11-07 Thread Edward Kay
How about http://developer.yahoo.com/yui/treeview/ ? I've been using Yahoo's UI components for a few weeks now and am seriously impressed by them. Edward > Angelo Zanetti wrote: > > > Hi All, > > > > We are looking for a solution for visually displaying parent and child > > nodes in a tree like

Re: [PHP] PHP and dynamic DHTML TREE (not menu) - suggestions

2006-11-07 Thread Angelo Zanetti
Angelo Zanetti wrote: Hi All, We are looking for a solution for visually displaying parent and child nodes in a tree like component. It must work with PHP and mySQL as we are going to be populating the tree with dynamic data. We have found this: http://scbr.com/docs/products/dhtmlxTree/i

[PHP] OpenLDAP

2006-11-07 Thread Alain Roger
Hi, where can i find OpenLDAPfiles already compiled ? i've downloaded the tar file, but i do not have a compiler with me... :-*( thx, Alain

Re: [PHP] Authentification and LDAP (SSO / Single Sign-On)

2006-11-07 Thread Nick Talbott
On Tuesday 07 November 2006 12:37, you wrote: > So how can i implement a SSO via PHP only ? To use LDAP from within PHP you need to have a version of PHP with LDAP support available. Check the PHP online docs for how to do this. Assuming you know how to use PHP to create a standard looking logi

[PHP] PHP and dynamic DHTML menus - suggestions

2006-11-07 Thread Angelo Zanetti
Hi All, We are looking for a solution for visually displaying parent and child nodes in a tree like component. It must work with PHP and mySQL as we are going to be populating the tree with dynamic data. We have found this: http://scbr.com/docs/products/dhtmlxTree/index.shtml but the demo of

[PHP] Re: 'View as HTML' Conversions

2006-11-07 Thread Kevin
Rosty Kerei wrote: "Kevin" <[EMAIL PROTECTED]> ???/ ? ?: news:[EMAIL PROTECTED] Hi, We are trying to create a script which (the same as google search and gmail) allows for PDF's, Doc's, Excel etc to be converted to HTML documents dynamically, this is just in case

Re: [PHP] Authentification and LDAP (SSO / Single Sign-On)

2006-11-07 Thread Nick Talbott
On Tuesday 07 November 2006 12:13, Alain Roger wrote: > I'm currently developing a PHP application as intranet tool for our > company. I would like to make users connect to this tool with an > authentification window where they can enter their domain login and > password. > via LDAP and Apache modu

[PHP] Authentification and LDAP (SSO / Single Sign-On)

2006-11-07 Thread Alain Roger
Hi, I'm currently developing a PHP application as intranet tool for our company. I would like to make users connect to this tool with an authentification window where they can enter their domain login and password. via LDAP and Apache module mod_auth_ldap, i would like to check this user login an

Re: [PHP] 'View as HTML' Conversions

2006-11-07 Thread Rory Browne
Check out Alfresco. It's basicly a (E)CMS, which you upload word / excel / etc. It may do everything you want, or you may be able to extract the parts you want and leave the rest, or it may be of no use to you whatsoever. It basicly sets up an OOo daemon, and connects to it to do its conversion

[PHP] Re: 'View as HTML' Conversions

2006-11-07 Thread Colin Guthrie
Kevin wrote: > Hi, > > We are trying to create a script which (the same as google search and > gmail) allows for PDF's, Doc's, Excel etc to be converted to HTML > documents dynamically, this is just in case users want to view documents > but don't have the necessary software. The HTML needs to kee

[PHP] problems with SOAP-PHP5 and heritage

2006-11-07 Thread Ronaldo Reis Junior
Hi, I'm making a webservice using SOAP-PHP5. It working fine. But when I use a method in a class that use a heritage, it fails. The class wrok fine out of the webservice, but dont work on webservice. Look SoapFault exception: [Client] looks like we got no XML document in /var/www/bruno/xtempla

Re: [PHP] 'View as HTML' Conversions

2006-11-07 Thread clive
Kevin wrote: Does anyone know how google have done this? or does anyone know any PHP equivalents, we are using the Windows IIS server. They employ some very clever people :) your best bet is to find a command line tool that can do what you need, then simply call this from php. Thanks K

[PHP] Re: 'View as HTML' Conversions

2006-11-07 Thread Rosty Kerei
"Kevin" <[EMAIL PROTECTED]> ???/ ? ?: news:[EMAIL PROTECTED] > Hi, > > We are trying to create a script which (the same as google search and > gmail) allows for PDF's, Doc's, Excel etc to be converted to HTML > documents dynamically, this is just in case users want t

[PHP] 'View as HTML' Conversions

2006-11-07 Thread Kevin
Hi, We are trying to create a script which (the same as google search and gmail) allows for PDF's, Doc's, Excel etc to be converted to HTML documents dynamically, this is just in case users want to view documents but don't have the necessary software. The HTML needs to keep as much of the sty

RE: [PHP] PHP Zip Question

2006-11-07 Thread Matt Street
Richard, Thank you for your post and the link to your rant. Indeed I am a PHP newbie and have fallen into the advice I have been given through google. . . I have added an exit and probably owe you a donut as I had to remove a couple of echo's from my code! However, the good news after all of this

Re: [PHP] WAP?

2006-11-07 Thread clive
Richard Lynch wrote: So far, in my limited reading, it seems like more than a few people are saying the 1.x-only handsets are still "out there" yes true, just remember the 80/20 principle, how many of those older handset user will be using this wap site, actually depending on what you want t

[PHP] Re: Sorting MySQL queries

2006-11-07 Thread Colin Guthrie
Richard Lynch wrote: > Actually, super-recent MySQL has user-defined functions, I think, so > the previous solution by another post may be better in that case. MySQL since way back has allowd UDF's but you need to write them in C and compile them up as .so's and then call the "create function" syn

Re: [PHP] Re: Frameworks

2006-11-07 Thread Tony Marston
Radicore is built using PHP, so if PHP can run under IIS then so can Radicore. If you already have a working PHP installation running under IIS then Radicore should work. I'm not sure about the .htaccess settings though, so you will have to consult the IIS manual. Tony Marston http://www.tonym

Re: [PHP] Spam using email on website

2006-11-07 Thread clive
Pieter du Toit wrote: Hi guys I have a website that is being crawled or whatever and i have a submission form for an event. I keep on getting random mail from this form. I have even disabled the submit button on the form, but keep on getting it. What can i do? you could use a CAPTCHA ima