[PHP] urldecode & header

2007-09-03 Thread alexus
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

Re: [PHP] Dealing with auto-increment in MySQL

2007-09-03 Thread Larry Garfield
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

Re: [PHP] Dealing with auto-increment in MySQL

2007-09-03 Thread Greg Donald
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

RE: [PHP] Create a matrix gallery

2007-09-03 Thread Yamil Ortega
> -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

Re: [PHP] Dealing with auto-increment in MySQL

2007-09-03 Thread Chris
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

[PHP] Dealing with auto-increment in MySQL

2007-09-03 Thread Steve Finkelstein
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

[PHP] can php5.2.3 support Java Integration?

2007-09-03 Thread zebra yan
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 [

Re: [PHP] amfphp

2007-09-03 Thread Miles Thompson
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

Re: [PHP] Pragmatically changing a "Record Number"

2007-09-03 Thread brian
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

Re: [PHP] PHP Developer Required

2007-09-03 Thread tedd
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

Re: [PHP] Pragmatically changing a "Record Number"

2007-09-03 Thread tedd
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.

Re: [PHP] PHP Developer Required

2007-09-03 Thread Robert Cummings
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?

Re: [PHP] PHP Developer Required

2007-09-03 Thread Robert Cummings
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

Re: [PHP] PHP-VOX Project Advancement (PHP Text-To-Speech)

2007-09-03 Thread tedd
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

Re: [PHP] Re: mail() takes too much time

2007-09-03 Thread Stut
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

Re: [PHP] PHP/MySQL not playing nicely. Server drops connection.

2007-09-03 Thread Michael Williams
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

Re: [PHP] Pragmatically changing a "Record Number"

2007-09-03 Thread brian
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

[PHP] Re: mail() takes too much time

2007-09-03 Thread Colin Guthrie
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

Re: [PHP] PHP Developer Required

2007-09-03 Thread tedd
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

Re: [PHP] Pragmatically changing a "Record Number"

2007-09-03 Thread tedd
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

Re: [PHP] Re: mail() takes too much time

2007-09-03 Thread Stut
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

Re: [PHP] PHP Developer Required

2007-09-03 Thread mlists
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

Re: [PHP] Generating foldout menus in php

2007-09-03 Thread tedd
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

Re: [PHP] Generating foldout menus in php

2007-09-03 Thread tedd
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

Re: [PHP] Re: mail() takes too much time

2007-09-03 Thread brian
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

[PHP] Re: mail() takes too much time

2007-09-03 Thread Colin Guthrie
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

Re: [PHP] Re: Generating foldout menus in php

2007-09-03 Thread Richard Heyes
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

[PHP] Re: mail() takes too much time

2007-09-03 Thread Matthew Lasar
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

[PHP] Re: Generating foldout menus in php

2007-09-03 Thread Colin Guthrie
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

Re: [PHP] Re: Generating foldout menus in php

2007-09-03 Thread Zoltán Németh
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

Re: [PHP] Pragmatically changing a "Record Number"

2007-09-03 Thread brian
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

Re: [PHP] Re: Generating foldout menus in php

2007-09-03 Thread Richard Heyes
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

[PHP] Re: Generating foldout menus in php

2007-09-03 Thread Colin Guthrie
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

[PHP] Re: php-general Digest 31 Aug 2007 16:34:36 -0000 Issue 4992

2007-09-03 Thread Michael Williams
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

Re: [PHP] Generating foldout menus in php

2007-09-03 Thread Zoltán Németh
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 > >

Re: [PHP] Generating foldout menus in php

2007-09-03 Thread Richard Heyes
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

[PHP] Generating foldout menus in php

2007-09-03 Thread Arno Kuhl
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

RE: [PHP] Create a matrix gallery

2007-09-03 Thread Bastien Koert
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++;

Re: [PHP] Pragmatically changing a "Record Number"

2007-09-03 Thread tedd
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

[PHP] amfphp

2007-09-03 Thread Nathan Wallis
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?

Re: [PHP] Create a matrix gallery

2007-09-03 Thread Stut
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)) {

[PHP] clickbank (merchandise provider) for creditcard based internet online transaction.

2007-09-03 Thread Patrik Hasibuan
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

Re: [PHP] what is my dns ip address

2007-09-03 Thread Olav Mørkrid
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: > > >

Re: [PHP] what is my dns ip address

2007-09-03 Thread Per Jessen
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

[PHP] Create a matrix gallery

2007-09-03 Thread Humani Power
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