[PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Max Zimmermann
so much in advance, -- Cheers, Max GNU/Linux - User #477672 PGP: 0x6C29B594

Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Max Zimmermann
2010/1/18 Ashley Sheridan a...@ashleysheridan.co.uk On Mon, 2010-01-18 at 12:20 +, Max Zimmermann wrote: Hello everybody, I have chosen this list because my problem is related to one particular style of php installation. At least I think so. I'm running php 5.2.11 and plesk 9.2.3

Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Max Zimmermann
2010/1/18 Richard Quadling rquadl...@googlemail.com 2010/1/18 Max Zimmermann maxzimmerm...@googlemail.com: 2010/1/18 Ashley Sheridan a...@ashleysheridan.co.uk On Mon, 2010-01-18 at 12:20 +, Max Zimmermann wrote: Hello everybody, I have chosen this list because my problem

Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Max Zimmermann
2010/1/18 Robert Cummings rob...@interjinn.com Ashley Sheridan wrote: On Mon, 2010-01-18 at 12:20 +, Max Zimmermann wrote: Hello everybody, I have chosen this list because my problem is related to one particular style of php installation. At least I think so. I'm running php

[PHP] Re: Getting part of string matched with regular expressions

2008-01-28 Thread Max Antonov
Teck wrote: Hi, I'm trying to find a way to get part of a string where the part is matched with regular expressions. So, for example, if I have a string: a2b3cd5ef6ghi7232jklmn I need to grab 12b3cd5 using regular expressions and store the part in a variable. $var =

[PHP] Re: Match anything between two that is not a except if it is escaped...

2008-01-17 Thread Max Antonov
string : bPHP is just perfect/b Is this rigth? -- Max Anotnov (idler at instanceof dot ru) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Match anything between two that is not a exceptif it is escaped...

2008-01-17 Thread Max Antonov
direcly to my mailbox) -- Max Anotnov (idler at instanceof dot ru) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Match anything between two that is not a exceptifitis escaped...

2008-01-17 Thread Max Antonov
Jochem Maas : mathieu leddet schreef: Thanks a lot Max (and Jochem), you solved my issue. PS - you solved the issue but did you learn what a [negative] look behind assertion is? Mathieu, I agree with Jochem. If you periodicaly solve issues, such this - you must know about behind

[PHP] issues with imap_qprint()

2007-12-12 Thread Max Frigge
it decodes right but it puts this ugly iso code info around the result. It's kinda wired because i use it exactly the way I did in the example shown above. Is there any way to avoid this or a build in function to strip that crap?? greets, Max -- PHP General Mailing List (http://www.php.net

[PHP] imap_search - criterion ON

2007-11-22 Thread Max Frigge
, Max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Consultant / Contractor

2006-11-07 Thread Max Clark
at, and of course your contact information. Thanks, Max max [at] clarksys [dot] com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [php] passing variables doesn't work

2006-10-25 Thread Max Belushkin
Whatever form information you want to pass has to be part of the form. WILLEMS Wim (BMB) wrote: select name=database size=1 In the second script, the value of this will be in $_POST[database]. ?php $wim = 5; /* this is added to test the passing of the variables - doesn't work either */

Re: [PHP] If array()

2006-10-12 Thread Max Belushkin
John Taylor-Johnston wrote: How can I use if to see an array contains something? if (sizeof($array)) ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] POPUP window in PHP

2006-10-09 Thread Max Belushkin
Captain wrote: hi, i want to do YES/NO confirmation (like POPUP). If YES, it will upload a file PHP is server-side, not client-side. You can have the confirmation passed as a GET variable in a two-step process for example, i.e. first show a confirmation form if $_GET[confirm] is not set,

Re: [PHP] POPUP window in PHP

2006-10-09 Thread Max Belushkin
Captain wrote: My requirement is, i want to upload one file. i am checking whether it exists or not in Server side. Your script will have to work in stages, generating a page and sending to the browser on each stage: 1. Make a form to upload a file for the user to submit - this is just

