rockxl1
-
Posts
13 -
Joined
-
Last visited
Never
Posts posted by rockxl1
-
-
Hi,
I had created mysql to php class. Very nice to program using OOP sintax. check out in http://projects.rafaelrocha.net/
-
lol... it works!
how is possible? blank lines?
-
Error is:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/rockxl1/demo1.site-facil.net/admin.php:2) in /hsphere/local/home/rockxl1/demo1.site-facil.net/admin.php on line 24
code is:
<?php //GESTAO require '../library/Gestao/config.inc.php'; require '../library/Gestao/Cliente_Servicos.Class.php'; require '../library/Gestao/Datas.php'; //site facil require 'config.php'; require '../library/SiteFacil/conteudo.class.php'; require '../library/SiteFacil/config.class.php'; require '../library/SiteFacil/template.class.php'; require '../library/SiteFacil/menu.class.php'; require '../library/SiteFacil/includes/configurar.php'; require '../library/SiteFacil/includes/varios.php'; require '../library/SiteFacil/includes/paginas.php'; //outros require '../library/Varios/Smarty-2.6.22/libs/Smarty.class.php'; session_start(); include VerificarLingua(); ini_set("display_errors", "1"); $Classe_ClientesServicos = new Cliente_servicos(); $Classe_ClientesServicos->CarregarDadoscliente_servicos(ID_CLIENTE_SERVICOS); $Classe_config = new config(ID_CLIENTE_SERVICOS); $Classe_Data = new Data(); if($Classe_ClientesServicos->getEstado() == 2 || $Classe_ClientesServicos->getEstado() == 3){ include 'error.php'; exit(); }
-
i have :
session_start();
-
Hi again ppl!
Every time i put php.ini file in my server with (max_file_size = 1000M) inside, do this error:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/rockxl1/demo1.site-facil.net/admin.php:2)
Session Cache conflit with php.in-> max_file_size...
:S
Any help?
thanks
Rafael Rocha Portugal
-
Hi.
I have a xml like this:
<gallery galleryname="album" layout="1" preferredstage="0" > <image thumb="images/image1-thumb.jpg">images/image1.jpg</image> <captiontext>image 6 sample text</captiontext> <imageurl popupwidth="420" popupheight="420">images/image1.jpg</imageurl> </gallery>
DOMdocument Classe just work when i have tags like that:
<title>Heloo</title> <main>problem</main>
Right?
What class i can use to chage easy my XML code?
Thanks
Rafael Rocha - Portugal
-
Hi there.
Any one know how is usefull sockets in php?
I program java in university and sockets in java is very usefull. In php how can i use sockets? can anyone tell me a program example? chat?
And threads? exist in php?
Thanks
Rafael Rocha - Portugal
-
Hi ppl,
Any one know a program like case estudio or MicroOLAP data base designer, but i put for the code:
Create table Musicas_Sets (cod_pag Int, ...)
and the program give me the designer of the tables and links.
Any one???
Thanks
-
Hi people,
I am try to install phpBB3 in my server, but i need to put
register_globals = on
mbstring.http_input to pass
mbstring.http_output to pass
So, how i do that? in a file php.in? what i need to write inside that file, and where i put them?
Thanks
Rafael Rocha - Portugal
Your guys are the phpmasters in the world
-
The code you posted doesn't have 37 lines of code (the error is on line 37 according to your error), it has 29!
Anyway, I think your problem could be related to your WAMP server not having a setting called short_open_tag enabled. short tags are disabled by default. You'll need to enable this setting in your php.ini file. After making any changes to the php.ini make sure you restart WAMP.
yes!! was that! i put short_opn_tag, and works! your guys are the best in world in php! thanks!
-
I see no error. I get no error running that script. Given that what you posted is much shorter than 37 lines, the error message suggests that you actually have more code than you posted. The problem likely originates from a missing loop start curly brace.
give me the error on <?php } ?> ... but just on my computer, using wamp. there is any i can change on wamp to hide this problem?
-
I ppl. I have a login system. When i run on my computer (windows using wamp) give me this:
Parse error: syntax error, unexpected '}' in C:\WebDesigN\Sites\LOGIN\paginaProtegida.php on line 37
And in my site on web (linux) no... What is the problem in my wamp? sothing is not active?
THANKS.
Rafael Rocha - Portugal
ba the way the code is:
<?
//Inicia a sessão
session_start();
//agora verifico se ele possui permissão para acessar a página
if ($validacao != "crypto")
{
?>
<h1>Login<h1>
<?
}
else
{
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
THis is the page, protected.
</body>
</html>
<?php } ?>
PHP class generation
in Other Libraries
Posted
Hi ppl. I did update my class that convert your mysql tables in php classes. Is a code generation.
If you have table users(id, name, password) the class will create users.class.php with geters and seters to put values in sql.
Say what you think.
[attachment deleted by admin]