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

Re: [PHP] List Etiquette

2004-09-21 Thread Andre Dubuc
s, and click again. Sigh . . . way too much work for me. Maybe it's time to say bye-bye to this thread . . . Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] List Etiquette

2004-09-18 Thread Andre Dubuc
ut . . . but then again, I'm slow. . . . Regards and thanks for the clarifications, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] List Etiquette

2004-09-18 Thread Andre Dubuc
n on this list, on-and-off, for a few years, and somehow I must have missed the discussion on the unwritten rule of bottom-posting. Perhaps someone could enlighten me with a url? Regards, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Andre Dubuc
) Andre On Friday 17 September 2004 05:08 pm, you wrote: > Did you just top post? Top posting === evil; > > -Original Message- > From: Jason Davidson [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 3:14 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] &

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Andre Dubuc
Amazing how long that thread is -- must be a record. Seems to be classic case of 'ignore-the-obvious' or 'my-mind-is-made-up. Don't-confuse-me-with-facts'. Perhaps I should start a new thread: "[PHP} Can't get NULL to output anything!" hehe Andr

[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

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

Re: [PHP] problem with Header("Location: home.php");

2004-09-09 Thread Andre Dubuc
On Thursday 12 August 2004 07:48 pm, CBharadwaj wrote: > Hello, > > In conection.php I have written. > SESSION_ START(); ^ Get rid of extra space and it should work Hth, Andre > on successful login I am registering a session variable. > SESSIO

Re: [PHP] Session again !!!

2004-09-05 Thread Andre Dubuc
Hi, In your code: if($_SESSION['uname'] = = "") ^ Get rid of that extra space bewteen the == Hth, Andre On Sunday 05 September 2004 11:23 am, Dre wrote: > I really did > and it behaves the same > > I tried isset() also bu

Re: [PHP] Re: function problem

2004-09-04 Thread Andre Dubuc
> > Regards, Torsten Roehr Two thoughts: You call function checkpermission(); that is defined in another file. How do you call this file: do you use absolute url? Might be the problem, as well as using header("location; ccnopermissions.php");. Might want to use an absolute url there too. Just a thought or two, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: uppercase sentences

2004-09-03 Thread Andre Dubuc
s deserves this message.] Amazing how many people forget to add a space after a period, capitalize proper names, etc. I have a whole mess of little functions that clean up the glaring errors. However, in the long run, I've decided to let the less-glaring stuff through, but clean up the major ones. Just my pence worth Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why won't my echo won't work? [newbie question]

2004-08-29 Thread Andre Dubuc
Try using braces around $_POST or any superglobal you use: print_r($_POST); print "{$_SERVER['REQUEST_METHOD']}"; print "{$_POST['username']}"; Works for me. Hth, Andre On Sunday 29 August 2004 01:13 pm, John Nichel wrote: > FrzzMan wrote: > >

Re: [PHP] PHP Version for API 20001222

2004-08-27 Thread Andre Dubuc
PHP 4.0.6-6.2mdk On Friday 27 August 2004 02:45 pm, Cole S. Ashcraft wrote: > What PHP version had the API number 20001222 ? > > Thanks > Cole > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner on mail.ashcraftfamily.net, and is > believed to be clean. >

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

Re: [PHP] Problem with sessions

2004-08-27 Thread Andre Dubuc
//' . $_SERVER['HTTP_HOST'] ^ . dirname($_SERVER['PHP_SELF']) . '/b.php?'.SID'"); ^^ Perhaps that's the problem. I'm no expert . . . Hth, Andre On Friday 27

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

[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] Destroying a Session

2004-08-25 Thread Andre Dubuc
surely the > $_SESSION["orderinfo"] should have been destroyed. I hope this makes sense! > > Thanks for your help Shaun, For what its worth, I experienced probs with destroying sessions until I added another page. On the page in question, I called the 'logout' function and redirected to that page: [logout.php] http://your_site.back_to_page_that_is not_logged in.php"); ?> Note that I used an absolute url -- it seems to make a difference. [Btw, I note that you use double quotes for $_SESSION['orderinfo'] -- just wondering . . . . HTh, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] After upgrading PHP, Session Values not stored properly