Re: [PHP] Date verification

2006-10-09 Thread Max Belushkin
Ron Piggott (PHP) wrote: Is there a PHP function which verifies a valid date has been entered (-MM-DD)? Ron http://www.php.net/manual/en/function.checkdate.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Calling Curt Z, Curt Z to the white courtesy phone please

2006-03-09 Thread Max Schwanekamp
pretty out of date anyhow. php-editors.com is a good alternative suggestion. -- Max Schwanekamp http://www.neptunewebworks.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php-cgi limitations

2006-03-09 Thread Max Schwanekamp
under php 4 cgi until the vendor updates to support php 5. Google is unusually laconic on this, but perhaps I just offended it with too many daft queries on the subject... :) -- Max Schwanekamp http://www.neptunewebworks.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Re: php-cgi limitations

2006-03-09 Thread Max Schwanekamp
El Bekko wrote: Max Schwanekamp wrote: Can anyone offer or point me to a summary of differences between running php as an Apache module vs as a cgi executable? Specifically, I'm wanting to upgrade our servers to php 5 but there is one crucial third-party app we're using that still needs php

Re: [PHP] help with nl2br

2006-03-03 Thread Max Schwanekamp
such as ADODb or PEAR::DB (there are lots of others). You'll commonly find convenience functions to do things like output query results into an HTML table. Why waste time debugging the wheel? -- Max Schwanekamp http://www.neptunewebworks.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Editing an existing pdf?

2006-02-28 Thread Max Schwanekamp
pdf's either. Never used it myself, but FPDF says it can do this using the FPDI extension. http://fpdf.org/en/FAQ.php (see item 17) -- Max Schwanekamp http://www.neptunewebworks.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Editing an existing pdf?

