[PHP] Problem with variables

2013-06-25 Thread Fernando A
Hello, I am working with php and codeigniter, but I have not yet experienced. I need create a variable that is available throughout system. This variable contains the number of company and can change. as I can handle this? Thank you, very much! Ferd

Re: [PHP] Counting Online users, but not using a Session Table in MySQL

2011-01-28 Thread Fernando
How did you created the table? Can you count the Id's only? Wouldn't this just count the entries in the index? On 28/01/2011 12:57, AmirBehzad Eslami wrote: Dear list, The common solution for counting online users is to store sessions in a Table. I've created a Table in MySQL to acheive the

Re: [PHP] "public static" or "static public"?

2011-01-28 Thread Fernando
I personally like scope static fucntion. Coming from C# it just makes more sense to me. JF. On 28/01/2011 12:15, Colin Guthrie wrote: OK, so it's a Friday hence a random debate What is preferred for class methods? class foo { static public function bar(){} public static function w

[PHP] Distributed File Purchase Encryption (DFPE)

2011-01-15 Thread Fernando Amorim
I was thinking in something , is not quite php related, but I was thinking of an app that would encrypt a file (that file could be anything) and the author would create an encryption key giving an amount of money to be collected. It would become public and anyone could give as much money as wanted.

Re: [PHP] Some undefined function errors

2010-05-20 Thread Fernando
mited Unlimited My PHP version is 5.3.2. My PostgreSQL version is 8.4.4 and I'm running the server under the restrict 'postgres' user privileges since I can't run the daemon process as 'root'. Thank you for some help. --- Em qui, 20/5/10, Fernando escreveu: D

Re: [PHP] Some undefined function errors

2010-05-20 Thread Fernando
make the function call in a php file. I'm not using stored procedures. If I create an empty php file and put only some of these functions, Apache reports de 'call to undefined function XXX'. --- Em *qui, 20/5/10, Fernando //* escreveu: De: Fernando Assunto: Re: [GENE

Re: [PHP] Standard built-in functions source code

2010-05-19 Thread Fernando
http://www.php.net/downloads.php Download the complete source code. On 19/05/2010 16:24, Leandro de Oliveira wrote: Hi, I'd like to know where is the source code of built-in functions if it's freely available. I'm interested in math and cryptography functions specifically. Thank you

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Fernando
Hello Jagdeep, I think that using the user table will fix your first problem of having a single user tied to a browser for the same machine or even a different machine. Once logged in that same user cannot login again. For your second issue, I do not think is possible to keep track of anyth

Re: [PHP] Converting floats to ints with intval

2010-05-06 Thread Fernando
I think Bob has a good idea here, split the string values and the concatenate them to make the whole value. If the data is really stored in strings, you need to break it down into substrings around the decimal and then convert both sides into integers and combine them into an integer value. It is

Re: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Fernando
But then you need to differentiate the table, otherwise all your tables will have the same row formating no? This way you only apply the formating to those rows that need it. Fernando. On 28/04/2010 09:35, Ashley Sheridan wrote: On Wed, 2010-04-28 at 09:34 -0400, Fernando wrote: What

Re: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Fernando
What about this: $color = "even"; while ($row = while condition )) { $color = ($color == "even") ? "odd" : "even"; echo (""); echo "$row[0]$row[1] $row[2]$row[3]$row[4] "; echo ("") } And have two classes in your style sheet that format each row differently. Hope

Re: [PHP] class attributes and __construct

2010-04-15 Thread Fernando
Hello Ashely, I would initialize the variable when I'm defining it as there isn't much of a point of doing it in the constructor unless I'm having the value changed by a parameter. In my opinion: class House { public $roof = true; } is the way to go. Fernando. On 1

[PHP] Using Mono library from PHP

2010-03-15 Thread Fernando
Is there a way to use a Mono library from PHP running on Apache 2.2 on a Debian server? I have seen samples of using COM and DOTNET, but it seems to work only on Windows not on Linux. Your help is really appreciated. Thank you, Fernando.

