2011/6/15 Дмитрий Степанов
> So I wonder if there is any way to import scope (symbol table) into the
> method DBReader::readSomething()?
>
Since you're using call_user_func_array() to call your internal methods
already (just to expose protected methods publicly?), you could add $DB as a
paramete
Hello, everybody.
Consider the following code:
class DB {
public function query( $sql) {
// ... some "magic" of DB querying
}
}
class DBReader {
public $DB;// instance of DB
public function __call( $methodName, $args) {
return call_user_func_array( array( $this, $methodName), $args);
}
protected
Merlin Morgenstern wrote:
Has anybody an idea on how to do this? Thank you for any hint.
I searched for this in google "linux watch for new files"
and found this: http://www.linux.com/feature/150200
Clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
On Tue, 2009-01-06 at 01:01 +0100, Merlin Morgenstern wrote:
> Hi everybody,
>
> I am running a real estate portal and would like to allow users to
> upload their listing from their existing software. They do this with a
> XML file which they will upload on a ftp server that places this xml
>
Hi everybody,
I am running a real estate portal and would like to allow users to
upload their listing from their existing software. They do this with a
XML file which they will upload on a ftp server that places this xml
file into a seperate directory on the file system.
My basic idea was to
ues(".$row.")");
}
?>
-Original Message-
From: Jason Pruim [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 12:29 PM
To: Alain R.
Cc: php-general@lists.php.net
Subject: Re: [PHP] import XLS sheet into DB
On Aug 15, 2008, at 4:29 AM, Alain R. wrote:
>
> -Original Message-
> From: Alain R. [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 15, 2008 3:30 AM
> To: php-general@lists.php.net
> Subject: [PHP] import XLS sheet into DB
>
> Hi,
>
> I would like to import content of an XLS sheet into a PostgreSQL DB
&
On Aug 15, 2008, at 4:29 AM, Alain R. wrote:
Hi,
I would like to import content of an XLS sheet into a PostgreSQL DB
(table).
How can i do that ?
thanks a lot,
A.
Alain,
I haven't done it with PostgreSQL... But assuming it's not far from
MySQL just save the excel file as a csv, or a
On Fri, Aug 15, 2008 at 10:29:40AM +0200, Alain R. wrote:
> Hi,
>
> I would like to import content of an XLS sheet into a PostgreSQL DB (table).
>
> How can i do that ?
Your question is not php related ;-)
Maybe, export the sheet as comma separated csv file and import it to postgresql.
Happy cod
Hi,
I would like to import content of an XLS sheet into a PostgreSQL DB (table).
How can i do that ?
thanks a lot,
A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
I would to provide the users of an internet community I am running the
oportunity to import their adress books. As this seems to be a more
complex script and others might have done it before, I am searching for
a script that does that. I already found one that can do this for
hotmai
On Fri, August 10, 2007 8:04 am, Alain Roger wrote:
> So now i know how to import the content of the CSV file to database,
> however, before to import to database i do a simple test.
> in fact, i display in my browser all content of my CSV file.
>
> unfortunately, not all characters are displayed c
2007. 08. 10, péntek keltezéssel 15.04-kor Alain Roger ezt írta:
> Hi,
>
> So now i know how to import the content of the CSV file to database,
> however, before to import to database i do a simple test.
> in fact, i display in my browser all content of my CSV file.
>
> unfortunately, not all cha
i change the UTF-8 by windows-1250 and it works well.
But what will happen if after i use UTF-8 in the rest of this PHP page ?
everytime some characters will not be correctly displayed...
moreover my database is in UTF-8.
So i must expect some issue during copy data from CSv to database, no ?
Alain Roger wrote:
Hi,
So now i know how to import the content of the CSV file to database,
however, before to import to database i do a simple test.
in fact, i display in my browser all content of my CSV file.
unfortunately, not all characters are displayed correctly.
in PHP page include but
Hi,
So now i know how to import the content of the CSV file to database,
however, before to import to database i do a simple test.
in fact, i display in my browser all content of my CSV file.
unfortunately, not all characters are displayed correctly.
in PHP page include but it does not help to d
On Tue, August 7, 2007 12:37 am, Alain Roger wrote:
> I would like to know the best and fastest way how to import some
> colums
> contents from Excel file to PostgreSQL database.
> how can i do that ?
>
> I mean some columns of Excel should be imported into a particular
> table and
> some others in
Alain Roger wrote:
HI,
I would like to know the best and fastest way how to import some colums
contents from Excel file to PostgreSQL database.
how can i do that ?
I mean some columns of Excel should be imported into a particular table and
some others into another table.
If it's a proper exce
HI,
I would like to know the best and fastest way how to import some colums
contents from Excel file to PostgreSQL database.
how can i do that ?
I mean some columns of Excel should be imported into a particular table and
some others into another table.
thanks for any suggestion.
--
Alain
-
Richard Lynch wrote:
On Fri, July 27, 2007 4:01 am, Angelo Zanetti wrote:
Does anyone have any resources or links as to how to import a
spreadsheet but it might have different number of columns and many
sheets (those tab things at the bottom).
What I thought of doing was creating a table t
On Fri, July 27, 2007 4:01 am, Angelo Zanetti wrote:
> Does anyone have any resources or links as to how to import a
> spreadsheet but it might have different number of columns and many
> sheets (those tab things at the bottom).
>
> What I thought of doing was creating a table that has 10 fields an
[snip]
Does anyone have any resources or links as to how to import a
spreadsheet but it might have different number of columns and many
sheets (those tab things at the bottom).
What I thought of doing was creating a table that has 10 fields and if
the file thats being imported only has 4 fields
Angelo Zanetti wrote:
Hi guys
Does anyone have any resources or links as to how to import a
spreadsheet but it might have different number of columns and many
sheets (those tab things at the bottom).
What I thought of doing was creating a table that has 10 fields and if
the file thats being imp
Hi guys
Does anyone have any resources or links as to how to import a
spreadsheet but it might have different number of columns and many
sheets (those tab things at the bottom).
What I thought of doing was creating a table that has 10 fields and if
the file thats being imported only has 4 f
On Fri, May 11, 2007 8:23 am, Bosky, Dave wrote:
> My goal is to be able to import dbf files into MySQL on a nightly
> basis.
>
> Can I enable dbase support by uncomment the dbase extension entry in
> the
> php.ini file or is there more to it?
On Windows, assuming you have the dbase DLL matching y
On Fri, 2007-05-11 at 09:23 -0400, Bosky, Dave wrote:
> My goal is to be able to import dbf files into MySQL on a nightly basis.
>
> Can I enable dbase support by uncomment the dbase extension entry in the
> php.ini file or is there more to it?
Check the output generated by the phpinfo() functio
My goal is to be able to import dbf files into MySQL on a nightly basis.
Can I enable dbase support by uncomment the dbase extension entry in the
php.ini file or is there more to it?
Are there any working examples available that read and import dbf files?
Thanks,
Dave
**
Hello All,
I am trying to import data into MySQL DB using a CSV file (using
phpMyAdmin as the DB Admin tool). I keep getting the following error.
SQL-query :
LOAD DATA LOCAL INFILE '/tmp/phpYRmG0A' INTO TABLE `contacts` FIELDS
TERMINATED BY ';' LINES TERMINATED BY '\n'(
`company` , `firs
eif K-Brooks
> Cc: PHP Lists
> Subject: Re: [PHP] @import
>
>
> On Fri, 2003-06-27 at 20:21, Leif K-Brooks wrote:
> > Brian V Bonini wrote:
> >
> > >Can anyone make this work with Mozilla?
> > >
> > >
> > >@import url("site.css
why php ? why not just use a .css file like everyone else ?
-Original Message-
From: Brian V Bonini [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 28, 2003 11:02 AM
To: Leif K-Brooks
Cc: PHP Lists
Subject: Re: [PHP] @import
On Fri, 2003-06-27 at 20:21, Leif K-Brooks wrote:
> Bria
On Fri, 2003-06-27 at 21:02, Brian V Bonini wrote:
> On Fri, 2003-06-27 at 20:21, Leif K-Brooks wrote:
> > Brian V Bonini wrote:
> >
> > >Can anyone make this work with Mozilla?
> > >
> > >
> > >@import url("site.css.php");
> > >
> > >
> > >No matter what I try , header("Content-type: text/css")
>
On Fri, 2003-06-27 at 20:21, Leif K-Brooks wrote:
> Brian V Bonini wrote:
>
> >Can anyone make this work with Mozilla?
> >
> >
> >@import url("site.css.php");
> >
> >
> >No matter what I try , header("Content-type: text/css")
> >or ini_set to will not output anything other then text/html
> >
> >
>
Brian V Bonini wrote:
Can anyone make this work with Mozilla?
@import url("site.css.php");
No matter what I try , header("Content-type: text/css")
or ini_set to will not output anything other then text/html
This has nothing to do with PHP.
--
The above message is encrypted with double rot13
Can anyone make this work with Mozilla?
@import url("site.css.php");
No matter what I try , header("Content-type: text/css")
or ini_set to will not output anything other then text/html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Each evening I distribute a newsletter to approx 500 subscribers, and I
want to stamp each copy I send with the name, email address and subscriber
number of the recipient. I've not done any programmatic PDF manipulation,
but could this be done using PDFlib? I receive the newsletter as a PDF fro
php.net/fgetcsv
On 10 May 2002, Amit Singh wrote:
> Hi Folks,
> Can anybody help me getting a piece of code for processing a
> file(csv format) having MS Outlook/Outlook Express addresses.
> I want to read the file line by line taking care of possible
> multiline entries in any field of the rec
The manual is your friend...go ahead...give it a try...
http://www.php.net/manual/en/function.fgetcsv.php
- Original Message -
From: "Amit Singh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 10, 2002 6:04 AM
Subject: [PHP] Import/Export with MS o
Hi Folks,
Can anybody help me getting a piece of code for processing a
file(csv format) having MS Outlook/Outlook Express addresses.
I want to read the file line by line taking care of possible
multiline entries in any field of the record.
Please help.
Regds,
Amit
___
38 matches
Mail list logo