Re: [PHP] Help on number matching function

2011-09-16 Thread Andre Polykanine
best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] End of session clean-up

2011-12-03 Thread Andre Majorel
Hello all. I need to purge old records from application tables when a session expires. How do I register a callback with the end-of session-garbage collection system ? session_set_save_handler() lets me override the native garbage collection, not *add* to it, as far as I can tell. Thanks in advanc

Re: [PHP] End of session clean-up

2011-12-03 Thread Andre Majorel
On 2011-12-03 17:41 +, Stuart Dallas wrote: > On 3 Dec 2011, at 16:57, Andre Majorel wrote: > > > Hello all. I need to purge old records from application tables > > when a session expires. How do I register a callback with the > > end-of session-g

Re: [PHP] End of session clean-up

2011-12-09 Thread Andre Majorel
On 2011-12-03 18:14 +, Stuart Dallas wrote: > Writing a session handler is pretty straightforward. I wrote > about how to implement one to use MySQL a while back which I'm > sure you could easily adapt to your needs. > > http://stut.net/2008/07/20/mysql-sessions/ Thank you. That's too much c

Re: [PHP] Need Part-time Coder

2011-12-27 Thread Andre Polykanine
Hello Paul, PH> for($i = 0, $ln = sizeof($a); $i < $ln; ++$i) { echo $a[$i]; } foreach ($a as $v) { echo $v; } :P ;-) -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook

Re: [PHP] Remote Procedure Call Failed

2005-02-07 Thread Andre Dubuc
On Monday 07 February 2005 12:06 pm, Alex Gemmell wrote: > On Sun, 6 Feb 2005 19:36:23 -0500, Andre Dubuc <[EMAIL PROTECTED]> wrote: > > On Sunday 06 February 2005 07:18 pm, Alex Gemmell wrote: > > > Hello, > > > > > > I am building a login system

Re: [PHP] How do I collect the keywords a user entered when searching for my site

2005-02-07 Thread Andre Dubuc
using some code ideas from the prog. http://www.mikes-marketing-tools.com You can get search engine ranking using keywords/phrases from your site. Hth, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [NEWBIE] Confused about usage of $_SERVER['DOCUMENT_ROOT']

2005-02-20 Thread Andre Dubuc
_files_are_here" then "/vhome/tokyocomedy/all_your_files_are_here/images/image.jpg" is where your image.jpg file is. Also, check using where the $_SERVER['DOCUMENT_ROOT'] is (under 'PHP Variables' section) and note where tempfiles are uploaded to as well, if you're uploading. HTh, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread Andre Dubuc
> >> >>$name = $_POST['name'] ; > >>$age = $_POST['age'] ; > >>print("Hello, $name! You are $age years old!"); > >>?> > >> > >>It does not work unless I turn register_globals ON in the php.ini > >>

Re: [PHP] Cookies

2005-02-24 Thread Andre Dubuc
On Thursday 24 February 2005 06:34 am, Burhan Khalid wrote: > William Stokes wrote: > > Hello, > > > > If I send a session cookie to browser where it is stored in WinXP? Or is > > it stored as a separate file at all. I know that the script sends the > > cookie but I can't find it in the client comp

Re: [PHP] Word file to PDF

2005-02-25 Thread Andre Dubuc
ome your god(s). > > > Best of luck, let us know what solution you come up with. > > > > -KBear > > > > Original Message: > > > > Hi there, > > > > How can I convert a Word file (*.doc) to PDF file? Are there any > > libraries available

Re: SV: [PHP] Difficulty with SQL LIKE clause

2005-02-25 Thread Andre Dubuc
get the result of ALL things with the years in the > 1970's (1970-1979). But the asterisk in the LIKE clause does not seem to > work. I have tried various syntax's to try to get the 197* recognized but > without any luck. > > Can the '*' be used? What am

Re: [PHP] function to resize images

2005-02-28 Thread Andre Dubuc
nal image over temp.jpg // since you have GD2, you could also use imageCopyResampled imageCopyResized($image, $imageToResize, 0, 0, 0, 0, $dest_w, $dest_h, $src_w, $src_h); // values for output jpeg quality $jpegQuality = 75; // create the resized image imageJpeg($image, "/your_site/pix/{$_SESSION['rid']}-{$_SESSION['sid']}.jpg", $jpegQuality); // cleanup temp files } } Hth, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 'Insulate' db connection

2005-03-06 Thread Andre Dubuc
there another way to do this? *** The code so far: On any page that needs a db connection (in docroot path): Db code page (located in directory above docroot): Tia, Andre -- PHP General Mailing List (http://www.php.net

[suspicious - maybe spam] [PHP] [suspicious - maybe spam] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] Re: [PHP] 'Insulate' db connection

2005-03-06 Thread Andre Dubuc
On Sunday 06 March 2005 11:47 am, Mattias Thorslund wrote: > Since you can use fopen, I don't think open_basedir is the problem. > Read about open_basedir here: http://us3.php.net/features.safe-mode > > Maybe the path that you use in the include is wrong? > > /Mattias >

Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-14 Thread Andre Dubuc
On Monday 14 March 2005 06:22 pm, Chris W. Parker wrote: > Chris W. Parker <> > > on Monday, March 14, 2005 3:15 PM said: > >> Line 82 is: > >> print ' >> $row["profileID"] . ']' . "' value='true'/>\n"; > > > > Very likely the problem is not on line 82, but rather before it. Line > > 82 is just