Re: [PHP] Preview button to show PDF without submitting post data?

2009-11-05 Thread Fernando Castillo Aparicio
You could just open in a new window a php script that generates the "preview" pdf with a content-type header for pdf. header("Content-type: application/pdf"); Or if the "preview" pdf is not dinamic, just point the url to the pdf. No javascript needed, just a link, o a submit button on a form wi

Re: [PHP] question about smarty

2009-11-05 Thread Fernando Castillo Aparicio
I'm not sure where is the problem, but can't you just define every changing part in your template as variables and assign them as needed from php? If you need to change the image url, just make it a variable, like in background:url(images/{$img}) Then you just assign the variable as needed in e

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Fernando Castillo Aparicio
5.2.8, but testing 5.3 in local environment.

Re: [PHP] regex for multiple line breakes

2009-10-14 Thread Fernando Castillo Aparicio
is the same. It removes all linebreakes but one. > I would like to pass this one: > > - > first line > > second > third > - > > But not this one: > - > third > > > > > forth > > > > > Fernando C

Re: [PHP] regex for multiple line breakes

2009-10-14 Thread Fernando Castillo Aparicio
You are replacing 1 or more matchs of a new line. To match 2 or more you can use "{2,}". It's a range, first number means min matches, second max matches. Omitting last number means no max limit. $data[txt] = preg_replace('`[\r\n]{2,}`',"\n",$data[txt]); De: M

Re: [PHP] Newbie: Array of objects iteration

