Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 29.10.2006, 13:27   #1
Techno
Архивный участник
 
Join Date: Oct 2006
Posts: 20
Default [Share] Account administration PHP

The post is deleted... sorry.
Techno is offline  
Old 29.10.2006, 14:12   #2
SilverCloud
Архивный участник
 
Join Date: Feb 2006
Posts: 19
Default

Note that this script is not very secure... Anyone could just inject something into the sql query. Try to escape your incoming variables and to keep variables outside quotes.

Nice script to use in a closed community, thanks for your share ^^.
SilverCloud is offline  
Old 29.10.2006, 19:29   #3
Techno
Архивный участник
 
Join Date: Oct 2006
Posts: 20
Default Not secure

Yes, this is not secure, but you have put this in a security folder.

This facilitate my live muth.

Sorry for bad english.
Techno is offline  
Old 29.10.2006, 21:43   #4
fanatic
Архивный участник
 
Join Date: May 2006
Posts: 28
Default

its nice ... just need bit more work , works fine tho...
fanatic is offline  
Old 20.04.2007, 02:21   #5
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

very thanx man
kepler001 is offline  
Old 20.04.2007, 06:56   #6
JotaC
Архивный участник
 
Join Date: Mar 2006
Posts: 69
Default

Nice Share, I Like It =)

I am trying to make a new PhP based control panel Administration system, wanna Help? =P

Im not Brazilian, i am Portuguese so anyway we speak the same language, if you want to try to help me with that CPA just add me in MsN: [email protected] ^^
JotaC is offline  
Old 20.04.2007, 08:51   #7
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

I could help, good way is sharing experience with problems in that forum.

Yesterday i finally found way to correctly display national characters from mssql db, eg:
Code:
select nickname from user_data ...
results in some garbage instead of national chars from mssql_fetch_array, but you could use:
Code:
select nickname collate your_local_collation from user_data ...
thus correctly get all national chars.

For inserting strings to cached functions you could use:
Code:
function ansi2unicode ( $ansi_str ) {
  return ( iconv ( "CP1250", "UCS-2LE", $ansi_str ) . chr ( 0 ) . chr ( 0 ) );
}
change "CP1250" to your windows locale charset.

If you have questions, feel free to ask PM.
Kenjiro is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:37.