[PHP] I know this is not easy and I'm not stupid but...

2007-08-08 Thread Phil Curry
how can this be? This is not the first time I've run into a situation like this. What am I missing? line 102echo ($userValues['afterDark']); // outputs 1 line 103if ( $userValues['afterDark'] == 0 ) {// passes Thanks. -Phil -- PHP General Mailing List (h

RE: [PHP] magic quotes

2007-08-08 Thread k3cheese
It did work I was expecting a physical change in the form display as the form field values are set to stripslashes values. -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 12:20 AM To: k3cheese Cc: php-general@lists.php.net Subject: RE: [PH

RE: [PHP] magic quotes

2007-08-08 Thread k3cheese
Indeed. The Force is strong with this one...This Richard Lynch. Thanks for your insight. You are right magic quotes is indeed meddling with my vars before I can. OK, I better understand. I'll do more homework. I've already investigated the other link you advised and it's bookmarked.

Re: [PHP] get and post together

2007-08-08 Thread Ray
On Wednesday 08 August 2007 10:29:33 pm Richard Lynch wrote: > On Wed, August 8, 2007 10:18 pm, Ray wrote: > > I've done something and I want to know if I should be ashamed :) > > > > I've set up a form with method="POST" and target ="page.php?foo=bar" > > it works fine. $_POST[...] gives me the da

RE: [PHP] magic quotes

2007-08-08 Thread Richard Lynch
On Thu, August 9, 2007 12:01 am, k3cheese wrote: > I have an example, how using js can instantly remove chars you type. > If I > don't want quotes in the form fields the code in loop removes them. > What's > your take on this? My take: Problem #1: It doesn't work very well for fields that actuall

RE: [PHP] magic quotes

2007-08-08 Thread Richard Lynch
"runtime data" means "data that is coming out of your database at runtime" as opposed to "gpc data" which means "data from GET/POST/COOKIE" It most certainly does NOT mean that you can't modify the data you have received in any way you choose. Can you clarify "Didn't work at all." for us? Or, pe

Re: [PHP] two confuse problems

2007-08-08 Thread Richard Lynch
On Wed, August 8, 2007 1:43 am, [EMAIL PROTECTED] wrote: > As the follow show: > > I want to meet a function that, > > 1,Click the brows bottom, and select one file, return the file name to > the text area and the file¡¦s size to the $filesize. > > I don¡¦t how to make the browser bottom to achieve

Re: [PHP] Articles or News Management Systems -- Full Message

2007-08-08 Thread Richard Lynch
On Wed, August 8, 2007 2:58 am, Sancar Saran wrote: > For example > /category/subcat/subcat/documentTitle/document.xml > /category/subcat/subcat/documentTitle/gfx1.jpg > /category/subcat/subcat/documentTitle/gfx2.jpg > /category/subcat/subcat/documentTitle/pdf1.pdf > > Or Shall I use full sql based

Re: [PHP] need mysql_ping when using mysql_pconnect?

2007-08-08 Thread Richard Lynch
On Wed, August 8, 2007 3:05 am, [EMAIL PROTECTED] wrote: > Quoting Richard Lynch <[EMAIL PROTECTED]>: > Yes that is true. I only use mysql_ping in scripts with long idle > times (up to one hour idle time), and then I noticed that the mysql > connection goes down. Using mysql_ping will not just chec

RE: [PHP] magic quotes

2007-08-08 Thread k3cheese
I have an example, how using js can instantly remove chars you type. If I don't want quotes in the form fields the code in loop removes them. What's your take on this? -Original Message- From: k3cheese [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 11:59 PM To: '[EMAIL PROTE

RE: [PHP] magic quotes

2007-08-08 Thread k3cheese
I added the code to my script and I still ended up escaped quotes. if(ini_get('magic_quotes_gpc')) $_POST['data'] = stripslashes($_POST['data']); Didn't work at all. I think I read something about it not working on runtime data. Like gpc if this is correct do you have another solution? I put thi

Re: [PHP] Hidden include_path Fall Back?

2007-08-08 Thread Richard Lynch
The default of php.ini starts with '.' in the first place, I think, so unless you go out of your way to change it, you'll get '.' from a fresh install anyway. I personally would not rely on the behaviour of the code unless you can find Documentation on http://php.net that says it will work this wa

Re: [PHP] get and post together

2007-08-08 Thread Richard Lynch
On Wed, August 8, 2007 10:18 pm, Ray wrote: > I've done something and I want to know if I should be ashamed :) > > I've set up a form with method="POST" and target ="page.php?foo=bar" > it works fine. $_POST[...] gives me the data I want and > $_GET['foo']=='bar'. > I freely admit it's an ugly klud

Re: [PHP] Re: get domain component from email

2007-08-08 Thread Richard Lynch
On Wed, August 8, 2007 4:26 am, Stut wrote: > Completely agree. It's like banning someone from a pub based on the > clothes they were wearing the last time you saw them. Yeah, one drunk abusive chick in a little black dress could get EVERY gal in a little black dress banned. That's pretty messed

Re: [PHP] Cut text from a string

2007-08-08 Thread Richard Lynch
On Wed, August 8, 2007 7:54 am, Daniel Brown wrote: > On 8/7/07, Richard Lynch <[EMAIL PROTECTED]> wrote: >> preg_match('|^(.*)\\((.*)\\)$', $string, $parts); > > Lynch, he asked how to manipulate a string, not for you to draw > him an ASCII topless dancer. ;-P Yeah, and I think I left out

RE: [PHP] magic quotes

2007-08-08 Thread Richard Lynch
.htaccess is only meaningful for Apache. JavaScript is equally useless to Ajax for working around Magic Quotes. On Wed, August 8, 2007 7:55 am, k3cheese wrote: > Thanks, > > Met javascript not ajax. I had AJAX on the brain do to a project I'm > working > on. So I'm assuming there is a library of

Re: [PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Richard Lynch
On Wed, August 8, 2007 12:56 pm, Jason Pruim wrote: > I tried asking this question on the MySQL list but haven't gotten > very many helpful responses... Does anyone know how to successfully > import a excel file into MySQL (To make it on topic) Using PHP? I > have tried using LOAD FILE in mysql and

Re: [PHP] Move and rename help...

2007-08-08 Thread Richard Lynch
On Wed, August 8, 2007 5:39 pm, Joker7 wrote: > Can anyone give me some pointer,here's my problem.I wish to move a > file from > a local server to a remote one.The file is in the format > ([EMAIL PROTECTED]) on moving the file to the remote server I > wish to > remove the time stamp part of the fil

Re: [PHP] permissions for include()

2007-08-08 Thread Richard Lynch
On Wed, August 8, 2007 7:52 pm, jekillen wrote: > I have a question about including php files that are outside of > the web server document root. What permission does Apache > use to access files outside of the document root? > Here is the situation: > I want to store sensitive data such as login/p

RE: [PHP] ORM framework suggestion

2007-08-08 Thread Robert Cummings
On Wed, 2007-08-08 at 23:51 -0400, Anton C. Swartz IV wrote: > Rob you know .. when I went looking into ruby .. rails only turned me away > from it more then wanted me to use it .. > I'm not so big on the MVC setup's .. :-\ I have nothing against Ruby, and I do enjoy the MVC style approach to web

Re: [PHP] PEAR

2007-08-08 Thread Richard Lynch
On Wed, August 8, 2007 9:53 pm, racol wrote: > If I have the "PEAR" directory in my C:\php directory and my php.ini > has a line which reads: include_path = ".;C:\php\pear" why can't my > program find DB.php? > > Can anyone tell me please? Possible causes: The PEAR directory and/or DB.php is not

Re: [PHP] get and post together

2007-08-08 Thread Sean Pringle
On 8/9/07, Ray <[EMAIL PROTECTED]> wrote: > Hi all, > I've done something and I want to know if I should be ashamed :) > > I've set up a form with method="POST" and target ="page.php?foo=bar" > it works fine. $_POST[...] gives me the data I want and $_GET['foo']=='bar'. > I freely admit it's an ugl

RE: [PHP] ORM framework suggestion

2007-08-08 Thread Anton C. Swartz IV
Rob you know .. when I went looking into ruby .. rails only turned me away from it more then wanted me to use it .. I'm not so big on the MVC setup's .. :-\ --- Anton C. Swartz IV Phoenix Edge Network L.L.C. http://www.phpopenid.com - Owner PHPLogic Development Services http://www.phplogic.net - C

[PHP] get and post together

2007-08-08 Thread Ray
Hi all, I've done something and I want to know if I should be ashamed :) I've set up a form with method="POST" and target ="page.php?foo=bar" it works fine. $_POST[...] gives me the data I want and $_GET['foo']=='bar'. I freely admit it's an ugly kludge, but is it "bad"? Ray -- PHP General Maili

Re: [PHP] PEAR

2007-08-08 Thread Chris
racol wrote: If I have the "PEAR" directory in my C:\php directory and my php.ini has a line which reads: include_path = ".;C:\php\pear" why can't my program find DB.php? The pear guys would be able to help you out more: http://pear.php.net/support/lists.php -- Postgresql & php tutorials htt

[PHP] PEAR

2007-08-08 Thread racol
If I have the "PEAR" directory in my C:\php directory and my php.ini has a line which reads: include_path = ".;C:\php\pear" why can't my program find DB.php? Can anyone tell me please? Roger Collis

[PHP] looking for lists?

2007-08-08 Thread Kaplan prestige
Only until Aug 10 - Purchase the MD Directory at the sale price and get Hospital, Nursing Home and Dentist data at no charge Licensed MDs in the USA 788,728 in total – 17,400 emails Many popular specialties like Emergency Medicine, Plastic Surgery, OBGYN, Oncology, Pediatrics and more Ma

Re: [PHP] ORM framework suggestion

2007-08-08 Thread Robert Cummings
On Wed, 2007-08-08 at 19:10 -0500, Greg Donald wrote: > On 8/8/07, Matt Arnilo S. Baluyos (Mailing Lists) > <[EMAIL PROTECTED]> wrote: > > Would anyone suggest what ORM framework they're using right now? > > Ruby on Rails and Django are really good. Somebody put the Ruby mole out of its misery!

Re: [PHP] permissions for include()

2007-08-08 Thread Chris
jekillen wrote: Hello again; I have a question about including php files that are outside of the web server document root. What permission does Apache use to access files outside of the document root? Same as inside the document root afaik. I want to store sensitive data such as login/pw data

[PHP] permissions for include()

2007-08-08 Thread jekillen
Hello again; I have a question about including php files that are outside of the web server document root. What permission does Apache use to access files outside of the document root? Here is the situation: I want to store sensitive data such as login/pw data for registered users. I also want to

Re: [PHP] ORM framework suggestion

2007-08-08 Thread Greg Donald
On 8/8/07, Matt Arnilo S. Baluyos (Mailing Lists) <[EMAIL PROTECTED]> wrote: > Would anyone suggest what ORM framework they're using right now? Ruby on Rails and Django are really good. > I am > experienced with OOP and am just looking for a framework to speed > things up. Can't get much faster

Re: [PHP] Move and rename help...

2007-08-08 Thread Steffen Ebermann
On Wed, Aug 08, 2007 at 11:39:20PM +0100, Joker7 wrote: > Can anyone give me some pointer,here's my problem.I wish > to move a file from a local server to a remote one.The file > is in the format ([EMAIL PROTECTED]) on moving the > file to the remote server I wish to remove the time stamp > par

Re: [PHP] php problems

2007-08-08 Thread Chris
a.) PHP Fatal error: main() [href='function.require'>function.require]: Failed opening required 'DB.php' (include_path='C:\php\pear') in C:\sambar64\docs\BondMovies.php on line 11 require_once('DB.php'); Isn't the pear db class DB/DB.php ? > b.)PHP Parse error: syntax error, unexpected

[PHP] php problems

2007-08-08 Thread racol
Dear Helpers, here are the 2 files I cannot make work. I have installed php in c:\php, my php.ini file is in Windows directory and my path to pear reads "include_path = .;C:\php\pear" in the phpinfo.php output. I have switched on error reporting and have received the following error messages:

[PHP] ORM framework suggestion

2007-08-08 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hello All, I'm thinking of using an ORM framework for a new project. From my research, I've found Propel and Doctrine (of course, there might be others). Would anyone suggest what ORM framework they're using right now? I am experienced with OOP and am just looking for a framework to speed things

RE: [PHP] magic quotes

2007-08-08 Thread k3cheese
Cool, That's very informative. You guys ROCK! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 5:16 PM To: k3cheese Cc: [EMAIL PROTECTED]; php-general@lists.php.net Subject: Re: [PHP] magic quotes k3cheese wrote: > Thanks, > > Met javascript no

Re: [PHP] Move and rename help...

2007-08-08 Thread Jim Lucas
Joker7 wrote: Hi All-seeing All-knowing Ones :) Can anyone give me some pointer,here's my problem.I wish to move a file from a local server to a remote one.The file is in the format ([EMAIL PROTECTED]) on moving the file to the remote server I wish to remove the time stamp part of the file an

[PHP] Move and rename help...

2007-08-08 Thread Joker7
Hi All-seeing All-knowing Ones :) Can anyone give me some pointer,here's my problem.I wish to move a file from a local server to a remote one.The file is in the format ([EMAIL PROTECTED]) on moving the file to the remote server I wish to remove the time stamp part of the file and just leave ( v