2004-08-23 Thread Andre Dubuc
On your new setup, is register_globals=on by any chance? I ran into the same problem -- once set to off, everything started working properly. Just a thought, Hth Andre On Monday 23 August 2004 02:45 am, Sheni R. Meledath wrote: > Hi Gerard, > > Many thanks. We are using cookies to

[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)){

Re: [PHP] Session Problem PHP version 4.3.8

2004-08-13 Thread Andre Dubuc
On Friday 13 August 2004 11:19 am, you wrote: > On Friday 13 August 2004 11:14 am, Andre Dubuc wrote: > > Hi James, [snip] .for thatt matter, have you 'saved' it using session_write_close(); > > From the Manual: > Session data is usually stored after your script term

Re: [PHP] Session Problem PHP version 4.3.8

2004-08-13 Thread Andre Dubuc
opener lines on each page and 2. that register_globals=off. The last thing caused all sorts of grief for me last week - messes up sessions if 'on' Hth, Andre On Friday 13 August 2004 10:37 am, James E Hicks III wrote: > OK, so it wasn't the nut behind the wheel after all. I a

Re: [PHP] Local version works - production breaks [SOLVED]

2004-08-08 Thread Andre Dubuc
On Sunday 08 August 2004 01:51 am, Jason Wong wrote: > On Sunday 08 August 2004 09:38, Andre Dubuc wrote: > > That's what I thought. But the differences are glaring. Seems like none > > of the code wants to work. Navigation is a nightmare: > > header("location

Re: [PHP] Local version works - production breaks

2004-08-08 Thread Andre Dubuc
atch another's code -- write it fresh! There is simply way too much weird behavior happening with the present code: sessions not passing, odd error messages about redeclaration, and conditionals where both are passed. Time to dump it and start fresh! Thanks (to everyone) for your help and po

Re: [PHP] Local version works - production breaks

2004-08-07 Thread Andre Dubuc
> > > > -Ed > > Yes, it's very possible that he isn't getting errors locally because his > errors aren't on. > > Andre, > > You might check your error settings on your local server. You might even > consider upgrading php on your local server to the sam

Re: [PHP] Local version works - production breaks

2004-08-07 Thread Andre Dubuc
On Saturday 07 August 2004 09:10 pm, you wrote: > On Sat, 2004-08-07 at 17:55, Andre Dubuc wrote: > > Hi, > > > > I have re-written a very basic website to use sessions (switching to > > https) for login to special areas of a site. After testing the site > > t

Re: [PHP] Re: Local version works - production breaks

2004-08-07 Thread Andre Dubuc
Josh, Aside from the differences in php versions, the only difference is thta the local version has register_globals=off. I'm really stumped. Andre On Sunday 08 August 2004 06:07 am, Josh Acecool M wrote: > Did you check the phpinfo on each server, make sure your server settings >

[PHP] Local version works - production breaks

2004-08-07 Thread Andre Dubuc
en display the opening page (yet I can view source). Maybe this isn't the forum to ask -- but seeing that all db access is through PHP -- I wonder whether anyone can point where i can start looking for the culprit(s). Any ideas, suggestions, or advice will be greatly appreciated. Tia, An

Re: [PHP] script error

2004-08-02 Thread Andre Dubuc
Maybe unquote 'posts' -- I would write: $query = "INSERT INTO posts ( `post_id` , `post_title` , `post_date` , .. On Monday 02 August 2004 06:49 am, me2resh wrote: > thanks for your help > > i did that > and here is the error message returned > > You have an error in your SQL syntax. Check

Re: [PHP] Variables not passed to next page

2004-07-31 Thread Andre Dubuc
On Saturday 31 July 2004 02:12 pm, Jason Wong wrote: > On Sunday 01 August 2004 01:40, Andre Dubuc wrote: > > I have attempted to post variables from a simple page: edit-news.php to > > edit-news-x.php, then load them into a session for re-use -- I use output > > buffering.

[PHP] Variables not passed to next page

2004-07-31 Thread Andre Dubuc
variables do not pass? I'm stumped. (Could it be that both mysql/psql servers are competing against each other?) Help? Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

Re: [PHP] Cannot send session cookie

2004-07-12 Thread Andre Dubuc
Hi Michael, session_start(); must be the very first line of code on the page, with no whitespaces trailing, else you'll get the 'header already sent' message: Hth, Andre On Monday 12 July 2004 10:40 am, Michael Purdy wrote: > Folks > > I am a new to php. I am

Re: [PHP] user tracking

2004-07-06 Thread Andre Dubuc
Hi Chrsitian, If you're looking fro a web or static stats package, IMHO none better than: http://awstats.sourceforge.net/ (I've used other packages, but this is the most flexible.) Hth, Andre On Tuesday 06 July 2004 07:15 am, Christian Calloway wrote: > Hey everybody, > &g