2009-10-09 Thread Fernando Castillo Aparicio
not been able to see if I was getting one object, or several objects. That make me think of that. Thanks :) And because of that, I was able (I hope) to properly understand Fernando example: @Fernando foreach ( $records as $record ) { foreach( $record as $column=>$value ) {

Re: [PHP] Newbie: Array of objects iteration

2009-10-08 Thread Fernando Castillo Aparicio
I think you are just looking for the key in the wrong place. Try: foreach ( $records as $record ) { foreach( $record as $column=>$value ) { echo "$column is $value\n"; } } You've got the columns names in each record, not in the global recorset. Good luck ;-) _

Re: [PHP] html email showing instead of line breaks

2009-09-24 Thread Fernando Castillo Aparicio
Have you tried http://es.php.net/manual/en/function.nl2br.php ? I think it's easier and fits your needs. De: Adam Williams Para: PHP General list Enviado: jueves, 24 de septiembre, 2009 20:52:13 Asunto: [PHP] html email showing instead of line breaks I have

Re: [PHP] Parse error: syntax error, unexpected '>'

2009-09-23 Thread Fernando Castillo Aparicio
lighting if you haven't one. It would warn you from most of these mistakes. And an xhtml issue: to use an empty tag, you use and not De: Fernando Castillo Aparicio Para: Haig Davis ; php-general@lists.php.net Enviado: miércoles, 23 de septiembre, 2009

Re: [PHP] Parse error: syntax error, unexpected '>'

2009-09-23 Thread Fernando Castillo Aparicio
You missed a double quote here: echo " \n"; De: Haig Davis Para: php-general@lists.php.net Enviado: miércoles, 23 de septiembre, 2009 16:18:17 Asunto: [PHP] Parse error: syntax error, unexpected '>' Good morning Everyone, I'm have trouble wi

Re: [PHP] Question: Wai-aria?

2009-09-22 Thread Fernando Castillo Aparicio
Ups! By mistake I didn't reply to all. Resending. Sorry. De: Parham Doustdar Para: php-general@lists.php.net Enviado: martes, 22 de septiembre, 2009 9:41:44 Asunto: [PHP] Question: Wai-aria? Hello there, I have asked on the mailing lists that have blind users

RE: [PHP] Mail function and hotmail

2009-06-11 Thread Fernando G
I decided to change the call to send to: $mail =& Mail::factory("smtp", array("host" => "localhost")); return $mail->send($params["email"], $headers, $body); and now hotmail wokrs. Maybe qmail changes something when the mail() function is used

RE: [PHP] Mail function and hotmail

2009-06-11 Thread Fernando G
OS 5.3), however, when I send the message from my development machine (Visata Ultimate SP1) it does work correctly on hotmail address . Both machines are running php 5.2 and have the same PEAR packages. I tried Gmail, Yahoo mail and Thunderbird and they work fine. Your help will be much apprecia

RE: [PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
Thank you. I'm looking at PEAR Mail_mime right now. It seems promising. Fernando. > Date: Wed, 10 Jun 2009 23:14:11 +0530 > From: sudhee...@binaryvibes.co.in > To: phps...@gmail.com > CC: jfer...@hotmail.com; rich...@php.net; php-general@lists.php.net > Subject: Re: [PH

RE: [PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
Thanks. I'll check that out. > Date: Wed, 10 Jun 2009 18:24:45 +0100 > Subject: Re: [PHP] Mail function and hotmail > From: rich...@php.net > To: phps...@gmail.com > CC: jfer...@hotmail.com; php-general@lists.php.net > > Hi, > > > pear's mime mail > > I believe I had a hand in that too. It's

RE: [PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
I have not idea of what else to use. Your suggestions are appreciated. Fernando. > Date: Wed, 10 Jun 2009 18:04:31 +0100 > From: rich...@php.net > To: jfer...@hotmail.com > CC: php-general@lists.php.net > Subject: Re: [PHP] Mail function and hotmail > > Hi, > > &g

[PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
image/jpg\r\n"; $body .= "Content-Transfer-Encoding: base64\r\n"; $body .= "Content-ID: \r\n\r\n"; $body .= chunk_split(base64_encode(file_get_contents("./templates/emaillogo.jpg"))); $body .= "--$mime_boundary--"; return mail("em...@d

[PHP] PHP and a misbehaving contact form

2008-05-12 Thread Fernando Ronci
use of this misbehaving contact form ? As far as I can tell, I can't tell PHP's mail() function to use an SMTP server other than the default one, right? Some relevant info: - Red Hat Linux - Apache 2.0.52 - PHP 4.3.9 Thanks, Fernando -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] freeing resourses after the end of the session

2007-11-19 Thread Fernando
start to have many garbage images in the temp directory). Is there any way to do that? From PHP? Fernando Bonafé Artista Plástico (19) 81184401 (19) 32322239 [EMAIL PROTECTED] _ www.opapagaiorinoceronte.net -- PHP General Mailing List (http://www.php.net/) To

[PHP] oem to ansi charset encoding!.

2007-06-01 Thread Fernando Viadero
Hello.- i have some trouble. i need to convert some string encoded in oem charset to ansi php ;-) could someone help me! thanks in advance! Fernando -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: About resource of popen

2007-05-02 Thread Fernando chucre
Somebody? help me!! :D 2007/4/30, Fernando chucre <[EMAIL PROTECTED]>: Hello all, I make a script for read and interprete the stdout of cmd `ip monitor`. And I use signal_handler, the script is like this: this script run in infine loop, or when to cmd 'ip monitor' exist.

[PHP] About resource of popen

2007-04-30 Thread Fernando chucre
nd the signal SIGHUP to pid of script. In this point the instruction '$line = fgets($fh);' is aborted and return false to $line. The $fh is modified and the function feof($fh) return true and I have not access to $fh agaim. But the kid process 'ip monitor' is not kill. This is wanted? -- Fernando Chure PSL/CE

[PHP] I make a patch, how I report?

2007-04-16 Thread Fernando chucre
r to be avaliable. Thanks. -- Fernando Chure PSL/CE - Brasil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problems when running Java program

2007-04-04 Thread Fernando M M
php4 running as CGI and phpsuexec enabled. What am i doing wrong? Thanks, Fernando. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ibm universe database

2007-03-01 Thread Fernando Viadero
Hello. i have to take some data from a IBM universe database on a windows server from my linux+php web server.. does anybody know how to do this?? (i have googled a few hours and i did not find anything)... thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Project php-mobile

2007-01-03 Thread Fernando chucre
ary and libraries we will uses the Palm_OS_Developer_Suite_1_2, this is a suite developer based in Eclipse. We accept any help. We will notice when we register the project. Thanks -- Fernando Chure PSL/CE - Brasil

[PHP] Project php-mobile

2006-12-29 Thread Fernando chucre
will make it. For make binary and libraries we will uses the Palm_OS_Developer_Suite_1_2, this is a suite developer based in Eclipse. We accept any help. We will notice when we register the project. Thanks -- Fernando Chure PSL/CE - Brasil

[PHP] Project php-mobile

2006-12-29 Thread Fernando chucre
will make it. For make binary and libraries we will uses the Palm_OS_Developer_Suite_1_2, this is a suite developer based in Eclipse. We accept any help. We will notice when we register the project. Thanks -- Fernando Chure PSL/CE - Brasil

Re: [PHP] Re: date() and timezone

2006-12-15 Thread Fernando M. M.
like it is not completely translated. Just changed to the english version and NOW i can read it :) Thanks, Fernando. -- Blog: http://blog.forumdebian.com.br/fernando Contato: http://www.forumdebian.com.br/fernando/contato.php

[PHP] Curl and cookies

2006-12-15 Thread Fernando M. M.
do i make curl receive the cookie and store in this variable? How do i make curl send it? Thanks, Fernando. -- Blog: http://blog.forumdebian.com.br/fernando Contato: http://www.forumdebian.com.br/fernando/contato.php

Re: [PHP] Re: date() and timezone

2006-12-15 Thread Fernando M. M.
ess there are about 10,000 scripts. >> What you were pointed to before + > >> http://us3.php.net/manual/de/ini.php#ini.list > > ah, now you've gone and made it easy for him :-) > Actually i don't have access to php.ini file. Are there any other ways to do th

Re: [PHP] date() and timezone

2006-12-14 Thread Fernando M. M.
I´m using php5 here. But like i said i have lots of scripts inside this folder, is there a way to set something on .htaccess to change the timezone? > Fernando M. M. wrote: >> >> Hello, >> >> I have a lot of php scripts that uses date() for some important >

[PHP] date() and timezone

2006-12-14 Thread Fernando M. M.
. Is there a way to change the default timezone for all scripts within a folder? And what about changing just one? I appreciate any help. Thanks, Fernando. -- Blog: http://blog.forumdebian.com.br/fernando Contato: http://www.forumdebian.com.br/fernando/contato.php

[PHP] Retransmiting post variables

2006-12-12 Thread Fernando M. M.
to send this post string (as post) to my_page.php. How can i do this? Thanks. -- Blog: http://blog.forumdebian.com.br/fernando Contato: http://www.forumdebian.com.br/fernando/contato.php

Re: [PHP] Error with array and include

2006-12-05 Thread Fernando M. M.
ng as a string and not an array. On Tue, 05 Dec 2006 13:11:12 -0200, "Fernando M. M." <[EMAIL PROTECTED]> wrote: Hi, I'm having a strange problem when trying to show a array after its value was defined on a file that was included. Something like this: On the file lang/pt_BR

[PHP] Error with array and include

2006-12-05 Thread Fernando M. M.
gin.php to I get 'Usuário' (without quotes again). Why does this happens? Thanks, Fernando. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Missing characters [SOLVED]

2006-02-06 Thread Fernando Anchorena
Thanks to all.. Regards, FA. Brady Mitchell wrote: Example Page1.php === $name_pro = "VC++ V2.4" print " href='page2.php?page=&value=$name_pro'> $name_pro "; Use urlencode (http://php.net/urlencode): print " $name_pro ";

[PHP] Missing characters

2006-02-06 Thread Fernando Anchorena
I need a helping hand to solve this Example Page1.php === $name_pro = "VC++ V2.4" print " href='page2.php?page=&value=$name_pro'> $name_pro "; === Page2.php =

Re: [PHP] Re: usr VAR value as a VAR Name

2006-01-26 Thread Fernando Anchorena
Barry wrote: Fernando Anchorena wrote: Fisrt thx to all for yours answers, I'm updating the mail because in hte last mail I'didn express my self correctly : EXAMPLE page1.php === $sql_pro ="SELECT Sid FROM table"; $res_pro = @m

Re: [PHP] Re: usr VAR value as a VAR Name

2006-01-26 Thread Fernando Anchorena
// The VALUE of $radio witch is "$p4" is the name of the VAR I need to access, how can I export the VALUE "$p4" AS a VAR Name ? } ==== James Benson wrote: if(isset($_POST['NAME_OF_FORM_VALUE'])) { // radio button was selected } Fer

[PHP] usr VAR value as a VAR Name

2006-01-25 Thread Fernando Anchorena
I'm stuck trying to get work this : This is an example page1.php === $sql_pro ="SELECT Sid FROM table"; $res_pro = @mysql_query( $sql_pro); while ($campo_pro = @mysql_fetch_array($res_pro)) { $sid_pro = $campo_pro["Sid"]; // *sid_pro = 4* $sid_pr

[PHP] Use VAR string value AS VAR Name

2006-01-25 Thread Fernando Anchorena
I'm stuck trying to get work this : This is an example page1.php === $sql_pro ="SELECT Sid FROM table"; $res_pro = @mysql_query( $sql_pro); while ($campo_pro = @mysql_fetch_array($res_pro)) { $sid_pro = $campo_pro["Sid"]; // *sid_pro = 4* $sid

[PHP] Problem returning private member array variables

2005-10-20 Thread Fernando Alvarez
Hi to all, I was wondering if someone out there has had the same problem as I have; fetching from an object a private array variable through a get method. And instead of getting a copy of the array, you get access to the original array, being able to access the object's internal data! I have trie

[PHP] Problem returning private member array variables

2005-10-20 Thread Fernando Alvarez
Hi to all, I was wondering if someone out there has had the same problem as I have; fetching from an object a private array variable through a get method. And instead of getting a copy of the array, you get access to the original array, being able to access the object's internal data! I have trie

[PHP] VERY SORRY, explanation

2005-08-21 Thread Fernando Garza
very sorry for the "spam", I send the message many times because I received this message:* Symantec Mail Security detected prohibited content in a message sent from your address (SYM:00367781894249647555) *and I thinked that my message isn´t received, so I try to change the content very t

[PHP] support for database interaction

2005-08-21 Thread Fernando Garza
Hi, I am creating a 'Shell' in prolog language that interacts with a 'Visual Prolog' database format in 'Win32', I would like to interact with this database with 'PHP', just like the interaction with 'MySQL' database, can you give me some notion or the code that need to be executed to get this

[PHP] PHP and Prolog

2005-08-20 Thread Fernando Garza
Hi, I am creating a Shell in prolog language that interacts with a Visual Prolog database format in Win32, I would like to interact with this database with PHP, just like the interaction with MySQL database, can you give me some notion or the code that need to be executed to get this done? for

[PHP] PHP and Prolog database interaction

2005-08-20 Thread Fernando Garza
Hi, I am creating a Shell in prolog language that interacts with a Visual Prolog database format in Win32, I would like to interact with this database with PHP, just like the interaction with MySQL database, can you give me some notion or the code that need to be executed to get this done? for

[PHP] SUPPORT FOR INTERACTION WITH A DATABASE

2005-08-20 Thread Fernando Garza
Hi, I am creating a Shell in prolog language that interacts with a Visual Prolog database format in Win32, I would like to interact with this database with PHP, just like the interaction with MySQL database, can you give me some notion or the code that need to be executed to get this done? for

[PHP] pg_connect requiressl it helps me please

2005-02-14 Thread Fernando Cardoso
I am needing to have access the PostgreSQL I saw SSL I am using php-gtk for that I saw pg_connect I do not give support for requiressl and ModSSL with that I make to connect using SSL? php-4.3.4

[PHP] pg_connect requiressl it helps me please

2005-02-14 Thread Fernando Cardoso
I am needing to have access the PostgreSQL I saw SSL I am using php-gtk for that I saw pg_connect I do not give support for requiressl and ModSSL with that I make to connect using SSL? php-4.3.4

[PHP] printer_open() command in redhatlinux 9, php 4.3.9

2005-01-16 Thread Muditha Fernando
Hi, Can printer_open() command be used in redhatlinux 9, php 4.3.9. It works fine under win2000. Pls help. Regards Muditha Fernando -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] layers

2004-12-29 Thread Fernando Gutierrez
nip] > > There is a great maililng list at http://www.evolt.org for questions > just like these. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -- Fernando Gutierrez Perez -- gmeileando un poco :)

Re: [PHP] Secret Codes in Spam and PHP

2004-09-17 Thread Fernando Gutierrez
HP specifically. I figure, > even if my friend is just crazy and no one is sending secret messages > inside spam, it is at least going to be fun, rewarding in knowledge and > the sharing of information and ideas. And if we do crack something, > maybe Fred Wrixon can mention PHP in his n

[PHP] OT how to create a transparent watermark in png with photoshop

2004-09-15 Thread Fernando Gutierrez
i'm trying to do a watermark to use gd support from php in adobe photoshop , but always my watermark image show "white border" (i test with 8-bit , alpha chanel , 24-bit). Anyone can explain to me to do this correctly. Thanks in advance -- -- Fernando Gutierrez Perez -- gme

Re: [PHP] ZIP

2004-09-14 Thread Fernando Gutierrez
ng. I think use exec for contruction a zip file. Any idea? > Regards, > JP > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -- Fernando Gutierrez Perez -- gmeileando un poco :) -- PHP General Mailing Li