Re: [PHP] Articles or News Management Systems

2007-08-08 Thread Chris
Sancar Saran wrote: Thanks :) It was helpfull, very intersting cms design plus it gives lots of idea bout document management. Also, I had my own cms design alredy, and it was very capable. Probably I ask wrong question. Maybe I ask is there any standarts or examples for document management

Re: [PHP] magic quotes

2007-08-08 Thread Chris
k3cheese wrote: Thanks, Met javascript not ajax. I had AJAX on the brain do to a project I'm working on. So I'm assuming there is a library of functions to use with the .htaccess file? Cause it looks like you can use UNIX and PHP to edit this file? htaccess files can do lots of things. http:

Re: [PHP] (macOSX,camino) problem : access denied to a file setup.php

2007-08-08 Thread Chris
olivier SAINT-EVE wrote: Hello, a file named setup.php is in the root folder of my hard disk, and I wanted to open it from camino, with the address: "http://localhost/setup.php";. But I have an error 403:"access forbidden". Check permissions on the file. Check the webserver error logs to se

Re: [PHP] Sorting files in a directory

2007-08-08 Thread Chris
Steve Marquez wrote: Greetings, I have some code that opens a directory and displays the files. I want to display the files in Alphabetical order. I know this code does not work, but I was curious if someone can take a look and tell me what is wrong? Thank you so much. [ I hope the indenting

Re: [PHP] include_path issue

2007-08-08 Thread Chris
Steve Finkelstein wrote: Hi all, I have rudimentary application which has an index.php that looks like this: ini_set( 'display_errors', true ); require_once'include/Model.php'; Immediately after that include/Model.php is processed, Model.php consists of this: require_once

[PHP] (macOSX,camino) problem : access denied to a file setup.php

2007-08-08 Thread olivier SAINT-EVE
Hello, a file named setup.php is in the root folder of my hard disk, and I wanted to open it from camino, with the address: "http://localhost/setup.php";. But I have an error 403:"access forbidden". Does someone know how to solve this problem? I specify I have installed PHP5 with macports. l

Re: [PHP] Hidden include_path Fall Back?

2007-08-08 Thread imacat
On Wed, 8 Aug 2007 10:39:03 +0100 "Ford, Mike" <[EMAIL PROTECTED]> wrote: > On 08 August 2007 10:06, imacat wrote: > > I found that include_path seems to have a hidden fall back that's > > not documented anywhere. It seems to always look for files in the > > calling files' own directory. > Isn

[PHP] Sorting files in a directory

2007-08-08 Thread Steve Marquez
Greetings, I have some code that opens a directory and displays the files. I want to display the files in Alphabetical order. I know this code does not work, but I was curious if someone can take a look and tell me what is wrong? Thank you so much. "; //echo "$file"; // iterate ove

RE: [PHP] Problems with file_get_contents() and local PHP file

2007-08-08 Thread Michael Kelly
I'm too busy with other matters to try this out right now, but I'll make sure to try it later when I can. Thanks! -Mike - Original Message - From: ""Jan Reiter"" <[EMAIL PROTECTED]> Newsgroups: php.general To: <[EMAIL PROTECTED]>; "'Mike'" <[EMAIL PROTECTED]> Cc: Sent: Tuesd

[PHP] include_path issue

2007-08-08 Thread Steve Finkelstein
Hi all, I have rudimentary application which has an index.php that looks like this: ini_set( 'display_errors', true ); require_once'include/Model.php'; Immediately after that include/Model.php is processed, Model.php consists of this: require_once 'DB/DataObject.php'; Thi

Re: [PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Steve Edberg
At 1:56 PM -0400 8/8/07, Jason Pruim wrote: Hey everyone, I tried asking this question on the MySQL list but haven't gotten very many helpful responses... Does anyone know how to successfully import a excel file into MySQL (To make it on topic) Using PHP? I have tried using LOAD FILE in mysql

Re: [PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Anna Vester
On 8/8/07, Jason Pruim <[EMAIL PROTECTED]> wrote: > Hey everyone, > > I tried asking this question on the MySQL list but haven't gotten > very many helpful responses... Does anyone know how to successfully > import a excel file into MySQL (To make it on topic) Using PHP? I > have tried using LOAD F

[PHP] Re: Object reference into variable?

2007-08-08 Thread Dan
Have you asked your web provider if they have anything newer than 4.2? I had to ask my profider if they could upgrade my PHP and they already had, I just had to set my PHP to be handled by PHP5 in my Apache handlers. Also, if they won't/can't upgrade that's a bad sign. Move away quickly. - D

Re: [PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Daniel Brown
On 8/8/07, Jason Pruim <[EMAIL PROTECTED]> wrote: > Hey everyone, > > I tried asking this question on the MySQL list but haven't gotten > very many helpful responses... Does anyone know how to successfully > import a excel file into MySQL (To make it on topic) Using PHP? I > have tried using LOAD F

Re: [PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Ludovic André
Hi, Jason Pruim a écrit : I tried asking this question on the MySQL list but haven't gotten very many helpful responses... Does anyone know how to successfully import a excel file into MySQL (To make it on topic) Using PHP? I have tried using LOAD FILE in mysql and it just imports the first ro

Re: [PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Daniel Brown
On 8/8/07, Jason Pruim <[EMAIL PROTECTED]> wrote: > > On Aug 8, 2007, at 2:00 PM, Daniel Brown wrote: > > > On 8/8/07, Jason Pruim <[EMAIL PROTECTED]> wrote: > >> Hey everyone, > >> > >> I tried asking this question on the MySQL list but haven't gotten > >> very many helpful responses... Does anyon

Re: [PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Carlton Whitehead
Someone posted this in an Excel -> Postgre SQL thread recently: http://sourceforge.net/projects/phpexcelreader I haven't used it, just reposting the link. Regards, Carlton Whitehead - Original Message - From: "Jason Pruim" <[EMAIL PROTECTED]> To: "PHP List" Sent: Wednesday, August 8, 2

Re: [PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Jason Pruim
On Aug 8, 2007, at 2:00 PM, Daniel Brown wrote: On 8/8/07, Jason Pruim <[EMAIL PROTECTED]> wrote: Hey everyone, I tried asking this question on the MySQL list but haven't gotten very many helpful responses... Does anyone know how to successfully import a excel file into MySQL (To make it on t

[PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Jason Pruim
Hey everyone, I tried asking this question on the MySQL list but haven't gotten very many helpful responses... Does anyone know how to successfully import a excel file into MySQL (To make it on topic) Using PHP? I have tried using LOAD FILE in mysql and it just imports the first row of my

Re: [PHP] two confuse problems

2007-08-08 Thread brian
[EMAIL PROTECTED] wrote: 1,Click the brows bottom, and select one file, return the file name to the text area and the file¡¦s size to the $filesize. > I don¡¦t how to make the browser bottom to achieve that.? PHP can't help you with that. When a person selects a file in a file upload form

RE: [PHP] Check if var has a date (timestamp or regular)

2007-08-08 Thread Bastien Koert
Other options include using a date calendar widget (js) to fill the field splitting the date field into three separate selects and building the date on the server from those three elements Bastien> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]; php-general@lists.php.net> Date: Wed, 8 Aug 20

Re: [PHP] Objects

2007-08-08 Thread Nathan Nobbe
On 8/8/07, Richard Lynch <[EMAIL PROTECTED]> wrote: > > On Tue, July 31, 2007 8:40 am, Eric Butera wrote: > > On 7/31/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > >> i > >> feel sorry for Richard; if youd ever seen a successful > >> implementation of > >> design patterns in the wild > >> well you

Re: [PHP] Cut text from a string

2007-08-08 Thread Jason Pruim
On Aug 8, 2007, at 8:54 AM, Daniel Brown wrote: On 8/7/07, Richard Lynch <[EMAIL PROTECTED]> wrote: preg_match('|^(.*)\\((.*)\\)$', $string, $parts); Lynch, he asked how to manipulate a string, not for you to draw him an ASCII topless dancer. ;-P Pregnant too none the less.

RE: [PHP] magic quotes

2007-08-08 Thread k3cheese
Thanks, Met javascript not ajax. I had AJAX on the brain do to a project I'm working on. So I'm assuming there is a library of functions to use with the .htaccess file? Cause it looks like you can use UNIX and PHP to edit this file? Kevon K. Hayes 815-980-3435 RFD, IL -Original Message-

Re: [PHP] Cut text from a string

2007-08-08 Thread Daniel Brown
On 8/7/07, Richard Lynch <[EMAIL PROTECTED]> wrote: > preg_match('|^(.*)\\((.*)\\)$', $string, $parts); Lynch, he asked how to manipulate a string, not for you to draw him an ASCII topless dancer. ;-P -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 Hey, PHP-G

RE: [PHP] compose html body with variables

2007-08-08 Thread Sanjeev N
Use as following: $body = " Hello, here is your quote from Freight Services.Shipping from: $origin to $destinationShipping subtotal $" . number_format($subtotal,2). "Freight charges $" . number_format($freightCharges,2). ""; And so on Warm Regards, Sanjeev http://www.sanchanworld.com/ http:/

RE: [PHP] Check if var has a date (timestamp or regular)

2007-08-08 Thread Sanjeev N
Hi, You need to check with your submitted data as in which format it is. Try with different combination for splitting the string (include -, / while splitting string). If input string works with split then assume input string as in above format. Otherwise simple, consider it as in timestamp. But

Re: [PHP] get domain component from email

2007-08-08 Thread Stut
Daniel Brown wrote: On 8/7/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, August 7, 2007 1:25 pm, Kevin Waterson wrote: Im looking for a way to get the domain from an email address. Not sub domains, just the domain, so [EMAIL PROTECTED] would return example.com.mn similarly, the address

RE: [PHP] Hidden include_path Fall Back?

2007-08-08 Thread Ford, Mike
On 08 August 2007 10:06, imacat wrote: > Dear all, > > Hi. I'm new to this list. I searched the list archive > and couldn't > find an answer. I'm sorry if someone has asked before. > > I found that include_path seems to have a hidden fall back that's > not documented anywhere. It see

Re: [PHP] Re: get domain component from email

2007-08-08 Thread Stut
Richard Lynch wrote: On Tue, August 7, 2007 6:21 pm, Stut wrote: Kevin Waterson wrote: I would like to prevent registration of emails from certain domains that abuse a forum. eg: foo.uy7f564d8d6d.com These domains are registered by the thousands by spammers and because they use dyndns it is imp

[PHP] Hidden include_path Fall Back?

2007-08-08 Thread imacat
Dear all, Hi. I'm new to this list. I searched the list archive and couldn't find an answer. I'm sorry if someone has asked before. I found that include_path seems to have a hidden fall back that's not documented anywhere. It seems to always look for files in the calling files' own di

Re: [PHP] Articles or News Management Systems -- Full Message

2007-08-08 Thread Sancar Saran
Sorry, I made mistake to send half message Thanks :) It was helpfull, very intersting cms design plus it gives lots of idea bout document management. Also, I had my own cms design alredy, and it was very capable. Probably I ask wrong question.  Maybe I ask is there any standarts or examples f

Re: [PHP] Articles or News Management Systems

2007-08-08 Thread Sancar Saran
Thanks :) It was helpfull, very intersting cms design plus it gives lots of idea bout document management. Also, I had my own cms design alredy, and it was very capable. Probably I ask wrong question. Maybe I ask is there any standarts or examples for document management system. For example,

Re: [PHP] DOMDocument -> loadHTML() cuts off html input

2007-08-08 Thread Stijn Verholen
Hey Richard, It's a list of organisation names. A lot of them have nifty characters such as é ç ' etc. When I escape these character to their corresponding html entities, their encoded value seem to get lost when loaded into a DOMDocument, i.e. they just turn up as non-html entities. I'm pret

Re: [PHP] need mysql_ping when using mysql_pconnect?

2007-08-08 Thread lists
Quoting Richard Lynch <[EMAIL PROTECTED]>: On Tue, August 7, 2007 3:58 am, [EMAIL PROTECTED] wrote: Just becasue you create a persistent connection it can still go down, can't it? So therefore using mysql_ping inside of scripts with plenty of idle time is useful? It can still go down, for sur