[PHP] mailto function with this subject line filled.

2001-08-28 Thread Mark Lo
Hi, I would like to know how to use the mailto function calling the mail client and most importantly having the subject filled with something. Etc. Subject: abc inquiry Thank you Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Best Way?

2001-08-28 Thread Mark Maggelet
On Tue, 28 Aug 2001 11:35:33 -0400, Michael Kimsal ([EMAIL PROTECTED]) wrote: >So require them to have cookies turned on. If it's YOUR system, you >can require whatever you want. If this is something for your >company, >presumably >it's a business tool of some sort, and you can then require them

[PHP] mailto function to attach a photo

2001-08-28 Thread Mark Lo
Hi, I would like to know how to use the mailto function to attach a specific file. Thank you Mark -- 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

Re: [PHP] Re: how to sort search results by relevance?

2001-08-29 Thread Mark Maggelet
On Wed, 29 Aug 2001 13:58:34 +0200, BRACK ([EMAIL PROTECTED]) wrote: >> In article <3B8A1D6A.4295.2947D@localhost>, [EMAIL PROTECTED] >> (Yura) wrote: >> >> > How to sort search results of php-mysql site by relevance? >> >> See the mysql manual's chapter on FULLTEXT indexes. > >I indexed column 't

Re: [PHP] Re: The future of PHP -- accessory libraries

2001-08-29 Thread Mark Charette
Considering that they haven't figured out how to use the spell checker, does it surprise you that they haven't figured out how to do an dynamic load (apxs) of PHP? Or save their last good configuration (config.status). mark C. -- The phrase "computer literate user" really

[PHP] Log file analysis

2001-08-30 Thread Mark Lo
Linux 6.2 + Apache. Any ideas ??? Thank you Mark -- 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]

Re: [PHP] RE: [PHP-WIN] Can PHP and Java work together?

2001-08-31 Thread mark Charette
session based validation). You just can't win ... Mark C. -- 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]

Re: [PHP] FULLTEXT search sorting results

2001-09-01 Thread Mark Maggelet
On Sat, 1 Sep 2001 14:01:57 +0200, BRACK ([EMAIL PROTECTED]) wrote: >I have query - > >$res = mysql_query("SELECT >skits.*,category.cat_id,category.cat_name FROM skits,category WHERE >MATCH (title,descr,skits) AGAINST ('%$search_idea%') and skits.lang >like 'English' and skits.category like catego

Re: [PHP] php's future

2001-09-02 Thread Mark Charette
And, of course, the JSP was running 2 x 2 iterations, or 400,000,000 iterations, in a few seconds. Yeah, right. > Intersting. I tried the following code (which gives much more detailed > time info, check it out - stolen from Andrey Hristov on php-db), and my > times, on our P2-266 webser

RE: [PHP] MDB

2001-09-03 Thread Mark Roedel
rver server, is not on-line > now. Does anybody knoes if this will be fixed soon? Is > there another source for the ODBCSocketServer server? http://odbc.sourceforge.net/ --- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer| at himself, for he shall neve

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread Mark Charette
From: "David Otton" <[EMAIL PROTECTED]> > My other point still stands though (I think) - that marking a variable > as "global" to "pull it in to scope" is a clunky, ass-backwards way of > doing things. Which is why, of course, that parameters were invented "way back when". -- PHP General Maili

Re: [PHP] FULLTEXT search sorting results

2001-09-03 Thread Mark Maggelet
On Mon, 3 Sep 2001 19:33:38 +0200, BRACK ([EMAIL PROTECTED]) wrote: >$result = mysql_query("SELECT skits.*,category.*,match >(skits.title,skits.descr,skits.skits) against ('$relev') as from oops, should be 'against ('$relev') as relevance from' >skits,category where (skits.title like '%$title_

Re: [PHP] Re: Pulling a random image

2001-09-03 Thread Mark Charette
>what does that entail? > >>"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message >>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> Why not just configure your server to use an auto_prepend_file ? Reading the documentation that's easily available. -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-04 Thread Mark Maggelet
>I use list context a lot in PHP and Perl, and I prefer Perl's way of >doing it *because* it allows you to be as verbose or terse as you >like. >PHP, unfortunately, doesn't give you that freedom. Hmm... the freedom to write unreadable, unmaintainable code, yes this is a very important feature.

RE: [PHP] what will be the output for this pgm?

2001-09-05 Thread Mark Roedel
;>>>>>>>>>>>>>>>>>>>>>>> > > For me it is printing the blank value. That's what I'd expect, if you're running that script directly. The referrer variable generally only gets a value if you reached the sc

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-05 Thread Mark Maggelet
On Wed, 5 Sep 2001 14:36:59 -0400, Ryan Fischer ([EMAIL PROTECTED]) wrote: >> > You wrote: >> > > ($var1, $var2) is magic. I hate magic. >> > >> > It's not magic. It's just simpler. >> > >> > > What do you look up in the Perl >> > > manual when you hit syntax like that? >> > >> > http://www.perl

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-05 Thread Mark Maggelet
On Wed, 5 Sep 2001 17:13:59 -0400, Ryan Fischer ([EMAIL PROTECTED]) wrote: >You wrote: >> >Sure it is. Lists or list context. () is not that hard to >> determine >> >what it means. At least, not nearly as hard as you make it out to >> >be for any moderately-experienced programmer. >> >> So it's

Re: [PHP] Sending Broadcast Email - will a large loop cause a crash?

2001-09-06 Thread Mark Charette
t; >it will put on the system trying to loop through and mail() 3,000+ times. Or load and install qmail. Set the number of outgoing queues to a reasoable number (maybe 50 or so) and let loose. You'll never have more than "queue" connections simultaneously. Keeps the load reasonabl

RE: [PHP] Unique Array

2001-09-10 Thread Mark Roedel
*100); shuffle($a); (That is, get all your values loaded first, then just randomly rearrange the order.) --- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer | at himself, for he shall never cease LeTourneau University | to be

[PHP] looking for web designer

2001-09-12 Thread Mark Lo
Dear Sir, I am looking for PHP Programmer and Web Designer to work on a proget basis. If interesting, please send your reply back to [EMAIL PROTECTED] Best Regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] Is it a mysql AND/OR php BUG???

