Re: [PHP] Redirects in PHP

2003-06-13 Thread Michael
I miss the response.redirect in Python and DTML which can be placed anywhere as well. Michael On Friday 13 June 2003 10:28 am, Johnny Martinez wrote: > try a delayed javascript redirect. location header must be in the header > whichprevents your visitor from seeing html...thats irritat

Re: [PHP] Redirects in PHP

2003-06-13 Thread Michael
trade-offs Michael On Friday 13 June 2003 11:00 am, Zak Johnson wrote: >     content="3;URL=http://example.com/new-page.html"; /> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redirects in PHP

2003-06-13 Thread Michael
r the impatient types, like myself, to get there quicker. michael On Friday 13 June 2003 11:30 am, Zak Johnson wrote: > On 2003-06-13 10:34-0600, Michael wrote: > > Search engines frown on using meta refresh because of > > abuse problems. Some engines won't index the page > >

[PHP] Redirecting to index.php from index.html

2003-06-17 Thread Michael
I'm a relative newbie to PHP coming from the Zope/Python/DTML world. Does anyone know of a good way, short of a javascript, to redirect from index.html to index.php. Also, can I use PHP to test for browsers, then redirect them to the appropriate page. In DTML/Python it would be : = 0> Th

Re: [PHP] Redirecting to index.php from index.html

2003-06-17 Thread Michael
lla/4")){ >header("Location: http://www.mydomain.com/moz4_page.php";) > } > > elseif(strstr = ($HTTP_USER_AGENT, "MSIE")){ >header("Location: http://www.mydomain.com/ie_page.php";) > } > > etc... > > ?> > > >

Re: [PHP] Redirecting to index.php from index.html

2003-06-17 Thread Michael
With that I get: Parse error: parse error, unexpected T_STRING in /path/to/file_named/main.php on line 4 Michael On Tuesday 17 June 2003 02:50 pm, Jay Blanchard wrote: > [snip] > If I use this on index.html, it does nothing. If I use it on index.php > I get: > > Parse err

Re: [PHP] Redirecting to index.php from index.html

2003-06-17 Thread Michael
Parse error: parse error, unexpected T_STRING in /path/to/file_named/main.php on line 4 Here is my actual code so you can look at it and see what I am doing something wrong. I know I must be, since I don't see how php could become so popular for site development when it appears to be so diffi

[PHP] calling user-defined php functions from tag

2002-07-26 Thread Michael
n joe()". == So, if the user clicks on the link, he'll see: "The result of this function is: 20" Any ideas? Any help would be VERY much appreciated. Thanks! -- Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] calling user-defined php functions from tag

2002-07-26 Thread Michael
t, but the JavaScript code won't let me execute a server-side php function (obviously). And I don't want to just shoot the link off to another page (even though that's what it was designed to do). I want to call a very specific function. Tricky, I know. :( -- Michael On Sat, 27 Jul

Re: [PHP] calling user-defined php functions from tag

2002-07-26 Thread Michael
> returned and this part of the script should either do something with that > value or just redirect the value to another script by GET mode: > > header("location: myresultpage.php?result=$result"); > > There, sorted that out right? > > have fun > insanecoder! > > &q

[PHP] Hiding the remote server

2002-08-15 Thread Michael
Is it possible to write a script that: 1) gathers information 2) upon clicking a "submit" button, "posts" this information to a remote server for processing. 3) the remote server, by default, will generate results and display on it's own web page generated dynamically. 4) can we "intercept" this

[PHP] Passing a PHP variable to javascript

2002-08-19 Thread Michael
Hello everyone, This may seem a newbie question... I have a PHP variable containing the text of the alert I want to display ($text) and I want to have it displayed in a javascript alert box (something like alert($text) ). I couldn't find out how to sort this out... Regards, Mi

[PHP] how to generate ms-word files

2002-11-14 Thread michael
hello I'm trying to generate ms-word files with php. Until now, I can create a document and even insert page-breaks. Is there any tutorials going further (boxes, mergedocuments etc...)? this is my code so far: Text before PagBreak Text after PagBreak Thank you for any help. mi

