[PHP] export data of html table

2007-08-21 Thread Vanessa Vega
helloo.. i have a table generated using PHP & javascript...the data on that table came from a form where several data was inputted... I want to let them see a preview of the data they entered, so i put a link or button that when clicked, will display all the data in the table and they will als

Re: [PHP] Re: About Session And Cookies

2007-08-21 Thread Kelvin Park
Hello, thanks for all the replies. However, since I'm not very familiar with trans_sid I'll do some research on that. Michelle Konzack, if hiding the id in hidden form field element or enabling trans_sid could lead to security risks, what would you recommend as an alternative method to safely tran

Re: [PHP] php to generate java-script

2007-08-21 Thread Nathan Nobbe
i agree with brian. i still need to enhance my skills w/ javascirpt, but i think in the case of validation, a simple solution is to write generic validation components in javascript. then simply dynamically include the ones you need for a particular form. as far as the javascript knowing how to lo

[PHP] Programmer in the US?

2007-08-21 Thread Jan Reiter
Hi there! I spent the last 4 Years ('03-'07) as an Officer with the German Air Force collecting massive experience with large university networks (programming, maintenance) and on electronic warfare live training exercises (management, IT Officer), but I studied Space and Aeronautics and did not f

[PHP] RE: php/mysql - getting ID of query

2007-08-21 Thread John Pillion
Thanks guys, that's exactly what I was looking for J -Original Message- From: M. Sokolewicz [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 4:51 PM To: John Pillion Cc: php-general@lists.php.net Subject: Re: php/mysql - getting ID of query John Pillion wrote: > This is as much

[PHP] Re: keeping fields moving forward

2007-08-21 Thread Mike Ryan
I think I have it fixed I had some code wrong in my variable this worked and did the job for me I am an old time type of programmer who is not very good with the object oriented programming and have not taken the time to learn some new tricks. one day I will. ""Mike Ryan"" <[EMAIL PROTECTED]>

[PHP] Re: php/mysql - getting ID of query

2007-08-21 Thread M. Sokolewicz
John Pillion wrote: This is as much a mysql question as it is php. What is the most reliable way to retrieve an auto_increment key/id for a query you just inserted? In other words, I compile all my data, insert it into a new row, and now I want to retrieve the ID it created for it in th

Re: [PHP] php/mysql - getting ID of query

2007-08-21 Thread mike
mysql_insert_id() mysqli_insert_id() http://us.php.net/mysql is your friend :) http://us.php.net/mysqli too! On 8/21/07, John Pillion <[EMAIL PROTECTED]> wrote: > This is as much a mysql question as it is php. > > > > What is the most reliable way to retrieve an auto_increment key/id for a > qu

[PHP] php/mysql - getting ID of query

2007-08-21 Thread John Pillion
This is as much a mysql question as it is php. What is the most reliable way to retrieve an auto_increment key/id for a query you just inserted? In other words, I compile all my data, insert it into a new row, and now I want to retrieve the ID it created for it in the ID/key field. Without

Re: [PHP] php to generate java-script

2007-08-21 Thread brian
Jas wrote: Anyone have a good method of grabbing the current page and reading data from it? For example: http://php.net"; ); ?> The above code would output the following: Array ( [0] => [1] =>http://"; . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] ); ?> Not only does it

Re: [PHP] keeping fields moving forward

2007-08-21 Thread brian
Mike Ryan wrote: I am creating a series of forms that collect information this covers 3 screens before I want to write it out to the database. when I go from one screen to the next I have tried hidden and readonly input boxes but the data in the hidden and readonly fields from screen one do not

[PHP] LDAP ***RESOLVED***

2007-08-21 Thread Dan Shirah
Apparently even though our Domain Administrator said anonymous access is enabled for the server, it still did not like me trying to query AD anonymously. I created a username/password with limited priviledges to AD and now it works like a charm. Below you will find my finished code: >Could not c

[PHP] php to generate java-script

2007-08-21 Thread Jas
Anyone have a good method of grabbing the current page and reading data from it? For example: http://php.net"; ); ?> The above code would output the following: Array ( [0] => [1] =>http://"; . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] ); ?> Not only does it take a helluv

Re: [PHP] php 4.4.7 make install with pear causes zend freeing errors

2007-08-21 Thread John Mendenhall
> >The compiler complaining about free'ing memory is something they > >should pay attention to as far as I'm concerned. *shrug* > > > Clearly I should've read the thread better, somehow I missed that > entirely -.- > sorry bout that :) > > anyway, first thing to do before posting is cutting down

Re: [PHP] LDAP

2007-08-21 Thread Dan Shirah
Nothing is being blocked since both servers are inside the DMZ. On 8/21/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > > On 8/21/07, Dan Shirah <[EMAIL PROTECTED]> wrote: > > Okay, hopefully someone can help me out here. I've gone over ldap at > > php.net and multiple other sites but can't get it

Re: [PHP] keeping fields moving forward

2007-08-21 Thread Jim Lucas
Mike Ryan wrote: yes I get information from form one transfers to form two ok but then does not show up on form 3. form 1 and 2 do not then save to the database after the last page of form 3. That wasn't my question. Again, when you submit form 1, do you do any processing of the data that came

Re: [PHP] LDAP

2007-08-21 Thread Daniel Brown
On 8/21/07, Dan Shirah <[EMAIL PROTECTED]> wrote: > Okay, hopefully someone can help me out here. I've gone over ldap at > php.net and multiple other sites but can't get it to work. Everytime I run > the query my results are "0 entries returned". > > My AD tree is: CN=Users,DC=domain,DC=us. I hav

[PHP] LDAP

