hi
i was wondering if someone can give me a hand (i'm very new to php).
i have a form that user suppose to fill out that then get submitted to
index.php (current setup)
now what i need is another let's say index2.php that would take
everything from that form, rewrite one of the field and spits i
On Monday 03 September 2007, Steve Finkelstein wrote:
> How're you folks dealing with records that are auto incremented in MySQL
> after a delete is made? I've noticed the only way to get a sequential order
> back is to truncate the table completely.
>
> Do you use logic in your code to find a miss
On Mon, Sep 03, 2007 at 11:53:22PM -0400, Steve Finkelstein wrote:
> How're you folks dealing with records that are auto incremented in MySQL
> after a delete is made? I've noticed the only way to get a sequential order
> back is to truncate the table completely.
Re-numbering is a bad idea for any
> -Mensaje original-
> De: Stut [mailto:[EMAIL PROTECTED]
> Enviado el: Lunes, 03 de Septiembre de 2007 06:31 p.m.
> Para: Humani Power
> CC: php-general@lists.php.net
> Asunto: Re: [PHP] Create a matrix gallery
>
> Humani Power wrote:
> > hi list. I wonder if anyone can help me with thi
Steve Finkelstein wrote:
How're you folks dealing with records that are auto incremented in MySQL
after a delete is made? I've noticed the only way to get a sequential order
back is to truncate the table completely.
Do you use logic in your code to find a missing ID and insert new records
based
How're you folks dealing with records that are auto incremented in MySQL
after a delete is made? I've noticed the only way to get a sequential order
back is to truncate the table completely.
Do you use logic in your code to find a missing ID and insert new records
based on that? Or do you just ign
Description:
My php version is 5.2.3,apache version is 2.2.4,and my workstation is
Windows XP SP2. Now I want to configure php to support Java Integration.
My jdk version is jdk1.5.0.
Reproduce code:
---
My php.ini configuration for Java is:
extension=php_java.dll
[
Nathan,
The web server, MySQL and PHP are all running on the web server. Localhost
is a default address for the MySQL host; to use another you will have to set
it up.
There's nothing wrong with localhost - fits right in with the web server /
PHP environment.
They are all running locally.
Not a v
tedd wrote:
At 3:17 PM -0400 9/3/07, brian wrote:
Well, yes, that would work also but is horribly inefficient because
the *entire table* must be altered any time a row is deleted.
"horribly inefficient"?
Renumbering anything is pretty quick these days. To me, things that are
"horribly inef
At 4:45 PM -0400 9/3/07, Robert Cummings wrote:
On Mon, 2007-09-03 at 14:38 -0400, tedd wrote:
At 1:47 PM -0400 9/3/07, mlists wrote:
>Wow!
>
>Spend $100K on a university degree in computer science, work
>successfully for five years with all the major technologies, and then
>get paid $25 p
At 3:17 PM -0400 9/3/07, brian wrote:
tedd wrote:
As for the "gap" problem, there is no gap problem if you create
another field for record number and alter it to your liking (NOTE:
I did not say AUTO_INCREMENT). If you add/delete a record, then
adjust the "field for record number" accordingly.
On Mon, 2007-09-03 at 14:38 -0400, tedd wrote:
> At 1:47 PM -0400 9/3/07, mlists wrote:
> >Wow!
> >
> >Spend $100K on a university degree in computer science, work
> >successfully for five years with all the major technologies, and then
> >get paid $25 per hour?
>
> You can really get that much?
On Mon, 2007-09-03 at 13:47 -0400, mlists wrote:
> Wow!
>
> Spend $100K on a university degree in computer science, work
> successfully for five years with all the major technologies, and then
> get paid $25 per hour?
The poster didn't mention anything about being competent.
> My auto mechanic c
At 1:02 PM -0400 9/3/07, Daniel Brown wrote:
> For those of you who aren't hosted with me at PilotPig
>(http://www.pilotpig.net/) but may be interested in the advancement of
>the PHP TTS module that I've been working on (if you're not aware,
>search the list archives ~May, 2007), we're un
Colin Guthrie wrote:
Stut wrote:
Matthew Lasar wrote:
I run pretty simple mail group distribution program that uses
php/mysql and the mail() function. I adapted it from an open source
script. Most of the time it runs well. But it does take a while to run
through all 150 members of the list. So
On Sep 3, 2007, at 11:12 AM, Michael Williams wrote:
Are you sure that Apache is running and accepting connections to /
~michwill? Does a regular HTML page show up ok?
Yeah, static pages, and regular php pages load fine. It's only when
I bring MySQL into the mix that things go awry.
Hav
tedd wrote:
At 11:48 AM -0400 9/3/07, brian wrote:
Arrggg. No, I did not say create another auto_increment field -- I said:
Quote
The reason for not wanting to care about the auto_increment id is that
it is something that the database uses and really should not be changed.
If you want to have
Stut wrote:
> Matthew Lasar wrote:
>> I run pretty simple mail group distribution program that uses
>> php/mysql and the mail() function. I adapted it from an open source
>> script. Most of the time it runs well. But it does take a while to run
>> through all 150 members of the list. So I'm half gl
At 1:47 PM -0400 9/3/07, mlists wrote:
Wow!
Spend $100K on a university degree in computer science, work
successfully for five years with all the major technologies, and then
get paid $25 per hour?
You can really get that much?
Cheers,
tedd
--
---
http://sperling.com http://ancientstone
At 11:48 AM -0400 9/3/07, brian wrote:
tedd wrote:
At 10:27 AM +1000 9/3/07, Chris wrote:
tedd wrote:
At 6:14 PM -0400 9/2/07, brian wrote:
tedd wrote:
How is that contrary to what I said?
You are actually changing the id's in the database.
Brian's example is making up an id to displa
Matthew Lasar wrote:
I run pretty simple mail group distribution program that uses php/mysql
and the mail() function. I adapted it from an open source script. Most
of the time it runs well. But it does take a while to run through all
150 members of the list. So I'm half glad that I don't have a
Wow!
Spend $100K on a university degree in computer science, work
successfully for five years with all the major technologies, and then
get paid $25 per hour?
My auto mechanic charges an average of $99 per hour.
Sounds like a great deal for the university. Maybe the successful
candidate can wo
At 3:09 PM +0100 9/3/07, Richard Heyes wrote:
I'm looking for a way to generate dropdown/foldout menus (horizontal and
vertical) on the fly, but all the javascript solutions I've seen use
absolute or relative pixel positioning, which means I can't use them because
I don't know at the time of gene
At 4:07 PM +0200 9/3/07, Arno Kuhl wrote:
This may not be directly php related but I'm hoping that generating the code
with PHP will keep it on topic.
I'm looking for a way to generate dropdown/foldout menus (horizontal and
vertical) on the fly, but all the javascript solutions I've seen use
abs
Matthew Lasar wrote:
I run pretty simple mail group distribution program that uses php/mysql
and the mail() function. I adapted it from an open source script. Most
of the time it runs well. But it does take a while to run through all
150 members of the list. So I'm half glad that I don't have a
Matthew Lasar wrote:
> I run pretty simple mail group distribution program that uses php/mysql
> and the mail() function. I adapted it from an open source script. Most
> of the time it runs well. But it does take a while to run through all
> 150 members of the list. So I'm half glad that I don't ha
Zoltán Németh wrote:
2007. 09. 3, hétfő keltezéssel 16.34-kor Colin Guthrie ezt írta:
Zoltán Németh wrote:
hmm on Linux/Firefox I can not see any custom menu... there's a box
saying "Right click here to see menu" - I tried right click, left click,
double click there and nothing happens. (on rig
I run pretty simple mail group distribution program that uses
php/mysql and the mail() function. I adapted it from an open source
script. Most of the time it runs well. But it does take a while to
run through all 150 members of the list. So I'm half glad that I
don't have a list of 1000 people
Richard Heyes wrote:
> Colin Guthrie wrote:
>> Zoltán Németh wrote:
>>> hmm on Linux/Firefox I can not see any custom menu... there's a box
>>> saying "Right click here to see menu" - I tried right click, left click,
>>> double click there and nothing happens. (on right click the standard
>>> firef
2007. 09. 3, hétfő keltezéssel 16.34-kor Colin Guthrie ezt írta:
> Zoltán Németh wrote:
> > hmm on Linux/Firefox I can not see any custom menu... there's a box
> > saying "Right click here to see menu" - I tried right click, left click,
> > double click there and nothing happens. (on right click th
tedd wrote:
At 10:27 AM +1000 9/3/07, Chris wrote:
tedd wrote:
At 6:14 PM -0400 9/2/07, brian wrote:
tedd wrote:
How is that contrary to what I said?
You are actually changing the id's in the database.
Brian's example is making up an id to display (much like the excel row
numbers) rat
Colin Guthrie wrote:
Zoltán Németh wrote:
hmm on Linux/Firefox I can not see any custom menu... there's a box
saying "Right click here to see menu" - I tried right click, left click,
double click there and nothing happens. (on right click the standard
firefox context menu appears)
Works for me
Zoltán Németh wrote:
> hmm on Linux/Firefox I can not see any custom menu... there's a box
> saying "Right click here to see menu" - I tried right click, left click,
> double click there and nothing happens. (on right click the standard
> firefox context menu appears)
Works for me with FF2 on Linu
Are you sure that Apache is running and accepting connections to /
~michwill? Does a regular HTML page show up ok?
Yeah, static pages, and regular php pages load fine. It's only when
I bring MySQL into the mix that things go awry.
Have you checked the server error log?
If by "server" you
2007. 09. 3, hétfő keltezéssel 15.09-kor Richard Heyes ezt írta:
> > I'm looking for a way to generate dropdown/foldout menus (horizontal and
> > vertical) on the fly, but all the javascript solutions I've seen use
> > absolute or relative pixel positioning, which means I can't use them because
> >
I'm looking for a way to generate dropdown/foldout menus (horizontal and
vertical) on the fly, but all the javascript solutions I've seen use
absolute or relative pixel positioning, which means I can't use them because
I don't know at the time of generating a specific menu item how many pixels
acr
This may not be directly php related but I'm hoping that generating the code
with PHP will keep it on topic.
I'm looking for a way to generate dropdown/foldout menus (horizontal and
vertical) on the fly, but all the javascript solutions I've seen use
absolute or relative pixel positioning, which m
Hotmail sucks
but try this
[code]
$counter = 1;
while ($rows=mysql_fetch_assoc($getpic))
{
//close the tr tag after 5 photos usng the mod function to check the counter
if($counter % 5 == 0) {
echo "";
//reset the counter
$counter = 1;
}
extract ($rows);
echo "";
echo "";
$counter++;
At 10:27 AM +1000 9/3/07, Chris wrote:
tedd wrote:
At 6:14 PM -0400 9/2/07, brian wrote:
tedd wrote:
Hi to the original poster:
Snip -- a lot of discussion
Use the following code at your own peril.
$dbQuery = "ALTER TABLE $dbtable ";
$dbQuery .= "DROP id, ";
$dbQuery .= "ADD id INT UNSIGNED
Hey there,
I am running amfphp on my webserver locally and it works well when I use
localhost, so I change localhost to my computers local IP address which is
192.168.1.2 and then test it from another machine. Nothing happens, the
remote procedure does not get called.
Any ideas on this?
Humani Power wrote:
hi list. I wonder if anyone can help me with this.
i have a database with the file name of several images stored in a
filesystem, and I want to create a table containing the image results of a
query.
this is my code
while ($rows=mysql_fetch_assoc($getpic))
{
Dear all of my friends in this mailing-list,
Has anybody here ever tried creating a creditcard based internet online
transaction with PHP to clickbank (http://www.clickbank.com)?
Which PHP Library should I use to develop the payment process? Can I use CURL
for clickbank?
Among all of my friend
yeah but i assume this assumes you are on a unix machine and have
administrator rights. it would be nice to be able to look up ip
addresses swiftly and automatically on any machine and any operating
system running php.
On 03/09/07, Per Jessen <[EMAIL PROTECTED]> wrote:
> Olav Mørkrid wrote:
>
> >
Olav Mørkrid wrote:
> the source of the problem is gethostbyaddr(). it seems to have a 4,5
> second timeout, so some lookups time out after 4,5 seconds, while most
> of them are resolved in < 0.1 second; a radically performance
> difference.
You can change the timeout be amending the options stat
hi list. I wonder if anyone can help me with this.
i have a database with the file name of several images stored in a
filesystem, and I want to create a table containing the image results of a
query.
this is my code
Image Gallery
";
echo "";
}
?>
With this code, I am
45 matches
Mail list logo