[PHP] MSSQL/PHP Query Help

2002-06-12 Thread Michael
the SQL server directly, so there must be something that I'm missing. Do I need to escape more than just the quotes? If there is anything I need to know about PHP and MS SQL before I go on, I'd love to hear it. ;-) Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Standard Input?

2002-06-24 Thread Michael
Are there functions in PHP that will allow me to read in a variable via standard input? I just wanted to do something like this: echo "What is your name? "; $name = ; print "Your name is $name."; I looked but didn't see anything that quite matched up on the PHP web

[PHP] Wait/Timeout

2002-07-09 Thread Michael
- (backspace) \ (backspace) | (backspace) / (backspace) etc. etc. Thanks in advance! Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Wait/Timeout

2002-07-09 Thread Michael
ODBC didn't seem to work nor did the variety of Perl modules that I tried. The only thing I got to work was PHP (Sybase) and FreeTDS. I really wanted to do this in Perl, but alas, I'm forced to do it in PHP. That's the story. ;-) Michael - Original Message - From: &

RE: [PHP] Include an encoder into PHP distribution?

2003-11-17 Thread Michael
Zend will never include a free encoder/accelerator into php by default. What I am waiting for is Turck MMCache to offer a download of a file like php-4.3.4.tar.gz with Turck included. So when I need to upgrade php, I would go download a new version of php from Turck instead of php.net. What I wa

RE: [PHP] Include an encoder into PHP distribution?

2003-11-17 Thread Michael
OTECTED] Sent: November 17, 2003 2:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Include an encoder into PHP distribution? Hello, On 11/17/2003 05:17 AM, Michael wrote: > Zend will never include a free encoder/accelerator into php by default. > > What I am waiting for is Turck MM

RE: [PHP] Include an encoder into PHP distribution?

2003-11-17 Thread Michael
David T-G says > I hate to sound like a curmudgeon, but if you want this then you should > build it, just like John anyone else who wants it should. No, I haven't > looked at either (I don't even know what an encoder does; I *think* that > it could be a precompiler or an obfuscator but don't reall

RE: [PHP] Include an encoder into PHP distribution?

2003-11-17 Thread Michael
-- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: November 17, 2003 10:29 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Include an encoder into PHP distribution? * Thus wrote Michael ([EMAIL PROTECTED]): > I've tried installing it but I need MS Visual Studio C++ so they have to > make it ev

RE: [PHP] Re: PHP Encoders

2003-11-20 Thread Michael
I like POB too but it's an obsfuscator. To fix your $email problem just do a search for $2d4g3a5sd and change them all to $email. An encoder would be Ioncube or Turck's mmcache but the server needs to be installed with their software to run the encoded scripts. POB doesn't need anything installe

[PHP] money data type cause problem in connection to Mssql7.0

2001-01-12 Thread michael
dy help me please? Thanks in advance. Michael Luk This message was sent using i-Office Webmail - Powered by i-Server. For more information visit http://www.i-serverbox.com -- PHP General Mailing List (http://www.php.net/)

[PHP] merging arrays quickly

2001-08-17 Thread Michael
say I have $array1 = array("name"=>NULL,"thread"=>NULL,"id"=>NULL); $array2 = array("0"=>"fred","1"=>"3","2"=>""); I want $array1 to have the values of array2 - or $array2 to hve the keys of $array1 A foreach loop works fine to do this - but I was wondering if there is a quicker way to merge

Re: [PHP] merging arrays quickly

2001-08-17 Thread Michael
Reuben D Budiardja wrote: > > Take a look at the function array_merge > http://www.php.net/array_merge > > Reuben D. B > I have - it's no use unfortuntely - The array with the values has numeric keys so they just get appended - would have been okay if they had string keys though. > On Frida

Re: [PHP] mysql , postgres

2001-08-19 Thread Michael
Chris Lambert wrote: > > MySQL is easier to use and faster to develop with for 90% of web > applications. Sure, PostgreSQL has some huge advantages, but not everyone > needs the same thing. easier to use ? I'm not sure why anyone would say that faster to develop ? nope - I find postgresql quicke

