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
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
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
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
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
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]>
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
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
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
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
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
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
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
> >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
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
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
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
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
"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
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
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
> 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://
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
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
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
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
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
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
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,
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
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
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[$
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://
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
34 matches
Mail list logo