RE: [PHP] Help SQLServer connection: What's "server_name"??

2004-08-13 Thread Fernando Verdu Castillo
> [snip] > Hi all, that's my first question here, I'm not subscribed. > > I'm tring to connect a local DB (Apache+sqlserver2K), but when I execute > this > simple example: > > $conectID = mssql_connect(,"SA",""); > mssql_select_db("Northwind"); > $result=mssql_query("select * from products",

[PHP] Help SQLServer connection: What's "server_name"??

2004-08-12 Thread Fernando Verdu Castillo
Hi all, that's my first question here, I'm not subscribed. I'm tring to connect a local DB (Apache+sqlserver2K), but when I execute this simple example: I get: Warning: MS SQL: Unable to connect to server: I tried many words in there (): "localhost", "LOCAL", PCs name, name that appea

Re: [PHP] Barcode info anyone...

2004-08-05 Thread Fernando Gutierrez
cked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.733 / Virus Database: 487 - Release Date: 02/08/2004 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -- Fernando Gutierrez Perez -

Re: [PHP] Graphing Webstats using MRTG/PHP/MYSQL?

2004-08-02 Thread Fernando Gutierrez
t; > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -- Fernando Gutierrez Perez -- gmeileando un poco :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] run perl script with php

2004-07-22 Thread Fernando Michelotti
I never tried but i think it is possible using the pecl extension: http://pecl.php.net/package/perl Tassos T wrote: hello, i faced a small problem i have a perl script but i want to execute that in a php script. unfortunately i cannot convert to php. please advice. regards Tassos -- PHP General