2006-02-28 Thread Max Schwanekamp
- that's print quality for text. But the image should be at print resolution, i.e. 300DPI or better, preferably a 24-bit PNG. -- Max Schwanekamp http://www.neptunewebworks.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Max Schwanekamp
PHP is strictly for the output. There is little connection (or there shouldn't be anyway) between your application php and the compiled php that Smarty produces when it parses a template file. -- Max Schwanekamp http://www.neptunewebworks.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Get timestamp?

2006-01-25 Thread Max Schwanekamp
'Last Sunday\'s date was '.date(m/d/y,$lastsunday); echo 'br7 Weeks prior to Last Sunday, the date was '.date(m/d/y,$sunday7weeks); -- Max Schwanekamp http://www.neptunewebworks.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Get timestamp?

2006-01-25 Thread Max Schwanekamp
Max Schwanekamp wrote: Jay Paulson wrote: How would I go about getting the timestamp of a day of the week from 7 weeks ago? $lastsunday = strtotime(last Sunday); $sunday7weeks = $lastsunday - (86400 * 49); // 7 weeks = 49 days Oops, that would be the sunday 7 weeks prior to _last_ Sunday

Re: [PHP] help me plz

2006-01-18 Thread Max Belushkin
If this is on the same web page, your question has nothing to do with PHP - look into, i.e., JavaScript. suresh kumar wrote: hi, i am using 2 combo box one for country another one for city.when i select country name from combo box their corresponding city names has to be changed in their

Re: [PHP] SELECT?

2005-12-28 Thread Max Schwanekamp
(); for($i=0;$i$recordcount; $i++) { $recordset[] = mysql_fetch_assoc($db_cursor); } //clean up, etc. [omitted] Then use array_walk() or similar... HTH -- Max Schwanekamp http://www.neptunewebworks.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Anyone getting bounces from

2005-12-07 Thread Max Belushkin
John Nichel wrote: Jay Blanchard wrote: [EMAIL PROTECTED] ? I am getting failure notices out the wazoo for some very old messages to the general list. I am too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PhpMailer vs Pear:Mail

2005-11-29 Thread Max Schwanekamp
spare, PhpMailer is reasonably quick and has proven quite stable (I've built a couple newsletter apps using it). What's the advantage of Richard's package vs. the Pear one (on which he is a lead dev) vs. PhpMailer? -- Max Schwanekamp http://www.neptunewebworks.com/ -- PHP General Mailing List

Re: [PHP] probably a simple mysql copy multiple rows question

2005-11-27 Thread Max Schwanekamp
you're describing is INSERT...SELECT syntax. In your example, something like: INSERT INTO mytable (name, code, price) SELECT 'NEW', code, '33' FROM mytable WHERE name = 'BASE' /* or whatever rows you need to copy */ Supported by MySQL, PostGres and others. -- Max Schwanekamp http

Re: [PHP] checkng if string is a number

2005-11-17 Thread Max Belushkin
Which version of PHP are you using? On php 4.4.0 (SuSE 10.0 default RPM, not custom build, so perhaps I'm missing some extras you're using?) the following script works fine: ?php if (10==intval(ten)) echo boo\n; else echo no boo\n; ? I get no boo. intval doesn't convert my ten to a

Re: [PHP] checkng if string is a number

2005-11-17 Thread Max Belushkin
If I misunderstood the intval part of your post, than the [proposed already] is_numeric solutions are the way to go. is_numeric will, however, unlike the conversion functions, return false if there's anything but a number in the string, so, i.e., is_numeric (10a1) will return false, but

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-17 Thread Max Belushkin
and mod_rewrite of the same nature on a non-FreeBSD install? Thanks! Max. On Tuesday 08 November 2005 21:07, Geert Booster wrote: I've seen this problem on a FreeBSD 5.3 machine with Apache2 and PHP 4.4.1_1. The problem looks to be a problem with mod_rewrite and PHP, because the different scripts

Re: [PHP] php related segmentation fault with Apache 2.0.55

2005-11-17 Thread Max Belushkin
I have had various problems with upgrading one or the other, until I took it as a rule to recompile both upon an upgrade. On the machine I do things completely manually on [which has it's drawbacks], I generally also upgrade to the current version of PHP together with any Apache update, and

Re: [PHP] checkng if string is a number

2005-11-17 Thread Max Belushkin
In principle, that's the only problem with intval - a 0 will evaluate as false in a logical statement. Unless one wants to make sure it's a full number from start to end, of course... Max. On Thursday 17 November 2005 23:05, you wrote: On Thu, Nov 17, 2005 at 08:47:30PM +0100, Max Belushkin wrote

Re: [PHP] Re: please shed some light on SQLsyntax error

2005-11-13 Thread Max Schwanekamp
/guide-to-php-security.html PS - Hello all! This is my first post to the list; I've been lurking for a week or two. -- Max Schwanekamp http://www.neptunewebworks.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mod_rewrite, apache2, php5RC1 and osx bsd

2005-11-10 Thread Max Belushkin
I've been having a problem with PHP 4.4.1 and mod_rewrite, which, as Geert Booster kindly pointed out, has been reported on http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027038.html, which also has a link to the PHP bug report in the thread. Not sure if this is relevant to

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-09 Thread Max Belushkin
Maybe the following [1] thread on the FreeBSD ports lists does help you. I (and the other sysops/users of this machine) are waiting for a patch for this problem You're not the only one :-) [1] http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027038.html Oh, thanks a lot! I'll

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread Max Belushkin
Try using require_once or include_once Well, here's all the fun starting. This is relatively long, but please bear with me. First of all, yes, I did include_once, require_once, even resorted to if (! $inc_done) include_once(func.php), and setting $inc_done in func.php. No-go, was still getting

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread Max Belushkin
On Saturday 05 November 2005 17:49, James Benson wrote: I've had a different set of scripts employing a different func.php. However, in both of those, mquery() is defined. But they do *not* include anything else, and the So you defined mquery() in both files and one include's or require's

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread Max Belushkin
It would also be helpful to see the mquery() script - maybe someone else may know more then! Well, mquery is simply mysql_query($query);, in the stipped-down version I've had to resort to for testing. Basically, does nothing, since even mysql_connect that USED to be at the start of func.php

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-05 Thread Max Belushkin
I cant see this being an issue with PHP because it would do that for every function, have you tried using a different function, something simple say, I've been trying it in various ways - for the simplest functions, it takes hundreds of request to appear, for the more involved things which

[PHP] PHP 4.4.1 on Apache 2.0.x issue

2005-11-04 Thread Max Belushkin
Hi list, after upgrading to PHP 4.4.1, I'm having the following problem: Apache is running in prefork mode. index.php includes func.php, which defines some functions and connects to MySQL. For a while (1-2 requests) everything runs ok, except mysql sockets keep stacking up. And then -

Re: [PHP] Re: proc_open, fwrite, 16384 bytes magic

2005-11-02 Thread max
In this case are you sure that the file is being sent via proc_open()? can you provide a simplified script that does this? Sure, here's a test script, the output from it, and a few words on the email I receive: ?php $descriptorspec = array( 0 = array(pipe, r), 1 = array(pipe, w),

Re: [PHP] proc_open, fwrite, 16384 bytes magic

2005-11-02 Thread max
can you proc_open() anything else and get it to accept more than 16KB ? also 4.4.1 is out. No, I've just tried the same with /bin/cat, I get the same result, i.e.: ?php $descriptorspec = array( 0 = array(pipe, r), 1 = array(pipe, w), 2 = array(file, /tmp/error-output.txt, a) );

Re: [PHP] proc_open, fwrite, 16384 bytes magic

2005-11-02 Thread max
Sorry, as a follow-up, I just realized that from 'cat' I AM finally getting an error in the log file, which will perhaps help trace the issue: cat: stdout: Broken pipe The output is: 10240 6144 which makes up exactly the magic 16384 bytes. So it's certainly not a qmail issue. --

[PHP] proc_open, fwrite, 16384 bytes magic

2005-11-01 Thread Max Belushkin
Hi everyone, I've ran into a rather strange problem with Apache 2.0.x, PHP 4.4.0, FreeBSD. When I proc_open qmail-inject, the first 16384 bytes from a buffer are accepted perfectly, which makes it an exact 16 KB. If a buffer is larger, the rest is discarded. No errors appear anywhere - and

[PHP] newbie question regarding forms and drop down list

2005-02-03 Thread Max Krone
to add code for a drop donw inside the form method element, the code doesn't work, and I get a parse error. The code will work outside the element. I assume I am just missing something dumb. Could someone please enlighten me. I can post my code if it will help. Thanks, Max Krone -- PHP General

[PHP] newbie question

2004-11-15 Thread Max Krone
, Max ?php if ($_POST[FirstName] == ) { $display_block = h1Add an Entry/h1 form method=\post\ action=\$_SERVER[PHP_SELF]\ PstrongFirst/Last Names:/strongbr input type=\text\ name=\FirstName\ size=30 maxlength=75 input type=\text\ name=\LastName\ size=30

[PHP] Re: merge array

2004-03-03 Thread Max
;$icount($x);$i++) { $newArr[$x[$i]-1] = $y[$i]; } print_r($newArr); ? Max [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all, I have two arrays as follows: $x = array(3,4,6,8); $y = array(10,20,40,10); I need these arrays could be merged with '0

[PHP] merge array

2004-03-02 Thread Max
Hello all, I have two arrays as follows: $x = array(3,4,6,8); $y = array(10,20,40,10); I need these arrays could be merged with '0' in between. Result expected : $x = array(1,2,3,4,5,6,7,8); $y = array(0,0,10,20,0,40,0,10); Can anybody help me ? Thanks in advance. Max

[PHP] change array

2004-02-17 Thread Max
Hello all, $x = array(03,04,08,10); $y = array(100,110,120,130); I need these arrays be converted to: $x = array(01,02,03,04,05,06,07,08,09,10,11,12,13); $y = array(0,0,100,110,0,0,0,120,0,130,0,0,0); Can somebody give an answer ? Thanks. Max

[PHP] Files upload

2003-02-09 Thread Max 'AMiGo' Gashkov
Is there any difference between using move_uploaded_file(... or if(is_uploaded_file... ... copy( (security hazards etc.)? WBR, Max 'AMiGo' Gashkov [EMAIL PROTECTED] ]=[ http://diary.otaku.ru/amigo Distributed.net participant [408228][RC5-72] -- PHP General Mailing List (http

[PHP] Re: Files PHP in tmp ?

2003-01-26 Thread Max Tappenden
Are they things like php45a45s879a787g54a21s3a12g3a21s31a3a? If so, yup i know the feeling 297,548,197 of them using up 128GB of storage on my HD! Don't worry They're just sessions Oh and don't worry Unless your site is a huge wooper with 500,000 - 1,000-,000 users loggin in a day, you won't get

[PHP] Making a file manager with PHP?

2003-01-26 Thread Max Tappenden
Hello there. Basically I'm trying to make a file manager with PHP. Here's what I need to do Ok I have artists and coders working for my site No FTP I want them to be able to upload/download files from me as and when they please without having to email me the files The files that will be

[PHP] Re: How do you update multiple rows at the same time?

2003-01-26 Thread Max Tappenden
You on MySQL? If so do this UPDATE tblName SET firstcol = '$var41stcol', $secondcol = '$var42ndcol' and so on Steve Jackson [EMAIL PROTECTED] wrote in message 01c2c3a0$27591b50$[EMAIL PROTECTED]">news:01c2c3a0$27591b50$[EMAIL PROTECTED]... I am having trouble with this. I need to update

Re: [PHP] total file size

2003-01-26 Thread Max Tappenden
It can be done with ASP and JSP. ROFLMFAO! No it shouldn't be reported to their bugs database! It's not a bug! It just isn't a feature of PHP! You could suggest it to them though... Victor [EMAIL PROTECTED] wrote in message

[PHP] Re: I'm new in PHP

2003-01-26 Thread Max Tappenden
www.php.net/manual Beogradjanin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Zdravo php-general, Hi I have setup PHP Apache MySql. I;m new in this stuff where can I learn hot to make web pages in PHP...??? +++Info About this E-mail+

[PHP] Posting data using fsockopen() causes session problem

2003-01-09 Thread Max Davy
be redirected to if they did not have a valid session id. I removed the session handling and ... success! This is not an acceptable solution because I need the session to be valid. Any help would be most appreciated. Thanks, Max -- Oz Impact Multimedia Innovate, Immerse, Inspire www.ozimpact.com

[PHP] case statement?

2002-12-19 Thread Max Clark
Hi- I was wondering if php had a case function? Instead of building a large if/elseif/else block I would like to do a case $page in (list). Thanks in advance, Max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pcre pattern match help

2002-12-17 Thread Max Clark
in advance, Max preg_match (/\:\[(\S+)\]\:(\S*)/,$transport,$matches); print_r ($matches); $tranport = :[127.0.0.l); print_r ($transport) - Array ( ) ** I want this to return 127.0.0.1 $transport = smtp:[64.70.36.4]:25; print_r ($transport) - Array ( [0] = :[64.70.36.4]:25 [1

[PHP] Verisign Credit Card Processing with PHP

2002-12-17 Thread Max Clark
Hi- I was wondering anyone out there is using the verisign payflo product with php and could share their experiances with me. Are there good alternate choices that I should be looking at? Thanks in advance, Max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] regex for fqdn test

2002-12-16 Thread Max Clark
Hi- I was wondering if someone could help me with a regex to test for a valid domain name (foo.com). Thanks in advance, Max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Socket_connect() timeout

2002-12-16 Thread Max Clark
Hi- Warning: socket_connect() unable to connect [60]: Operation timed out in /usr/home/maxc/public_html/admin/functions.inc on line 66 Is there any way to time out this function? I only want to wait 5 seconds. Thanks in advance, Max -- PHP General Mailing List (http://www.php.net

[PHP] Socket_connect() timeout

2002-12-15 Thread Max Clark
Warning: socket_connect() unable to connect [60]: Operation timed out in /usr/home/maxc/public_html/admin/functions.inc on line 66 Is there any way to time out this function? I only want to wait 5 seconds. Thanks in advance, Max Johannes Schlueter [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] newbie - decimal places in arthimetic functions

2002-12-13 Thread Max Clark
Hi- How can I control the decimal places returned by an arthimetic function? I would like this divsion function to only return two decimal places (rounded up). $calcsize = $value / $oneGig; Thanks in advance, Max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Testing smtp server

2002-12-13 Thread Max Clark
in advance, Max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions: Trigger a new one, Expire an old one

2002-10-16 Thread Max Buvry
Hi, I use php 4.2.3 with session.auto_start = 1 in php.ini What I use with URL session : $_SESSION= array(); unset($_GET[session_name()]); session_destroy(); Header(Location: next_script.php); with cookie session : $cook_param= session_get_cookie_params();

[PHP] Postgres-Transaction-user_ignore_abort-Connection stop by the client

2002-10-16 Thread Max Buvry
Hi, I use Postgresql 7.2.2 + php 4.2.3 and I meet a problem with transaction and connections interruption. The application is the famous example of the bank accounts and the money transfers. I consider a table named DEAL where each transaction is saved. Each tuple has an id number as key. When

[PHP] Session and URL

2002-10-09 Thread Max Buvry
I meet a probleme with the session. My example considers 2 scripts : - the first script (test_session_url.php) opens a session (session.auto_start=1 in php.ini), defines a counter, prints some information and an hypertext to execute the second script which has session id as parameter

[PHP] Erase the cookie sessions

2002-10-08 Thread Max Buvry
Hi, I wish test the session. I use php 4.2.3 et session.auto_start is 1. My first example is : html head titleSession example/title body ?php if ( !isset($_SESSION['count']) ) { $_SESSION['count']= 1; } else { $_SESSION['count']++; } if ( $_SESSION['count'] 5 ) { $cpt =

Re: [PHP] Erase the cookie sessions

2002-10-08 Thread Max Buvry
Marek Kilimajer wrote: You miss closing } Thanks, but that's a copy-paste error and that's not my problem really. mb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Erase the cookie sessions

2002-10-08 Thread Max Buvry
Max Buvry wrote: Marek Kilimajer wrote: You miss closing } Thanks, but that's a copy-paste error and that's not my problem really. mb Solved : my solution for information (before test with url !) ?php if ( !isset($_SESSION['count']) ) $_SESSION['count']= 1; else $_SESSION

[PHP] Cookie

2002-10-02 Thread Max Buvry
Hi, I use : apache 1.3.26, php 4.2.3, postgresql 7.2 (under solaris 7). I attempt to modify my old sources which run with the previous versions and I meet a problem with the cookie. I read that we can see the contents of a cookie with 2 methods : echo $testcookie echo $_COOKIE[testcookie]

Re: [PHP] Cookie

2002-10-02 Thread Max Buvry
. There is an option in your ini.php file that refers to 'global variables' You need to set this on, otherwise reference to them with the absolute variable name. Best Regards Bob Irwin Server Admin Web Programmer Planet Netcom - Original Message - From: Max Buvry [EMAIL PROTECTED] To: [EMAIL

RE: [PHP] Please, Help dynamicaly creating an Array

2002-09-18 Thread Max Sullivan
= 'THREE'=3, 'FOUR'=4; eval(\$data2 = array('ONE'=1,'TWO'=2,$str);); Max Sullivan wrote: I am trying to populate array values and keys from a variable with no luck. Lets say I have the following array. $data1 = array('ONE'=1,'TWO'=2,'THREE'=3,'FOUR'=4); And I want to create part of the array

[PHP] Please, Help dynamicaly creating an Array

2002-09-17 Thread Max Sullivan
I am trying to populate array values and keys from a variable with no luck. Lets say I have the following array. $data1 = array('ONE'=1,'TWO'=2,'THREE'=3,'FOUR'=4); And I want to create part of the array with the string below: $str= 'THREE'=3, 'FOUR'=4; $data2 = array('ONE'=1,'TWO'=2,$str);

[PHP] Enabling PHP in Apache when PHP is linked INTO the server?

2002-03-28 Thread Max Wilson
I have an Apache server built with mod_php4.c linked into the executable. e.g. bash-2.03$ httpd -l Compiled-in modules: http_core.c mod_env.c mod_php4.c mod_perl.c What changes do i need to make to http.conf before I can use php in web pages which will work please? -- Thanks

Re: [PHP] Enabling PHP in Apache when PHP is linked INTO the server?

2002-03-28 Thread Max Wilson
Is that all? Probably something like: AddType application/x-httpd-php .php4 .php3 .phtml .php .inc AddType application/x-httpd-php-source .phps On Thursday 28 March 2002 23:40, Max Wilson wrote: I have an Apache server built with mod_php4.c linked into the executable. e.g

[PHP] PHP and APACHE VirtualDomains

2002-03-26 Thread Max Wilson
We have PHP and APACHE (1.3.19) installed and an instance of apache is running with php support enabled. I need to set up another instance of httpd using a seperate config file. However I cannot get PHP support enabled. I cannot find where the PHP modules are. I called a phpinfo() on the

[PHP] $HTTP_COOKIE_VARS

2002-03-21 Thread Max Mouse
I've tried using $HTTP_COOKIE_VARS to get information about the cookie has been passed to the current script but I always get a cookie size of 1 containing no information. I have also tried using $_COOKIE but with no success. I'm running apache1.2.23 and php 4.1.2. Suggestions? Max -- PHP

[PHP] mixed type

2002-03-12 Thread max
While looking thru php funcions (mixed ora_getcolumn ( int cursor, mixed column) in partucular) I came across type MIXED. What does that mean? There is no such type mentioned in the php docs under TYPES section. thanks. max. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] PHP and mySQL

2002-03-04 Thread Max Mouse
['username']; } } The count value is set correctly but: when the while() loop is executed...no values are set (there are a lot more, but I shortened it for spaces sake). So, $username is null. If I remove the $count line, it worksany suggestions? Max -- PHP General Mailing List (http

[PHP] Date

2001-12-12 Thread Max
Hi to all, I'm using this to get date from mySQL database: ... $p_datum = $row[mydatefield]; $mydate = getdate($p_datum); $month = $mydate['month']; $mday = $mydate['mday']; $year = $mydate['year']; ..but I allways get 1/1/1970. Can anybody help me? -- PHP General Mailing List

[PHP] Die

2001-12-11 Thread Max
Hi, If I use die or exit() it break execution of php script but also browswer stop parsing html code. How to avoid this? Regards.Max. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] ASP aplication object

2001-12-07 Thread Max
Hi, Is exist something similar in PHP? Regards. Max. -- 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 administrators, e-mail: [EMAIL PROTECTED]

[PHP] Problem

2001-11-12 Thread Max Mouse
] filename *** Error code 1 Stop in /usr/home/maxmouse/php4/Zend. *** Error code 1 Stop in /usr/home/maxmouse/php4. Now, here's the specs on my machine FreeBSD 4.4-Release, libtool-1.4.1, bison-1.30, autoconf-2.13, automake-1.4-p5. Any ideas? Max -- PHP General Mailing List (http

[PHP] PHP and Image Magick for FreeBSD

2001-10-23 Thread Max
Hello, Looking for statically linked pre compiled ImageMagic binaries (convert, mogrify, ect.) to run from the cgi, with PHP exec on FreeBSD. thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Re: Array Elements While Loops

2001-10-02 Thread TURPIN Jean Max
++; } -- TURPIN Jean Max STUDENT College of Reunion's Island -- 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 administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Warning: Sybase message: Incorrect syntax near 't'.

2001-10-01 Thread TURPIN Jean Max
','$solution')); $sybase_result=sybase_query($sybase_query); -- TURPIN Jean Max STUDENT College of Reunion's Island -- 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 administrators, e

[PHP] PHP4 in .html. HELP!

2001-09-10 Thread Max Kluev
and apache reply with content-type: text/html for .html PHP4 documents. Apache Version Apache/1.3.20 PHP/4.0.6 Could you help me, please. -- Max Kluev -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Attaching stuff

2001-09-03 Thread Max Mouse
I want to be able to include a graphic or something of that sort in a form mail (using mail() from form). Is this possible? Max -- 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

[PHP] Setcookie

2001-08-31 Thread Galvin, Max
Is there any way to see whether or not the cookie setting has actually worked without going to another page? I suspect there isn't but I'd like confirmation ;) Cheers Max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Cookie Help

2001-08-13 Thread Max Mouse
, d-M-y H:i:s, ($time)); setcookie(cookiemonster, $cookiedata, $expire, /, domain.com., 1); It needs to be secure, hence the 1. Also, I need the domain to be domain.com and it cannot be www.domain.com. Can anyone help me at all? Thanks! Max -- PHP General Mailing List (http://www.php.net

Re: [PHP] webmail

2001-07-09 Thread Max Pyziur
listing check here: http://freshmeat.net/search/?q=webmail TIA Adrian Max Pyziur BRAMA - Gateway Ukraine [EMAIL PROTECTED] http://www.brama.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] php as cron

2001-06-21 Thread Galvin, Max
Either recompile PHP as a cgi OR use lynx to do it so: lynx -dump http://www.mysite.com/myscript.php You can then collect the output in the usual ways. M -- From: AJDIN BRANDIC[SMTP:[EMAIL PROTECTED]] Sent: 21 June 2001 09:07 To: [EMAIL PROTECTED] Subject:

[PHP] multiselects and arrays

2001-05-10 Thread Max Vysotskiy
Hi. Why doesn't PHP convert mutiselect values with plain names (not array-like) to arrays. Is there any reason to not doing this? Example: I have a page with multiselect, which name is SEL1 (I cannot use square brackets because I need to use a JavaScript on the page, so, it's not allowed in

Re: [PHP] Forms and PHP_SELF

2001-05-10 Thread Max Vysotskiy
Chad Guilette [EMAIL PROTECTED] wrote in message 000701c0d962$d28fb670$0100a8c0@optimus">news:000701c0d962$d28fb670$0100a8c0@optimus... I'm currently working on a project and I've come across a problem which I'm sure has been discussed several times before but I still need some assistance on

Re: [PHP] ASP 2 PHP

2001-05-09 Thread Max Pyziur
. Also it is using a MSSQL database if that helps at all. Thanks Brandon Max Pyziur BRAMA - Gateway Ukraine [EMAIL PROTECTED] http://www.brama.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

RE: [PHP] .doc to .txt

2001-03-26 Thread Max Pyziur
helpful - 'catdoc'. It's homepage is: http://www.ice.ru/~vitus/catdoc/ hope that helps regards Ankur verma HCL Technologies Noida India Max Pyziur BRAMA - Gateway Ukraine [EMAIL PROTECTED] http://www.brama.com

  1   2   >