Re: [PHP] mysql , postgres

2001-08-19 Thread Michael
Tom Carter wrote: > > What would you say the advantages were? > Well just my opinion but I think that Postgresql development is advancing quicker. With Red Hat joining in development and no infighting bewteen Postgresql developers things are looking good for the future. > other than just the f

[PHP] coding standards

2001-08-19 Thread Michael
Ive read through the PEAR coding standards but was wondering about a few things not talked about in them - - Is declaring all variables a good idea - so theres no unassigned variables hanging around ? (no warnings produced when error reporting set to E_ALL) - Naming of include files - .inc or .ph

Re: [PHP] mysql , postgres

2001-08-19 Thread Michael
Indrek Siitan wrote: > > Hi, > > > Well just my opinion but I think that Postgresql development is > > advancing quicker. With Red Hat joining in development and no > > infighting bewteen Postgresql developers things are looking > > good for the future. > > just to clear one issue - there has

[PHP] Re: transaction

2001-08-19 Thread Michael
Nafiseh Saberi wrote: > > hi. > in large database with php,postgres > and when in each time come many request , > how do we implement transactions?? > nafiseh. If you are wanting to run several queries in the one script though the one transaction - you'll need to send a begin(as a query) and ex

[PHP] Re: Database Preference?

2001-08-29 Thread Michael
James wrote: > > We have several GUI applications that we are preparing to convert to > web-based applications, based primarily on PHP. The applications are based > on Informix On-Line (on a SCO Unix server) and MS SQL (on NT). Since we > will be doing a port, in any case, I am wondering your t

[PHP] Heredoc inside eval?

2009-02-14 Thread Michael
I have a html template with php variables. I then run it through eval(). All that works fine. Problem is that when I add simple html attributes or javascript calls I need to use single or double quotes. And this is where eval throws an error. So I then used htmlspecialchars to mask all the non-

Re: [PHP] php applications

2009-06-09 Thread Michael
Paul M Foster wrote: On Mon, Jun 08, 2009 at 09:30:18AM -0700, Kyle Terry wrote: I don't mean to be the thread spirit killer, but I think another language would be better for this. Such as Python. PHP desktop apps might be fun to hack around with, but I wouldn't use it for a production appli

Re: [PHP] php applications

2009-06-09 Thread Michael
Robert Cummings wrote: Michael wrote: Paul M Foster wrote: On Mon, Jun 08, 2009 at 09:30:18AM -0700, Kyle Terry wrote: I don't mean to be the thread spirit killer, but I think another language would be better for this. Such as Python. PHP desktop apps might be fun to hack around

Re: [PHP] php applications

2009-06-09 Thread Michael
ations that are bundled with a statically compiled PHP executable, but that shouldn't be too hard to overcome, with a little bit of time and creativity. On Tue, Jun 9, 2009 at 9:28 PM, Michael wrote: Robert Cummings wrote: Michael wrote: Paul M Foster wrote: On Mon, Jun 08, 2009 at

Re: [PHP] php applications

2009-06-09 Thread Michael
Daniel Brown wrote: > Hate to police threads here, but please don't top-post. Apologies, my client was not configured properly. Hopefully it is threading now, if not please notify me. Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] php applications

2009-06-09 Thread Michael
t is... i've yet to hear *anyone* in this position advocate PHP. Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php applications

2009-06-09 Thread Michael
Robert Cummings wrote: > Michael wrote: >> "Languages were designed to be programmed, what they are programmed to >> do is entirely up to the programmer." >> >> Perhaps there is no hope then. This is so distant from the actual case >> it does not requir

[PHP] Re: Form handling

2009-06-10 Thread Michael
Have a look at Zend Form -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Info Storage: Session File or MySQL DB?

2005-04-07 Thread michael
I am currently developing a few security functions for my website and have finally decided to use the session functions that I have been avoiding for years since I did not want to change from what I am used to developing. So now that I have refreshed my brain on how to use sessions I have to m

