On Tue, Aug 28, 2012 at 1:43 PM, Matijn Woudt tijn...@gmail.com wrote:
On Tue, Aug 28, 2012 at 1:16 AM, Larry Garfield la...@garfieldtech.com
wrote:
On 8/27/12 6:11 PM, Matijn Woudt wrote:
You should never be calling require() yourself. Just follow the PSR-0
naming standard and use an
On Tue, Aug 28, 2012 at 1:16 AM, Larry Garfield la...@garfieldtech.com wrote:
On 8/27/12 6:11 PM, Matijn Woudt wrote:
You should never be calling require() yourself. Just follow the PSR-0
naming standard and use an autoloader, then you don't have to even think
about it. There are many
On 26 Aug 2012, at 19:42, Mark mark...@gmail.com wrote:
Envision the following plugin architecture:
class PluginLoader
{
}
interface PluginInterface
{
.. some function definitions ..
}
class PluginOne implements PluginInterface
{
}
class PluginTwo implements PluginInterface
{
On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas stu...@3ft9.com wrote:
On 26 Aug 2012, at 19:42, Mark mark...@gmail.com wrote:
Envision the following plugin architecture:
class PluginLoader
{
}
interface PluginInterface
{
.. some function definitions ..
}
class PluginOne implements
On 27 Aug 2012, at 14:29, Mark mark...@gmail.com wrote:
On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas stu...@3ft9.com wrote:
On 26 Aug 2012, at 19:42, Mark mark...@gmail.com wrote:
2. Let the plugin itself (so in this case PluginOne.php) open itself
and register it to the PluginLoader.
On Mon, Aug 27, 2012 at 3:46 PM, Stuart Dallas stu...@3ft9.com wrote:
On 27 Aug 2012, at 14:29, Mark mark...@gmail.com wrote:
On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas stu...@3ft9.com wrote:
On 26 Aug 2012, at 19:42, Mark mark...@gmail.com wrote:
2. Let the plugin itself (so in this
On 27 Aug 2012, at 14:52, Mark mark...@gmail.com wrote:
On Mon, Aug 27, 2012 at 3:46 PM, Stuart Dallas stu...@3ft9.com wrote:
On 27 Aug 2012, at 14:29, Mark mark...@gmail.com wrote:
On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas stu...@3ft9.com wrote:
On 26 Aug 2012, at 19:42, Mark
On Mon, Aug 27, 2012 at 4:26 PM, Stuart Dallas stu...@3ft9.com wrote:
On 27 Aug 2012, at 14:52, Mark mark...@gmail.com wrote:
On Mon, Aug 27, 2012 at 3:46 PM, Stuart Dallas stu...@3ft9.com wrote:
On 27 Aug 2012, at 14:29, Mark mark...@gmail.com wrote:
On Mon, Aug 27, 2012 at 12:41 PM, Stuart
On 8/27/12 4:09 PM, Mark wrote:
On Mon, Aug 27, 2012 at 4:26 PM, Stuart Dallas stu...@3ft9.com wrote:
2. Let the plugin itself (so in this case PluginOne.php) open itself
and register it to the PluginLoader.
With the first option i have to do eval which i try to avoid if possible.
With the
On Tue, Aug 28, 2012 at 12:58 AM, Larry Garfield la...@garfieldtech.com wrote:
On 8/27/12 4:09 PM, Mark wrote:
On Mon, Aug 27, 2012 at 4:26 PM, Stuart Dallas stu...@3ft9.com wrote:
2. Let the plugin itself (so in this case PluginOne.php) open itself
and register it to the PluginLoader.
On 8/27/12 6:11 PM, Matijn Woudt wrote:
You should never be calling require() yourself. Just follow the PSR-0
naming standard and use an autoloader, then you don't have to even think
about it. There are many existing autoloaders you can use, including
Composer's, Symfony2's, and probably Zend
Hi,
Envision the following plugin architecture:
class PluginLoader
{
}
interface PluginInterface
{
.. some function definitions ..
}
class PluginOne implements PluginInterface
{
}
class PluginTwo implements PluginInterface
{
}
The PluginLoader is loading the plugins.
The PluginInterface
Is there a way to customize the 'Username' and 'Password' strings in a 401
auth dialog box?
I want to change mine to say Webmaster ID and Authentication Key.
http://php.net/manual/en/features.http-auth.php
On Thu, Jun 28, 2012 at 7:23 PM, Daevid Vincent dae...@daevid.com wrote:
Is there a way to customize the 'Username' and 'Password' strings in a 401
auth dialog box?
I want to change mine to say Webmaster ID and Authentication Key.
http://php.net/manual/en/features.http-auth.php
This
You need to get better tools. I found this with Notepad++ for Windows
searching case within *.php files filter within the root directory
of the extracted zip/tarball:
H:\data\Downloads\dev\PHP\htmlpurifier-4.4.0\library\HTMLPurifier\AttrDef\CSS\Font.php
(6 hits)
Line 45:
On Thu, May 31, 2012 at 11:17 PM, Govinda govinda.webdnat...@gmail.com wrote:
You need to get better tools. I found this with Notepad++ for Windows
searching case within *.php files filter within the root directory
of the extracted zip/tarball:
we got off list, without meaning to, it seems.
Here are the last few posts in the thread:
On Fri, Jun 1, 2012 at 12:46 AM, Govinda govinda.webdnat...@gmail.com
wrote:
Perhaps you should spend some time looking for a better text editor
for your OS. :) When the current tools I use does
Hi guys
anyone here using HTMLpurifier and CSStidy together? (like e.g. to allow users
to create their own external style sheets via form input)
...for example, in the way this post's answer explains how to use HTMLpurifier
and CSStidy together:
http://stackoverflow.com/questions/3241616/
On Thu, May 31, 2012 at 10:33 PM, Govinda govinda.webdnat...@gmail.com wrote:
Hi guys
anyone here using HTMLpurifier and CSStidy together? (like e.g. to allow
users to create their own external style sheets via form input)
...for example, in the way this post's answer explains how to use
On Thu, May 31, 2012 at 10:48 PM, Tommy Pham tommy...@gmail.com wrote:
On Thu, May 31, 2012 at 10:33 PM, Govinda govinda.webdnat...@gmail.com
wrote:
Hi guys
anyone here using HTMLpurifier and CSStidy together? (like e.g. to allow
users to create their own external style sheets via form
On 20/12/2010 21:33, Govinda wrote:
followup question, please see below the OP:
I just started using PHPmailer for one project that requires SMTP
authentication (if I said that right).. and all is well.. but I want
to ask now before it might get outta hand later:
How many comma-delim'ed
Hi,
I regularly use PHPMailer to send out a mailshot to two batches of
5
and had no problems at all.
I would not use BCC. Just set the recipient, send the email, then use
the ClearAllRecipients() function and start again.
We do other things like set a custom MessageID for tracking
followup question, please see below the OP:
I just started using PHPmailer for one project that requires SMTP
authentication (if I said that right).. and all is well.. but I want
to ask now before it might get outta hand later:
How many comma-delim'ed addresses can I stuff in
[snip]
Nah, if he'd read it backwards, you'd be able to hear MePHPistoPHPeles
say, Rasmus is the Penguin.
(Yes, you have to be dang old to get that obscure reference. ;-)
Pshaw, not *that* old! I get the reference, and I'm only . . . oh, damn.
:(
[/snip]
Uhhyeah
--
PHP General
On Tue, Dec 14, 2010 at 09:29, Robert Cummings rob...@interjinn.com wrote:
I must have been under a rock when the reference came out :|
Or you may have still been in shock from hearing that Paul was dead.
--
/Daniel P. Brown
Network Infrastructure Manager
Documentation, Webmaster Teams
On Tue, Dec 14, 2010 at 11:15:59AM -0500, Daniel Brown wrote:
On Tue, Dec 14, 2010 at 09:29, Robert Cummings rob...@interjinn.com wrote:
I must have been under a rock when the reference came out :|
Or you may have still been in shock from hearing that Paul was dead.
Er... that's Paul
On Tue, Dec 14, 2010 at 8:43 AM, Paul M Foster pa...@quillandmouse.comwrote:
Er... that's Paul McCartney, not Paul Foster. Whew!
Paul McCartney's dead?? But the Beatles just released a ton of albums on
iTunes! So sad...
On Tue, Dec 14, 2010 at 11:43, Paul M Foster pa...@quillandmouse.com wrote:
Er... that's Paul McCartney, not Paul Foster. Whew!
HA! Sorry to make your heart jump. ;-P
--
/Daniel P. Brown
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/
--
PHP General
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: Friday, December 10, 2010 6:54 AM
To: Daevid Vincent
Cc: php-general@lists.php.net
Subject: Re: [PHP] ORM doctrine
On 10-12-09 10:41 PM, Daevid Vincent wrote:
Use PHP the way God intended
PHP the way God intended it to be used.
Could you cite a reference for where God states his intentions on PHP?
Thanks,
Rob.
I believe it was in the Old PHPestament,
The Book of Rasmus chapter 42 verse 69...
66 ...
67 And behold as he opened the 5th point 2nd seal
68 and the Lord said unto
On Mon, Dec 13, 2010 at 11:04:52PM -0500, Robert Cummings wrote:
On 10-12-13 07:28 PM, Daevid Vincent wrote:
[snip]
I believe it was in the Old PHPestament,
The Book of Rasmus chapter 42 verse 69...
66 ...
67 And behold as he opened the 5th point 2nd seal
68 and the Lord said
On Mon, Dec 13, 2010 at 8:48 PM, Paul M Foster pa...@quillandmouse.comwrote:
Nah, if he'd read it backwards, you'd be able to hear MePHPistoPHPeles
say, Rasmus is the Penguin.
(Yes, you have to be dang old to get that obscure reference. ;-)
Pshaw, not *that* old! I get the reference, and
I'm trying to log some data for debugging and don't have use of the
standard output to do so. I'd like to write the info to the php error
log. Can this be done from within PHP? I've searched the web site for
logging functions, but cannot find any.
--
PHP General Mailing List
On Fri, Oct 22, 2010 at 20:24, Tamara Temple tamouse.li...@gmail.com wrote:
I'm trying to log some data for debugging and don't have use of the standard
output to do so. I'd like to write the info to the php error log. Can this
be done from within PHP? I've searched the web site for logging
On Oct 22, 2010, at 7:31 PM, Daniel P. Brown wrote:
On Fri, Oct 22, 2010 at 20:24, Tamara Temple
tamouse.li...@gmail.com wrote:
I'm trying to log some data for debugging and don't have use of the
standard
output to do so. I'd like to write the info to the php error log.
Can this
be done
Hi.
I've recently come across some third party code which uses ...
?PHP
as the PHP tag.
This is the first time I've seen PHP in upper case for the tag.
The code works in V5, so, from this, I can assume the tag is read case
insensitive.
Are there any issues with this when moving forward?
On Mon, Apr 26, 2010 at 04:51, Richard Quadling
rquadl...@googlemail.com wrote:
Hi.
I've recently come across some third party code which uses ...
?PHP
as the PHP tag.
This is the first time I've seen PHP in upper case for the tag.
The code works in V5, so, from this, I can assume the
On 26 April 2010 15:08, Daniel Brown danbr...@php.net wrote:
On Mon, Apr 26, 2010 at 04:51, Richard Quadling
rquadl...@googlemail.com wrote:
Hi.
I've recently come across some third party code which uses ...
?PHP
as the PHP tag.
This is the first time I've seen PHP in upper case for the
I am editing a data file via ODBC, and would like to be able to
download the updated file in the same transaction when finished. It
seems, however, that even after calling odbc_close(), PHP still
retains a lock on the file for the duration of the request. Is there a
way to get PHP to release
2010/1/15 alexus ale...@gmail.com:
What's the best way to extract HTML out of $var?
example of $var
$var = a href=http://http://stackoverflow.com/Stack Overflow/a
I want
$var2 = http://starckoverflow.com/;
example: preg_match();
what else?
Hi,
If you simply wants to remove all tags
On 1/14/2010 7:15 PM, alexus wrote:
What's the best way to extract HTML out of $var?
example of $var
$var = a href=http://http://stackoverflow.com/Stack Overflow/a
I want
$var2 = http://starckoverflow.com/;
example: preg_match();
what else?
Actually what it looks like you want
Hi,
I am working on reverse engineering for a web project. I was trying to know
that, is there any way(function by PHP, Zend, extension etc)
to find out how many function has been called to perform a task.
If no, can you suggest is it possible/feasible or not?
Thanks in advance
--
Satya
http://uk3.php.net/manual/en/function.get-defined-functions.php
get_defined_functions
Regards
Date: Fri, 23 Oct 2009 11:54:34 +0530
From: astra.sat...@gmail.com
To: php-general@lists.php.net
Subject: [PHP] Is there any way to get all the function name being called in
aprocess
On Fri, 2009-10-23 at 10:27 +0200, Andrea Giammarchi wrote:
http://uk3.php.net/manual/en/function.get-defined-functions.php
get_defined_functions
Regards
Date: Fri, 23 Oct 2009 11:54:34 +0530
From: astra.sat...@gmail.com
To: php-general@lists.php.net
Subject: [PHP] Is there any way
Thank a lot.
APD is just doing what I was looking for.
On Fri, Oct 23, 2009 at 5:13 PM, Andrea Giammarchi an_...@hotmail.comwrote:
That won't do what the OP asked, it will just return a list of all the
functions defined, which could be a lot more than is actually being used
in a
even APD is not up to the task
xdebug trace http://devzone.zend.com/article/2871 is sufficient, but
the output will be in a separate file.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There's xdebug, as mentioned, that'll do it as an extension.
What you REALLY probably are looking for is http://php.net/debug_backtrace
And what kind of reverse engineering would you be doing without
reflection? ( http://php.net/reflection ) ;]
--
PHP General Mailing List (http://www.php.net/)
even APD is not up to the task
xdebug trace http://devzone.zend.com/article/2871 is sufficient, but
the output will be in a separate file.
Thank a lot.
APD is just doing what I was looking for.
--
Satya
Bangalore.
Regards
hi,
Is there any way to get realpath cache hit ratio of php?
realpath_cache_size integer
Determines the size of the realpath cache to be used by PHP. This
value should be increased on systems where PHP opens many files, to
reflect the quantity of the file operations performed.
my code:
require 'DB.php';
// $db=DB::connect('db_program://user:passw...@hostname/database');
$db=DB::connect('mysql://metheuser:myp...@www.mydomain.com/
mydatabase');
if (DB::isError($db)) { die(Can't connect: . $db-getMessage()); }
is returning:
Can't connect: DB
On Jul 3, 2009, at 7:31 PM, Govinda govinda.webdnat...@gmail.com
wrote:
my code:
require 'DB.php';
// $db=DB::connect('db_program://user:passw...@hostname/database');
if (DB::isError($db)) { die(Can't connect: . $db-getMessage
()); }
is returning:
Can't connect: DB Error:
On Fri, 2009-01-16 at 20:38 -0500, Al wrote:
port23user wrote:
I have a site (done in CodeIgniter) where users can upload pictures. When
they upload a picture, I want to rotate it (rotating is optional, depending
on how much cpu/ram I end up needing), resize it, and create a thumbnail.
This one time, at band camp, Al n...@ridersite.org wrote:
Imagick class. Has more image manipulating functions than you'll ever use.
You
name, and there's function to do it.
http://www.phpro.org/examples/Create-Thumbnail-With-GD.html
port23user wrote:
I have a site (done in CodeIgniter) where users can upload pictures. When
they upload a picture, I want to rotate it (rotating is optional, depending
on how much cpu/ram I end up needing), resize it, and create a thumbnail.
Right now I'm doing it all in that order using GD,
On Fri, Jan 16, 2009 at 5:38 PM, Al n...@ridersite.org wrote:
Imagick class. Has more image manipulating functions than you'll ever use.
You name, and there's function to do it.
http://pecl.php.net/package/imagick/
it's very cool, although it does coredump often enough to where i had
to
I have a site (done in CodeIgniter) where users can upload pictures. When
they upload a picture, I want to rotate it (rotating is optional, depending
on how much cpu/ram I end up needing), resize it, and create a thumbnail.
Right now I'm doing it all in that order using GD, but I'm not sure if
Umm I don't think there is any benchmark tests that will suit your case, it
really depends on what you are going to do to the image. I suggest you to
benchmark and measure these things, I also know codeigniter has a built-in
image editing class, and as far as I remember you can choose in your
Greetings folks. I seem to be having a problem with PHP's mail()
function and sending 'From' headers properly. Here's my setup:
I have a site I set up for a client that has a form their clients can
fill out to submit some data. When the form is submitted, I have PHP
gather the data and create
**Apologies if this posts twice. I got some crazy response from the
server after sending this the first time.**
I have a site I set up for a client that has a form their clients can
fill out to submit some data. When the form is submitted, I have PHP
gather the data and create the body of an
You missed the period in your header to join the name and the line break??
'From: [EMAIL PROTECTED]' . \r\n
On 7/7/08, Jay Moore [EMAIL PROTECTED] wrote:
Greetings folks. I seem to be having a problem with PHP's mail() function
and sending 'From' headers properly. Here's my setup:
I have a
On Mon, Jul 7, 2008 at 2:06 PM, Dan Shirah [EMAIL PROTECTED] wrote:
You missed the period in your header to join the name and the line break??
That's not required, since the OP is using double quotes
(translation will occur).
--
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB
On Mon, Jul 7, 2008 at 2:06 PM, Dan Shirah [EMAIL PROTECTED] wrote:
You missed the period in your header to join the name and the line break??
'From: [EMAIL PROTECTED]' . \r\n
On 7/7/08, Jay Moore [EMAIL PROTECTED] wrote:
Greetings folks. I seem to be having a problem with PHP's mail()
On Mon, Jul 7, 2008 at 1:50 PM, Jay Moore [EMAIL PROTECTED] wrote:
Greetings folks. I seem to be having a problem with PHP's mail() function
and sending 'From' headers properly. Here's my setup:
[snip!]
I am getting bounce emails from certain ISPs (AOL, Roadrunner, some local
ISPs) saying
On Mon, Jul 7, 2008 at 2:13 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Mon, Jul 7, 2008 at 1:50 PM, Jay Moore [EMAIL PROTECTED] wrote:
Greetings folks. I seem to be having a problem with PHP's mail() function
and sending 'From' headers properly. Here's my setup:
[snip!]
I am getting
On Mon, Jul 7, 2008 at 2:17 PM, Eric Butera [EMAIL PROTECTED] wrote:
Yep! Just a note on this though. You have to control the domain
you're forcing the return-path on or else it will get rejected by a
lot of servers because of SPF rules. It has bit my company in the
behind quite a bit
On 7 Jul 2008, at 18:50, Jay Moore wrote:
Greetings folks. I seem to be having a problem with PHP's mail()
function and sending 'From' headers properly. Here's my setup:
I have a site I set up for a client that has a form their clients
can fill out to submit some data. When the form is
?php
$to = [EMAIL PROTECTED];
$from = [EMAIL PROTECTED];
$subject = This is a test!;
$body = \tThis is a test email.\n;
$body .= That is all.;
$headers = From: .$from.\r\n;
$headers .= Reply-To: .$from.\r\n;
$headers .= X-Mailer: .basename(__FILE__).-PHP/.phpversion().\r\n;
De: George J [mailto:[EMAIL PROTECTED]
So calling the script via the form works i.e it passes the
neccessary variables to constrct the sql query for the next
call.
As Shawn said, if you really need the query again add it to session, never,
NEVER give the user the ability to see/execute
On Mar 19, 2008, at 5:13 PM, George J wrote:
Hi Jason,
Hope this helps -
my 'display_products.php' script
--
form method='post' action='display_products.php'
...
input type='hidden' name= 'query' value=$query
input type='submit' Value='Go'/td
...
// pagination routine
conditional
Thiago Pojda [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
De: George J [mailto:[EMAIL PROTECTED]
So calling the script via the form works i.e it passes the
neccessary variables to constrct the sql query for the next
call.
As Shawn said, if you really need the query again add
George J wrote:
Thiago Pojda [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
De: George J [mailto:[EMAIL PROTECTED]
So calling the script via the form works i.e it passes the
neccessary variables to constrct the sql query for the next
call.
As Shawn said, if you really need the
Hi Shawn,
My query code-
---SQL query construction block
$query = SELECT * FROM prods ;
if($catagory != 0){
//
if category != 0
$where=WHERE c = $catagory ;
if ($manu != 0){ //
check
manu != 0
On Mar 20, 2008, at 12:05 PM, George Jamieson wrote:
Hi Philip,
Hope you don't mind me sending this to you direct. Thanks for the
answer
but... I'm sorry I don't follow you.
My form sets up the query parameters. It works.
My pagination code passes the page no. It works.
What it doesn't
it to the
URL address.
Is there a 'proper' way to write this code? Should I add the query to the
URL or is there a better way?
TIA
George
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Mar 19, 2008 at 3:47 PM, George J [EMAIL PROTECTED] wrote:
Hi,
I have a script that contains a form and a pagination routine that calls
itself. I want to pass an sql query along with some other variables to the
called script. The code to acheive this, using the form, is working but
On Wed, Mar 19, 2008 at 3:47 PM, George J [EMAIL PROTECTED] wrote:
Hi,
I have a script that contains a form and a pagination routine that calls
itself. I want to pass an sql query along with some other variables to the
called script. The code to acheive this, using the form, is working but
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it gives
the table and field names used in my database. I'm not really aware of all
the possible avenues that this method might open up. It just feels
On Wed, Mar 19, 2008 at 4:45 PM, George J [EMAIL PROTECTED] wrote:
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it gives
the table and field names used in my database. I'm not really aware
On Mar 19, 2008, at 4:45 PM, George J wrote:
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it
gives
the table and field names used in my database. I'm not really aware
of all
the possible
George J wrote:
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it gives
the table and field names used in my database. I'm not really aware of all
the possible avenues that this method might
Hi Shawn,
Shawn McKenzie [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
George J wrote:
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it
gives
the table and field names used in my
Drew a blank off the archive, so here goes...
I'm working on some forms for our company website, all of which simply have
to be mailed to us by email.
After verifying that the content of all the fields is valid and the proper
type, it builds the email message as following. This all works great,
On Jan 24, 2008 6:20 PM, Rene Brehmer [EMAIL PROTECTED] wrote:
Drew a blank off the archive, so here goes...
I'm working on some forms for our company website, all of which simply
have
to be mailed to us by email.
After verifying that the content of all the fields is valid and the proper
On Thu, January 24, 2008 5:20 pm, Rene Brehmer wrote:
Drew a blank off the archive, so here goes...
I'm working on some forms for our company website, all of which simply
have
to be mailed to us by email.
After verifying that the content of all the fields is valid and the
proper
type, it
a well known easy to use wrapper is phpmailer (STW), alternatively
check out Manuel Lemos' mail related offerings at phpclasses.org (his code
is, afaict, better but also a little more involved.
Rene Brehmer schreef:
Drew a blank off the archive, so here goes...
I'm working on some forms for
On Jan 24, 2008 6:20 PM, Rene Brehmer [EMAIL PROTECTED] wrote:
Drew a blank off the archive, so here goes...
I'm working on some forms for our company website, all of which simply have
to be mailed to us by email.
After verifying that the content of all the fields is valid and the proper
blackwater dev [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a text file that contains 200k rows. These rows are to be
imported
into our database. The majority of them will already exists while a few
are
new. Here are a few options I've tried:
I've had php cycle
Hi,
If possible, write your inserts queries in a text file and use LOAD DATA for
bulk inserts.
--
Keep Smiling
Shafiq Rehman (ZCE)
http://www.phpgurru.com | http://shafiq.pk
Cell: +92 300 423 9385
On 11/2/07, Andrew Ballard [EMAIL PROTECTED] wrote:
On Nov 2, 2007 10:41 AM, afan pasalic
let me write the questions again:
what is the difference between these two queries?
is there any situation when it's better to use first vs. second solution?
is there any suggestion for the process of inserting up to 5K records at
the time or this number is so small to consider any optimization?
hi,
it's maybe more question for mysql list, but since php is involved
too... :-)
I have php script that inserts into mysql table couple hundreds of records.
usually, it looks like:
?php
// 1st record
$query = INSERT INTO table (col_11, col_12, ... col_1n) VALUES
($value_11, $value_12,...
afan pasalic wrote:
hi,
it's maybe more question for mysql list, but since php is involved
too... :-)
I have php script that inserts into mysql table couple hundreds of records.
usually, it looks like:
?php
// 1st record
$query = INSERT INTO table (col_11, col_12, ... col_1n) VALUES
($value_11,
Jim Lucas wrote:
afan pasalic wrote:
hi,
it's maybe more question for mysql list, but since php is involved
too... :-)
I have php script that inserts into mysql table couple hundreds of
records.
usually, it looks like:
?php
// 1st record
$query = INSERT INTO table (col_11, col_12, ... col_1n)
afan pasalic wrote:
Stut wrote:
Jim Lucas wrote:
afan pasalic wrote:
hi,
it's maybe more question for mysql list, but since php is involved
too... :-)
I have php script that inserts into mysql table couple hundreds of
records.
usually, it looks like:
?php
// 1st record
$query = INSERT INTO
On Nov 2, 2007 10:41 AM, afan pasalic [EMAIL PROTECTED] wrote:
...is there any suggestion for the process of inserting up to 5K records at
the time ...
Is it possible to save your data to a text file and then use one of
MySQL's built-in import queries? (I know in some situations it isn't
an
afan pasalic wrote:
Stut wrote:
afan pasalic wrote:
Stut wrote:
Jim Lucas wrote:
afan pasalic wrote:
hi,
it's maybe more question for mysql list, but since php is involved
too... :-)
I have php script that inserts into mysql table couple hundreds of
records.
usually, it looks like:
?php
//
Stut wrote:
afan pasalic wrote:
Stut wrote:
Jim Lucas wrote:
afan pasalic wrote:
hi,
it's maybe more question for mysql list, but since php is involved
too... :-)
I have php script that inserts into mysql table couple hundreds of
records.
usually, it looks like:
?php
// 1st record
Stut wrote:
Jim Lucas wrote:
afan pasalic wrote:
hi,
it's maybe more question for mysql list, but since php is involved
too... :-)
I have php script that inserts into mysql table couple hundreds of
records.
usually, it looks like:
?php
// 1st record
$query = INSERT INTO table (col_11,
I have a huge MySQL table, 2.1 million records, 200MB. Once a week I
need to dump it in CSV format and zip the file.
This is not on my server, and it's in production, so I don't want to
risk testing different methods and possibly hanging up their server
for a period of time, so I wanted to
Brian Dunning wrote:
I have a huge MySQL table, 2.1 million records, 200MB. Once a week I
need to dump it in CSV format and zip the file.
This is not on my server, and it's in production, so I don't want to
risk testing different methods and possibly hanging up their server for
a period of
On 5/2/07, Richard Davey [EMAIL PROTECTED] wrote:
Brian Dunning wrote:
I have a huge MySQL table, 2.1 million records, 200MB. Once a week I
need to dump it in CSV format and zip the file.
This is not on my server, and it's in production, so I don't want to
risk testing different methods
1 - 100 of 440 matches
Mail list logo