Re: [PHP] Convert KB to MB?

2003-06-20 Thread Mike Migurski
>>Ahhh, but then marketing gets involved and changes the 1024 to 1000 and >>ta da, you now have more MegaBytes. 1024 is the right number to use, but >>don't be surprised if it doesn't match with some numbers you might >>compare it to. > >Not necessarily, in data storage 1mb = 1024kb but in data tra

Re: [PHP] return all non-tag characters

2003-06-21 Thread Mike Migurski
>I want to be able to retrieve and return all character that are not >located in html tags. For example: > >1234567 >or >1234567 > >I would just like it to be equal to 1234567, but I would need it to work >with any tags and attributes. A good starting point might be preg_replace, search pattern '

Re: [PHP] Date problem

2003-06-23 Thread Mike Migurski
>I am storing dates in an Access database in a field with a "Date/Time" Type >the date is being generated using date("n/d/Y h:i a"). It appears to be >stored in Access correctly but when I output it to the page using PHP it >seems to be changing. It is being stored in the database as "6/19/2003

Re: [PHP] Source/version control?

2003-06-23 Thread Mike Migurski
>What tools do you recommend or use for a team environment that will allow >us to maintain source control and even offer some version >tracking/history in case we need to go back to old code? > >We need the ability to check-in and check-out files in a team environment >--- normally just HTML and PH

Re: [PHP] php.ini

2003-06-25 Thread Mike Morton
gt;> been discussing the location of the php.ini all morning long? I thought >> we were, but I could be mistaken. >> >> Jay >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >

Re: [PHP] Passing Array to object

2003-06-25 Thread Mike Migurski
You define a function "SetLinks", but call it as "SetLink" -- is this a typo? Also, neither of your SetLink/s() calls are correct function calls. This may work better: $index->SetLinks(array(...)); - michal migurski- cont

Re: [PHP] Best Merchant Account For PHP Users

2003-06-25 Thread Mike Morton
yone know of a website (for dummies) that can teach me how to start > enabling my website into an e-commerce website? > > Thanks in advance guys! :) > -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED] * **

Re: [PHP] Securing PHP code

2003-06-25 Thread Mike Migurski
>I am getting started on a project on PHP that requires very very high >levels of security. I cannot give you exact details but the basics is >that it deals with credit cards. > >I want some advice and tips from experts on the following >The server will be Red Hat Linux 7.3 > >1) The site will have

Re: [PHP] Securing PHP code

2003-06-25 Thread Mike Morton
ng something totally obvious, but if the server is set up to properly parse php files - having configs outside of the doc root should not make much of a security difference? -- Cheers Mike Morton * * Tel: 90

Re: [PHP] Securing PHP code

2003-06-25 Thread Mike Migurski
>>> 2) I store the db password and login info in a database.inc.php file. >>> Is there any way I can prevent a person from getting the db pass even >>> after he gets this file? >> >> Store that file outside the docroot. That way there is no chance they >> can get it from the web site. I myself us

Re: [PHP] Securing PHP code

2003-06-25 Thread Mike Morton
tly then it will be parsed, and as long as you are not outputting anything in this page, they will not see the user/pass that you have in there... > > - > michal migurski- contact info and pgp key: > sf/cahttp://mi

Re: [PHP] Securing PHP code

2003-06-25 Thread Mike Morton
> --- Mike Morton <[EMAIL PROTECTED]> wrote: >> That is precisely my point - if the user has shell access of any >> type you are compromised - but if they do not get server access - >> how could they possibly get the dotabase.inc.php? If that is >> called direct

Re: [PHP] Securing PHP code

2003-06-25 Thread Mike Migurski
>> Why rely on some access restriction when you don't have to? You include >> code using a filesystem path. There is no need for it to reside under >> document root. Yes, you can make it so that certain things are not >> served directly by the Web server, but why take the extra risk? You >> gain no

Re: [PHP] Securing PHP code

