Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 12:22 pm EST
Geeklog Forums
PHP (include) and block geeklog 1.4.0
Status: offline
koalasoft
Forum User
Full Member
Registered: 03/09/05
Posts: 242
Location:Mexico
in english ..
within my site geeklog 1.3.1sr2, in bloke podia to show to the content of a Web php with the commando include, for example:
Now with version 1.4.0 I cannot see this Web php and single it appears the line of I cosay to me. That podria being who cannot do this?
In Spanish ..
dentro de mi sitio geeklog 1.3.1sr2, en un bloke podia mostrar el contenido de una web php con el comando include, por ejemplo:
Ahora con la versión 1.4.0 no puedo ver esta web php y solo me aparece la linea de codigo.
Que podria ser que no pueda hacer esto?
Grettings !!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
within my site geeklog 1.3.1sr2, in bloke podia to show to the content of a Web php with the commando include, for example:
Text Formatted Code
<?php include "http://migeeklog.com/public_html/pagina.php"; ?>Now with version 1.4.0 I cannot see this Web php and single it appears the line of I cosay to me. That podria being who cannot do this?
In Spanish ..
dentro de mi sitio geeklog 1.3.1sr2, en un bloke podia mostrar el contenido de una web php con el comando include, por ejemplo:
Text Formatted Code
<?php include "http://migeeklog.com/public_html/pagina.php"; ?>Ahora con la versión 1.4.0 no puedo ver esta web php y solo me aparece la linea de codigo.
Que podria ser que no pueda hacer esto?
Grettings !!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
13
14
Quote
Status: offline
koalasoft
Forum User
Full Member
Registered: 03/09/05
Posts: 242
Location:Mexico
Ready !!
although not if habra another form to do it but facil. so that "lib-custom.php"
{
$retval .= "<?php include 'http://migeeklog.com/public_html/pagina.php'; ?> ";
return $retval;
}
worked to me in the file places the following thing. and of this form in my blocke with the option type block_php I could make work what queria.
if there is some other form because to let know it.
Greetings!!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
although not if habra another form to do it but facil. so that "lib-custom.php"
Text Formatted Code
function phpblock_miweb(){
$retval .= "<?php include 'http://migeeklog.com/public_html/pagina.php'; ?> ";
return $retval;
}
worked to me in the file places the following thing. and of this form in my blocke with the option type block_php I could make work what queria.
if there is some other form because to let know it.
Greetings!!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
11
14
Quote
Status: offline
koalasoft
Forum User
Full Member
Registered: 03/09/05
Posts: 242
Location:Mexico
In the administration of block you must choose "block PHP" and in name of option of block to write "phpblock_miweb"
and in your lib-common.php you place the code ..
function phpblock_miweb()
{
$retval .= "<?php echo"Hola Mundo" ?> ";
return $retval;
}
Saludos !!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
and in your lib-common.php you place the code ..
Text Formatted Code
function phpblock_miweb()
{
$retval .= "<?php echo"Hola Mundo" ?> ";
return $retval;
}
Saludos !!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
12
14
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Quote by koalasoft:
and in your lib-common.php you place the code ..
and in your lib-common.php you place the code ..
Are you sure, didn't you mean lib-custom.php ??
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
12
10
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Look in the system directory, it's already there. Or have a look in the docs first....
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
11
11
Quote
Status: offline
koalasoft
Forum User
Full Member
Registered: 03/09/05
Posts: 242
Location:Mexico
Quote by fakestar: ahaha
i made same mistake, i place the code in lib-commom.php
But...i need to create, lib-custom, right? I didn't find
it.
i made same mistake, i place the code in lib-commom.php
But...i need to create, lib-custom, right? I didn't find
it.
No, this file you find in directory him geeklog within system.
Saludos !!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
14
14
Quote
All times are EST. The time is now 12:22 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content