Re: [PHP] plug-in forum

2005-04-05 Thread Andre Dubuc
in section to > include only the necessary option and hide everything else from the > admin as to not overwhelm their puny brain. > > > HTH, > Chris. Might want to look at: http://fudforum.org hth, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] plug-in forum

2005-04-05 Thread Andre Dubuc
On Tuesday 05 April 2005 07:16 pm, Chris W. Parker wrote: > Andre Dubuc <mailto:[EMAIL PROTECTED]> > > on Tuesday, April 05, 2005 4:04 PM said: > > Might want to look at: > > > > http://fudforum.org > > > > hth, > > Andre > >

Re: [PHP] Access Denied-phpMyAdmin

2005-04-16 Thread Andre Dubuc
27;], I guess it should be > > 'socket' in your setup > > Hi All, > > thanx, but, no difference. What I don't un, is, the setup is the same as > another FC3 box, and it works. Cheers. > > Mark Sargent. Mark, I had the same problem. Try: $cfg['PmaAbsoluteUri'] = ''; /** * Disable the default warning about $cfg['PmaAbsoluteUri'] not being set * You should use this if and ONLY if the PmaAbsoluteUri auto-detection * works perfectly. */ $cfg['PmaAbsoluteUri_DisableWarning'] = FALSE; .. $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address Hth, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Simple CMS program

2005-03-30 Thread Andre Dubuc
gt; server DB. Has anyone had experience with such a CMS? > > > > Todd Try: http://www.mamboserver.com easy to install, update, etc. Hth, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Templating engines

2005-04-28 Thread Andre Dubuc
ED] Just out of curiosity, are there any templating engines out there that would automatically generate and then fill in values for a TODO list? IATOL, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Templating engines

2005-04-28 Thread Andre Dubuc
On Thursday 28 April 2005 03:21 pm, Ryan A wrote: > On 4/28/2005 8:18:28 PM, Andre Dubuc ([EMAIL PROTECTED]) wrote: > > On Thursday 28 April 2005 02:05 pm, John Nichel wrote: > > > Jason Barnett wrote: > > > > > > > > > > > > > Humor is o

Re: [PHP] Newbie Help

2005-05-01 Thread Andre Dubuc
echo("Page Not Set.");} > ?> > > My site is: http://bonhamlinux.org > My email is: [EMAIL PROTECTED] > > Thanks for all the help. > Thomas I spot perhaps a typo in http://bonhamlinux.org/idex.php?page=links/index.php Might that be 'index' instead? Hth, And

[PHP] 'Require' and 'Select' lists

2005-05-12 Thread Andre Dubuc
Alabama . . . [snippet of some validating code verifying $selstate that relies on $selstate] Please choose from 'In USA/Canada' or type in 'Other State'. Do not use bothClick 'Back' on your browser to re-enter information"); ?> Any ideas why th

Re: [PHP] 'Require' and 'Select' lists

2005-05-13 Thread Andre Dubuc
On Friday 13 May 2005 02:20 am, Richard Lynch wrote: > On Thu, May 12, 2005 8:41 pm, Andre Dubuc said: > > I've had some rather odd intermittent behavior with a select list drawn > > by a > > 'require' on my production site. Sometimes, rather than displaying

Re: [PHP] 'Require' and 'Select' lists

2005-05-13 Thread Andre Dubuc
I was wrong). I'll give it whirl, and take it out for a test-drive. Thanks, Andre On Friday 13 May 2005 10:51 am, you wrote: > Sounds like it might be a browser behavior issue. I've seen some really > weird behavior in browsers when a DOCTYPE is not declared at the start > of t

Re: [PHP] 'Require' and 'Select' lists

2005-05-14 Thread Andre Dubuc
On Saturday 14 May 2005 02:14 am, you wrote: > On Fri, May 13, 2005 5:59 am, Andre Dubuc said: > > However, the behavior continues intermittently. I've duplicated it one > > time. > > If I click on the 'State' dropdown list, allow the mouse to scan through &

[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

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

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

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

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

[PHP] INSTALL_ROOT and apxs

2007-10-19 Thread Andre Majorel
I'm trying to build PHP 5.2 as an Apache 2.0 handler module. Apache and PHP are installed with DESTDIR/INSTALL_ROOT=/sandbox set because the end goal is to make a package, not to install on the build machine. The paths returned by apxs are relative to /, not to /sandbox which throws off PHP's make

[PHP] successful compiled, but errors at use

2008-01-23 Thread Andre Hübner
What goes wrong? I have no idea what i id not correctly. Can anybody help please? Thanks Andre

[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

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

Re: [PHP] Register Globals

2004-10-25 Thread Andre Dubuc
hing to pass via sessions with register_globals=on with a site I had rebuilt. All sorts of strange behavior -- if you look back in the archives you see what I mean. Once register_globals was switched to 'off' everything worked as expected. Sorry to throw a wrench into the works!

[PHP] Shifting banner on re-display

2004-11-13 Thread Andre Dubuc
ere a workaround for this problem, or is this a normal occurence? Any suggestions or pointers would be gratefully appreciated. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Shifting banner on re-display

2004-11-13 Thread Andre Dubuc
t;); > AD> break; > > AD> default : > AD> header("location: join.php"); > AD> break; > > AD> endswitch; > AD> } > ?>> > > AD> Is there a

