[PHP] How to check for data on a popen()ed FD?

2002-09-20 Thread Andre
I'm running a program using popen(), and I need to know when there's data to be read from this program. feof() will never return true, even with no data to be read. Is there any function that can set a timeout on a file descriptor returned by popen()? Or a function like feof(), but to check

[PHP] php.ini problem

2002-07-18 Thread Andre
Apache 1.3.26 PHP 4.2.1 staticly built as a module. The configuration in php.ini seems not to be used by httpd. I've traced my httpd process and it opens the php.ini file in the expected directory, but variables set in there don't take effect (e.g. engine=On, display_errors=Off, etc.). I had P

Fwd: [PHP] php.ini problem

2002-07-18 Thread Andre
2002 12:55:34 -0300 From: Andre <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Apache 1.3.26 PHP 4.2.1 staticly built as a module. The configuration in php.ini seems not to be used by httpd. I've traced my httpd process and it opens the php.ini file in the expected directory, but variables s

[PHP] navigation question

2003-09-14 Thread Andre
Hello, For my website I use some PHP code for navigation. Therefore I use a directory structure which contains some navigation files the visitor can open. The directory structure looks like this: my_domain | - /navigation | - file_1.html | - file_2.ht

Re: [PHP] navigation question

2003-09-15 Thread Andre
dir() only work for a directory at the same server. When someone can tell me what I can do best. Because I just started with PHP and I read this code in an example, I realy need some help if you tell me to use ftp. Andre "Petre Agenbag" <[EMAIL PROTECTED]> schreef in bericht ne

Re: [PHP] Re: What would the best way to veladate a URL string?

2003-12-14 Thread andre
.' People could be using SSL. -- Regards, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Limiting time of PHP script.

2002-02-02 Thread Andre
I've a little PHP script that waits for commands and reply to them, it's setup to run from inetd, and so acts as a server. My problem is that I want to limit the time this script will wait for a command (in this case, a line, read by fgets), but set_time_limit seems to only count the time

[PHP] PHP 4.2.0 and $argc/$argv

2002-05-02 Thread Andre
Is there something special you've to do to get $argc and $argv in PHP 4.2.0? In php.ini, register_argc_argv is set to On. Is there some other configuration variable that I should look at? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] I'm getting frustrated with this.

2001-11-30 Thread andre
look this: http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html maybe it help you andre - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 4:59 PM Subject: [PHP] I'm getting frustrated with

[PHP] read out apache log files with php

2001-03-24 Thread Andre
Hello List!! My intention is to read out the apache log files (like access.log etc) for making stats about pages hits/visits. Surely, there are some scripts (webalizer) to do this, but i can´t find scripts which are written in php. Has someone a script example? Thank you! Andre -- PHP

[PHP] Regular Expr. on access.log

2001-03-25 Thread Andre
Hello, i am writing a script to read out the apaches´ access.log. Now i want to set a counter when the following String includes the expression "MAR" "test.php" "a=5" and "d=6901" 127.0.0.1 - - [21/Mar/2001:21:19:17 +0100] "GET /test.php?a=5&b=4&c=42&d=6901 HTTP/1.1" 200 54 can someone tell me

[PHP] offline reader for php generated websites

2001-03-26 Thread Andre
Hello List, knows anybody an offline reader which can download not only static websites but also dynamic websites especially dynamic generated links? Like websites which are only generated over one file over variables like "dynamic.php?siteID=3001" Thanks Andre! -- PHP Gener

Re: [PHP] PHP coding question