[PHP] Re: php user groups - searching for php developers for a project...

2005-04-07 Thread michael
Try this Forum: http://www.phpfreaks.com/forums/index.php?showforum=8 Hope this Helps! Bruce wrote: hi... we're trying to find php developers/partners for a project, and we're wondering if there are php user groups in the cali/bay area (san fran/san jose) area that we can talk with, attend meetings

[PHP] PHP5 RC3 Runnay Processes

2004-06-09 Thread Michael
set to time out at 30 seconds). I am wondering if anyone else has noticed similar behaviour. Also, I haven't a clue how to go about debugging such an issue, and would appreciate any pointers. Thanks, Michael BTW, I am running a Dual Xeon processor, 1 Gig ram, Red Hat 9, Apache 1.31 (I

[PHP] odd behavior of stripos() with === operator

2006-11-16 Thread Michael
t, then this behavior of the === operator is counter-intuitive, it was my understanding that the === and !== operators were supposed to be used with the output of stripos() for just this situation, but === does not appear to recognize that the returned "0" (because the string was found at index 0) ; whereas the !== does recognize this... is === buggy? or am I? heh thoughts? comments? Thanks all, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] odd behavior of stripos() with === operator

2006-11-16 Thread Michael
At 12:29 AM 11/17/2006 , you wrote: >> I have underlined the output I am interested in... > >You did??? Where? > Ok, my bad, I sent the mail as plain text instead of styled :P oops >> How can the variable $found be both TRUE and FALSE at the same time? > >None of your output above indicates that

Re: [PHP] odd behavior of stripos() with === operator *UPDATE*

2006-11-17 Thread Michael
At 12:24 AM 11/17/2006 , Michael wrote: >HEllo all, > >After pulling my hair out for several hours trying to figure out why my code >wasn't working I built this little test and ran it, the results are interesting >in the least, and to me, surprising. It is possible that I

Re: [PHP] odd behavior of stripos() with === operator

2006-11-17 Thread Michael
At 02:10 AM 11/17/2006 , Stut wrote: >Michael wrote: >> Ok, picking gnits... >> I should have said NOT true and NOT false at the same time. >> As for the return of the integer 0.. >> The documentation indicates that the === and !== operators take this into >> ac

Re: [PHP] odd behavior of stripos() with === operator