2003-06-25 Thread Mike Morton
cc information, same root passwords across the network and dictionary hackable passwords for users :) Oh, and did I mention the non ssh telnet access from internet café's?) Thanks :) On 6/25/03 5:49 PM, "Mike Migurski" <[EMAIL PROTECTED]> wrote: >>> Why rely on some a

Re: [PHP] Largest Member of Array

2003-06-26 Thread Mike Migurski
>How would i find the value of the largest number in this array? > >$example_data = array( >array("Mar-99",100,2000,5945.33,1234,10), >array("Feb-99",908,3454,4764.90,4321,50), >array("Jan-99",542,8000,13365.52,6012,60) >); end(array_reduce($example_data, create_function('$a, $b', 'ret

Re: [PHP] Re: Securing PHP code

2003-06-26 Thread Mike Morton
aving never setup a multi-server web environment before, I'm a bit >> curious. How would the public server communicate with the private >> server, passing in database queries and getting results, if it can't >> connect directly to the database? Are we talking abo

Re: [PHP] web site security: how to hide login info formysql-connection

2003-06-29 Thread Mike Morton
ories setting, and the webserver must have read permissions for that file. -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED] * "Indeed, it would not be an e

Re: [PHP] A simpler question involving http_user_agent

2003-06-29 Thread Mike Migurski
>Would anyone happen to know what http_user_agent would be if the user is >visitng from an internet enabled cell phone (e.g. sprint pcs phone or >similar)? It may or may not be one of these: http://www.thewirelessfaq.com/useragents.asp ---

[PHP] Piping print_r output to a variable

2003-06-30 Thread Mike Mannakee
Hi all, Is there a way I can pipe the output of print_r() into a variable for further processing? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Mike Migurski
>> >> php_value mysql.default_user fred >> php_value mysql.default_password secret >> php_value mysql.default_host server.example.com >> > >H what about phpinfo()? It shows those settings in the clear. solution: don't leave stray phpinfo's on a production site. :) -

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Mike Migurski
>I just read this FAQ, and I still don't see a good reason why not to >change the REPLY-TO. The primary reason offered is that it will prevent >people from sending messages in private, but that is not really the case >(the FROM field will still contain the sender's address and it can simply >be cu

[PHP] Subtracting dates in php

2003-06-30 Thread Mike Mannakee
Anyone know of an easy way to add or subtract dates in php the way you can in mysql? Easier, that is, than coding the logic by hand? This seems like a total pain. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] secure sockets

2002-07-23 Thread Mike Mannakee
uses. I don't know how you have the app set up but that may be what you need. Mike "Patrick Lynch" <[EMAIL PROTECTED]> wrote in message news:!~!UENERkVCMDkAAQACABgAM/+wtTlkR0mNI0OgSgYDtcKA [EMAIL PROTECTED] > Hi Josh, > > I have not done this

[PHP] Re: Sessions don't work?

2002-07-24 Thread Mike Mannakee
like: if(!(session_id())) session_start(); Mike Mannakee "Alexander Deruwe" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'd like to post a follow-up to my previous message on this subject. > Please still C

[PHP] Re: best way to log bad email address'

2002-07-24 Thread Mike Mannakee
make certain to catch the returns. Mike "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > what's the best way to log the bad email address' from a mail() loop? > > my guess is: > > $

[PHP] Re: How do I validate input using php?

2002-07-24 Thread Mike Mannakee
Here's the code I use to validate emails: function check_email($email) { global $email; $regex="^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}$"; return eregi($regex, $email, $trash); } Hope this helps, Mike "ØYstein HåLand" <[EMAIL PROTECT

[PHP] php 4.2.2 on redhat 7.3

2002-07-26 Thread Fifield, Mike
from one of these two lists can point me in the right direction. Thanks in advance for any help. Mike Fifield Charles Schwab & Co, Inc. WARNING: All e-mail sent to or from this address will be received by the Charles Schwab corporate e-mail system and is subject to archival and revie

