On Thu, Sep 6, 2012 at 12:47 PM, rene7705 wrote:
> create RAMdisks for free of up to 500gb, and, more important, can on a
sorry!! make that "for free of up to 4gb"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2010-11-11 at 14:21 -0800, Daevid Vincent wrote:
>
> > -Original Message-
> > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> > Sent: Thursday, November 11, 2010 11:46 AM
> > To: Jo?o C?ndido de Souza Neto
> > Cc: php-general@lists.
> -Original Message-
> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> Sent: Thursday, November 11, 2010 11:46 AM
> To: Jo?o C?ndido de Souza Neto
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Re: use of ini vs include file for configuration
>
&g
For configuration, I used to use .php file earlier.
I just used array syntax to keep the config values.
But now I use json syntax. Its easy like xml.
Ini file is much more user friendly than json though.
--
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
Inn
On Thu, 2010-11-11 at 17:16 -0200, Jo?o C?ndido de Souza Neto wrote:
> Agreed.
>
> --
> Joo Cndido de Souza Neto
>
> "Tamara Temple" escreveu na mensagem
> news:977f087c-bb11--b851-21616ae9e...@gmail.com...
> > I'm curious what the lists' opinions are regarding the use of an .ini
> > fil
Agreed.
--
João Cândido de Souza Neto
"Tamara Temple" escreveu na mensagem
news:977f087c-bb11--b851-21616ae9e...@gmail.com...
> I'm curious what the lists' opinions are regarding the use of an .ini
> file versus an include configuration file in PHP code are?
>
> I can see uses for eithe
On Sun, 2009-03-01 at 09:57 -0500, Robert Cummings wrote:
> On Sun, 2009-03-01 at 09:48 -0500, tedd wrote:
> > At 9:21 AM -0500 3/1/09, Robert Cummings wrote:
> > >On Sun, 2009-03-01 at 08:36 -0500, tedd wrote:
> > >> The OP asked:
> > >>
> > >> >Is there in PHP something like "use strict" from p
On Sun, 2009-03-01 at 09:48 -0500, tedd wrote:
> At 9:21 AM -0500 3/1/09, Robert Cummings wrote:
> >On Sun, 2009-03-01 at 08:36 -0500, tedd wrote:
> >> The OP asked:
> >>
> >> >Is there in PHP something like "use strict" from perl? I find it pretty
> >> >annoying to need to run script over and o
At 9:21 AM -0500 3/1/09, Robert Cummings wrote:
On Sun, 2009-03-01 at 08:36 -0500, tedd wrote:
The OP asked:
>Is there in PHP something like "use strict" from perl? I find it pretty
>annoying to need to run script over and over again just to find out that I
>made typo in variable name.
An
On Sun, 2009-03-01 at 08:36 -0500, tedd wrote:
> The OP asked:
>
> >Is there in PHP something like "use strict" from perl? I find it pretty
> >annoying to need to run script over and over again just to find out that I
> >made typo in variable name.
>
> And I've been waiting for an answer myself,
The OP asked:
Is there in PHP something like "use strict" from perl? I find it pretty
annoying to need to run script over and over again just to find out that I
made typo in variable name.
And I've been waiting for an answer myself, but I haven't seen one.
From what I remember, in perl if you
On Sat, 2009-02-28 at 18:57 -0600, Shawn McKenzie wrote:
> Stuart wrote:
> > 2009/2/28 Shawn McKenzie
> >
> >> Robert Cummings wrote:
> >>> On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote:
> On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote:
> > On Sat, 2009-02-28 at 00:0
Stuart wrote:
2009/3/1 Shawn McKenzie
Stuart wrote:
2009/2/28 Shawn McKenzie
Robert Cummings wrote:
On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote:
On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote:
On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:
Stuart wrote:
As far as error checking goes the PHP engine performs syntactical checks
during compile time but due to the highly flexible nature of the language
it's not possible to do most error checking until runtime.
I don't know (or care) how to do it but I suspect that if you put all
ou
Stuart wrote:
> 2009/3/1 Shawn McKenzie
>
>> Stuart wrote:
>>> 2009/2/28 Shawn McKenzie
>>>
Robert Cummings wrote:
> On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote:
>> On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote:
>>> On Sat, 2009-02-28 at 00:02 +0600, 9el
2009/3/1 Shawn McKenzie
> Stuart wrote:
> > 2009/2/28 Shawn McKenzie
> >
> >> Robert Cummings wrote:
> >>> On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote:
> On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote:
> > On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:
> >> ---
Stuart wrote:
> 2009/2/28 Shawn McKenzie
>
>> Robert Cummings wrote:
>>> On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote:
On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote:
> On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:
>>
2009/2/28 Shawn McKenzie
> Robert Cummings wrote:
> > On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote:
> >> On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote:
> >>> On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:
>
> -
On Sat, 2009-02-28 at 09:04 -0600, Shawn McKenzie wrote:
> Robert Cummings wrote:
> > On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote:
> >> On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote:
> >>> On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:
> -
Robert Cummings wrote:
> On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote:
>> On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote:
>>> On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:
---
Use FreeOpenSourceSoftw
On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote:
> On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote:
> > On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:
> > > ---
> > > Use FreeOpenSourceSoftwares, Stop piracy, Let t
On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote:
> On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:
> > ---
> > Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
> > a Free CD of Ubuntu mailed to your doo
On Friday 27 February 2009 10:56, Hans Schultz wrote:
> Regarding databases I was hopping for some abstraction layer like dbx only
> better (to allow parameters).
I encourage you to use a database abstraction layer that gives you this and
many other features you may be used to from JDBC
MDB2
On Fri, 2009-02-27 at 14:32 -0800, Michael A. Peters wrote:
> Robert Cummings wrote:
> ... the line between the
> > definition of interpreted language and compiled language is quite blurry
> > these days.
>
> #include
> main()
> {
> printf("Hello World");
> }
>
> Compile that - and you can r
Robert Cummings wrote:
... the line between the
definition of interpreted language and compiled language is quite blurry
these days.
#include
main()
{
printf("Hello World");
}
Compile that - and you can run it on any system that is binary
compatible, whether or not is has a C compiler.
On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:
> ---
> Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
> a Free CD of Ubuntu mailed to your door without any cost. Visit :
> www.ubuntu.com
> ---
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--
On
On Fri, 2009-02-27 at 09:28 -0700, LuKreme wrote:
> On Feb 27, 2009, at 6:12, Hans Schultz wrote:
>
> > Hahahah,I was thinking the same thing
>
> >>
> >>
> >
> The trouble is most people mean "compile a source file to an
> executable binary" when they sat compile. By this measure, PHP does
>
On Feb 27, 2009, at 6:12, Hans Schultz wrote:
Hahahah,I was thinking the same thing
The trouble is most people mean "compile a source file to an
executable binary" when they sat compile. By this measure, PHP does
not compile.
--
PHP General Mailing List (http://www.php.net/)
To un
Thanks, this is the most useful answer I got. I will try to use that IDE
and to see if it works for me.
Regarding databases I was hopping for some abstraction layer like dbx only
better (to allow parameters).
Regards,
Hans
On Fri, 27 Feb 2009 15:41:55 +0100, Peter Ford wrote:
Hans Schultz
Hans Schultz wrote:
> Is there in PHP something like "use strict" from perl? I find it pretty
> annoying to need to run script over and over again just to find out that I
> made typo in variable name.
I find that my IDE catches most of the typos before I even try to run the page.
I use Netbeans 6
M. Sokolewicz wrote:
Jochem Maas wrote:
...
I always use curly braces around vars placed in double quoted strings,
I do this for 2 reasons:
1. I believe It helps the engine because the var delimitation is
explicit, and this means the interpolation is (should be?) faster.
consider that belief des
Jochem Maas wrote:
hi guys,
[[
I original posted this to php-internals because I figured that
php-general would not know the answer _ it had to do with intended use
of functionality (I couldn't find anything on the web about) and I
figured that the guys who wrote/write php would be best equipped
try:
header('Content-type: application/vnd.ms-excel');
echo '';
$result = mysql_query('...');
while($row = mysql_fetch_array($queryResult)){
echo '';
foreach($row as $cell) {
echo ''.$cell.'';
}
echo '';
}
echo '';
exit;
?>
Amc wrote:
Hi,
Does anyone have any sample code that wil
Amc wrote:
Hi,
Does anyone have any sample code that will download a mysql table to an
excel file?
Thanks
-
http://www.dbtools.com.br/
-
zerof
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robb Kerr wrote:
Is there an easy way to create an HTML page that uses PHP to copy selected
MySQL tables to backup copies on the same MySQL server? I want to create an
administration page for my client to be able to "backup" their database
whenever they see fit. But, I can't give them direct acces
<[EMAIL PROTECTED]>
Rich Fox:
> But *why* does logic.php need html.php?
>
> There is no recursion issue, or endless nesting of includes, because
> html.php refers to logic.php as an action for a form... this does not
> "include" the logic.php code into the html.php page.
>
> Rich
The idea is, AFAIK
But *why* does logic.php need html.php?
There is no recursion issue, or endless nesting of includes, because
html.php refers to logic.php as an action for a form... this does not
"include" the logic.php code into the html.php page.
Rich
"Karina S" <[EMAIL PROTECTED]> wrote in message
news:[EMAI
You can print from PHP !
The scrip below will print a bmp.
It requires you to enable php_printer.dll in your php.ini file
The printer handle must be the same, as the shown printer name, in the
printers folder (win)
For more info look here :- http://uk.php.net/manual/en/ref.printer.php
If yo
مضë wrote:
thanks to replay
I wont to print to paper printer
If you mean to have the user print to a paper printer what he sees in
his web browser then that has nothing to do with PHP.
Printing from a web browser is controlled by the web browser. PHP cannot
affect the way a web browser prints.
thanks to replay
I wont to print to paper printer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mudhar wrote:
How can I print table in my page without I use print command from file
menu? I means just table not all page
I'm not sure I understand ... what do you mean by print? Print to a
paper printer or display in the web browser?
Can you explain more clearly exactly what it is you want to d
if your query is within a loop then it would probably help, e.g.
for ($i = 1; $i <= 1000; $i++)
{ $result = mysql_query("...");
...
}
in this case as $result is a resource identifier then reusing
it doesn't release the original result.
Tim Ward
www.chessish.com
>
>When I restart apache this is the message:
>
>Stopping httpd:[ OK ]
>Starting httpd: PHP Warning: Unable to load dynamic library
>'/usr/lib/php4/curl.so' - /usr/lib/php4/curl.so: cannot open shared object
>file: No such file or directory in Unknown o
In article <[EMAIL PROTECTED]>, list+php-
[EMAIL PROTECTED] says...
> Hi,
>
> I just noticed a little problem(?) while using databases.
>
> Some time ago I wrote myself a little class that made it easier to
> handly my mysql-tasks. The class connected to a database and used a
> query like "use $
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> > > Anyone know of an easy to use library/or code that will read and write
> > > an ini file?
> > See parse_ini_file() together with the file handling functions.
>
> Dave,
> http://www.php.net/manual/en/function.parse-ini-file.php
> Goo
> > Anyone know of an easy to use library/or code that will read and write
> > an ini file?
> See parse_ini_file() together with the file handling functions.
Dave,
http://www.php.net/manual/en/function.parse-ini-file.php
Good, but no code to write to an ini file?
:) John
--
PHP General Mailing
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Anyone know of an easy to use library/or code that will read and write
> an ini file?
See parse_ini_file() together with the file handling functions.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List
It's done at the end of a function, or at any other time, when the variable
is no longer in scope.
You really only need this on a large, long-running script or where memory is
an issue...
For web-sites, that's quite rare.
For a shell script, it might make sense.
--
WARNING [EMAIL PROTECTED] ad
I'm not sure how the DBF format is, but I think you can export the Fox's
.dbf to comma-seperated-values no?
If yes, you can easily then put them back into MySql.
"Yang" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> use php Convert between(foxpro) `.dbf' file
Ok I have the same problem but this isnt working.
The first line of my sript is #!/usr/local/php -q , BTW this isnt in the brackets, but should it be?
then I use lynx -dump -http://localhost/show_reminder.php
in the crontab, but the mailer demon gives me the message
your terminal lacks the abil
>Sent: Tuesday, August 21, 2001 8:17 AM
>To: [EMAIL PROTECTED]
>Subject: [PHP] Re: Use cron to execute a script --> OTHER problem now
>
>
>Hi.
>
>now my cron is working, but the command don't. If I do
>manualy "lynx -dump -nolog
>http://localhost/backups/b
Hi.
now my cron is working, but the command don't. If I do
manualy "lynx -dump -nolog
http://localhost/backups/backup.php"; it works, but
with cron didn't worked. I receive this "e-mail" from
"Cron Daemon":
---
Subject: Cron lynx -dump -nolog
h
"mOrP" <[EMAIL PROTECTED]> writes:
[badly formatted message fixed]
> > I have noticed that > in documentation, how safe is it to use it?
>
> Can someone point me to the documentation of ' know what it does.
See http://www.php.net/manual/en/language.basic-syntax.php
--
Arcady Genkin
Don't read
54 matches
Mail list logo