c나 c++로 프로그래밍해서 ....

hwandori의 이미지

프로그램을 짜서 실행 시키면 제로보드나 이지보드에 글쓰기나 자료 업로드

가 가능한가요??

자동 글쓰기 하고 싶은데 웹쪽을 몰라서요..^^

bh의 이미지

hwandori wrote:
프로그램을 짜서 실행 시키면 제로보드나 이지보드에 글쓰기나 자료 업로드

가 가능한가요??

자동 글쓰기 하고 싶은데 웹쪽을 몰라서요..^^


사용자(with 웹브라우저) -> 웹서버 -> DB(MySQL)
저 위에 사용자부분을 C/C++ 로 맹근 플그램으로 대체시킨다는 건가요?
그것두 자동으로?

하나 맹글면 저에게두 쩜 갈켜주세요,,
으함,,

--
이 아이디는 이제 쓰이지 않습니다.

envia의 이미지

C로 하신다면 웹브라우저처럼 서버와 통신하게 하면 될 것 같습니다.

(글을 쓸 때 웹 브라우저가 서버로 보내는 내용을 C로 만든 프로그램이 보내게 하면 됩니다.)

네트워크 프로그래밍과 HTTP에 관련된 내용들을 찾아 보세요.

----

It is essential, if man is not to be compelled to have recourse, as a last resort, to rebellion against tyranny and oppression, that human rights should be protected by the rule of law.
[Universal Declaration of Human Rights]

lsj0713의 이미지

방법은 두가지가 있습니다. 제로보드의 글쓰기 페이지(아마도 write_ok.php)에 직접 HTTP 전송규약으로 데이터를 보내는 방법과 MySQL에 직접 쓰기를 시도하는 방법입니다. 아무래도 전자 쪽이 더 일이 간단해지겠군요.

youlsa의 이미지

80포트로 소켓을 열어서 POST명령을 쏘시면 됩니다. 아래에 간단한 예를...

telnet xxx.yyy.zzz 80

POST /post.php HTTP/1.0
Host: xxx.yyy.zzz
Accept-Language: ko
Content-type: application/x-www-form-urlencoded
content-length: 57

member=hahaha&juminno=7171717171&name=hohoho

=-=-=-=-=-=-=-=-=
http://youlsa.com

1002의 이미지

C / C++ 을 선택하신 특별한 이유가 없다면 이 조합을 추천합니다.

http://wiki.python.or.kr/pykug/ClientCookie

원하시는 결과물이 어떤 것인지에 대해선 구체적으로 모르지만, 간단한 예제라면 아마 10줄 내에 가능하지 않을까 추측해봅니다.

saxboy의 이미지

흐. 이런 프로그램이 진작에 있었다면 제가 블로그를 쓰지 않고 있었을지도 모르겠군요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.