User Profile

Collapse

Profile Sidebar

Collapse
unicorn
unicorn
Last Activity: Sep 27 '09, 06:27 PM
Joined: Sep 27 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • unicorn
    started a topic cpp - web (php) data exchange
    in C

    cpp - web (php) data exchange

    Hi, I'm newby in cpp, please dont judge me for that.
    I need to write program in cpp that will get/send data to my website (maybe better throught php code). I've googled and read some topics but I cant find any good and useful example of how to do that. please give me some links if you have on live and working examples. basically what i need is, I have written web-live chat and I want to write program, gadget for users to run on pc, use chat...
    See more | Go to post

  • unicorn
    started a topic help needed with HttpWebRequest
    in C

    help needed with HttpWebRequest

    Hi, I'm new to c++, I'm making program that will log in to my website through http and get online user status and some other information. I've read that the best option is to use HttpWebRequest method, I've googled some examples but there is nothing clear to me. please give me some complete examples or links to a good tutorial. I'm using borland c++.

    thanks for your help...
    See more | Go to post

  • unicorn
    started a topic get data from web
    in C

    get data from web

    Hi everyone,

    I'm new to C++ and I need to write app that will login from computer to my web-page through certain php script and then gets data from it. I dont want to use remote SQL scripts because I dont want to give direct access to my SQL.

    I would apriciate if you help me, I want to write little app that will inform me or others about new messages or changes on site.

    Thank you for your help.
    See more | Go to post

  • unicorn
    replied to ftp_get() on new domain won't download files
    in PHP
    thanks a lot. i hope i will receive normal answer from hoster too :)...
    See more | Go to post

    Leave a comment:


  • unicorn
    replied to Session timeout
    in PHP
    here is link where you can find lots of examples.
    php.net
    but i recommend to use cookies and set expiration time read this

    or if you need high security and realibility, use your own 'expiration time', i.e. create cookie with value and its expirity date and compare it with datebase.

    something like that

    login.php ->
    [code=php]
    <?php

    $uID = uniqid("");...
    See more | Go to post

    Leave a comment:


  • unicorn
    replied to ftp_get() on new domain won't download files
    in PHP
    ok, here we go:

    i have tryed to GET other files in other directories (including php script folder and root folder), it gives same error. in error log it says:

    ftp_get() [<a href='function. ftp-get'>function.f tp-get</a>]: Error opening 4.gif in /home/ mydomain/public_html/down_att.php on line 43

    in download script i'm using include() to include script with functions and to include configuration...
    See more | Go to post

    Leave a comment:


  • unicorn
    replied to ftp_get() on new domain won't download files
    in PHP
    yes exactly, if i access file (image or whatever) through command line or ftp manager, there is no problem, i can write, delete, do whatever i want to this files in that directory but cannot download. i wrote hosters, but thay said that maybe my ip addres is blocked :) i've never heard anything more silly... if it is blocked how can i WRITE or DELETE files through PHP commands... oh, and this files are not in common directlry (public_html), because...
    See more | Go to post

    Leave a comment:


  • unicorn
    replied to ftp_get() on new domain won't download files
    in PHP
    read more carefully, i said 'when' i changed path from 'correct' path to 'incorrect' path, it showed me error that file is not found, that means that when path was correct, it could see file, but couldn't read it. thanks...
    See more | Go to post

    Leave a comment:


  • unicorn
    started a topic ftp_get() on new domain won't download files
    in PHP

    ftp_get() on new domain won't download files

    Hi guys,

    I have moved my site from one domain to another. it worked perfectly on old domain, ftp_put(), ftp_delete() - i.e. FTP upload and remove scripts work fine, but... i have problem using ftp_get() wicth shows me error, and says :

    Warning: ftp_get() [function.ftp-get]: Error opening 4.gif in /home/mydomain/public_html/down_att.php on line 43

    Couldn't download file '4.gif' .


    ...
    See more | Go to post

  • unicorn
    replied to .htaccess
    in PHP
    sorry, but can ou recomend how to do that? using mymeTypes? i guess so but i newer worked with mymeTypes so deeply, can you recomend something that helps me (some papers or links). and one more, i'm gonna work with video, lot of pictures and some FLV files, size of this file might be over 5MB, is it still good to use databease?

    thanks Atli...
    See more | Go to post

    Leave a comment:


  • unicorn
    started a topic .htaccess
    in PHP

    .htaccess

    hi, i want to prevent flashGet (or programs like this) from browsing my website and its content... is that possible? or if it is how... through .htaccess you can use rewrite engine like this:

    RewriteCond %{HTTP_USER_AGE NT} ^FlashGet [OR]
    RewriteRule ^.* - [F,L]

    i still can browse through... even folders of yahoo.com, so if it is possible to prevent it, then why yahoo didn't use it... i think this Rewrite Rule...
    See more | Go to post

  • unicorn
    replied to video chat
    in C
    thanks RedSon !!!

    of you get some papers about coding video stream, please dont forget about me.
    See more | Go to post

    Leave a comment:


  • unicorn
    started a topic video chat
    in C

    video chat

    hi, i want to write video chat program for local internet in my country (local speed is upto 21MBPS) but i dont know what to read and learn to do that. i would appriciate your advices and help, i need to know what to learn to do that and if you have any paper about that, please send me: email removed per Posting Guidelines
    thanks in advance
    Zura
    See more | Go to post

  • unicorn
    started a topic decode mime type
    in PHP

    decode mime type

    i have access to mail folder, i want to automatically copy from mail folder attachment into other directory. but this mail files are all text, i mean attachments are in mimetypes, how can i split message and retreave file? i tried to use imap and it works on my server but i still preffer to decode attachment directly from mail folder. please give me advice and any links to that.
    thanks in advance.
    See more | Go to post

  • unicorn
    replied to change title style
    thanks a lot AricC , this is exactly what i need. thanks again :)...
    See more | Go to post

    Leave a comment:


  • unicorn
    started a topic change title style

    change title style

    how is that possible to change for instance <img title="my home" src="something> title style to make it look better, not that standard. I've seen that on couple of sites, but they were changing it with really long javascript and css style-sheet. i tryied to figure out but i couldnt. i would appriciate your help. thanks in advace.
    See more | Go to post

  • unicorn
    replied to java-php-java data transfer
    okay, i can transmit my pictures sql list through php to JavaScript. how can I put this list from Javascript into APPLET?
    See more | Go to post

    Leave a comment:


  • unicorn
    replied to java-php-java data transfer
    thanks, i know how to use MySQL in php, how to retreave lists of needed pictures. I dont know hot to transmit this list of pictures from PHP to JavaScript (applet)
    See more | Go to post

    Leave a comment:


  • unicorn
    replied to java-php-java data transfer
    I want to load only that pictures that can be viewed in screen (for example if screen resolution is 1024x768 and i can fit only 4 pictures but i have 100 of them, I dont want to load all of them). and scrollbar should view label for all pictures. thus i'll save my traffic.
    See more | Go to post

    Leave a comment:


  • unicorn
    replied to java-php-java data transfer
    I need JavaScript for viewing images from sql. I think that it would be better if I use PHP but i dont know how. I'm using scroll applets and i wont to view (load) pictures that are visible and preload pictures that are near that area. but scroll bar has to show whole label for all pictures.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...