Re: [PHP] Header or includes for one-level up access? [SOLVED]

2004-07-02 Thread Andre Dubuc
On Friday 02 July 2004 09:16 am, Jordi Canals wrote: > Andre Dubuc wrote: > > I thought a simple re-direct page might do > > the trick. > > > > I've tried three methods: > > > > the header approach > > header("location: ../conn-up.php"

[PHP] Header or includes for one-level up access?

2004-07-02 Thread Andre Dubuc
is, and will this protect the db password any better than if it stays in the webarea? Any help, guidance, or ideas most welcome. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Sort a text string by last word before separator

2004-06-24 Thread Andre Dubuc
rted array, but couldn't manage to merge the first names. I'll try this code -- hope it works, and get back to you! Thanks again! Andre On Thursday 24 June 2004 11:21 pm, Lars Torben Wilson wrote: > Andre Dubuc wrote: > > Given a text string: > > > > $OK = "

[PHP] Sorting a large text string alphabetically

2004-06-21 Thread Andre Dubuc
n in /var/www/html/list.php on line 235 Warning: reset() [function.reset]: Passed variable is not an array or object in /var/www/html/list.php on line 236 Warning: Variable passed to each() is not an array or object in /var/www/html/list.php on line 237 What am I doing wrong? Any help greatly app

Re: [PHP] http to https

2004-06-17 Thread Andre Dubuc
opening pages.) I suppose you might get away with a Meta Refresh but I'm not too clear whetehr you can accomplish that for the same page . . Aside from that idea . . . . Hth, Andre On Thursday 17 June 2004 08:31 pm, you wrote: > Yeah, I'm assuming it's set. I have an inst

Re: [PHP] http to https

2004-06-17 Thread Andre Dubuc
://www.your_site.com.php";); exit;} ?> Hth, Andre On Thursday 17 June 2004 07:27 pm, Ryan Schefke wrote: > I'm getting some strange behavior when trying to go from http to an https > script. > > > > After clicking a form submit button the script will execute the two l

[PHP] Eliminating all lowercase words

2004-06-14 Thread Andre Dubuc
ccess to the internals of ucase function so I can find out how to do this, or is there any easier way? Any ideas, suggestions, and even admonitions would be very welcome! Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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] 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] Re: Guru's advice needed ........[Security: SQL injection]

2004-03-19 Thread Andre Cerqueira
you need to ask yourself how the environment that you are using will interpret things if you are sending this query: "SELECT ... FROM ... WHERE field1='". $_POST['field1'] ."'" and $_POST['field1'] is: 0' OR field2=0 AND ''=' the resulting string would be: SELECT ... FROM ... WHERE field1='0' OR