2006-11-17 Thread Michael
At 02:33 AM 11/17/2006 , Stut wrote: >Michael wrote: >> I understand that the integer 0 and FALSE are different and I read the >> manual so many times my head hurts, heh. >> >> There are a few ways to work around this, probably more than I know. >> (according

Re: [PHP] odd behavior of stripos() with === operator *LAST POST*

2006-11-17 Thread Michael
work differently, they should be complimentary. Sorry if all this has inconvenienced anyone. Cheers, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need help with RegEx

2006-12-11 Thread Michael
At 01:02 AM 12/11/2006 , Anthony Papillion wrote: >Hello Everyone, > >I am having a bit of problems wrapping my head around regular expressions. I >thought I had a good grip on them but, for some reason, the expression I've >created below simply doesn't work! Basically, I need to retreive all of

Re: [PHP] Need help with RegEx

2006-12-11 Thread Michael
match pattern, which represents the text between the opening tag and closing tag of your div element. hope this makes sense, I'm writing this at 5am heh Cheers, Michael At 04:58 AM 12/11/2006 , Michael wrote: >At 01:02 AM 12/11/2006 , Anthony Papillion wrote: >>Hello Everyone, >>

RE: [PHP] Need help with RegEx

2006-12-11 Thread Michael
anyone have a working solution how we can get the text from inside >these tags using regex? > >Much appreciated, > >B > >> -Original Message- >> From: Michael [mailto:[EMAIL PROTECTED] >> Sent: Monday, December 11, 2006 6:59 AM >> To: Anthony Papillion >

RE: [PHP] Need help with RegEx

2006-12-12 Thread Michael
At 04:56 AM 12/12/2006 , Ford, Mike wrote: >On 11 December 2006 19:43, Michael wrote: > >> At 08:29 AM 12/11/2006 , Brad Fuller wrote: >> > >> > The example provided didn't work for me. It gave me the same >> > string without anything modified. >&

[PHP] preg_replace problem (or possibly bug)

2006-03-08 Thread Michael
;t render the bbcode to a link, we were trying to get to the root cause of it here http://michael-m.co.uk/forums/index.php?action=view_topic&id=31&page=1 but we failed. I'm not really that good with regular expresions so that might explain why. Also we had never noticed these problem

[PHP] stripos kills my script but strpos is fine?

2005-02-02 Thread Michael
I'm trying to use stripos as a faster and less resource-intensive alternative to preg_match with the i flag, but I'm getting some strange behavior. Here's a test script that demonstrates the problem: --- $days = array("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"); foreach ($days as $d) {

Re: [PHP] stripos kills my script but strpos is fine?

2005-02-02 Thread Michael
Richard Lynch wrote: Michael wrote: I'm trying to use stripos as a faster and less resource-intensive alternative to preg_match with the i flag, but I'm getting some strange behavior. AFAIK, stripos should behave exactly like strpos except case-insensitively. So in the function above,

[PHP] Re: What's wrong with this rewrite rule?

2005-02-02 Thread Michael
Chris W. Parker wrote: Hello, I've been messing with a certain rewrite rule for about 30 minutes now and it's driving me insane. I've got plenty of other rewrite rules working perfectly. Here is the rule in question. RewriteRule ^detail\.asp\?product_id=([\w-]+)$ product.php?id=$1 You're insisting

Re: [PHP] Strange notation to create object

2005-06-24 Thread Michael
John Hinton wrote: Michael Stepanov wrote: With a return receipt attached and I'm wondering if we all return the receipt each time someone forgets about this on various mailing lists, would the 6583 subscribers actually returned the receipt, would it break the habit? All i

[PHP] set_time_limit behavior

2005-09-12 Thread michael
14:10:50 Done! As you can see, this script ran for over 14 minutes. I have read that max_execution_time is bound to CPU time, and I am not sure how this translates into being able to effectivel

Re: [PHP] set_time_limit behavior

2005-09-12 Thread michael
ss of INI values or run time setting... well its a little disturbing! Thanks, Michael Jay Blanchard wrote: [snip] I am trying to figure out why a script that is set to time out after 30 seconds will run indefinitely. For example, As you can see, this script ran for over 14 minutes. I

Re: [PHP] set_time_limit behavior

2005-09-12 Thread michael
,""; flush(); } This did time out! But, oddly it timed out only after 10 seconds. Any ideas of why the discrepancy? Thanks, Michael Jim Moseby wrote: ] set_time_limit behavior HI Jay, Thanks for the reply. No, we are not in safe mode. That was one of the first thi

[PHP] PHP support for hexadecimal

2001-02-08 Thread Michael
ce settype does not have unsigned types, does anyone know how I can use sprintf to format an unsigned value? Any help would be greatly appreciated. TIA! Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

[PHP] Is this potentially a problem?

2001-02-15 Thread Michael
message from appearing if it is not potentially dangerous? Any help is greatly appreciated. TIA Michael -- 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

Re: [PHP] sessions and trans-sid problem/question

