| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| hi dear this is possible carry on. "Murat SAYGILI" <saygili@altay.com.tr> wrote in message news:005501cb7a84$8f53d9e0$7d00000a@altaymrk... > Hi, > Can I put my oracle selection into array. > For example > > this is a table > name surname address > john silver california > budd elley newyork > > > > I want to insert $data[1][1]=john > and $data[1][2]=silver and so on. I am asking > this because I will make table and insert it with selection results. > Thanks > Murat > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > |
|
#2
| |||
| |||
| I know that when you run session_start() it sets/gets the sessionid from a cookie (if you have that setup in PHP, which I do). I also know that the lifetime of these is generally zero, until the browser closes, but is there a way to set the lifetime of the sessionID when I call session_start()? --Thanks |
|
#3
| |||
| |||
| Matt wrote: >I know that when you run session_start() it sets/gets the sessionid from a >cookie (if you have that setup in PHP, which I do). I also know that the >lifetime of these is generally zero, until the browser closes, but is there >a way to set the lifetime of the sessionID when I call session_start()? Maybe this'll help.. void session_set_cookie_params (int lifetime [, string path [, string domain]]) http://www.php.net/manual/html/funct...ie-params.html -Brian |
|
#4
| |||
| |||
| This may be an dumb question... After I encrypt a string using the md5() function, how do I decrypt it back into the original string? --Thanks |
|
#5
| |||
| |||
| On Mon, 13 Nov 2000, Matt wrote: > This may be an dumb question... > > After I encrypt a string using the md5() function, how do I decrypt it back > into the original string? > > --Thanks > Simple: you can't. -- Ignacio Vazquez-Abrams <ignacio@openservices.net> |
|
#6
| |||
| |||
| Matt (matt@smokescreen.org) recycled some electrons by writing: > After I encrypt a string using the md5() function, how do I decrypt it back > into the original string? You don't. MD5 is a hashing thing, not an encrypting thing, so you can't get the original string back. Stewart |
|
#7
| |||
| |||
| > After I encrypt a string using the md5() function, how do I decrypt it back > into the original string? > MD5 is one-way encryption meaning you can't decrypt it. If you store something like user's passwords using MD5 and then want to compare what the user typed in to what is stored you just need to compare the two MD5'd values. - Jamie |
|
#8
| |||
| |||
| MD5 doesn't decrypt, it's used for a comparison, good for storing passwords in a database, because you can validate whether someone entered the correct password, but if someone gained access to your db they wouldn't see the passwords. make sense? Steve Nelson http://www.SecretAgents.com Tools for Fusebox Developers Matt wrote: > > This may be an dumb question... > > After I encrypt a string using the md5() function, how do I decrypt it back > into the original string? > > --Thanks > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- |
|
#9
| |||
| |||
| Evidently you already know that you can't. That's already been answered. You might look into using mcrypt. It will allow you encrypt/decrypt strings. http://www.php.net/manual/ref.mcrypt.php Jason -----Original Message----- From: Matt [mailto:matt@smokescreen.org] Sent: Monday, November 13, 2000 3:39 PM To: php-general@lists.php.net Subject: [php] MD5 This may be an dumb question... After I encrypt a string using the md5() function, how do I decrypt it back into the original string? --Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net __________________________________________________ _____ Site Design, Hosting, and E-Commerce at www.webpipe.net |
|
#10
| |||
| |||
| Hi, Can I put my oracle selection into array. For example this is a table name surname address john silver california budd elley newyork I want to insert $data[1][1]=john and $data[1][2]=silver and so on. I am asking this because I will make table and insert it with selection results. Thanks Murat |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.