[PHP] Object oriented??

2002-07-26 Thread Mike Mannakee
e OOP implementation, though for web stuff it's probably close enough. I've written nothing but traditional code in PHP and like it that way. How common is this? Do most people write OOP or traditional linear code in PHP? Mike -- PHP General Mailing List (http://www.php.net

[PHP] REGEX for credit card number

2002-07-28 Thread Mike Mannakee
Does anyone have a regular expression that works to validate credit card numbers? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] REGEX for phone #

2002-07-28 Thread Mike Mannakee
nyone know what this means? I know it's not bitching about the phone number, it's bitching about the expression. But why? Some thing wrong with the expression? It works fine in PERL, which this is supposed to be compatible with. Mike -- PHP General Mailing List (http://w

[PHP] sessions and https

2002-07-28 Thread Mike Mannakee
Do sessions not work when using an https connection? It seems I'm losing my data between pages. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sessions and https

2002-07-28 Thread Mike Mannakee
Thank you. This has been driving me up the wall like you wouldn't believe. Mike "Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Monday, July 29, 2002, 11:21:34 AM, you wrote: > MM> Do sess

[PHP] Re: What is REGEX ?

2002-07-30 Thread Mike Mannakee
Look for "regular expressions" in the manual. Regex is just a shortening of that. Mike "Lord Loh." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello! I am new to REGEX. > I tried to read several posts on REGEX. Ho

[PHP] Reading in contents of URL

2002-08-02 Thread Mike C
read.php which says to just specify a constant and it will work, but what ever number i specify, that is the amount of data that is read. how do i retrieve the content type? thanks for any help... mike c [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] FILEMTIME

2002-08-08 Thread Mike Zagorski
Hello, I amusing the following PHP code.. but I want to make it so that it also displays the time in 24 hr mode and the time is +3600 seconds. (1 hour) How can I do this? Thanks Mike

[PHP] PHP multipart form data

2002-08-08 Thread Mike Dunlop
hello, i have php 4.2.2 compiled with --enable-ftp running (as a module in apache under red-hat 6.2) and I can not get file uploads through a web page to work!?!? The form variable $userfile (which is the file input name) is returning false; Any ideas how to troubleshoot this? -- PHP Gener

[PHP] POST fields through CURL

2002-08-11 Thread Mike Mannakee
s it just like a GET string or what? Anyone know? Thanks, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Credit Card suggestions

2002-08-12 Thread Mike Mannakee
Does anyone have any suggested method of scrambling a user's credit card number before I stick it in a mysql database? I want to make sure it's useless to anyone that might manage to lift the database. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] Credit Card suggestions

2002-08-12 Thread Mike Dunlop
We use the mcrypt lib to encrypt data stored in our DB; works great for us. Check the online documentation for more info. - Mike D >Does anyone have any suggested method of scrambling a user's credit card >number before I stick it in a mysql database? I want to make sure it&#x

[PHP] Re: HTML issue... spaces in between images

2002-08-12 Thread Mike Mannakee
Yeah, I ran into this too, quite some time ago. The first whitespace character will be displayed by html, though all subsequent ones will be ignored. The thing to do is just get used to it. Or use a table, which is usually more sensible anyways, as it gives you more control. Mike "Mi

[PHP] Re: show_source question

2002-08-12 Thread Mike Mannakee
take a file, you'd need to change it to take a string instead. Or save $show as a file and send the name or handle (I'm not sure which it expects) to the function. Mike "Eriol" <[EMAIL PROTECTED]> wrote in message 018801c24257$9bf66780$f32d5b40@eriol">news:01

[PHP] Re: radio value

2002-08-13 Thread Mike Mannakee
Your problem is a JavaScript one, not php. Your variable - 'selvalue' is only defined within the function. Define it globally outside the function. Trouble is it currently looks like the variable doesn't exist by the time the function exits. See if that works. Mike "Ad

[PHP] Re: Passing array to function

