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
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
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,
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
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
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
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
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
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
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:/
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
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-
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.
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
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
[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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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:
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
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
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
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
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
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!
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
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
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
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
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
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
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
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
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
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
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
.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
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
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
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
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
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
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
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
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
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
"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
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
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
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.
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
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
73 matches
Mail list logo