2002-11-22 Thread Michael Sims
On Fri, 22 Nov 2002 15:08:31 +0100, you wrote: >I don't think the session handler checks session expiry - only gc does. I >haven't checked the PHP sources yet, but I found out that on my development >server (where we definetely don't have a lot of traffic ;->) session files >can persist over night

[PHP] PHP Syntax - mail statement

2002-11-23 Thread Michael Sharp
ot;;); ?> When submitting the form, mail gets sent to [EMAIL PROTECTED] with the subject defined in sendmail.php, but the contents simply displayes both of the commas from $contents = and not $firstname, $lastname, and $email. Syntax error or what? Michael -- PHP General Mailing List (http

[PHP] Newbie: element index array

2002-11-24 Thread Michael Wai
etime' => '20D', 'dayname' => 2); $a['element3'] = array('btime' => '15D', 'etime' => '17D', 'dayname' => 3); I would like to ask that how can I completely delete the $a['element2'] in the a

Re: [PHP] sessions and trans-sid problem/question

2002-11-24 Thread Michael Sims
On Sun, 24 Nov 2002 17:01:21 +0900, you wrote: >Michael Sims wrote: >> >> Then I suppose it's just an added feature of the session handler I am >> using. Maybe the OP should give it a shot, as I use it and I >> definitely don't have a problem with expired se

RE: [PHP] perplexed as to why this is happening...

2002-11-24 Thread Michael Hazelden
Ahem ... $sec=1 means "set $sec to 1" You want $sec==1 :-) M. -Original Message- From: Peter Houchin [mailto:[EMAIL PROTECTED]] Sent: 25 November 2002 00:53 To: php_gen Subject: [PHP] perplexed as to why this is happening... Howdy, I'm doing a simple db check.. grabbing a db value,

Re: [PHP] Re: BBCode?

2002-11-25 Thread Michael Geier
r every tag you 'may' want to use). Builder.com has a pretty good regular expression checker for PERL-style regexs that make PCRE pretty easy. http://builder.com -> Go To: Web Scripting (left menu) -> Cool Tools (right menu) -> Regular Expression Inspector (2/3 wa

[PHP] PHP Magick version 0.5a Released!

2002-11-25 Thread Michael Montero
- created imagick_read() for backward compatibility with old extension - created imagick_write() for backward compatibility with old extension You can download here http://magick.communityconnect.com/. -- Michael C. Montero Chief Technology Officer Community Connect Inc.

Re: [PHP] Detecting email bounces sent by the mail function?

2002-11-28 Thread Michael Sims
On Thu, 28 Nov 2002 17:54:46 -, you wrote: >Hello > >Is it possible to detect with PHP whether an email sent using the PHP >'mail' function has bounced back or has not been delivered? Hi, If you're using PHP on a unix/linux with sendmail you can set the envelope sender via the 5th parameter

Re: [PHP] Quota function

2002-11-30 Thread Michael Sims
On Sat, 30 Nov 2002 23:36:20 +0800, you wrote: >There is a php code from Internet, it is enable Quota function with wu-imap >server, but I can't run it into my server ( Linux Redhat system ) like There is a mailing list that is specifically for Imp. You'd have better luck getting answers if you

Re: [PHP] preg_match()