2002-08-13 Thread Mike Mannakee
You'll find the values accessible in $_POST as $_POST['cgroup_1']['0'], $_POST['cgroup_1']['1'], etc. $_POST itself is an array, and so is your variable. HTH Mike "Bill Hudspeth" <[EMAIL PROTECTED]> wrote in message [EMAIL P

Fwd: [PHP] Writing to a file that's not PHP_SELF

2002-08-13 Thread Mike Dunlop
> $file = fopen("Counter.txt", "r+"); You need to open the file with write access and PHP must have write permission e.g. $file = fopen("Counter.txt", "w+"); Mike D... -- Mike Dunlop Webmaster Animation World Network [EMAIL PROTECTED] ht

RE: [PHP] count link clicks

2002-08-13 Thread Mike Dunlop
sub.php >> > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > >__ >Post your ad for free now! http://personals.yahoo.ca > >-- >PHP

[PHP] Read file dates for most recent

2002-08-13 Thread Mike Davis
I need to read a directory full of PDF files, and get the file date of the most recent. Can someone get me started? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Include/require and the HTML Code

2002-08-14 Thread Mike Eales
Hi, Can anybody tell me why I get a "Parse error: parse error, unexpected '}' in /usr/local/apache/htdocs/logbook/Functions.inc on line 17 " for the following code: Appreciate any help. Using PHP 4.2.2 and Apache 1.3.26 on Redhat 7.3 x86 (The "" stuff is not part of the code. ind

[PHP] CURLing to authorize.net

2002-08-14 Thread Mike Mannakee
. No connection, in other words. Do I need to specify the path to my SSL Cert with CURLOPT_SSLCERT? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Resetting the timeout

2002-08-18 Thread Mike Mannakee
Is there any way to set the timeout (max length of time the script has to execute) from within a script, just for its own execution? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql_query() ERROR

2002-08-21 Thread Fifield, Mike
This is a query that I am sending to mysql. The problem is that sometimes in the variable "$message" characters like ")" will get posted and when they do it makes mysql die. I can only assume that mysql thinks that the ")" in the $message variable is meant to close the sql query, but I am having t

[PHP] Forcing browsers to use cached pages

2002-08-26 Thread Mike Mannakee
Hi all, Is there any way to force a browser to use a cached version of a page if the user hits the back button? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] faxing

2002-08-28 Thread Mike Mannakee
Does anyone know of a solution to get a script to actually connect with the POTS system (even through a 3rd party provider) and send a fax? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Set Variable to Multiple Lines

2002-08-29 Thread Mike richardson
I've been searching for this old php feature (perhaps it was deprecated), and can't get the right keywords to look it up. There was a way, similar to the perl method shown below, to set multiple lines of data equal to a variable. (in perl) $variable = __SOME_HEADER_HERE__ Put whatever is desir

[PHP] Re: PASSWORD()

2002-08-29 Thread Mike Tsapenko
Hello, Victor. Your queries seem to be OK. The second one has typo: after should be single quot. Anyway this is a problem with MySQL but not with PHP. -- Mike Tsapenko Chief of Web-development Dept. AlarIT http://www.AlarIT.com "Victor" <[EM

[PHP] Re: credit card auth using curl function

2002-08-29 Thread Mike Mannakee
retrace the steps of any transaction if you ever need to. HTH, Mike "Phplist" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, I am using the CURL command to post credit card info to a gateway .exe > program on a secure server. The co

Re: [PHP] Re: credit card auth using curl function

2002-08-29 Thread Mike Mannakee
Try curl_setopt($ch, CURL_NOBODY, 1); Mike "Phplist" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks for the help. I made the change as follows, as I don't mind it > be transient data... but I still get the string

[PHP] Escape characters won't go away

2002-09-01 Thread Mike Mannakee
quot;\\", "", $string); - Doesn't do anything 3. $string = ereg_replace("\\", "", $string); - Gives the following error message: Warning: REG_EESCAPE in script.php on line 1684 None of these have worked. Any thoughts on how to get rid of them? I'm going ba

