[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] 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

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

[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

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 /ferna...@ggtours.ca/* escreveu: De: Fernando ferna...@ggtours.ca

Re: [PHP] Some undefined function errors

2010-05-20 Thread Fernando
, Apache reports de 'call to undefined function XXX'. --- Em *qui, 20/5/10, Fernando /ferna...@ggtours.ca/* escreveu: De: Fernandoferna...@ggtours.ca Assunto: Re: [GENERAL] [PHP] Some undefined function errors Para: pgsql-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

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

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 (tr class=\$color\); echo td$row[0]/tdtd$row[1]/td td$row[2]/tdtd$row[3]/tdtd$row[4]/td ; echo (/tr) } And have two classes in your style sheet that

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] 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 15/04/2010 11:54

[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] 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

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 with

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
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:

Re: [PHP] regex for multiple line breakes

2009-10-14 Thread Fernando Castillo Aparicio
unfortunatelly. The result 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 Castillo Aparicio schrieb: You are replacing 1 or more matchs

Re: [PHP] Newbie: Array of objects iteration

2009-10-09 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] Newbie: Array of objects iteration

2009-10-09 Thread Fernando Castillo Aparicio
. Since I was 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] html email showing br 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 awill...@mdah.state.ms.us Para: PHP General list php-general@lists.php.net Enviado: jueves, 24 de septiembre, 2009 20:52:13 Asunto: [PHP]

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 parha...@gmail.com 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

RE: [PHP] Mail function and hotmail

2009-06-11 Thread Fernando G
appreciated. Thank you, 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: [PHP] Mail function and hotmail Richard was likely suggestion his mail

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. Thank you for all your help. Fernando. From: jfer

[PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
.= --$mime_boundary--; return mail(em...@domain.com, Subject, $body, $headers); However when it is send to a hotmail.com address the message is received blank. It does work fine with Gmail, Yahoo mail, Outlook Express and Thunderbird. Your help is much appreciated. Fernando

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, ... Use something that is already

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 like a bad

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: [PHP] Mail function and hotmail

[PHP] PHP and a misbehaving contact form

2008-05-12 Thread Fernando Ronci
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
will 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

[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: ? declare(ticks = 1); pcntl_signal(SIGHUP,sig_handler,false); $fh = popen('ip monitor

[PHP] About resource of popen

2007-04-30 Thread Fernando chucre
($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
of write\n); fclose($fd); ? I want know who I send the patch for 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
with 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,

[PHP] Project php-mobile

2007-01-03 Thread Fernando chucre
will notice when we register the project. Thanks -- Fernando Chure PSL/CE - Brasil

[PHP] Project php-mobile

2006-12-29 Thread Fernando chucre
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
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.
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 this? -- Blog: http://blog.forumdebian.com.br/fernando Contato: http

[PHP] Curl and cookies

2006-12-15 Thread Fernando M. M.
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.
was reading the portuguese version and it seens 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] 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

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 operations. Yesterday those scripts were

[PHP] Retransmiting post variables

2006-12-12 Thread Fernando M. M.
(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

[PHP] Error with array and include

2006-12-05 Thread Fernando M. M.
$lang['Username'] = 'Usuário'; ? But the result of the first script is 'S' (without quotes). If i change lang/pt_BR/login.php to ?php $lang['Username'] = 'Usuário'; echo $lang['Username']; ? I get 'Usuário' (without quotes again). Why does this happens? Thanks, Fernando. -- PHP

Re: [PHP] Error with array and include

2006-12-05 Thread Fernando M. M.
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: ?php $lang = 'pt_BR'; include('lang/'. $lang .'/login.php

[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 td width='200' class='texto2' a href='page2.php?page=value=$name_pro' $name_pro /a /td; ===

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 td width='200' class='texto2' a href='page2.php?page=value=$name_pro' $name_pro /a/td; Use urlencode

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

2006-01-26 Thread Fernando Anchorena
} Fernando Anchorena wrote: I'm stuck trying to get work this : This is an example page1.php === form action=/page2.php?form=yes method=post $sql_pro =SELECT Sid FROM table; $res_pro = @mysql_query( $sql_pro); while ($campo_pro = @mysql_fetch_array($res_pro

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 === form action=/page2.php?form=yes method=post $sql_pro =SELECT Sid FROM

[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 === form action=/page2.php?form=yes method=post $sql_pro =SELECT Sid FROM table; $res_pro = @mysql_query( $sql_pro); while ($campo_pro = @mysql_fetch_array($res_pro)) { $sid_pro =

[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 === form action=/page2.php?form=yes method=post $sql_pro =SELECT Sid FROM table; $res_pro = @mysql_query( $sql_pro); while ($campo_pro = @mysql_fetch_array($res_pro)) { $sid_pro =

[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

[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

[PHP] SUPPORT FOR INTERACTION WITH A DATABASE

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 done? for

[PHP] PHP and Prolog 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 done? for

[PHP] PHP and Prolog

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 done? for

[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] 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

[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
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 :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Secret Codes in Spam and PHP

2004-09-17 Thread Fernando Gutierrez
and ideas. And if we do crack something, maybe Fred Wrixon can mention PHP in his next book. :) Kris -- 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

[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 -- gmeileando un poco

Re: [PHP] ZIP

2004-09-14 Thread Fernando Gutierrez
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 List (http://www.php.net/) To unsubscribe, visit: http

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: ?php $conectID = mssql_connect(,SA,); mssql_select_db(Northwind); $result=mssql_query(select * from products,$numero );

[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: ?php $conectID = mssql_connect(,SA,); mssql_select_db(Northwind); $result=mssql_query(select * from products,$numero ); while

Re: [PHP] Barcode info anyone...

2004-08-05 Thread Fernando Gutierrez
/08/2004 -- 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] Graphing Webstats using MRTG/PHP/MYSQL?

2004-08-02 Thread Fernando Gutierrez
://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
Is there are any alternatives to the pdflib for on the fly generation of printable documents? May be a postcript lib? http://www.fpdf.org/?lang=en -- Jim Kaufman Linux Evangelist public key 0x6D802619 http://www.linuxforbusiness.net Thanks Jim, it's what i need. -- Fernando M

[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
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. -- Fernando M

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

2003-12-21 Thread Fernando M. Maresca
/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, visit

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 this. Is : there a way

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

2003-12-21 Thread Fernando M. Maresca
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
. 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] 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-

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

[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] Time

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

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 and date -u

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 time and date are showing up correctly

[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:

[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] register_globals security

2003-11-13 Thread Fernando Melo
Thanks. I don't see how this makes it more secure though? The values are still picked up the same way from a URL -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED] Sent: 13 November 2003 13:28 To: [EMAIL PROTECTED] Subject: Re: [PHP] register_globals security Hi Fernando

RE: [PHP] register_globals security

2003-11-13 Thread Fernando Melo
. 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 picked up the same way from a URL

RE: [PHP] register_globals security

2003-11-13 Thread Fernando Melo
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) from a form. I get these using $_POST However I do

[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:

RE: [PHP] PHP Apache 2

2003-10-30 Thread Fernando Melo
, 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 Apache 2

[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. The way I

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

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

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

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

RE: [PHP] Installing PHP on XP

2003-10-09 Thread Fernando Melo
Are you installing the CGI or the ISAPI? -Original Message- From: Rinal Patel [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 05:06 To: [EMAIL PROTECTED] Subject: [PHP] Installing PHP on XP Hello I am trying to install PHP on my personal computer, which runs Microsoft XP, but have

[PHP] Check if directory has changed

2003-01-25 Thread Carlos Fernando Scheidecker Antunes
I would like to write a function to check if the contents of a directory, its files, have been changed. The idea is to check the directory every 2 minutes and take some actions if some files were updated or new files added. Does anyone has any ideas? I was considering listing the files (name,

  1   2   >