Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Max Zimmermann
2010/1/18 Robert Cummings > > > 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 i

Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Max Zimmermann
2010/1/18 Richard Quadling > 2010/1/18 Max Zimmermann : > > 2010/1/18 Ashley Sheridan > > > >> 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 Ashley Sheridan > On Mon, 2010-01-18 at 12:20 +0000, 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 ple

[PHP] Notices flooding logs with fastcgi

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

[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 = do_something("",""

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

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

2008-01-17 Thread Max Antonov
send 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

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

2008-01-17 Thread Max Antonov
// perform the reg exp replacement $out = preg_replace($pattern, $replacement, $in); echo $out,"\n\n"; [EMAIL PROTECTED]:~$ php preg.php this is a string : "Hi everyone my name is \"Mathieu\"!" Here is a second string : "PHP is just perfect" 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

[PHP] issues with imap_qprint()

2007-12-12 Thread Max Frigge
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/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] imap_search - criterion "ON"

2007-11-22 Thread Max Frigge
wrong? Greets, 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
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: In the second script, the value of this will be in $_POST["database"]. $wim isn't part of your form - it will /not/ get saved into the next PHP script. You can handle it through input type hid

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

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

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

[PHP] php-cgi limitations

2006-03-09 Thread Max Schwanekamp
n just that app 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/)

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

2006-03-09 Thread Max Schwanekamp
t got 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

Re: [PHP] help with nl2br

2006-03-03 Thread Max Schwanekamp
abstraction layer 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/) 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] 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] Reverse Engineering of Smarty

2006-02-05 Thread Max Schwanekamp
piled 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.ph

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

Re: [PHP] Get timestamp?

2006-01-25 Thread Max Schwanekamp
49); // 7 weeks = 49 days Test: echo 'Last Sunday\'s date was '.date("m/d/y",$lastsunday); echo '7 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] 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 c

Re: [PHP] SELECT?

2005-12-28 Thread Max Schwanekamp
recordset array $recordset = array(); 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

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

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

2005-11-27 Thread Max Schwanekamp
ion, not PHP. That said, what 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 */ Suppor

Re: [PHP] checkng if string is a number

2005-11-17 Thread Max Belushkin
the user typing 11l when they mean 111 B) you don't want to accept a value of 0 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, o

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 v

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

2005-11-17 Thread Max Belushkin
te, has anyone had an issue with PHP 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 proble

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 intv

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: I get no boo. intval doesn't convert my "ten" to a number. Moreover, the output of the following: produces an e

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

2005-11-13 Thread Max Schwanekamp
Google "sql injection php" or something like that and you'll get lots of resources. E.g.: http://dev.mysql.com/tech-resources/articles/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 PHP5

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!

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 whic

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.

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 re

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 gett

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

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

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.: array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("file", "/tmp/error-output.txt", "a") ); $text = ""; for ($

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: array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("file", "/tmp/err

[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
for a drop donw inside the 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 Mailing List

[PHP] newbie question

2004-11-15 Thread Max Krone
, Max Add an Entry First/Last Names: Address: City/State/Zip Telephone Number: Email Address: "; } else if ($_POST[FirstName] != "") { //time to add to t

[PHP] Re: merge array

2004-03-03 Thread Max
Arr = array(); > $newArr = array_fill(0, $n-1, 0); > for($i=0;$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

[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

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

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 01c2c34a$0ee9e140$237b7018@JUMPY">news:01c2c34a$0ee9e140$237b70

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

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

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

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

2003-01-09 Thread Max Davy
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] 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] pcre pattern match help

2002-12-17 Thread Max Clark
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 ($tr

[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/) To

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

[PHP] Testing smtp server

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

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

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(); $l

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

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 !) 5 ) { $cook_par

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

[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 : Session example "; echo "hello ! : $cpt times"; session_unset(); session_destroy(); } ?> I don't find the solution to use setcookie ; I try the two instructions above (the script is

Re: [PHP] Cookie

2002-10-02 Thread Max Buvry
lem. > > 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 > -

[PHP] Cookie

2002-10-01 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] Please, Help dynamicaly creating an Array

2002-09-18 Thread Max Sullivan
se, Help dynamicaly creating an Array Try eval(), like this: $str= "'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 var

[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'=

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_php

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

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

[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] 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
= mysql_fetch_array($sqlresult)) { $username = $row['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 works

[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 (http://

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

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

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

[PHP] installation prob.

2001-10-04 Thread max
27;t work ... :( (I've restarted my apache server) Can anyone help me, please? many thanks in advance 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] Re: Array Elements & While Loops

2001-10-01 Thread TURPIN Jean Max
[$j])) > { > $flag = 1; > $errorNo = $j + 1; > } >$j++; >} -- 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
ot;INSERT into problem VALUES('$product','$pro_title','$description','$solution')"); $sybase_result=sybase_query($sybase_query); -- TURPIN Jean Max STUDENT College of Reunion's Island -- PHP General Mailing List (http://www.php.n

[PHP] Counting

2001-09-17 Thread Max Mouse
best way to do this? 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] Email checking

2001-09-13 Thread Max Mouse
ect format and the domain actually exists. Can anyone lend a hand? 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] PHP4 in .html. HELP!

2001-09-10 Thread Max Kluev
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] To

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

RE: [PHP] Setcookie

2001-08-31 Thread Galvin, Max
Header redirect isn't vaiable in this situation. > -- > From: Jason Radley[SMTP:[EMAIL PROTECTED]] > Sent: 31 August 2001 17:00 > To: Galvin, Max > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Setcookie > > $alertthem = &quo

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

[PHP] IDE

2001-08-18 Thread Max Mouse
Can anyone suggest a decent IDE for php? Currently, I'm using phped and I'm not overly happy with it's performance... Max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP] Cookie Help

2001-08-13 Thread Max Mouse
$expire = date("l, 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

Re: [PHP] webmail

2001-07-09 Thread Max Pyziur
l. http://nikosoft.free.fr/nswm.htm For freshmeat's listing check here: http://freshmeat.net/search/?q=webmail > TIA > > Adrian Max Pyziur BRAMA - Gateway Ukraine [EMAIL PROTECTED] http://www.brama.com/ -- PHP Genera

  1   2   >