Re: [PHP] pdflib alternatives

2004-02-17 Thread Fernando M. Maresca
.net > Thanks Jim, it's what i need. -- Fernando M. Maresca Cel: (54) 221 15 502 3938 Cel: 0221-15-502-3938 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pdflib alternatives

2004-02-16 Thread Fernando M. Maresca
Hello everybody: Is there are any alternatives to the pdflib for on the fly generation of printable documents? May be a postcript lib? I need no fancy things, just speed and minimal formating facilities, even no graphics support is ok. Any sugestions? Thanks in advance to all of you -- Fernando

[PHP] Aproach to based PHP authentication

2004-01-28 Thread Fernando M. Maresca
at least until the browser were closed. So, one of the two things need to be sacrificated: the loginForm, and the comfortable $_POST array, or the possiblity of autmatic logoof based on the expiration of the cookie. What do you think will be the way to do in this situation? Thanks everybody. --

Re: [PHP] [posibleOT] Forcing entering te site thru index.php

2003-12-21 Thread Fernando M. Maresca
not, and i'm very interested in the way you're using to solve problems like this ones. So thanks a lot. -- Fernando M. Maresca Cel: (54) 221 15 502 3938 Cel: 0221-15-502-3938 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [posibleOT] Forcing entering te site thru index.php

