riipper Posted April 9, 2008 Report Share Posted April 9, 2008 Salut . Sun incepator in programare (c++). Si as avea nevoie de ajutor ca sa fac un program , daca se poate . Vreau sa fac un program care cand se va deschide exe sa te intrebe "sa introduci ......" si cand introduci acel nume sa iti downlodeze poza de pe acel link, iar linkul acela sa se termine cu numele introdus .Ex : Punem : andreiiar linkul atunci sa fie : ***://******/****.php?**=andrei Quote Link to comment Share on other sites More sharing options...
andr3y Posted April 9, 2008 Report Share Posted April 9, 2008 pai asta poti face si in php .. faci o variabila $nume_introdus apoi pui sa te reditecteze pe "www.adresa.com/......=$nume_introdus"si aia e... Quote Link to comment Share on other sites More sharing options...
Nytro Posted April 10, 2008 Report Share Posted April 10, 2008 Cred ca se poate folosi URLDownloadToFile si in C++ dar nu stiu in ce header se afla ... Quote Link to comment Share on other sites More sharing options...
riipper Posted April 10, 2008 Author Report Share Posted April 10, 2008 altundeva unde se poate folosii comanda aia URLDownloadToFile . ? Nytro Quote Link to comment Share on other sites More sharing options...
Nytro Posted April 10, 2008 Report Share Posted April 10, 2008 Pai se poate face foarte usor in Visual Basic .Private Declare Function URLDownloadToFile Lib "urlmon" Alias _"URLDownloadToFileA" (ByVal pCaller As Long, _ByVal szURL As String, _ByVal szFileName As String, _ByVal dwReserved As Long, _ByVal lpfnCB As Long) As LongPrivate Sub Form_Load()Me.HideURLDownloadToFile 0, "http://link", "C:locatie", 0, 0Unload MeEnd Sub Quote Link to comment Share on other sites More sharing options...