Re: [PHP] Escape characters won't go away

2002-09-01 Thread Mike Mannakee
Thanks. I just figured it out myself. I had to change the expression: $string= ereg_replace("[\\]+", "", $string); The above is what worked. Mike "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

RE: [PHP] Help with inserting Flash into MySQL database

2002-09-03 Thread Mike Krisher
Your embed source and object movie value needs to be a file path to a swf. Your values are currently set to something.php, needs to be something.swf. hope that helps, -- Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Help with inserting Flash into MySQL database

2002-09-04 Thread Mike Krisher
return the value of the SWF on the first parse so the filepath is there once the object/embed tags are rendered on the client side. I hope that makes sense, -- Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How do I get milliseconds?

2002-09-04 Thread Mike richardson
If you are looking for milliseconds on the current time, see the examples on microtime(): http://www.php.net/manual/en/function.microtime.php Here is a summary of how to get milliseconds: list($usec, $sec) = explode(" ",microtime()); $milliseconds = (((float)$usec/1000) + (float)$sec); I have

[PHP] check for a number

2002-09-04 Thread Fifield, Mike
I am using substr("$f", 0, 1); to get the first character of a string but what to be able to tell if the first character is a digit or a letter is there a way to do this?

RE: [PHP] Returning Rows Question

2002-09-04 Thread Mike richardson
While( ) { ... $color = ($color == "FF")? "EAEAEA" : "FF"; print "\n"; ... } -Original Message- From: Christopher J. Crane [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 3:56 PM To: [EMAIL PROTECTED] Subject: [PHP] Returning Rows Question

RE: [PHP] formatting a filename

2002-09-05 Thread Mike richardson
Ereg() would be an excellent choice. To move a step further, although it is a little more complex to become familiar with, the perl regular expressions are considerably faster and more efficient for anything with an expression, and str_replace() is faster yet, if replacing a simple string. Thus

[PHP] Image resizing

2002-09-06 Thread Fifield, Mike
I have been trying to figure out the best way to resize photo quality images to thumbnail size and have them come out looking good. I have read about the function " imagecreatetruecolor()" and it looks like it may do this. However I

[PHP] Image Resizing ... lets try this again.

2002-09-06 Thread Fifield, Mike
I sent this email out earlier this morning and got no response. It was quite early so I thought I would send it again now that more people are hopefully at work :-) I have been trying to figure out the best way to resize photo quality images to thumbnail size and have them come out looking

RE: [PHP] unix timestamp

2002-09-06 Thread Mike richardson
The attached class is a date utility that I created a long time ago. It parses out SQL dates, does differences, and specific to your needs, you can use dateAdjust() to move a unix timestamp by a number of seconds, minutes, hours, days, months, quarters, years or centuries. You should be able t

[PHP] Variable Variables

2002-09-11 Thread Mike Smith
ble are for Recvd qty and Back Order Qty. The problem is I could have 1 line item or I could have 10 line items. So if I have 1 item and my SQL is "UPDATE tbl_podetail SET bkorder=$bkord WHERE id=$detid" that will work fine, but if I have 10 items, the same UPDATE statement will only upd

[PHP] Dynamic HTML Email

2002-09-20 Thread Mike Dunlop
email needs to be parsed as html not plain text (or both). I am using the mail command. Can someone shed some light on the subject for me??? Thanks so much in advance! Mike Dunlop -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Dynamic HTML Email

2002-09-20 Thread Fifield, Mike
$header .= "MIME-Version: 1.0\r\n"; $header .= "Content-Type: text/html; charset=iso-8859-1\r\n"; $header .= "From: $sender_email\r\n"; mail("$rcpt_email", "$subject", "$msg", $header); This works it is what I use. -Orig

[PHP] Getting at the variable name itself