2003-12-21 Thread Fernando M. Maresca
'm propagating a string thru $_SESSION that is set up in the first page and is valid until session expires or init page is reloaded. But i think that may be another (and better) way to do this, and can't figure out how. > > Jim > www.websitemanagers.net Fernando M. Maresca Cel: (54) 221 15 502 3938 Cel: 0221-15-502-3938 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [posibleOT] Forcing entering te site thru index.php

2003-12-21 Thread Fernando M. Maresca
On Sun, Dec 21, 2003 at 01:03:43PM -0600, Eugene Lee wrote: > On Sun, Dec 21, 2003 at 03:57:24PM -0300, Fernando M. Maresca wrote: > : > : Well, i'm trying to avoid access to the site for the middle. Say there > : is a initial page with a form and other pages that depends on thi

[PHP] [posibleOT] Forcing entering te site thru index.php

2003-12-21 Thread Fernando M. Maresca
ysite/forma2.php/ produce the browser to redirect to http://mysite/index.php/ Of course, the forma2.php must be served if its accesed after index.php. Thanks -- Fernando M. Maresca Cel: (54) 221 15 502 3938 Cel: 0221-15-502-3938 -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Fernando Melo
I agree! -Original Message- From: Sophie Mattoug [mailto:[EMAIL PROTECTED] Sent: 26 November 2003 14:39 To: [EMAIL PROTECTED] Subject: Re: [PHP] Add Reply-To to this list(s) Wouldn't it be possible to stop this troll ? Or go on, but in private between people who are interested by this m

RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Fernando Melo
Guys. This is ridiculous! When I check my mails from PHP General Mailing List it's to learn something new about PHP and to help somebody to learn abut PHP. NOT TO WITNESS CAT FIGHTS. Take your issues elsewhere as you or wasting everyone's time, space and bandwidth. -Original Message- Fr

RE: [PHP] Time

2003-11-25 Thread Fernando Melo
] Sent: 25 November 2003 13:13 To: 'Fernando Melo'; [EMAIL PROTECTED] Subject: RE: [PHP] Time Fernando Melo wrote: > Hi there, > > I have a RH Linux Web server running apache and PHP. > > I recently changed the system clock, the time zone and hardware clock. > The

