Jump to content
CyborGTX

Obter texto de .ini

Recommended Posts

CyborGTX

Boas

Tenho um ficheiro chamado local_up.ini que contem um certo texto que irá servir de encaminhamento para o upload...

Gostava de saber como chamo o texto que está dentro da .ini

Obs:

O local_up.ini irá ter apanas 1 linha....

Comprimentos:

CyborGTX590

Share this post


Link to post
Share on other sites
magnastik

Viva!

Por exemplo:

<?php
$conteudo = file_get_contents('./local_up.ini');
echo $conteudo;
?>

Abraços,

magnastik

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.