2002-12-02 Thread Michael Sweeney
Why not use split() (http://www.php.net/split) or explode() instead of matching? ..michael.. On Mon, 2002-12-02 at 09:34, Sturle wrote: > Hello > > I have one coloumn with lots of e-mail adress like this: > > [EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED] > [EMAIL

[PHP] imagick v0.9.0.1 RELEASED

2002-12-03 Thread Michael Montero
version 0.9.0.1. It contains support for image lists and almost all of the image processing functions - image effects, special effects, etc. Contact either myself or Christian ([EMAIL PROTECTED]) if you have comments, suggestions or to report bugs. Thanks. -- Michael C. Montero Chief

[PHP] Re: C#

2002-12-08 Thread michael kimsal
e. Sr. Perez: Please visit aspfriends.com (I think that's it) or learnasp.com. There are links there to many c# and other .net-related lists and boards. Good luck. Michael Kimsal http://www.phpappserver.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Forms

2002-12-10 Thread michael kimsal
Beauford.2002 wrote: John Mary John Mary Maybe you just had a typo before? Michael Kimsal http://www.phphelpdesk.com Guaranteed PHP support when you need it! 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] PHP imagick Windows DLL

2002-12-11 Thread Michael Montero
, go here: http://pear.php.net/package-info.php?package=imagick For examples of using the functions, you should download the latest version from the PEAR site and look at all the examples in the examples directory contained in the tar. -- Michael C. Montero Chief Technology Officer Community

Re: [PHP] take text before '-' and after it

2002-12-12 Thread Michael Montero
h mp3 files which > > are in the form of artist - song.mp3 and put them into a text file so I > > can put them into mysql db. > > > > antti > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http:

[PHP] Re: Performance issues

2002-12-12 Thread michael kimsal
standard NDA, or will work within NDA terms you provide. We've done this before with good results, and will be happy to work with you on your issues. -- Michael Kimsal http://www.tapinternet.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Session: I RTFM

2002-12-14 Thread michael kimsal
Instead of while(list($k,$v)=each($_POST)){ $_SESSION[$k]=$v; //echo "_name_ ".stripslashes($k)." _value_ ".stripslashes($v).""; } why not just $_SESSION = array_merge($_SESSION,$_POST); ??? Michael Kimsal http://www.phpappserver.com 734-480-9961 --

Re: [PHP] Session: I RTFM

2002-12-15 Thread michael kimsal
ference between: $familyname = getvar("familyname"); and $familyname = getvar('familyname'); -- There's no effective difference. :) Good magazine Marco - keep it up! Michael Kimsal http://www.phpappserver.com 734-480-9961 -- PHP General Mailing List (http://w

[PHP] Re: PDF Lib

2002-12-16 Thread michael kimsal
Bogomil Shopov wrote: hi folks Is there any way to include in PDF file .gif file with more than 8 colors? Error:Warning: Internal PDFlib warning: Color depth other than 8 bit not supported in GIF file regards Bogomil No, there's no *standard* way. I dare say that PDFlib itself could be hack

[PHP] Undefined variable error message

2002-12-18 Thread Michael Egan
ng it? Or of links to possible solutions? This is particularly irritating as last night was the office Christmas party and I'm in a rather fragile state this morning :-( Michael Egan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Undefined variable error message[Scanned]

2002-12-18 Thread Michael Egan
ks to everybody else who responded to this query. Michael Egan -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: 18 December 2002 10:39 To: Michael Egan; PHP General (E-mail) Subject: RE: [PHP] Undefined variable error message[Scanned] Hi Michael, > All of the PHP

RE: [PHP] date part[Scanned]

2002-12-19 Thread Michael Egan
rain what they can enter with drop down boxes for year, month and day. Michael Egan -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED]] Sent: 19 December 2002 14:05 To: [EMAIL PROTECTED] Subject: [PHP] date part[Scanned] How can I get a string containing the month part of

[PHP] Re: Training Courses in PHP & MySQL

2002-12-19 Thread michael kimsal
ut learning PHP, give me a call or drop me an email at [EMAIL PROTECTED] Our next class is in January in Detroit, but we may still be able to convince you to come out here anyway! :) I can be reached at 734-480-9961, or 1-866-745-3660 (toll free). I look forward to hearing from you. Mich

[PHP] Re: Training Courses in PHP & MySQL

2002-12-19 Thread michael kimsal
h our courses, students get a free Zend Studio, and free snacks and lunch. Little things, true, but they mean a lot to some people. :0 Michael Kimsal http://www.tapinternet.com/php 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Good program to indent large quantity of files?

2002-12-20 Thread michael kimsal
Leif K-Brooks wrote: I haven't been indenting any of my code, but I want to start indenting to make the code more readable. It would be near-impossible for me to manually indent what's already there, though. So, I'm looking for a program to indent an entire folder of PHP files at once. Any s

Re: [PHP] Error installing

2002-12-20 Thread Michael Sweeney
If you are trying to load a PHP-Nuke site, your problem is that the page can't access your mysql server. Either the server is not running, or the hostname/username/password is not correct so the program is unable to successfully connect to the mysql server. ..michael.. On Fri, 2002-12-20

Re: [PHP] libcrypt.a and solaris 8

2002-12-20 Thread Michael Sweeney
somewhere like /usr/local/ssl and to configure php to look at that directory for the openssl linking. It might also help if you told us what error message you're getting. ..michael.. On Fri, 2002-12-20 at 06:21, dweise wrote: > hello, >i'm trying to compile php with openss

Re: [PHP] LDAP support...

