zombie45
zombie's dev story
zombie45

공지사항

  • 분류 전체보기
    • iPhone
    • Study

인기 글

최근 댓글

최근 글

티스토리

반응형

블로그 메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록
  • 글쓰기
전체 방문자
오늘
어제

태그

  • 큰파일
  • android_key_hash
  • cocoapods-binary-cache
  • nextFocus
  • Nodejs node express expressjs
  • FocusScope
  • Animtaion
  • 큰폴더
  • 자동배포
  • cache
  • caching
  • l10nization
  • appDelegate
  • 카카오 로그인
  • intl
  • 티스토리챌린지
  • flutter_localizations
  • Flutter
  • textformfield
  • UIViewController
  • jks
  • TextInputAction
  • 오블완
  • cspell
  • 안드로이드
  • Box2d cocos2dx cocos2d-x
  • flutter l10n helper
  • code spell checker
  • CI/CD
  • actions
hELLO · Designed By 정상우.
zombie45

zombie's dev story

Study

php POST/REQUEST testing through url

2012. 11. 3. 21:50

simply test mysql POST method by using

http://url/postdata.php?name=AAA&score=10000

database with request name and score will respond



connect your database through below

(example from : http://www.freewebmasterhelp.com/tutorials/phpmysql)


$user="username";
$password="password";
$database="database";
mysql_connect(localhost,$user,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="CREATE TABLE contacts (id int(6) NOT NULL auto_increment,first varchar(15) NOT NULL,last varchar(15) NOT NULL,phone varchar(20) NOT NULL,mobile varchar(20) NOT NULL,fax varchar(20) NOT NULL,email varchar(30) NOT NULL,web varchar(30) NOT NULL,PRIMARY KEY (id),UNIQUE id (id),KEY id_2 (id))";
mysql_query($query);
mysql_close();


반응형

'Study' 카테고리의 다른 글

mac osx lion java 6  (0) 2013.01.08
Finder에서 보기 안될때  (0) 2012.11.19
jQuery Mobile Buttons  (0) 2012.10.23
cocos2d unable to load font  (0) 2012.10.22
SenchaSDKTools error after installation  (0) 2012.10.14
    'Study' 카테고리의 다른 글
    • mac osx lion java 6
    • Finder에서 보기 안될때
    • jQuery Mobile Buttons
    • cocos2d unable to load font
    zombie45
    zombie45
    잡다한 개발

    티스토리툴바