2002-09-24 Thread Mike Mannakee
do I access the variable name? Suppose I have a variable name like this: $method_valueA_valueB I intend to use the name itself as a string I can then explode to recover the embedded data. How do I operate on the variable name itself? TIA, Mike -- PHP General Mailing List (http://www.php.net

Re: [PHP] Explorer-like "drill down" interface

2002-09-25 Thread Mike Dunlop
I would recommend using javascript for the expanding/contracting list stuff and I don't know of any vulnerablilities in MySQL Server... - Mike D >I have two questions: > >1. I would like to build a php page that contains a Windows >explorer-like drill down mechanism, w

Re: [PHP] Re: Cronjob

2002-09-25 Thread Mike Dunlop
nly in >> >>/usr/bin. Try a "which >> >>php" and see if it finds anything? >> >> >> >>HTH >> >>Chris >> >> >> > >> > >> > >> > ___

Re: [PHP] Encrypt data...

2002-09-25 Thread Mike Dunlop
scribe, visit: http://www.php.net/unsub.php -- Mike Dunlop Webmaster Animation World Network [EMAIL PROTECTED] http://www.awn.com (323) 606-4238 office (323) 466-6619 fax 6525 Sunset Blvd. GS10 Los Angeles, CA 90028 USA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to test if a number is negative

2002-09-25 Thread Mike Dunlop
I've look through all the numerican functions but can't readily see a way to test for a negative number e.g -7 Any ideas on how to do this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: negative numbers

2002-09-25 Thread Mike Dunlop
Nevermind, I have been using if($number<0) { //negative number... but it wasn't working correctly due to a str_replace statement that removing zeros which was screwing it up ok later -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Static constants? Server persistent?

2002-09-29 Thread Mike Mannakee
me up. As long as you have enough bandwidth and servers, speed is no problem. Mike "Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Justin French wrote: > > > > I'm merely guessing. > >

[PHP] image wrapper - graphs

2002-09-30 Thread Mike Mannakee
Hi, Does anyone know of image creation libraries that will generate graphs? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: tricky gd question

2002-10-01 Thread Mike Mannakee
Have a look at ImageCopy in the manual. HTH Mike "Electroteque" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > here is a tricky question, i have created a photo gallery script where i can > edit the photo and gammacorrect th

Re: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread Mike Dunlop
That's because in the newer versions of php the register globals directive is set to off by default...If you turn that directive on and then restart apache, you will be able address GET/POST vars normally (by their identical var name) - Mike D >Hi, > >I didn't realize

[PHP] Echo Regular Expression Pattern

2002-10-10 Thread Mike Smith
xt of the link. The script runs but produces: http://support.microsoft.com/default.aspx?scid=kb;[LN];Q+[0-9]{6} and echos Q+[0-9]{6} as the clickable link. Thanks, Mike Smith -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Echo Regular Expression Pattern

2002-10-10 Thread Mike Smith
Nevermind. This works: ereg("Q+[0-9]{6}",$Data[$n],$qarticle); $GetLine = explode("\r", ereg_replace("Q+[0-9]{6}","http://support.microsoft.com/default.aspx?scid=kb;[LN];$qarticle[0]\"; target=\"blank\">$qarticle[0]",$Data[$n]));

[PHP] remove/uninstall php3 on linux

2002-10-29 Thread MIke Pogue
Hi Guys, Do you have any ideas how could I remove/uninstall an old php3 version on linux? Should I delete the files manually? Many Thanks, Mike

[PHP] Re: publishing php > mysql website on cd-rom

2002-11-07 Thread Mike Mannakee
he best solution to let a prospect see it without actually giving them access to sensitive areas. It's usefulness might depend on your content, though. Mike "Robert McPeak" <[EMAIL PROTECTED]> wrote in message news:sdc900a1.082@;ccp2.jhuccp.org... My organization has a need to pu

Re: [PHP] Graphics question

2002-11-07 Thread Mike Mannakee
che. In other words, you'll just have to hit reload. You can also search for specifics of the headers that are meant to stop a browser from caching. Mike "@ Darwin" <[EMAIL PROTECTED]> wrote in message news:ELEJIJLJOIJKFAHADGOMGEBHCBAA.superbus22@;attbi.com... > The reason &qu

Re: [PHP] Weird behaviour with references to objects...

2002-11-07 Thread Mike Mannakee
This sounds like a matter that ought to make it to the programmers who code PHP itself. In the meantime can you code around it now that you know the bug is there? Mike "Marco Tabini" <[EMAIL PROTECTED]> wrote in message news:1036725595.21741.868.camel@;localhost.localdomain..

[PHP] ftp file exists

2002-11-08 Thread Fifield, Mike
How do you check if a file exists a remote ftp site.

Re: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Mike Mannakee
My question is how do you know it's not running? If it really is a "hello world" application, where do you want the output to go? To the browser? That's pretty involved. Try making it write to a file and see if it contains any output after execution. Mike "Erne

Re: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Mike Mannakee
I see. Well, it isn't executing, then. It doesn't surprise me that the output doesn't go to the browser, but not showing up in the file seals the deal. Sorry I can't be of more help. Mike - Original Message - From: "Ladan Pickering" <[EMAIL PROTE

[PHP] Suggestions Please

2002-11-09 Thread Mike Miller
appreciated, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP seg faulting

2002-11-12 Thread Mike Hall
crashing again. I was running PHP 4.2.1. I upgraded to 4.2.3 and its still doing it. Here is a backtrace, but its all greek to me. Can anyone explain what on earth all this means? Thanks Mike #0 0x28353386 in localeconv () from /usr/lib/libc.so.4 #1 0x28364ee1 in strtod () from /usr/l

[PHP] PHP HTTP Forwarding / Port Translation

2002-11-12 Thread Mike MacDonald
ful for any thoughts or references. There's a piccie of what I have in mind below -- needs monospaced fonts before it will make any sense Thanks in advance Mike Please view in a fixed-w

[PHP] PHP include dir

2002-11-13 Thread Mike D
How do I find the PHP include dir? I looked in the .ini file but it appears that the include dir directive is commented out, here it is: ; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" Do I need to uncomment this? Thanks Mike Mike Dunlop Webmaster - AWN, Inc.

[PHP] Mail Question

2002-11-13 Thread Mike D
do all of the above except how to trigger a php script from an incoming email. Any ideas anyone? Thanks, Mike Dunlop Mike Dunlop Webmaster - AWN, Inc. [E] [EMAIL PROTECTED] [P] 323.606.4237 [F] 323.466.6619 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] PHP include dir

2002-11-13 Thread Mike D
in your web document directory HTH On Wed, 2002-11-13 at 19:48, Mike D wrote: How do I find the PHP include dir? I looked in the .ini file but it appears that the include dir directive is commented out, here it is: ; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" Do I nee

Re: [PHP] Mail Question

2002-11-13 Thread Mike D
Yes we are using qmail. So all I have to do is create the .qmail-info file and have that point to a php script? - MD On Wednesday, November 13, 2002, at 12:35 PM, Jason Wong wrote: On Thursday 14 November 2002 04:12, Mike D wrote: Does anyone know of a way to achieve the following on linux

[PHP] Qmail / PHP question

2002-11-13 Thread Mike D
contents of the email to the php script... Thanks in advance! mike D

[PHP] PHP apache module question

2002-11-14 Thread Mike D
found nothing. Msytified, Mike D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] STDIN question

2002-11-14 Thread Mike D
a DB for a ticketing system. Thanks Mike D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] STDIN question

2002-11-14 Thread Mike D
2, at 05:18 AM, BigDog wrote: You would have to pass it through the "get" method... You can only pass stdin to the binary... On Thu, 2002-11-14 at 20:05, Mike D wrote: Is it possible to pass STDIN data to a php script via wget or lynx (cuz Apache is not installed in CGI mode, so

<    3   4   5   6   7   8   9   10   11   12   >