2002-12-23 Thread michael kimsal
Peter Lavender wrote: OK this is lame, but I'm posting a reply straight after the message hits my box... I'm running debian and have apt-get php and openldap. openldap works, as does php. I'm now working with the ldap functions and here is where I'm stuck. apt-cache search php4 what turn

Re: [PHP] exec, system , backtick

2002-12-27 Thread Michael Sims
On Sat, 28 Dec 2002 02:55:44 +0530, you wrote: >I tried a simple command line script, in all cases no_file does not exist. I >do not want the command line script to show the error on the screen but to >deliver it in the variable $r. But alas, in all 3 cases i get 'rm: canoot >remove `no_file': No

Re: [PHP] php app frameworks?

2002-12-27 Thread michael kimsal
Jason Sheets wrote: If you go to www.hotscripts.com they have several PHP application frameworks listed. I've investigated PHPLIB, and horde (http://www.horde.org) but wound up creating my own framework because I have not yet found a well documented framework that does what I need it to do. Wh

Re: [PHP] exec, system , backtick

2002-12-28 Thread Michael Sims
On Sat, 28 Dec 2002 13:30:49 +0530, you wrote: >Im running a linux system so i have no problem, but how would one redirect >stderr to stdout on a Win machine, if it is possible at all I believe it works the same way on NT kernels (NT, 2000, XP) but I could be wrong. A friend of mine actually ha

[PHP] Re: php.ini ignored! Re: [PHP] PHP 4.3.0 released

2002-12-29 Thread Michael Mauch
/php.ini --with-a > pxs2=/usr/local/apache2/bin/apxs --with-mysql (got no errors) Does it help if you use --with-config-file-path=/usr/local/apache2/conf instead? Regards... Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] imap_set_quota function

2002-12-29 Thread Michael Sims
On Sun, 29 Dec 2002 18:26:01 -0800 (PST), you wrote: >"This function requires the imap_stream to have been opened as the mail >administrator account. It will not work if opened as any other user. [...] >my question is, where do i set this admin called 'mailadmin' with password >'password'. do i se

Re: [PHP] PHP & PostgreSQL

2002-12-30 Thread Michael Sims
On Mon, 30 Dec 2002 04:11:02 -0700, you wrote: >The things that bothered me the most: > >o Pg doesn't have DATE_FORMAT() to_char() accomplishes the same thing, for example: select to_char(lastlogin, 'FMMM-DD- FMHH:MI AM') as lastloginf from users; >, or the types SET and ENUM. I'm not sure

Re: [PHP] function misfunction

2002-12-30 Thread Michael Sims
On Mon, 30 Dec 2002 14:48:13 +0100, you wrote: >function setCurrentDevGroup($devID) >{ >// start original routine >$query = "SELECT dev_group FROM tracking WHERE (computer = >

Re: [PHP] PHP & PostgreSQL

2002-12-30 Thread Michael Sims
On Mon, 30 Dec 2002 07:57:04 -0600, you wrote: >> >o Pg doesn't have DATE_FORMAT() >> to_char() accomplishes the same thing, for example: >> select to_char(lastlogin, 'FMMM-DD- FMHH:MI AM') as lastloginf >> from users; > >Unless I missed something, that function doesn't work with unix timestam

Re: [PHP] Getting short (DOS) name of file?

2002-12-31 Thread Michael Sims
On Tue, 31 Dec 2002 02:14:18 -0500, you wrote: >Thanks... thing is, it can be anything from c:\whatever.exe to >c:\program files\program name\bin\program.exe. I'll write a function >that goes to each directory in a string and does a dir /x if I have to, >but isn't there a simpler way? I don't

[PHP] Re: Securing areas of a web site with PHP

2003-01-01 Thread michael kimsal
Jean-Christian Imbeault wrote: I'll try this out and see what I get. Though I have read that not all browsers follow cache-control directives ... Exactly - and some don't follow other HTTP header directives to the letter either. You will not be able to 'secure' this stuff 100% simply because

  1   2   3   4   5   6   7   8   9   10   >