[PHP] Re: date()

2004-03-19 Thread Andre Cerqueira
is that all? Khalid Judeh wrote: hello all, i am new to php, i am trying to call the date function this way: and the result i get is: object18/03/04 any help would be appreciated Khaled Jouda cell. phone: 0163-2382758 fax: 1(801)439-125

[PHP] Re: Thank you, Microsoft! Now I need an alternate login method

2004-03-18 Thread Andre Cerqueira
try absolute urls on 'Location' headers if thats the problem, ie is not exactly broken, just making some (questionable) standards mandatory Chris De Vidal wrote: Microsoft broke IE 6.0 SP1 on XP in January, requiring this patch to be able to log into our MySQL-authenticated website: http://www.mi

[PHP] Re: XSS Vulnerabilities and strip_tags

2004-03-12 Thread Andre Cerqueira
i didnt know what XSS was, just read it on webopedia.com now, maybe i got the wrong idea... strip_tags should prevent a kind of explotation, but maybe its behavior is not exactly what you want... see also htmlentities (http://www.php.net/htmlentities) you need to ask yourself how the environmen

[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] Re: FIle Upload problems

2004-03-05 Thread Andre Cerqueira
try echo'ing $_FILES['image_upload']['tmp_name'], and check if the path exists maybe some wrong configuration on php.ini upload_tmp_dir ? it is usually a good idea trying to isolate the smallest piece of code that gives the unwanted result makes it easier for other ppl to help, and sometimes you

[PHP] Re: scope problem

2004-03-05 Thread Andre Cerqueira
can you post something that would run on php? Larry Brown wrote: Apparently I'm having some kind of meltdown here. Can anyone explain the logic behind why the following variable has the original value and how I can pull/push the value to access it at the end? while loop { $variable = 1

[PHP] Re: ASCII

2004-03-05 Thread Andre Cerqueira
char->decimal = ord('a') http://www.php.net/manual/en/function.ord.php Csko wrote: Hi! Is there a function to convert a ASCII char to decimal or binary? Or a program? csko -- André Cerqueira signature.asc Description: OpenPGP digital signature

[PHP] Re: Necesito una función

2004-03-05 Thread Andre Cerqueira
spanish newsgroup: http://news.php.net/group.php?group=php.general.es php.general.es just complementing Alex Hogan words: http://www.php.net/manual/en/function.getenv.php (read the comments, they have the code you want) :: N A S S A T :: Depto Tecnico wrote: En una news de www.php.net informan d

[PHP] Re: Forms, or multiple headers?

2004-03-05 Thread Andre Cerqueira
i think you have to give each checkbox a different name try: del0, del1, del2,... and each one with the id of the thing you are displaying than you do something like this: for ($i=0; isset($_POST['del'.$i]); $i++) { if (!empty($_POST['del'.$i])) $res = mysql_query("DELETE FROM $table_name

[PHP] Re: Parse error, unexpected T_STRING!!

2004-03-04 Thread Andre Cerqueira
Enrique Martinez wrote: Hello, I'm getting an error that says: Parse error, unexpected T_STRING on line 73 line 73 is: this is what I have below line 73: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> I have PHP-4.2.2, Apache 2.0 on RedHat Linux 9.

[PHP] Re: Loop Oops....

2004-03-03 Thread Andre Cerqueira
probably, some of those $_SESSION['question#'] are unset, or arent arrays.. try: foreach ($answers as $questions) { $question .= "__"; if (!is_array($questions)) continue; foreach ($questions as $subquestion) $question .= $subquestion."--"; } } >$insert_query = "INSERT INTO Survey

[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] Re: Session performance

2004-03-02 Thread Andre Cerqueira
i got that doubt too than i checked the manual: http://www.php.net/session seems like it can cache, but the default is no cache using http://br.php.net/manual/en/function.session-cache-limiter.php , you can tune it (dont know how good it would do it) anyway... i use mysql heap table (it stays on

[PHP] Re: PHP Sessions

2004-02-29 Thread Andre Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 if you try, i think you will see that you can Paul Higgins wrote: Hello everyone, I'm beginning to experiment with PHP sessions. I was wondering if it is possible to place objects into the session? Thanks, Paul _

[PHP] Re: PHPdoc web interface

2004-02-29 Thread Andre Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i think you are talking about this: http://www.phpdoc.de/ while this newsgroups is about this: http://www.php.net/ you may find what you want to now here, but maybe you would have more luck here: http://www.phpdoc.de/doc/ or here: http://www.phpdoc.de/

[PHP] Re: 2 questions - PHP site Automatic search and slow display

2004-02-28 Thread Andre Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (1) dont know if u understood, but have you tryed flush()? (http://www.php.net/flush) (2) i think you could make a script for 404 error, and that script could take that path in the url and use it for searching... Ryan A wrote: Hi, I have to question

[PHP] Re: PHP5 simpleXML bug or am i just being silly :)

2004-02-26 Thread Andre Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 or this: print('$this->user->site[0]::'); print_r($this->user->site[0]); wait... thats what he done hehe nvm? what is your php5 build? have you tried the examples? (http://www.php.net/manual/en/ref.simplexml.php) did they work? anyway, it looks prett

[PHP] Re: Uploading a file to server behind a firewall

2004-02-26 Thread Andre Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i dont know if that can be fixed using php, it looks like a firewall setup problem? which port is apache running? i got confused with your ponctuation and explanations, maybe some rephrasing and more details, like error message, could help Rick La

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

Re: [PHP] Limiting repetitive file access

2003-11-16 Thread Andre Dubuc
re damage than he! -- I just hosed that file good . . . sigh . . . It's been a great weekend - began with a 44 hour power outage, both phone lines dead, then I hosed my acccess file, and finished it off by taking out my developmental db -- not bad, huh? (Perhaps I need some sleep??) Tomo

Re: [PHP] Sessions and AOL?

2003-11-16 Thread Andre Dubuc
On Sunday 16 November 2003 01:54 pm, R. Van Tassel wrote: > Hi everyone. I have a problem with a website that I don't understand. It > seems that people using AOL can't see certain sections of this website. > > It is a directory section where a drop-down menu exists, you select the > section you wa

Re: [PHP] Re: Limiting repetitive file access

2003-11-16 Thread Andre Dubuc
On Sunday 16 November 2003 06:40 am, Manuel Lemos wrote: > Hello, > > On 11/16/2003 02:52 AM, Andre Dubuc wrote: > > Recently, a 'user' attempted to access a restricted area of my site > > repetitively (spanning five hours) entering the same url repetitively >

[PHP] Limiting repetitive file access

2003-11-15 Thread Andre Dubuc
Hi, Recently, a 'user' attempted to access a restricted area of my site repetitively (spanning five hours) entering the same url repetitively [probably by script]. A massive log file was generated. I would like to ban such behavior by limiting the number of successive 'get's a user can do (say

RE: [PHP] help create community newbie guide to security

2003-11-12 Thread Andre Volmensky
cript without you allowing it. You HAVE to specify which variables are going to be passed from a form etc. If you code properly, you could get away with turning register_globals on, but this requires you to be very careful when thinking about the logic of your code. Hope this helps. - Andre -

RE: [PHP] help create community newbie guide to security

2003-11-12 Thread Andre Volmensky
anything about register_globals? - Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] anyway to return more than one value?

2003-11-05 Thread Andre Volmensky
[snip] .. if you spend some time moving closer to the object oriented approach (php classes in this case) you may find that the development could be much more clear and easy ... and then will never come back to the functional/procedural way of programming [/snip] I have been interested in learn

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

[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

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

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("/

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

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

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

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

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

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

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,

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

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

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

<    1   2   3   4   5   >