2007-08-21 Thread Dan Shirah
Okay, hopefully someone can help me out here. I've gone over ldap at php.net and multiple other sites but can't get it to work. Everytime I run the query my results are "0 entries returned". My AD tree is: CN=Users,DC=domain,DC=us. I have the AD Server set so that anonymous access to retrieve in

Re: [PHP] keeping fields moving forward

2007-08-21 Thread Mike Ryan
"Jim Lucas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Mike Ryan wrote: > > I am creating a series of forms that collect information this covers 3 > > screens before I want to write it out to the database. when I go from one > > screen to the next I have tried hidden and readon

Re: [PHP] keeping fields moving forward

2007-08-21 Thread Jim Lucas
Mike Ryan wrote: I am creating a series of forms that collect information this covers 3 screens before I want to write it out to the database. when I go from one screen to the next I have tried hidden and readonly input boxes but the data in the hidden and readonly fields from screen one do not

[PHP] Re: About Session And Cookies

2007-08-21 Thread Michelle Konzack
Am 2007-08-17 22:07:47, schrieb Bastien Koert: > > If cookies are not available, you can either > > hide the id in the hidden form field element > or > enable trans_sid to automatically pass the session id in the url This will be a security risk since Session-Hijacker can grap the URL Greeting

RE: [PHP] keeping fields moving forward

2007-08-21 Thread Chris Boget
> Is there a way to get the data from page one without > letting the users modify the information. I guess I > could write the data to the database Or you could store the data in the session space... thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] keeping fields moving forward

2007-08-21 Thread Mike Ryan
I am creating a series of forms that collect information this covers 3 screens before I want to write it out to the database. when I go from one screen to the next I have tried hidden and readonly input boxes but the data in the hidden and readonly fields from screen one do not make it to the fina

Re: [PHP] Server error

2007-08-21 Thread Borokov Smith
Hi dr Nick, The $_FILES autoglobal contains an error code if something went wrong. What is the code set to ? Regards, boro Humani Power schreef: Hi everybody. I have a Fedora Core 7 with php 5, and I want to upload an image. The funniest thing is that my script works fine in other computer bu

Re: [PHP] Re: LDAP

2007-08-21 Thread Alain Roger
I found what was the problem :-( in PHP.ini the Temp directory was not setup the same. i do not know what is the link with LDAP module, but since i updated php.ini, it works correctly. Alain On 8/21/07, Colin Guthrie <[EMAIL PROTECTED]> wrote: > > Alain Roger wrote: > > Hi, > > > > I have a stup

[PHP] Server error

2007-08-21 Thread Humani Power
Hi everybody. I have a Fedora Core 7 with php 5, and I want to upload an image. The funniest thing is that my script works fine in other computer but not in this one. I look for the error in /var/log/httpd/error.log and I found this [Tue Aug 21 15:52:46 2007] [notice] caught SIGTERM, shutting down

[PHP] oracle instantclient 10 problem

2007-08-21 Thread Rainhard
Ehlo, I compiled php-5.2.3 with the "--with-oci8=instantclient,/opt/instantclient_10_2/" switch and it completed with no errors. First it seems to work well, but now, sometimes i get the infamous - OCIEnvNlsCreate() failed check LD_LIBRARY_PATH - error. The funny thing is, those variables are all

Re: [PHP] Re: Declare variables in advance question

2007-08-21 Thread shiplu
use #php -s command to indend your source file On 8/21/07, Colin Guthrie <[EMAIL PROTECTED]> wrote: > nitrox . wrote: > > I want to declare these variables Game_id and Member_id in advance. > > Following the suggestionfrom one of my books can I do something like this: > > > > $expected = array('G

Re: [PHP] php 4.4.7 make install with pear causes zend freeing errors

2007-08-21 Thread M. Sokolewicz
Chris wrote: M. Sokolewicz wrote: Chris wrote: John Mendenhall wrote: Is the only valid response to problems with php4 to upgrade to php5? Or, are there still some people out there still using php4 and possibly have had problems with install such as the following? If php5 is the only answer,

Re: [PHP] Re: Declare variables in advance question

2007-08-21 Thread Stut
Colin Guthrie wrote: nitrox . wrote: I want to declare these variables Game_id and Member_id in advance. Following the suggestionfrom one of my books can I do something like this: $expected = array('Game_id', 'Member_id');foreach($expected AS $key) {if ( !empty($_POST[$key])) { ${$ke

[PHP] Re: LDAP

2007-08-21 Thread Colin Guthrie
Alain Roger wrote: > Hi, > > I have a stupid issue with ldap_connect. > > i've reinstalled PHP, postgreSQL and restore my data (web files) after > reinstalling my PC. > now, when i try : $ds = ldap_connect($ldaphost, $ldapport) or die("Could not > connect to $ldaphost"); > > nothing works. > i w

[PHP] Re: Declare variables in advance question

2007-08-21 Thread Colin Guthrie
nitrox . wrote: > I want to declare these variables Game_id and Member_id in advance. Following > the suggestionfrom one of my books can I do something like this: > > $expected = array('Game_id', 'Member_id');foreach($expected AS $key) {if > ( !empty($_POST[$key])) { ${$key} = $_POST[$

Re: [PHP] Pass $_GET to php cli.

2007-08-21 Thread Per Jessen
N0K wrote: > But if it run in the browser, i think it have to run in cli, dont you > think ? No, certainly not by default. They are very different environments, as you have already found out. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] LDAP

2007-08-21 Thread Alain Roger
Hi, I have a stupid issue with ldap_connect. i've reinstalled PHP, postgreSQL and restore my data (web files) after reinstalling my PC. now, when i try : $ds = ldap_connect($ldaphost, $ldapport) or die("Could not connect to $ldaphost"); nothing works. i wrote before error_reporting(E_ALL); in or