Jump to content
zecapistolas

Ler/Escrever Ficheiros

Recommended Posts

IceBrain

O HTML5 também o faz por Javascript, e sem essas novas APIs duvido que possas.

Bem, talvez usando ActiveX, mas só para IE, e o cliente vai ter que adicionar a tua página à "zona de confiança". Não é muito amigável :|


❝The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.❞- John Carmack on software patents

A list  of command line apps

Share this post


Link to post
Share on other sites
zecapistolas

E invocar uma função PHP em JavaScript?  :wallbash:

<input type='button' onclick='Aqui queria chamar uma funcao em PHP e nao em JavaScript' value='Apply Patch'></input>

cumps  :)

Share this post


Link to post
Share on other sites
IceBrain

Tens que usar Ajax. Podes usar uma biblioteca como PHPRPC para simplificar o trabalho.


❝The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.❞- John Carmack on software patents

A list  of command line apps

Share this post


Link to post
Share on other sites
alexandre16

Para guardar imagens numa base de dados e depois mostra-las no site, convem usar esse programa?é pk tambem estou numa duvida que é o utilizador quere meter uma imagem ou fazer um album de imagens, onde as vou guardar para depois serem lidas?

Share this post


Link to post
Share on other sites
IceBrain

Podes guardá-las na base de dados, ou podes guardá-las numa directoria qualquer e guardares só o nome da base de dados.

E não precisas de Javascript para isso, PHP sozinho serve.


❝The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.❞- John Carmack on software patents

A list  of command line apps

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.