2001-09-12 Thread Mark Roedel
ialchars($sql).""; > > > $data = mysql_query($sql) or die ("Erro crypt > > 2."); > > > $row = mysql_fetch_row($data); > > > return $row[0]; > > > } Should you maybe be using $decode_str instead of $encode_str in the first line of this

Re: [PHP] for loop changes?

2001-09-14 Thread Mark Charette
efer to the manual for the many and varied ways printf can be used. Mark C. -- 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]

Re: [PHP] Handling sessions between servers?

2001-09-17 Thread mark Charette
NFS as a rule is a bad idea - there's a stateless protocol involved (you don't know if the server is up or down unless you actually try to write), the lockd for NFS incurs yet another set of communications, and it's not very robust for this kind of thing (no replication for failovers). A database

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Mark Charette
only there to keep the programmers from shooting themselves in the foot. When distributing compiled or encoded libraries then private functions become a good feature, since internal functions/methods that are subject to upgrades are not exposed to the end programmer. Mark C. -- PHP General Mai

RE: [PHP] error message

2001-09-22 Thread Mark Roedel
on when it goes to line 110 as shown just > below, it says that it is undefined: > > if(!submit) { Try changing this to if (!$submit) { --- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer | at himself, for he sh

RE: [PHP] what does this mean?

2001-09-24 Thread Mark Roedel
> > i have in my code this: > $errorMsg["error"] = ""; It means, in this case, that it doesn't think that $errorMsg is an array. And that, in turn, makes me think that you've probably already done something with the $errorMsg variable...perhaps assigned it a str

RE: [PHP] PHP parser BUG - comments

2001-09-24 Thread Mark Roedel
e, that'd mean that the comment doesn't include the " ); And since the ?> on that line ends the current code block... > /*print( "" );*/ > ?> ...then these two lines would not be processed by PHP at all, but would be passed to the browser as text. So it appear

RE: [PHP] PHP isn't reading the php.ini

2001-09-24 Thread Mark Roedel
> possible for it to run with out it? Yep...PHP is built with a set of default values that get used if it doesn't see a php.ini in the directory that it was expecting, or if a particular option isn't specified in the file that's there. --- Mark Roedel | "Ble

[PHP] html encode

2001-09-25 Thread Mark B
Is there a function available that will convert any none standard chars ($,@,",%,etc) into their " equivalents? Thanks all Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

[PHP] Counter

2001-09-25 Thread Mark Lo
Hi, I would like to know how to write a web page counter in PHP or Javascript. Thank You Mark Lo -- 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

Re: [PHP] buffers ...

2001-09-27 Thread Mark Charette
transmitting the results to the browser. Even the browser may buffer its input before displaying it. Netscape, for example, buffers text until it receives an end-of-line or the beginning of a tag, and it won't render tables until the tag of the outermost table is seen. --- M

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

2001-10-01 Thread Mark Roedel
e: Incorrect syntax near 't'. (severity 15) in > /var/www/html/process.php on line 14 > > Problem Title : Doesn\'t work If I'm remembering right, Sybase would prefer to see this as Problem Title : Doesn''t work (That is, a single-quote within a strin

[PHP] Problem with $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']

2004-07-28 Thread Mark Collin
Does anybody have any ideas on how I can prevent caching of $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'], or clear them? I currently have a restricted area on the site I'm currently designing and all works well until I log out. When I log out I successfully destroy the session and the

Re: [PHP] Problem with $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']

2004-07-29 Thread Mark Collin
redirect to error page exit; } else { //Redirect to default restricted area page for logged in users } "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]: > > From: "Mark Collin" <[EMAIL PROTECTED]> > > >

[PHP] Re: upload_tmp_dir Not Working

2004-07-30 Thread Mark Collin
Have you phsyically checked what is in /home/site/temp/ directory ? I suspect the file is being placed there but php is just referring to it as /temp/ "Monty" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]: > In my .htaccess file I have... > > php_value upload_tmp_dir /home/sit

[PHP] using headers to download a file takes too long

2004-08-05 Thread Mark Cooke
of having the file in the webroot and creating a simple href to the actual file (using this method, would show the location of the files, this is what I'm trying to avoid). Can anyone advise me on what I may be doing wrong, code examples can be supplied if required. Cheers in advance

[PHP] File Upload Problems

2004-08-05 Thread Mark Collin
hing that relates to this particular problem If anybody has any ideas I would be most grateful, I have included my upload code below (hopefully the formatting wont be lost on upload but I bet it is) Mark error_reporting(E_ALL); set_time_limit(0); $successful_creation=FALSE; //Check if user is

Re: [PHP] File Upload Problems

2004-08-11 Thread Mark Collin
get a white screen with no errors displayed or a 404 page and really cannot work out what is going on. Does anybody have any other ideas as to where I may have gone wrong ? "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]: > Mark Collin wrote:

[PHP] using 'while' without stopping the script from processing, Please help!

2004-09-04 Thread Mark Clarkstone
Hi, I'm making an MSN bot in PHP & the only way to receive data is to loop over each socket, the only problem is that while its looping its stopping the rest of the script from being run at the same time. Is there anyway I can Process each socket without stopping the script, I'm currently using $

[PHP] PHP Failing to open remote files using include/require

2004-09-23 Thread Mark Cooke
with DNS: --- a test file --- (This is ok) This is driving me mad, as scripts do not just stop working like this, it would seem to me, that some MS patch or something else has changed on the serverthat is causing the problem. Any help wwould be most appreiated. Using the same code, it works on 3 devel

Re: [PHP] Re: PHP Failing to open remote files using include/require

2004-09-23 Thread Mark Cooke
Mikey wrote: Have you looked at your "allow_url_fopen" setting in php.ini? It should be on... That was the first thing I checked and both values are on. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ezmlm-sub or alternative

2004-10-11 Thread Mark Hubert
f the user is root or vpopmail. Is there a safe way to run the shell command via a php script? Or can someone suggest another way to submit an address to ezmlm. Thanks! Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ezmlm-sub or alternative

2004-10-13 Thread Mark Hubert
I set in my script, but that of the apache user. I wonder if that is where the EZMLM-sub gets the address for submission and is sending the confirmation to the dead mailbox. Any insight? Thanks, Mark On Oct 11, 2004, at 8:55 PM, James McGlinn wrote: Hi Mark, I'm writing a little sc

[PHP] replacing characters in a string

2004-10-14 Thread Mark Hubert
This should be simple but having never have done it before and at deadline...help please. Need to change: [EMAIL PROTECTED] to; user=domain Thank you! Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tempnam not working??

2004-10-17 Thread Mark Charette
- Original Message - From: "Brent Clements" <[EMAIL PROTECTED]> When I run the following $fname = tempnam('mytmp/', 'PREFIX_'); and then echo $fname, it returns /tmp/FILENAME rather than mytmp/FILENAME -- From the manual: Creates a file with a unique filename in the specified dire

[PHP] @session_start generates a new session_id

2004-10-19 Thread Mark-Walter
rks fine in the former version: But this doesn't work anymore ... The new LAMP system generates everytime after calling @session_start(); a new session. Either on the same page or a following one. How can I prevent this behavior by using the PHP session management function ? -- B

Re: [PHP] @session_start generates a new session_id

2004-10-19 Thread Mark-Walter
session and $_SESSION['XYZ'] is not available anymore. -- Best Regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PEAR Help

2008-12-07 Thread Mark Wiesemann
e > contents. You can install them by using local filename instead of the package name, e.g.: pear install OLE.tgz Regards, Mark -- http://www.markwiesemann.eu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IE8 and HTML5

2008-12-19 Thread Mark Weaver
hard drive. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_GET

2009-04-11 Thread Mark Kelly
Hi. On Sunday 12 April 2009, Ron Piggott wrote: > At the very start of my index.php I have the following lines of code: > > foreach($_GET as $key => $val) { > $$key = $_GET[$val]; > echo $_GET[$val] . ""; > } Try: echo $_GET[$key] . ""; HTH

Re: [PHP] what to use instead of foreach

2009-04-13 Thread Mark Kelly
associative you can drop the $lastIndex calc and adjust the loop to update a counter instead. HTH Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] what to use instead of foreach

2009-04-14 Thread Mark Kelly
Hi Phil. On Monday 13 April 2009, PJ wrote: > Thanks for the suggestion, Mark. I've already experimented with count; > you're close, but there is still a small glitch and that's in count(); > foreach doesn't give a damn about count so you can't use that - it

Re: [PHP] Fractions

2009-05-24 Thread Mark Kelly
spect you'd have to write your own function, but maybe someone else knows better. HTH Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: preg_replace problem

2009-06-14 Thread Mark Kelly
27;'; ?> outputs (ignoring as that was just to remove the for easy reading): Before: " After: " Before: "test" After: "test" Before: "test&test" After: "test&test" Before: "test&test" After: "test&t

Re: [PHP] putting variables in a variable

2009-07-21 Thread Mark Kelly
Ross, If I understand correctly what you want to do, you're almost there... You need: $myimage1 = "image1.jpg"; $myimage2 = "image2.jpg"; $myimage3 = "image3.jpg"; $body .=" "; Cheers, Mark -- PHP General Mail

Re: [PHP] php/ajax question

2006-12-30 Thread Mark Kelly
On Saturday 30 December 2006 18:56, tedd wrote: > Why can't the php script redirect the browser when called via ajax ? The browser will not be expecting a page back, and will ignore headers. Just some quick suggestion code, this isn't tested (except createRequest - I use that all the time)... f

Re: [PHP] php/ajax question

2006-12-30 Thread Mark Kelly
On Saturday 30 December 2006 18:56, tedd wrote: > Why can't the php script redirect the browser when called via ajax ? The browser will not be expecting a page back, and will ignore headers. The response must be handled by a function you define. For the sake of a quick demo, if your php accepts

Re: [PHP] PHP equivalent to Perl $0

2007-01-31 Thread Mark Charette
Richard Luckhurst wrote: Hi Richard, RL> And, frankly, why would you want to do that? It only sows confusion RL> in ps output. :-) Unless you're talking about apps spawned by inetd and its cousins. ps shows the name as specified in arguments in the inetd.conf file, not the name of the exec

[PHP] Re: Unsuscribe

2009-10-27 Thread Mark Cilissen
Manuel Morini schreef: I want a list in spanish about PHP Thank you Manuel.morini Try php.general.es. -- Mark Cilissen / Pixlism http://www.ninyou.nl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: simple xml object

2009-10-27 Thread Mark Cilissen
04871678' Attr: lastinspected = '8/28/2009 0:00' How do I read the [0] value? $Result[0] gives me nothing. Although I'm not that familiar with SimpleXML, since the value returned is an object, wouldn't $Result->0 do the trick? -- Kind regards, Mark Cilissen / Pixlism http://www.ninyou.nl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Unsuscribe

2009-10-27 Thread Mark Cilissen
Manuel Morini schreef: I want a list in spanish about PHP Thank you Manuel.morini Try php.general.es. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: What would stop header("Location...) from working?

2009-10-28 Thread Mark Cilissen
ecause it returns an error if anything is output. -- Kind regards, Mark Cilissen / Pixlism -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Assignment in Conditional - How are they evaluated?

2009-10-29 Thread Mark Skilbeck
How is the following evaluated: [code] if ($data = somefunc()) ... [/code] Ignoring the 'assignment inside condition' arguments, is the return value of somefunc() assigned to $data, and then $data's value is evaluated (to true or false), or is the actual assignment tested (does the assignment

Re: [PHP] Re: shell_exec fails to compile java class?

2009-11-12 Thread Mark Cilissen
he account php runs under may come in to play? nathan Hello, You should execute: C:\\Java\bin\javac.exe Tester.java 1>test.txt 2>&1 This will redirect normal messages as well as errors to your text file. -- Kind regards, Mark Cilissen / Pixlism -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recognizing double clicks

2009-11-22 Thread Mark Kelly
Hi. On Sunday 22 Nov 2009 at 05:34 Skip Evans wrote: > It just dawned on me the button may be disabled right when > it's clicked to prevent a double submit? > > Is that doable? To mark a button as disabled after it has been clicked to prevent it being clicked twice just add so

[PHP] Intermittent etwork connection errors with apache. Restarting apache temporarily fixes the problem. PHP or apache problem?

2010-01-04 Thread Mark London
to debug the problem, i.e. to see if connections are left opened in some way? I'm running redhat 5, httpd-2.2.3-31.el5_4.2 php-5.1.6-23.2.el5_3 Thanks. - Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Checking correct usage of fopen(), stream_set_timeout() and fread() [newbie]

2010-02-11 Thread Mark White
vertheless." My understanding is the fread() will wait until is has 1024 bytes (in this example) and then return that, unless EOF is encountered when the data up to and including EOF is returned. I'm not sure what he's trying to say. Many thanks for any advice on this. Mark...

[PHP] Re: Login Script: mysql_num_rows(): supplied argument is not a valid MySQL result resource

2010-02-19 Thread Mark Cilissen
The query should be: SELECT * FROM `userinfo` WHERE `user` = '$user' AND `pass` = '$pass' Remember: ` for tables and columns, ' for strings. Also, look up SQL Injection, as your script contains a huge vulnerability. This can be fixed using mysql_real_es

Re: [PHP] Re: Login Script: mysql_num_rows(): supplied argument isnot a valid MySQL result resource

2010-02-19 Thread Mark Cilissen
Ashley Sheridan schreef: On Fri, 2010-02-19 at 18:30 +0100, Mark Cilissen wrote: David Hutto schreef: --- On Fri, 2/19/10, David Hutto wrote: From: David Hutto Subject: Login Script: mysql_num_rows(): supplied argument is not a valid MySQL result resource To: php-general@lists.php.net

[PHP] Re: HipHop and other PHP compiler performance evaluation

2010-02-24 Thread Mark Cilissen
Manuel Lemos schreef: FYI http://digg.com/programming/PHP_compiler_performance A nice article, thank you for the information! -- Kind regards, Mark Cilissen / Pixlism -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need login suggestions

2010-05-02 Thread Mark Kelly
y log in stick $userType (from the database I guess) in the session and check it in every secured page to control who sees what. I've done several variations on this particular theme; it's simple to manage, especially if you have a page initialisation function/method you can put th

Re: [PHP] NetBeans Question

2010-05-30 Thread Mark Kelly
just want answers -- so I turned to this list. Just in case you didn't spot it, there is a mailing list specifically for PHP development using netbeans that I have found very useful. You can sign up here: http://netbeans.org/community/lists/top.html#technologies Cheers, Mark -- PHP Gene

Re: [PHP] NetBeans Question

2010-05-30 Thread Mark Kelly
Hi Brandon. You sent your reply directly to me, instead of to the mailing list. Also I don't agree - netbeans is an excellent IDE and to call it a text editor is not doing it justice at all. Cheers, Mark On Monday 31 May 2010 at 02:03 you wrote: > Dreamweaver is better if you wan

Re: [PHP] NetBeans Question

2010-05-30 Thread Mark Kelly
I have any answers for you. Cheers, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Including files on NFS mount slow with APC enabled

2010-08-16 Thread Mark Hunting
<0.000133> mmap(NULL, 11365, PROT_READ, MAP_SHARED, 1440, 0) = 0x7faf3f068000 <0.000395> stat("/[removed]/library/Zend/Application.php", {st_mode=S_IFREG|0755, st_size=11365, ...}) = 0 <0.000219> munmap(0x7faf3f068000, 11365) = 0 <0.000151> close(1440)

Re: [PHP] Including files on NFS mount slow with APC enabled

2010-08-16 Thread Mark Hunting
he every time you modify a PHP file, since > APC won't detect that it was modified. > > Regards, > > Jonathan > > On Mon, Aug 16, 2010 at 10:21 AM, Mark Hunting wrote: > >> I am struggling with the performance of some websites that use a lot of >> inclu

Re: [PHP] Including files on NFS mount slow with APC enabled

2010-08-17 Thread Mark Hunting
I now notice that when I replace include_once with include the open() call disappears. That's very nice, but why does include_once need to open the file, even when apc.include_once_override is enabled? Is this a bug? On 08/16/2010 03:21 PM, Mark Hunting wrote: > I am struggling

[PHP] Re: Including files on NFS mount slow with APC enabled

2010-08-18 Thread Mark Hunting
Bug reported, see http://pecl.php.net/bugs/bug.php?id=18154 On 08/17/2010 01:13 PM, Colin Guthrie wrote: > I don't know the internals of APC but that smells like a bug to me. > > Can you post the bug number here if you report one? > > Cheers > > Col > > -- PHP General Mailing List (http://www

Re: [PHP] Differences between PHP on LAMP and PHP on Windows Servers

2012-05-23 Thread Mark Rousell
On 22/05/2012 19:15, Gates, Jeff wrote: > Can anyone tell me what differences I might encounter by working with PHP on > a Unix server verses working with PHP on a Windows server. We use Windows > production servers here but many of us would like to get more LAMP > environments. > > So, I'm won

Re: [PHP] Differences between PHP on LAMP and PHP on Windows Servers

2012-05-23 Thread Mark Rousell
On 22/05/2012 19:32, Ashley Sheridan wrote: > After that, you have file permissions. In Unix, you have file, owner and > group permissions; Windows has read/write permissions and I believe on > newer versions you can get something similar to what Unix/Linux has had > for the last however many years

Re: [PHP] If PHP Were British

2012-06-22 Thread Mark Rousell
On 22/06/2012 22:07, Daevid Vincent wrote: > http://www.addedbytes.com/blog/if-php-were-british/ LOL! -- Mark Rousell PGP public key: http://www.signal100.com/markr/pgp Key ID: C9C5C162 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] Custom function

2011-02-15 Thread Mark Kelly
: function MyFunction ($x, $y, $z = FALSE) { if ($z) { // do stuff with $z } } In this way almost any value in $z will trigger the conditional code, including 0 or an empty string. The exceptions are FALSE and NULL. If you explicitly need to react to a NULL value, use is_null() to d

Re: [PHP] Custom function

2011-02-16 Thread Mark Kelly
27;ll go back to keeping my mouth shut in future :) Cheers guys, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Regex for extracting quoted strings

2011-03-05 Thread Mark Kelly
I want $phrases to contain 'This is it' and 'Nope, that is the wrong colour'. Can anyone help? Cheers, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Regex for extracting quoted strings

2011-03-05 Thread Mark Kelly
is still leaves the quotes in the phrases, but at least I only get one copy of each phrase. I'm just trimming the quotes afterwards. Thanks for all the advice. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: dynamic copyright in page footer?

2011-04-30 Thread Mark Kelly
On Saturday 30 Apr 2011 at 14:28 Nathan Rixham wrote: > echo implode(",", range(2011,date("Y"))); What an elegant solution! Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Object Query Language optimization

2011-05-21 Thread Mark Kelly
e complex than this. Anyway, I can't help directly with the code, other than to suggest that you take a look at other projects that do the same thing and see how they do it. There's a starter list at: http://en.wikipedia.org/wiki/List_of_object-relational_mapping_software#PHP HTH,

Re: [PHP] Re: Secure data management

2011-10-04 Thread Mark Kelly
ing text? I'd be interested in any ideas folk have about these issues, or any others they can envisage with this proposal. Cheers, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Secure data management

2011-10-05 Thread Mark Kelly
Hi. On Wednesday 05 Oct 2011 at 00:04 Mark Kelly wrote: > I'd be interested in any ideas folk have about these issues, or any others > they can envisage with this proposal. Thank you all for joining in here - it's been a fascinating read so far. Mark -- PHP General Ma

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Mark Kelly
.net/manual/en/reserved.variables.server.php Cheers, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cache engine

2005-03-05 Thread Mark Charette
re I don't hire him/her in the future. Mark C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cache engine

2005-03-05 Thread Mark Charette
, is miles away from saying that shared memory is slower than the file system. Mark C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] WORK WITH PHP FILES REMOTELY WITH NotePad ? YES/NO ?

2005-03-19 Thread Mark Charette
Leonidas Savvides wrote: > ATTENTION: I DO NOT MEAN SAVE IT TO MY HDD FIRST AND AFTER UPLOAD IT !!! TELL ME THIS SAMELY FOR Dreamweaver MX ? Not in PHP. It's a client side trick (done with machine and/or OS specific code). Even Web-based Documentum (eRooms) uses a staging directory on the users H

[PHP] [PHP-INSTALL] Install Problems on Fedora 3

2005-04-09 Thread Mark Sargent
4 creating the index.php page. I'm swaying towards that I may have compiled the source wrongly, like leaving something out. Happy to post whatever is needed to help you help me here. Cheers. Mark Sargent. [EMAIL PROTECTED] php-5.0.3]# ./configure --with-mysql=/usr/local/mysql too much to p

Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3

2005-04-09 Thread Mark Sargent
John Nichel wrote: Mark Sargent wrote: Hi All, I did a source install, of which I'm a newb at, and then created a index.php file containing the following, but, that shows in the browser, Firefox, when typing You need to tell Apache how to handle php files. Hi All, sorry guys, quite new t

Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3

2005-04-09 Thread Mark Sargent
John Nichel wrote: Mark Sargent wrote: http://www.php.net/manual/en/install.unix.php it has 2 examples, 4-1 and 4-2. Little confused with what shared and static modules are and which 1 pertains to me. I was wanting to get php running to allow base to show results of snort logging in mysql. Snort

Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3

2005-04-10 Thread Mark Sargent
John Nichel wrote: Mark Sargent wrote: John Nichel wrote: Mark Sargent wrote: http://www.php.net/manual/en/install.unix.php it has 2 examples, 4-1 and 4-2. Little confused with what shared and static modules are and which 1 pertains to me. I was wanting to get php running to allow base to show

[PHP] Apache2 html/php dir-where..?

2005-04-12 Thread Mark Sargent
Hi All, I've gone and uninstalled the pre-installed httpd/php via yum on Fedora3 and re-installed Apache/PHP via source. Apache is now installed at /usr/local/apache2. I want to know, where is the dir for html/php files. B4 it was /var/www/html. What is it now..? Cheers. Mark Sargent. -

Re: [PHP] Apache2 html/php dir-where..?

2005-04-12 Thread Mark Sargent
Jason Wong wrote: On Tuesday 12 April 2005 16:09, Mark Sargent wrote: I've gone and uninstalled the pre-installed httpd/php via yum on Fedora3 and re-installed Apache/PHP via source. Apache is now installed at /usr/local/apache2. I want to know, where is the dir for html/php files. B4 i

[PHP] collect2: ld returned 1 exit status, make: *** [sapi/cli/php] Error 1

2005-04-12 Thread Mark Sargent
] Error 1 Let me know if you need me to post more info from the make. Cheers. php=5.0.3 apache=2.0.53 (apache installed fine) Mark Sargent. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    5   6   7   8   9   10   11   12   13   14   >