2001-04-06 Thread andre
Try this : if($page_num % 8 == 0) { do this } or to make it a bit more obvious: if(($page_num % 8) == 0) { do this } This way the "if" statement is executed only when the remainder of $page_num divided by 8 is equal to zero, i.e. $page_num is a multiple of 8. > > if ($page_num is a mul

[PHP] Number validation

2004-07-30 Thread Andre
Hello I need one script in PHP to validate only numbers inserted from a form. For example like a telephone number. Thanks.

[PHP] Number validation again...

2004-07-30 Thread Andre
Hello again Does exits any function in PHP to see if one string is compose for numbers. And I have already searched in google before I asked here Thanks again André Caridade

[PHP] WAHT is my error???

2004-08-20 Thread Andre
Inside of one ARRAY can I make one WHILE function tabelas($tabela_tipo){ $sql = mysql_query("SELECT * FROM ".$tabela_tipo."_credito ORDER BY ".$tabela_tipo."_ordenar"); $return = "\n"; $tabela_array = array("". while($registo = mysql_fetch_array($sql)){

[PHP] paste values for one pop-up. And this pop-up is one frame

2004-08-26 Thread Andre
Hello Someone now how to paste values for one pop-up. And this pop-up is one frame I am doing like this to open pop-up echo" "; And in the pop-up I do like this. echo"$_REQUEST[factura_id]"; Thanks for the help...

RE: [PHP] Re: paste values for one pop-up. And this pop-up is one frame

2004-08-27 Thread Andre
ues for one pop-up. And this pop-up is one frame "Andre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Hello > > Someone now how to paste values for one pop-up. And this pop-up is one frame > I am doing like this to open pop-up > >

RE: [PHP] Re: paste values for one pop-up. And this pop-up is one frame

2004-08-27 Thread Andre
D] Subject: Re: [PHP] Re: paste values for one pop-up. And this pop-up is one frame "Andre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > But don't work that's is my problem, > And I think this don't work because the pop-up window is a frame

RE: [PHP] Re: paste values for one pop-up. And this pop-up is one frame

2004-08-27 Thread Andre
Thank work. Regards, André Caridade -Original Message- From: Torsten Roehr [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 27 de Agosto de 2004 13:42 To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: paste values for one pop-up. And this pop-up is one frame "Andre" <[EMAIL PROTECT

[PHP] Refresh page with frames...

2004-09-15 Thread Andre
Hello How can I refresh a page with frames, I use the code below but don't it doesn't work Can I refresh a page with frames with this code? echo""; Thank's

FW: [PHP] Refresh page with frames...

2004-09-15 Thread Andre
>> Jasper Howard :: Database Administration ApexEleven Web Design 1.530.559.0107 http://www.ApexEleven.com/ <<-- "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Andre wrote: >

[PHP] Instal or config this package UnxUtils.zip under windows

2004-09-17 Thread Andre
Hello Anyone knows how to install or config this package UnxUtils.zip under windows. Get common GNU utilities to native Win32 here: http://unxutils.sourceforge.net/UnxUtils.zip You need TAR and GZIP executable to compress in tar.gz format with Windows Systems. I need some help please

[PHP] Help with PDF documents

2004-09-23 Thread Andre
Hello When I try to open a PDF file in the https://localhost mode it opens a Save File window. When I am on the http://localhost mode the problem does not exist. How can I solve this? Thanks..

[PHP] Open a PDF in the mode https://....

2004-09-23 Thread Andre
Hello When I try to open a PDF file in the https://localhost mode it opens a Save File window. When I am on the http://localhost mode the problem does not exist. How can I solve this? Thanks.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

RE: [PHP] Open a PDF in the mode https://....

2004-09-23 Thread Andre
Yes I am using sessions? -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 23 de Setembro de 2004 18:28 To: Andre Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Open a PDF in the mode https:// Andre wrote: > Hello > > When I try to open a PD

[PHP] redirection with PHP and closing windows?

2004-04-20 Thread Andre
I want to be able to process a PHP script and then if successful redirect to another page. Is there a good way to do this with PHP or do I need to stick to Javascript? Also, is it possible to close a window that is running a .PHP page via a link or again, just stuck with Javascript? TIA!! Andre

[PHP] How to insert, change and remove fields like Enum

2004-05-21 Thread Andre
Hello... Someone now or have script's about insert, change and remove fields like Enum in one table. Thanks .

[PHP] pop-up windows with a include

2004-03-02 Thread Andre
Hello I need to open one pop-up windows with a include For example... I need de window teste.php show in po-up . Obrigado André Caridade

[PHP] Information about security

2004-03-10 Thread Andre
Hello I need some information about security in php. I want to create a backoffice extremely safe for user authentication? What you think about using .htaccess for authentication, and if it is possible to authenticate a user and then logout. And I would also like to know if you have other ways

[PHP] PhP e COBOL

2004-11-19 Thread Andre
Hello I need some help in this subject php + COBOL. I need to load data of a program in COBOL for a site written in php. The data must be loaded for a DB in mysql. Any one knows as I make this. Thank for the help André Caridade

[PHP] IE Problems: disappearing text with 'Back' button

2002-11-26 Thread Andre Dubuc
since I only have Linux running. So, if some kind soul could verify whether this is true, it would save me a whole pile of coding! I would be very grateful for any suggestions on to retrieve hyper-lost data input using php. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IE Problems: disappearing text with 'Back' button

2002-11-26 Thread Andre Dubuc
easily the obvious can escape my attention. Regards, Andre On Tuesday 26 November 2002 02:43 pm, Kevin Stone wrote: > > > ''){print "value='{$_SESSION['rfname']}'';}> > > > > but I just get a ? in the value field, not the name. >

Re: [PHP] problem with https

2002-11-27 Thread Andre Dubuc
Hi Vivek, If you are accessing https on localhost, you would need to enter: https://localhost/whatever_file You might want to check whether you have https enabled: check phpinfo() under 'Apache Environment'. [HTTPS ] should be "on" as well. hth, Andre On Wednesday 27 No

Re: [PHP] Problem uploading files other than text/plain ones

2002-12-02 Thread Andre Dubuc
(is_uploaded_file($pix_temp_file)){ move_uploaded_file($pix_temp_file, "pix/$new_pix_file"); } } } Hth, Andre On Monday 02 December 2002 11:41 am, Wilmar Perez wrote: > Hello guys > > I'm trying to do a simple task: upload files. However, when I try to >

[PHP] Updating int4 field with multiple values

2002-12-06 Thread Andre Dubuc
I need to find a specific number within the field. (Btw, I'm using $_SESSION['rid'] . . . etc instead of $rid in the actual code.) Any ideas what I'm doing wrong? Any suggestions will be greatly appreciated. ** Si

Re: [PHP] Updating int4 field with multiple values

2002-12-06 Thread Andre Dubuc
h glitches. An On Friday 06 December 2002 01:39 pm, you wrote: > On Saturday 07 December 2002 00:56, Andre Dubuc wrote: > > I would like to update an int4 column with new values appended to the end > > (preferably with a delimiter such as @ or a comma). > > > > With Po

Re: [PHP] Updating int4 field with multiple values

2002-12-06 Thread Andre Dubuc
reminder. Guess it's back to Geek 1.0.1 for me. Regards, Andre On Friday 06 December 2002 03:31 pm, 1LT John W. Holmes wrote: > > I would like to update an int4 column with new values appended to the end > > (preferably with a delimiter such as @ or a comma). > >

[PHP] Something difference betwen php-4.0.3 and php-4.2.3

2003-01-17 Thread andre . lagadec
Hello, I try to move an Web application in Php-4.0.3 to php-4.2.3, and some programs don't work well on some pages. I make search in the code, and after tests, I find that the following code doesn't work in php-4.2.3, but works in php-4.0.3pl1 -

Re: [PHP] Something difference betwen php-4.0.3 and php-4.2.3

2003-01-22 Thread andre . lagadec
Hi There is no error or notice message on the screen and in the log of the web server. The PHP program stop and don't generate all the HTML code of the page. Marek Kilimajer a écrit : > I have never heard of "out of range" error, but is it really an error > or just a notice? If it is a notice,

Re: [PHP] Something difference betwen php-4.0.3 and php-4.2.3

2003-01-24 Thread andre . lagadec
Hi, I modifiy my php.ini to redirect error message in log of server web and I change error_reporting = E_ALL & ~E_NOTICE by error_reporting = E_ALL Now, I get in server log this message : [24-Jan-2003 08:59:31] PHP Notice: Undefined offset: 4 in /appli/PHP/test/__xyz__.php on line 15 and I

[PHP] SELECT with WHILE NOT

2003-01-25 Thread Andre Dubuc
rsname,rfname,rcountry,rcity DESC LIMIT 20"; What I get is all the records including those with '{$_SESSION['sid']}' . How can I accomplish an exclusion in a table-wide search? Any help or advice will be greatly appreciated. Tia, Andre -- PHP General Ma

Re: [PHP] SELECT with WHILE NOT

2003-01-25 Thread Andre Dubuc
e 'IN' part.) Thanks for your help! Regards, Andre On Saturday 25 January 2003 07:48 pm, Sean Malloy wrote: > SELECT * FROM rap WHERE rsponsor != '{$_SESSION['sid']}' ORDER by > rsname,rfname,rcountry,rcity DESC LIMIT 20 > > SELECT * FROM rap WHERE rspons

[PHP] IE 'Back' Button problem + SELECT dropdowns

2003-01-27 Thread Andre Dubuc
h if(!empty . . .); statement above with same result.] Any ideas what I'm doing wrong? I've been at this one for a couple of weeks, and nothing seems top work. Is it possible to pass the info back to the base form? Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IE 'Back' Button problem + SELECT dropdowns

2003-01-27 Thread Andre Dubuc
Text > Value > > For larger lists, it's easier to put the values into an array and make a > function that loops through and test each value for where to put the > SELECTED text. > > Hope that helps. > > ---John Holmes... Thanks John, Great to get your excellen

Re: [PHP] IE 'Back' Button problem + SELECT dropdowns

2003-01-27 Thread Andre Dubuc
Thanks John, I sort of thought that it should work. Will do as you suggest. Regards, Andre On Monday 27 January 2003 12:28 pm, John W. Holmes wrote: > > I tried to pick up the values from $_POST (as above). In Linux, it > > works: > > (i.e. I can pick them up, display them, a

[PHP] Printing an image - insights needed!

2003-02-10 Thread Andre Dubuc
te box, while in Opera no box at all. Any ideas, suggestions, or where to look would be greatly appreciated. I'm stumped. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tryng To Prevent Caching on IE 5-6.0

2003-03-08 Thread Andre Dubuc
ilter on every encounter with the url -- else it is re-directed. Maybe it will work for you, or you could adapt it to your needs?? (I'm only a one-year 'php-veteran from the trenches' :>) Code follows: Index page: Index-load page: Index-message page: Hth, Andre

Re: [PHP] strange behaviour with login page

2003-03-09 Thread Andre Dubuc
he https protocol is 'optional' or 'premium' or somesuch idiocy!) If you do find the root of your problem, would you be so kind as to drop me an email with your resolution -- I'd like to get my little script to work. Hth, Andre On Sunday 09 March 2003 06:18 pm, you wrote: &g

[PHP] Eliminating space between HR and Image

2003-03-19 Thread Andre Dubuc
g the space? The code: . . . ?> CSS code: div.banner { position: absolute; top: 0px; left: 1%; } I will be grateful for any ideas or advice on how to fix this. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Eliminating space between HR and Image

2003-03-19 Thread Andre Dubuc
ing the trouble to answer. Reagrds and blessings, Andre On Wednesday 19 March 2003 07:31 pm, you wrote: > this is an HTML-problem, not php..but anyway > > i have no clue why the extra space would appear, > but I'd try to add absolute positiong to the HR and IMAGE as well, that >

Re: [PHP] Re: Eliminating space between HR and Image

2003-03-19 Thread Andre Dubuc
Thanks Richard, The obvious escaped me. Regards, Andre On Wednesday 19 March 2003 07:39 pm, you wrote: > Here is your code: > > First, make a one pixel png the color you want your HR > > > > > Et, Voila! > > > Quoting Michiel van Heusden <[EMAIL PROTECTE

Re: [PHP] Form Validation: Surnames with Apostrophe

2003-03-27 Thread Andre Dubuc
cenarios you listed. [Btw, it was my 'very-first-function' so go easy on me! :>] Just my $0.01 worth, Andre On Thursday 27 March 2003 06:49 pm, [EMAIL PROTECTED] wrote: > Thank you. Strip_slashes was the key. The following Regular > Expression: > > (preg_match("/

[PHP] Initialized PHP Module frequently

2003-06-06 Thread andre . lagadec
Hello, On Sun Solaris with Iplanet 4.1 et PHP 4.2.3, I have theses messages on the error log of the Web server : [04/Jun/2003:16:04:54] info ( 7643): php4_init reports: Initialized PHP Module [04/Jun/2003:16:09:57] info ( 7679): php4_init reports: Initialized PHP Module [04/Jun/2003:16:11:12] info

[PHP] Re: Initialized PHP Module frequently

2003-06-06 Thread andre . lagadec
server ? Can I use perfdump to see more information ? Can I optimize PHP to work fine with a lot of charge ? For exeample with option '--without-pear' '--disable-FEATURE' '--disable-xml' in configure ? AL Andre Lagadec a écrit : > Hello, > > On Sun Solaris with

[PHP] Re: Initialized PHP Module frequently

2003-06-11 Thread andre . lagadec
readMain () from /produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so #31 0xfef32ad8 in _pt_root () from /produits/netscape/server41sp9/bin/https/lib/libnspr3.so (gdb) This can help someone to give me advice ? Andre Lagadec a écrit : > Hi, > > There is no core created on the server. &

[PHP] Warning with XtOffsetOf during make

2003-06-12 Thread andre . lagadec
On Solaris 2.7 with Apache 1.3.27 and PHP-4.2.3, I configure PHP with this command : './configure' \ '--with-config-file-path=/usr/local/apache/conf' \ '--with-gd=/usr/local' \ '--enable-gd-native-ttf' \ '--with-png-dir=/usr/local' \ '--with-jpeg-dir=/usr/loc

[PHP] Re: Warning with XtOffsetOf during make

2003-06-12 Thread andre . lagadec
om php_apache.c:45: /usr/local/apache/include/ap_config.h:1396:1: warning: "XtOffsetOf" redefined /produits/packages/php-4.2.3/main/php.h:346:1: warning: this is the location of the previous definition Is it normal ? So the message under this line correspond with php_var_unserialize. A

[PHP] Sorting db entries by Year-Month

2002-07-23 Thread Andre Dubuc
mehow in PHP, after I get all the results [obviously without the db WHERE clause]. I know this is a simple question -- but my mind's totally blotto after a day's coding. Any help, pointers of where to look, or admonitions will be gratefully accepted. Ti

Re: [PHP] Sorting db entries by Year-Month

2002-07-23 Thread Andre Dubuc
t 'upgrades' have their problems too. Luckily, I'll be on-line later in the fall, so enough time might pass for the new PHP to stabilize. Regards, Andre On Tuesday 23 July 2002 08:47 pm, you wrote: > What do you guys think? Should we tell him he's running a vulnerable > ve

Re: [PHP] Sorting db entries by Year-Month

2002-07-23 Thread Andre Dubuc
e integer. Sigh. What a pain. Such a simple task, and . . . Thanks for your advice. I'll keep hacking away at it, and maybe I'll get it to work. Regards, Andre On Tuesday 23 July 2002 09:52 pm, you wrote: > Isn't there a MONTH function in PG? > > SELECT * FROM your_tab

[PHP] RE: Sorting db Entries by Year-Month -- Solved

2002-07-23 Thread Andre Dubuc
Thanks to BigDog and John Holmes for their suggestions. I figured it out: it was rather easy, in hindsight, of course: Works as expected. Regards, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sorting db entries by Year-Month

2002-07-23 Thread Andre Dubuc
ke spreding themselves all over my hardrive. It took me quite a bit of time to get my first versions working together. So, as long as they haven't changed the functions, the vulnerablities are a moot point at this time. Good to be aware of them, however. Thanks for your concern. Regards,

[PHP] Session problem with https

2002-08-03 Thread Andre Dubuc
ession variables for an https page? Any help or where to look (beyond the php.net pages where I learned about sessions), would be greatly appreciated. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session problem with https

2002-08-04 Thread Andre Dubuc
ession variables for an https page? Any help or where to look (beyond the php.net pages where I learned about sessions), would be greatly appreciated. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Code for db connection errors

2002-08-15 Thread Andre Dubuc
e (if that would be advisable)? How would you handle this situation? Any guidance would be greatly appreciated, Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Code for db connection errors

2002-08-15 Thread Andre Dubuc
ught. So with your other idea of checking error_log(), I have a good idea what to do. Thanks. Regards, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Code for db connection errors

2002-08-15 Thread Andre Dubuc
Thanks Patrick, This looks good -- just what I needed to do the job! Regards, Andre On Thursday 15 August 2002 10:22 pm, Pafo wrote: > why not: > $error[] = "Connection to the database failed"; > > > $db = pg_connect("dbname=rap user=postgres") d

[PHP] NS4.x / IE3.0 Browser Detection

2002-08-20 Thread Andre Dubuc
guish between PC and Mac-based NS4. My question is: what versions of NS (if any) do Mac's use? I've used the following to detect IE3.0 users: if(eregi("(mozilla/3.0)",$_SERVER['HTTP_USER_AGENT'])) Is this correct? Any insights or advice most welcome. Tia,

Re: [PHP] NS4.x / IE3.0 Browser Detection

2002-08-20 Thread Andre Dubuc
On Tuesday 20 August 2002 10:57 am, Lowell Allen wrote: > > From: Andre Dubuc <[EMAIL PROTECTED]> > > > > I need to differentiate between different versions of NS4, particularly > > the ones that are used by Mac. So far, I've used the following to detect > &g

[PHP] Simple Security Clarification

2002-08-21 Thread Andre Dubuc
/var/www/html/secure' would this provide any isolation for file access? Am I correct in thinking that 'below' is not the same as 'outside' doc_root, and that i this case, no protection would be afforded? Tia, Andre -- PHP General Mailing List (http://www.php.ne

[PHP] Code for off-site Maintenance?

2002-08-21 Thread Andre Dubuc
, but they seem like over-kill (and I would have to change a lot of my code to use them). I would appreciate any input pointing how I should proceed -- I'm a total newbie in this area. Any pointers, or where to look, would be greatly appreciated. Tia, Andre -- PHP General Mai

Re: [PHP] Simple Security Clarification

2002-08-21 Thread Andre Dubuc
they are (everything in the /html folder)? You mentioned that the "path could be hacked" -- if that's the case (even using .htaccess) would setting these sensitive files "below" the root make much difference? Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Code for off-site Maintenance?

2002-08-21 Thread Andre Dubuc
a hacker. Regards, Andre On Wednesday 21 August 2002 09:21 am, Justin French wrote: > I'm usually weeks, or month ahead of myself. The code I have in my local > environment is looking forward towards knew features, new ideas, etc etc. > Every week or two I grab a mirror of the onli

[PHP] Further Security Clarifications [was: Simple Security Clarifcation]

2002-08-21 Thread Andre Dubuc
hat am I doing wrong here? I've also added a directive to refuse all .sht files (they're .inc's). How do get access for php to the secure file directory, and exclude the hackers? At this point, I'm about as confused as I've ever been since beginning PHP. Any clarifi

Re: [PHP] Further Security Clarifications [was: Simple Security Clarifcation]

2002-08-21 Thread Andre Dubuc
So, how do I tell it where to look, and not the default setting? How am I including them? Well, most of the action occurs from the menu so it's: https://localhost/var/www/secure/test.php";>Testing for Bugs (I've also tried /secure/test.php Any ideas what I'm

Re: [PHP] Further Security Clarifications [was: Simple Security Clarifcation]

2002-08-21 Thread Andre Dubuc
eed to bother setting the 'secure' directory outside of the document_root? Wouldn't the setup I've done so far suffice? At any rate, I've tried just setting : https://localhost/secure/test.php -- it still gives a 404 Tia, Andre On Wednesday 21 August 2002 10:1

[PHP] Apostrophe in preg_match?

2002-08-27 Thread Andre Dubuc
uot;); ?> Any help will be greatly appreciated. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apostrophe in preg_match?

2002-08-28 Thread Andre Dubuc
INTO sponsor (sid, sfname, ssname, . . . '{$_SESSION['ssname']}', . . . . So, how would I get this escaped character into the db? Any further help would be greatly appreciated. I'm stumped on this one. Perhaps, I'll have to exclude apostrophes, but there m

[PHP] Mail/Confirmation Script delivery problems

2002-08-30 Thread Andre Dubuc
ast area before I attempt to go on-line. . . . sigh! (btw, I'm aware that the https is to 'localhost' since I've been debugging it at this end. It'll be changed once it goes live.) Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail/Confirmation Script delivery problems

2002-08-30 Thread Andre Dubuc
On Friday 30 August 2002 03:38 pm, you wrote: > On Saturday 31 August 2002 03:25, Andre Dubuc wrote: > > But checking the mailbox of '[EMAIL PROTECTED]' (and three others that > > I've sent it to) nothing shows up. Now, what's strange, it used to work > >

Re: [PHP] Mail/Confirmation Script delivery problems

2002-08-30 Thread Andre Dubuc
On Friday 30 August 2002 03:57 pm, you wrote: > On Saturday 31 August 2002 03:52, Andre Dubuc wrote: > > > What 'minor' changes did you make to $message? Does rolling back those > > > changes make it work again? > > > > I had just added another t

Re: [PHP] image manipulation

2002-09-01 Thread Andre Dubuc
Hi tux, For your second question, try: http://www.linuxfocus.org/English/July2001/article211.shtml It'll give some basci info on image manipulation using ImageMagick. Hth, Andre On Sunday 01 September 2002 01:19 pm, tux wrote: > Hey all, > > I was just wondering if anyone c

[PHP] Downloading php4.2.2.zip??

2002-09-03 Thread Andre Dubuc
this file, or would some kind soul have a copy of it? I'm trying to get php installed on a laptop: PHPTriad barfs on a missing dll, and another combo tells me my 3 day limit has expired on the installer. All I need is PHP to test my site. Any assistance or advice appreciated. Tia, Andre

[PHP] Re: Mail/Confirmation Script delivery problems

2002-09-03 Thread Andre Dubuc
round IP-made function called 'smtpmail()' to be used in its place. Glad I checked. Thanks again for your help! Regards, Andre On Tuesday 03 September 2002 02:23 pm, Richard Lynch wrote: > >if(@mail($to, $subject, $message)) > >. > > Is there an "else" cl

[PHP] SELECT dropdown from a db query?

2002-09-18 Thread Andre Dubuc
. I've tried a bunch of permutations, but I either end up with an empty dropdown or multiple single entry messes. Is there anyway to iterate through this and achieve what I want? I would greatly appreciate any hints what I'm missing here or doing wrong. Code follows. Tia, Andre

Re: [PHP] SELECT dropdown from a db query?

2002-09-18 Thread Andre Dubuc
Thanks Sascha, Thought that would do the trick (at least I thought it should) but same results - a mess of single entry dropdowns. Perhaps the code should be after the 'row++;' ? Sigh . . . this is frustrating! Andre On Wednesday 18 September 2002 09:38 pm, Sascha Cunz wrote

Re: [PHP] SELECT dropdown from a db query?

2002-09-18 Thread Andre Dubuc
Thanks Jacob and Sascha, I would've struggled with that one for a day before I realized what was wrong. Thanks again -- it works great! Regards (and thanks yet again :>) Andre On Wednesday 18 September 2002 09:54 pm, Jacob Miller wrote: > Move outside the do-while loop

[PHP] Non-functioning db 'include'

2002-09-23 Thread Andre Dubuc
; /* This script works (with '$db = .' ) */ /* This script DOESN'T work (with 'include("dbc.php"); and where dbc.php' = in a separate file */ Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Non-functioning db 'include'

2002-09-23 Thread Andre Dubuc
#x27; which has been extraordinarly 'fussy' lately. Thanks for the suggestion. Regards, Andre On Monday 23 September 2002 10:33 am, Geoff wrote: > Once you go to https://www.yoursite.com > you are at a completely new url as far as the browser is concerned so > yo

[PHP] $_SESSION[] and register_globals=on

2002-09-27 Thread Andre Dubuc
A short question: My IP informed me that they have register_globals=on in their php.ini. Is this going to cause problems with my scripts that were written using $_POST, $_SESSION, etc? Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] $_SESSION[] and register_globals=on

2002-09-27 Thread Andre Dubuc
che like the one I developed using CSS. Thanks again, Andre On Friday 27 September 2002 05:42 pm, John Holmes wrote: > > My IP informed me that they have register_globals=on in their php.ini. > > Is > > > this going to cause problems with my scripts that were written using >

[PHP] Htmlentities and Newlines?

2002-09-28 Thread Andre Dubuc
roceed? The code far: $html{$_SESSION['sfname']} {$_SESSION['ssname']}{$_SESSION['scity']}, {$_SESSION['rprov']} {$_SESSION['scountry']}$date";; print "Preview of Request from {$_SESSION['sfname']}{$_SESSION[&#x

Re: [PHP] Htmlentities and Newlines?

2002-09-28 Thread Andre Dubuc
een -- line breaks with no characters indicating linebreaks). Yet, if I call that particular record from the db, and display it on-screen, it's all on one line. So, I'm confused. Any ideas what to do to save it properly in the db so that on display, it renders the same way as in

Re: [PHP] Htmlentities and Newlines?

2002-09-28 Thread Andre Dubuc
e entered, and they must go back to the textarea box if they need to edit (which has exactly what they typed.) Oh, this all did sense to me a while ago, but I am tired, and it's beginning to sound like gibberish . Thanks again. Andre On Saturday 28 September 2002 06:44 pm, John W. H

Re: [PHP] Htmlentities and Newlines?

2002-09-28 Thread Andre Dubuc
So, if they correct it, and click Preview, it'll be a new process since the old 'Preview was not saved to session, but is a 'new' post (the old Preview was destroyed.) Still, since I'm pulling the saved info from the db, iterating through all rows, and displaying it in tab

Re: [PHP] Htmlentities and Newlines?

2002-09-28 Thread Andre Dubuc
he textarea box if they need > > to edit (which has exactly what they typed.) > > > > Oh, this all did sense to me a while ago, but I am tired, and it's > > beginning to sound like gibberish . > > > > Thanks again. > > Andre > > Things will be alrig

Re: [PHP] Htmlentities and Newlines?

2002-09-28 Thread Andre Dubuc
On Saturday 28 September 2002 08:32 pm, John W. Holmes wrote: > > -Original Message- > > From: Andre Dubuc [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, September 28, 2002 8:34 PM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: Re: [PHP] Htmlent

Re: [PHP] Htmlentities and Newlines?

2002-09-28 Thread Andre Dubuc
lines are there, regardless. Htmlentities() > doesn't do anything to linebreaks... > > ---John Holmes... Hi John, Tried that Echo "" . nl2br(htmlentities($myrow['request'])) . and it appears exactly as it is written (as part of the text request). Maybe if

Re: [PHP] Htmlentities and Newlines?

2002-09-28 Thread Andre Dubuc
On Saturday 28 September 2002 08:59 pm, John W. Holmes wrote: > > -Original Message- > > From: Andre Dubuc [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, September 28, 2002 9:00 PM > > To: [EMAIL PROTECTED]; 'Sascha Cunz'; [EMAIL PROTECTED] > > Subj

  1   2   3   4   5   >