Re: [PHP] Shifting banner on re-display

2004-11-13 Thread Andre Dubuc
combo. Thanks for the suggestion. Regards, Andre On Saturday 13 November 2004 07:42 pm, Marek Kilimajer wrote: > What if you try: > > > > > Andre Dubuc wrote: > > Hi, > > > > I have a very annoying problem with pages that re-display using the > action

[PHP] Odd Behaviour: DIE function

2004-11-25 Thread Andre Dubuc
on your browser to enter this information"); ... ?> Any pointers of what I'm missing here would be appreciated. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird sessions problem

2004-11-28 Thread Andre Dubuc
nd again for the reset values. Hence, $ref_page gets reset by line 53 ($ref_page = get_ref_page(); I experienced the same difficulty once, and essentially solved the problem by adding an extra page that is called, by a simple switch statement, if there is a change: i.e, from 'community' to 'market'. Another question, by any chance, are you switching into https by any chance? Hth, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP &Apache Upload file Permission denied

2004-12-12 Thread Andre Dubuc
esize is greater than maximum 75k! Please resize your picture to below 75k, and try again!"; } This works for me -- might want to modify it and see if it clicks on yours. My pix directory is 777, uploaded files go in as apache:apache 755. (also, if you try to upload greater than limit set i

Re: [PHP] Shifting banner on re-display [SOLVED]

2004-12-24 Thread Andre Dubuc
centering and saving the images solved the problem. Thanks again to all who offered suggestions. A Blessed Christmas to all. Andre Hi Mark, Tried your idea - no go. Somehow I think the problem may be related to the banner's gif width (set at 101%). I recall when I first made the banner, whic

[PHP] Attempting to use 'passthru' or 'exec' function

2005-01-23 Thread Andre Dubuc
rks fine on commandline). $Pdf"; passthru("sudo pdftotext /var/www/html/2005-o1-v2.pdf.txt /var/www/html/current.txt"); */ $current = "current.txt"; print "Current Text: $current"; $string_text = file_get_contents("current.txt"); $new_text = nl2br

[PHP] form variables showing blank but query shows non-blank ??

2001-02-15 Thread Andre Bajew
SQL statement based on form variables. A snippet of the script is below. I'd sincerely appreciate any help or guidance!! Andre "; /* This shows as blank */ echo "Pass_company=$pass_company"; echo "Pass_contact=$pass_contact"; echo "Pass_sort=$pass_sort";

[PHP] PHP | MySQL Search

2001-03-13 Thread Andre \"Tuin\" Boontjes
Hya'll, I've got a little problem with coding some php/mysql, this is what I have : - Table Search - HouseID | FacilityID | SurroundingID | PriceID | TypeID | C

[PHP] Variable problem with a function calling a ext. librairy

2002-02-21 Thread Marc Andre Paquin
Hello, I created a librairy with configuration setting: background color, font size, customer's name, etc. Like this: (lib_config.inc) $bgcolor = "#ff"; $co = "ABC enterprise"; A second file is building html page headders: (lib_intra.inc) function title($name_section,$name_page){ print "\

[PHP] writing to a file

2002-03-06 Thread Marc-Andre Vallee
Thanks a lot Marc-Andre Vallee [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] writing to a file

2002-03-06 Thread Marc-Andre Vallee
Thanks a lot -- Marc-Andre Vallee [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Displaying a 2 column html table with N elements

2002-03-24 Thread Marc Andre Paquin
Hello, I am trying to display a HTML table of 2 cells with "n" elements... This means an unknown number of lines. I need to use 2 FOR loops (one to determine the number of and one to create the 2 cells needed). This is a bit to overwellming for me... I have: $result = connect_db("select pr

[PHP] french date

2001-09-19 Thread Marc-Andre Vallee
0 it doesn't works maybe, i need a slackware package witch one thanks a lot -- Marc-Andre Vallee [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administ

[PHP] Re: passing parameters from the command line

2001-09-24 Thread Marc-Andre Vallee
use the C style constant argv[] argc and call your .php like this foo.php 1 5 then, argv[1] = 1 and, argv[2] = 5 -- Marc-Andre Vallee [EMAIL PROTECTED] "Bill" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When PHP is b

[PHP] Can't use the SNMP class

2012-12-04 Thread Marc-Andre Bergeron
Hi, When I try to use the SNMP class I got the following error: PHP Fatal error: Class 'SNMP' not found. I use the following version: PHP 5.3.3 (cli) and it runs on CentOS release 6.2 (Final). I've also installed net-snmp-5.5-41.el6_3.1.x86_64. According to the documentation "In order to use t

<    1   2   3   4   5