Mike Zornek wrote:
I'm getting started with PEAR's DB_DataObject and am trying to follow along
with the tutorial:
http://pear.php.net/manual/en/package.database.db-dataobject.intro-purpose.p
hp
It tells me to create the ini file (which I did) and then run
createTables.php from the command line to
* Thus wrote Shawn McKenzie ([EMAIL PROTECTED]):
> Guess no ones has a clue. I didnt get a RTFM or anything.
Try running php like so:
php -doutput_buffering=0 phpfile.php
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/
--
PHP General
On Wednesday 19 November 2003 06:54, Shawn McKenzie wrote:
> hey great thanks :(
>
> "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> > O.K. I am just now experimenting with the CLI PHP and have another
> > question. With the following code, none of the echo outp
Guess no ones has a clue. I didnt get a RTFM or anything.
-Shawn
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> O.K. I am just now experimenting with the CLI PHP and have another
> question. With the following code, none of the echo output is seen until
> the sc
hey great thanks :(
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> O.K. I am just now experimenting with the CLI PHP and have another
> question. With the following code, none of the echo output is seen until
> the script completes. I even tried adding a flush()
\+ does not work too, php treat command line arguments as a POST/GET ,
so I should urlencode/urldecode, I would like to know if there is a
alway to turn this behavior off.
Thanks any way.
Renato
Richard Lynch wrote:
>> Any one know why the "+" (plus sign) is not passed as argument to
>>$argv
> Any one know why the "+" (plus sign) is not passed as argument to
>$argv when calling a php script from linux shell ?
>
>php test.php 123 xxx+
Best guess is + is a special character in the shell, so you need:
php test.php 123 "xxx+"
Or maybe even so far as:
php test.php 123 "xxx\
if you just wanna delete everything from the tables you can do
DELETE FROM table_name;
for each table. or you can do DROP table_name; for each one but then you
have to re-create each table that you drop with CREATe TABLE ( stuff here
);
Only use DROP table_name; if you know the structure of ea
Trevor ...
Do you want to drop the tables, or simply delete the data in them and retain
the table structure?
To delete data ...
USE databasename;
DELETE * FROM tablename;
To drop tables ...
DROP TABLE [IF EXISTS] tablename1 [, tablename2,...] [RESTRICT |
CASCADE]
If you drop a tabl
Hi
I am very new to mysql, so any help please
how to drop tables from a database from the command line
i have 6 tables in there, and need to be able to flush all the data out, (of
2 tables only) so there might be another way
Thanks
Trevor
--
PHP General Mailing List (http://www.php.net
> Does anyone know if there's a php command line parser,
> that lets you run php-scripts from the command prompt instead of running
> them over http. (much like perl)
Make sure you compiled php as a binary.. and then start your script with:
#!/path/to/php -q
Then simply perform a chmod 755 or
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Robert Lindgren) wrote:
> Does anyone know if there's a php command line parser,
> that lets you run php-scripts from the command prompt instead of running
> them over http. (much like perl)
http://php.net/manual/en/install.commandline.php
--
That is not the problem! Read below. This issue was resolved. It _is_
a bug, and is on the todo list for the php programmers. :)
Elias wrote:
>
> argv
> Array of arguments passed to the script. When the script is run on the
> command line, this gives C-style access to the command line parame
argv
Array of arguments passed to the script. When the script is run on the
command line, this gives C-style access to the command line parameters. When
called via the GET method, this will contain the query string.
argc
Contains the number of command line parameters passed to the script (if run
The whole string
"Paul A. Procacci" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey all,
> I tried passing an argument to a php script that had a plus sign (+)
> in one of the arguments. Observe the following:
>
>
> http://altavista.com/sites/se
15 matches
Mail list logo