RE: [PHP] Time

2003-11-25 Thread Fernando Melo
I have done all those checks. Thanks for trying though. Anyone else have any suggestions please? :( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 November 2003 16:06 To: [EMAIL PROTECTED] Subject: AW: [PHP] Time Hi Fernando, first try "date" an

[PHP] Time

2003-11-25 Thread Fernando Melo
hour ahead (like it used to be)! How do I fix this? Regards Fernando

[PHP] Time

2003-11-25 Thread Fernando Melo
behind! How do I fix this? Regards Fernando -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MS SQL Connectivity from Linux

2003-11-19 Thread Fernando Melo
Hi everyone, What is the quickest and easiest way to enable access to a MS SQL database from a Linux server (using PHP functions ofcourse), seeing as the MSSQL extension is available on Win32 systems only. Thanks Fern -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] register_globals & security

2003-11-13 Thread Fernando Melo
--- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: 13 November 2003 17:07 To: Fernando Melo; '[EMAIL PROTECTED]' Subject: Re: [PHP] register_globals & security --- Fernando Melo <[EMAIL PROTECTED]> wrote: > I have a PHP application that passes variables (values) f

RE: [PHP] register_globals & security

2003-11-13 Thread Fernando Melo
iable. At the risk of starting another flame war: IMHO switching off register globals and relying on $_POST etc can lull you into a false sense of security. Fernando Melo wrote: >Thanks. > >I don't see how this makes it more secure though? > >The values are still pick

