[PHP-WIN] Session problem

2004-03-24 Thread carlos castillo
I want to know how can i do to make the session dont expire?. i have an application that works with sessions, when i left the browser open for a while, i dont know maybe 30 minutes, when i try to go into a section it throw me an error, for session expire, how can i fic that?. thanks. Carlos A. C

[PHP-WIN] SMTP ERROR

2004-03-03 Thread carlos castillo
When i try to send a mail i receive the followin error Warning: mail() [function.mail]: SMTP server response: 503 Comando o secuencia de comandos inesperados in E:\wwwroot\helpdesk_imagine\classes\helpdesk.class.php on line 1054 But the mail is sent, it occurs sometimes not always. Thanks, Car

[PHP-WIN] session problems

2004-03-03 Thread carlos castillo
Hi, i have the followin problem, i have a site that use sessions, sometimes when i want to write on the session i get the followin error: Warning: Unknown(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in Unknown on line 0 Warning: Unknown(): Failed to

[PHP-WIN] Crypt code

2004-02-25 Thread carlos castillo
I want to know if you know a tool to crypt the code, all, i mean a file php, so when i open it i only see some characters without order, like zend, but free or where can i get zend or a similar tool. thanks. Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED] __

[PHP-WIN] Replace of ' in a query

2004-02-17 Thread carlos castillo
Hi , i have the following problem, i have a form where a user can input any text, on that text may be a char is ' char(39) when i try to execute the sql query, i have an error for that ', i need to replace it for the html tag, for example " is " or by chr(39) i dont know, and then execute the sql

[PHP-WIN] A bd problem

2003-09-04 Thread Carlos Castillo
Title: Mensaje   HI, i have the following problem   Im working with sql server 2000 in a windows xp pc, then in the bd i have a table called "noticias" and a text type field, when i insert into the field everything goes rigth, but when i try to get the info of teh field, i can get all the in

[PHP-WIN] Re: [SMARTY] section problem

2003-06-20 Thread Carlos Castillo
t;assign("row", $response); $smarty->display("news.tpl"); [/php] And your Smarty code {secion name=news loop=$row} Title: {$row[1]} Content: $row[2]} {/section} i hope that this can help you!. Carlos Castillo -Original Message- From: "Esteban Fernandez&