RE: [PHP] register_globals & security

2003-11-13 Thread Fernando Melo
urity Hi Fernando, > I have a PHP application that passes variables (values) from a form. > I get these using $_POST > > However I do also post some variables via a link. Which ofcourse requires > register_globals to be ON. Do you mean variables in a URL, like this: www.example.com/inde

[PHP] register_globals & security

2003-11-13 Thread Fernando Melo
Hi everyone, I have a PHP application that passes variables (values) from a form. I get these using $_POST However I do also post some variables via a link. Which ofcourse requires register_globals to be ON. I would like to secure this application. What would be the best way of doing this and

RE: [PHP] PHP & Apache 2

2003-10-30 Thread Fernando Melo
Thu, Oct 30, 2003 at 11:22:38AM +0200, Fernando Melo wrote: : : I would like to use apache 2 in a production environment, but initially : there seemed to be some issues with the PHP module. Does anybody know : if it is ok use it now or is it still buggy with apache 2? The combination of PHP 4.x and

[PHP] PHP & Apache 2

2003-10-30 Thread Fernando Melo
Hi everyone, I would like to use apache 2 in a production environment, but initially there seemed to be some issues with the PHP module. Does anybody know if it is ok use it now or is it still buggy with apache 2? Fern -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP] Regular expressions

2003-10-24 Thread Fernando Melo
Hi all, I have the following statement: $text = ereg_replace ("[live/]*content\.php\?[&]*Item_ID=([0-9]*)&Start=([0-9]*)&Category_ID=([0- 9]*)[&]*", "content\\1start\\2CID\\3.php", $text); Basically what I'm trying to do is if the URL includes "live/" then I want to include it in the replace. T

RE: [PHP] get back to index.php

2003-10-22 Thread Fernando Melo
Make sure there are no blank spaces being echoed. -Original Message- From: Sudheer Palaparambil [mailto:[EMAIL PROTECTED] Sent: 22 October 2003 14:30 To: [EMAIL PROTECTED] Subject: Re: [PHP] get back to index.php But it is giving the following error message Warning: Cannot modify header

RE: [PHP] get back to index.php

2003-10-22 Thread Fernando Melo
In insert_user.php header("Location: index.php"); exit; make sure nothing is being echoed before you call this. -Original Message- From: Sudheer Palaparambil [mailto:[EMAIL PROTECTED] Sent: 22 October 2003 14:15 To: [EMAIL PROTECTED] Subject: [PHP] get back to index.php Hi, I am ca

RE: [PHP] The page cannot be displayed error

2003-10-21 Thread Fernando Melo
Is there perhaps a redirect in the insert_user.php? If so, that could be the problem. -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: 21 October 2003 13:31 To: Sudheer Palaparambil; [EMAIL PROTECTED] Subject: Re: [PHP] The page cannot be displayed error From

RE: [PHP] feedback form

2003-10-13 Thread Fernando Melo
mail($toaddress, $subject, $mailconten); should be mail($toaddress, $subject, $mailcontent); -Original Message- From: merryE [mailto:[EMAIL PROTECTED] Sent: 12 October 2003 22:52 To: [EMAIL PROTECTED] Subject: [PHP] feedback form I create a feedback form in html and the action si to

RE: [PHP] feedback form

2003-10-13 Thread Fernando Melo
mail($toaddress, $subject, $mailconten); should be mail($toaddress, $subject, $mailcontent); -Original Message- From: merryE [mailto:[EMAIL PROTECTED] Sent: 12 October 2003 22:52 To: [EMAIL PROTECTED] Subject: [PHP] feedback form I create a feedback form in html and the action si to

  1   2   >