[PHP] Scrapping email content

2009-07-14 Thread Areba Collins
: and then comments preceeded by Does anyone know a straightforward function to accomplish this? Regards, Collins -Nairobi KE. -- If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we

[PHP] line breaks in email text messages

2004-09-13 Thread Michael Collins
($email_to,$email_subject,$emailbody,$header) -- Michael __ ||| Michael Collins ||| Kuwago Inc ||| Singapore and Seattle USA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] line breaks in email text messages

2004-09-13 Thread Michael Collins
At 9:11 AM +0800 9/14/04, Michael Collins wrote: How do I preserve line breaks in the body of an email message? Nevermind got it figured out. sorry for the extra bandwidth -- Michael __ ||| Michael Collins ||| Kuwago Inc ||| Singapore and Seattle USA -- PHP General Mailing List (http

Re: [PHP] SQL Functions

2004-08-10 Thread Michael Collins
One thing you could do is to download the class and extract just the functions you need. -- Michael __ ||| Michael Collins ||| Kuwago Inc ||| Singapore and Seattle USA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Cannot compile

2004-08-03 Thread Will Collins
Try running 'make clean' before you run 'make' again. I had a problem when trying to run 'make' for the umpteenth time during my recent troubles, and apparently it was because things got a little too cluttered, and this did the trick. Will -Original Message- From: Jason Wong

RE: [PHP] Upgrade PHP?

2004-08-02 Thread Will Collins
, guys? Will -Original Message- From: Support [mailto:[EMAIL PROTECTED] Sent: Sunday, August 01, 2004 10:11 PM To: Will Collins; [EMAIL PROTECTED] Subject: Re: [PHP] Upgrade PHP? I've dealt with a similar problem with Mandrake. Some distros have their own idea of where things should go

RE: [PHP] Upgrade PHP?

2004-08-02 Thread Will Collins
To test it, I used: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd --with-zlib-dir=/usr/include -Original Message- From: bruce [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 3:39 PM To: 'Will Collins'; [EMAIL PROTECTED] Subject: RE: [PHP] Upgrade

RE: [PHP] Upgrade PHP?

2004-08-02 Thread Will Collins
Won't work: Fatal error: Call to undefined function: imagecreatefromjpeg() -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 4:09 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Upgrade PHP? On Tuesday 03 August 2004 03:21, Will Collins wrote

RE: [PHP] Upgrade PHP? [SOLVED]

2004-08-02 Thread Will Collins
10:14 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Upgrade PHP? On Tuesday 03 August 2004 07:42, Will Collins wrote: Won't work: Fatal error: Call to undefined function: imagecreatefromjpeg() ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd --with-zlib-dir=/usr

[PHP] Upgrade PHP?

2004-08-01 Thread Will Collins
I'm having problems upgrading PHP from 4.2.2 to 4.3.8 on RedHat 9. I've tried simply making the 4.3.8 from source, but RedHat didn't use the default PHP folder structure is seems, since there has been no change in my PHP version. I also tried the ./configure string returned by 'phpinfo()'

RE: [PHP] textarea/display question...

2004-07-20 Thread Will Collins
I've always gotten errors when trying to use the value property of a textarea. Put the value info between the textarea/textarea tabs. -Original Message- From: bruce [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 12:59 PM To: [EMAIL PROTECTED] Subject: [PHP] textarea/display

RE: [PHP] Problem of a beginner with Array

2004-07-20 Thread Will Collins
Name each of the checkboxes grid[] (input type=checkbox name=grid[] value=your_valueYour Text), then in your processing script, $_POST['grid'] will be an array with the values of all the checked boxes (assuming at least one was checked - otherwise it won't be set). If you want a limit on the

RE: [PHP] PHP error catching....

2004-07-20 Thread Will Collins
Error handlers? Plus, you can set up PHP to log errors to a file in 'php.ini'... -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 9:48 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP error catching What are those php functions that catch

RE: [PHP] Book Required

2004-07-17 Thread Will Collins
PHP MySQL Web Development is a pretty good one. It does a good job of giving a fairly thorough explanation on things, considering the broad range of topics to be covered. I never have really been a fan of the Fast and Easy... series, or the Learn * In 24 Hours series. Will -Original

RE: [PHP] Book Required

2004-07-17 Thread Will Collins
I apologize for requesting a read receipt. Won't happen again - I hope. :) -Original Message- From: Will Collins [mailto:[EMAIL PROTECTED] Sent: Saturday, July 17, 2004 2:27 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Book Required PHP MySQL Web Development is a pretty good one

Re: [PHP] PHP on MAC

2004-07-13 Thread Michael Collins
://www.phpmac.com/articles.php?view=177 -- Michael __ ||| Michael Collins ||| Kuwago Inc ||| Singapore and Seattle USA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] user-defined superglobals

2004-07-04 Thread Michael Collins
that in PHP. -- Michael __ ||| Michael Collins ||| Kuwago Inc ||| Singapore and Seattle USA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] user-defined superglobals

2004-07-04 Thread Michael Collins
At 2:57 AM -0400 7/4/04, John W. Holmes wrote: Michael Collins wrote: I am relatively new at PHP and wondering why there is no mechanism to create user-defined superglobals? For example in ASP.Net I can setup a global.asa to define database connections or any named value I want to be available

RE: [PHP] How to duplicate this functionality?

2004-05-14 Thread Will Collins
whatever WHERE id = .$_GET['rm_id']. LIMIT 1; mysql_query($query); } ? /code Will Collins -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 8:49 PM To: Ryan A Cc: PHP-General Subject: Re: [PHP] How to duplicate this functionality? On Fri

RE: [PHP] How to duplicate this functionality?

2004-05-14 Thread Will Collins
any reload at all. It has a pretty cool effect when you up the duration and use it for totally different pages too... it's just really fun to play with. Just stick it into the header of your page. Will Collins -Original Message- From: Will Collins [mailto:[EMAIL PROTECTED] Sent: Friday

[PHP] session variables

2004-04-20 Thread Charles Collins
I have two test files running on a server, which is giving me a headache, due to the fact the session variables are not been maintained across the two pages. The server is running ... PHP Version = 4.0.5 register_globals = ON Session Support = Enabled session.auto_start = Off

Re: [PHP] session variables

2004-04-20 Thread Charles Collins
['test']); vincent -Original Message- From: Charles Collins [mailto:[EMAIL PROTECTED] Sent: mardi 20 avril 2004 17:44 To: [EMAIL PROTECTED] Subject: [PHP] session variables I have two test files running on a server, which is giving me a headache, due to the fact the session variables

Re: [PHP] [Solved] session variables

2004-04-20 Thread Charles Collins
] wrote in message news:[EMAIL PROTECTED] I would do script 1 : $_SESSION['test'] = hello world; and in script2 : print($_SESSION['test']); vincent -Original Message- From: Charles Collins [mailto:[EMAIL PROTECTED] Sent: mardi 20 avril 2004 17:44 To: [EMAIL PROTECTED] Subject: [PHP] session

[PHP] Re: session variables

2004-04-20 Thread Charles Collins
) Works a treat now, the server was saving the session cookie for the wrong url and hence when the secoudn page was called in the same browser it wa not able to collect up the session variables as the domain names were different. Thanks again, Regards Charlie. Charles Collins [EMAIL PROTECTED

[PHP] Retrieving Browser SSL Info in PHP

2004-03-08 Thread Daniel Collins
Hello, My problem is this: I wish to have extremely highly secure sessions. I have instituted full SSL, tuned apache, and set the web server security such that there is very low possiblity of internal session hijacking. However, I am concerned about the session fixation problem (as well as a

[PHP] setting phprc

2003-03-06 Thread Matthew Collins
hi i need to set one directory on my server with global_variables turned on. i'm running apache i've read that by setting the environment variable PHPRC, I can point a directory to a different php.ini file. however, i'm having trouble finding out how to go about doing this. is this something i

RE: [PHP] mail() not working on Win2k

2003-01-06 Thread Collins, Robert
Do you have this line in your php.ini file? SMTP= your mail server here ;for win32 only -Original Message- From: Rad Craig [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 9:22 AM To: PHP Mailing List Subject: [PHP] mail() not working on

[PHP] Session Issues when Cookies are Disabled

2002-12-12 Thread charlie collins
. Surely someone else has run into this and more than likely its just a usage or configuration problem that relates to my lack of understanding. Any help is greatly appreciated. -- charlie collins screaming-penguin.com 'source does matter' -- PHP General Mailing List (http://www.php.net

RE: [PHP] Print page

2002-08-29 Thread Collins, Robert
yes, but that is a browser function not php goto file - page setup - then remove the header and footer data Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original

[PHP] Bussiness Logic Date Problem

2002-08-13 Thread Collins, Robert
info2 Last Sunday in August display info3 Has anyone worked out this type of scinerio to find the dates? Thanks Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL

[PHP] out of office test

2002-07-12 Thread Collins, Robert
sorry to do this but need to make sure my out of office response isint going to spam you guys. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From

RE: [PHP] out of office test

2002-07-12 Thread Collins, Robert
Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Collins, Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 5:24 PM To: [EMAIL

RE: [PHP] Dual Server...

2002-07-09 Thread Collins, Robert
I have Apache and IIS coexisting on my intranet server and the way I set them up was to put each on a different port. (Apache serves http://intranet and IIS serves http://intranet:8080) this appears to work fine. Hope this helps Robert W. Collins II Webmaster New Orleans Regional Transit

RE: [PHP]Erik Hegreberg

2002-07-09 Thread Collins, Robert
Erik just got his own personal email filter strait to the deleted items folder. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Jeff Lewis

RE: [PHP] Dual Server...

2002-07-09 Thread Collins, Robert
Matt, I dont know if this helpped Brian but it just saved me a huge headache with some of the presonal settings on my intranet THANKS! Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] mailto:[EMAIL

RE: [PHP] Newbie help please!

2002-05-15 Thread Collins, Robert
this will do it: ?php $username = $_GET['user']; $password = $_GET['pass']; echo $username; echo $password; ? Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message

RE: [PHP] SQL Server test tool

2002-05-15 Thread Collins, Robert
. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Scott St. John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 6:53 AM To: [EMAIL PROTECTED] Subject: [PHP] SQL Server test tool Has anyone seen

RE: [PHP] Genus who came up with Self Destruct Code Copy Pro tection

2002-05-14 Thread Collins, Robert
to hire you. If they did hire you why not pay you to write the code instead of paying their people to go through the hassle of reverse engineering it. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original

RE: [PHP] Genus who came up with Self Destruct Code Copy Pro tection

2002-05-14 Thread Collins, Robert
exactly how the functions worked or interacted with one another. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Genus who came up with Self Destruct Code Copy Pro tection

2002-05-14 Thread Collins, Robert
Good point I hadn't thought about that, maybe its time for that second pot of coffee ;) Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED

RE: [PHP] Genus who came up with Self Destruct Code Copy Pro tection

2002-05-13 Thread Collins, Robert
. /SNIP If they had the talent or the free time they would have programmed it themselves because most of the time it takes longer to backwards engineer a program than it does to write it from scratch. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826

RE: [PHP] Self Destruct code

2002-05-07 Thread Collins, Robert
Does it have to be a booby-trap or will some little annoyance like a shareware popup that would just aggravate the heck out of them do the trick? Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message

RE: [PHP] urldecode(0 and urlencode()

2002-04-23 Thread Collins, Robert
you could do a stripslashes () Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 3:06 PM To: [EMAIL PROTECTED

[PHP] PHP Shopping Engine Recommendation

2002-04-15 Thread Collins, Robert
Can anyone recommend a good commercial shopping cart written in php? Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] include through HTTP

2002-04-12 Thread Collins, Robert
Check the Note about 5 lines down on this page. http://www.php.net/manual/en/features.remote-files.php Note: You can't use remote files in include() and require() statements on Windows. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email

RE: [PHP] 2 newbie questions ;)

2002-04-12 Thread Collins, Robert
to me that a target might not be necessary since the link should already be opening an application that is associated with that file type. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From

RE: [PHP] AS/400 data access

2002-04-09 Thread Collins, Robert
I am also trying to access data on an AS/400 have you gotten it to work, if so can you send an example? Thanks in advance. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Rance Hall

RE: [PHP] AS/400 data access

2002-04-09 Thread Collins, Robert
Thanks. Unfortunately this project is on a windows based platform, but this may head me in the right direction. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Matt Schroebel [mailto

RE: [PHP] Re: help condensing regular expressions

2002-04-05 Thread Collins, Robert
why not use somthing like this then include($DOCUMENT_ROOT./include/mysql_connect.inc); Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] can't get it to work

2002-04-03 Thread Collins, Robert
Have you tried BETWEEN $query = SELECT * FROM table where date BETWEEN '$month_1/$day_1/$year_1' AND '$month_2/$day_2/$year_2'; Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Alex

RE: [PHP] Uploading files without an HTML form

2002-03-28 Thread Collins, Robert
If you know the file location, and the location doesn't change you could do an fopen() and basically read and rewrite the file. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Sam Rose

RE: [PHP] a CNN headline news grabber

2002-03-28 Thread Collins, Robert
I had written one but CNN keeps changing their page format so it was too hard to keep it up-to-date. That is probably why the one you have is returning a blank page. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED

RE: [PHP] Re: Keeping PHP out?

2002-03-27 Thread Collins, Robert
) |-/html (PHP will run here) |-whatever (PHP will run here) Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: J Smith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 9

RE: [PHP] why doesnt this work???

2002-03-20 Thread Collins, Robert
instead of 'and' use '' if($line[1] == $bruker $line[2] == $passord){ echo hei $bruker.; }else{ echo FEIL; } Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: R'twick

RE: [PHP] why doesnt this work???

2002-03-20 Thread Collins, Robert
Try this if($line[1] == '$bruker' $line[2] == '$passord'){ echo hei $bruker.; }else{ echo FEIL; } Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: chris [mailto:[EMAIL

RE: [PHP] why doesnt this work???

2002-03-20 Thread Collins, Robert
This works : ?php $line = array('','bob','tpw'); $bruker = 'bob'; $passord = 'pw'; if($bruker == $line[1] $passord == $line[2]){ echo hei $bruker.; }else{ echo FEIL; } ? Robert W. Collins II Webmaster New Orleans

RE: [PHP] Re: A stupid question...

2002-03-11 Thread Collins, Robert
Try it like this $letter=a $result =mysql_query(SELECT * FROM emply_info WHERE Lname LIKE'$letter%' ORDER BY Lname, Fname DESC,$db); Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Chuck

[PHP] How to get a double to show the .00 in a hole number

2001-08-31 Thread Robert J Collins
I am trying to get a double data type to display the .00 in a hole dollar amount (i.e. 432.00 not 432 or $432.00 not $432). Can anyone tell me how to do this? Thanks, Robert J Collins -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] Re: Host OnLine ?

2001-08-06 Thread Robert Collins
Why not use ping like ? $bob = exec(ping -c 1 php.net); echo $bob; ? -Original Message- From: Arcadius A. [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 10:17 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Host OnLine ? What if the host I'm checking is a simple workstation not

RE: [PHP] Example high-profile PHP sites

2001-07-26 Thread Robert Collins
www.insight.com is a publicly traded fortune 1000 company. The site is 50% php now and will be launching its new site this week that will move it up to 90% php. a demo will be available today. -Original Message- From: Maurice Rickard [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26,

Re: [PHP] Qmail problem

2001-03-09 Thread pete collins
:[EMAIL PROTECTED] 250 ok RCPT TO:[EMAIL PROTECTED] 250 ok DATA 354 go ahead From:"pete collins" [EMAIL PROTECTED] To:"pete"[EMAIL PROTECTED] Subject:Testing This is a test man . 250 ok 984146454 qp 16200 QUIT 221 mozdev.org Connection cl

Re: [PHP] Qmail problem

2001-03-09 Thread pete collins
hi, you can use the sendmail wrapper as instructed in the qmail docs. Done that. Thanks. if you want to use qmail-inject try: ?php system('echo "Subject: test\n\n\nTest" | /var/qmail/bin/qmail-inject [EMAIL PROTECTED]'); ? Tired this as well. Nothing. system('echo "Subject:

Re: [PHP] Qmail problem

2001-03-09 Thread pete collins
I am running this shell script from php using passthru. #!/bin/sh printf "Starting Shell script: brbr\n"; printf "command ls -l /var/qmail/bin/qmail-injectbr\n"; ls -l /var/qmail/bin/qmail-inject; printf "brbr***br\n"; printf "Subject: TESTING FROM SHELL SCRIPT" |

[PHP] Qmail problem

2001-03-08 Thread pete collins
I keep getting: qmail-inject: fatal: read error I've tried everything. Sendmail is symlinked to /var/qmail/bin/sendmail wrapper $ ls -l /usr/lib/sendmail lrwxrwxrwx 1 root root 28 Aug 25 2000 /usr/lib/sendmail - ../../var/qmail/bin/sendmail $ ls -l /usr/sbin/sendmail

RE: [PHP] File upload error

2001-01-26 Thread Robert Collins
that sounds like a permissions error. check the permissions for all of the directories and the file along your path. -Original Message- From: Data Driven Design [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 1:04 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload error I

RE: [PHP] rand(), mt_rand(), and my inability to make either of them random.

2001-01-26 Thread Robert Collins
this is a function that I wrote to solve this problem, but it is almost impossible to get a truly random number you can get somthing pretty close by seeding with somthing like the time function, using the seconds since epoch and this should be hard to duplicate. ?php function

RE: [PHP] Check for Page

2001-01-26 Thread Robert Collins
Try this: ? $filename = "dat.txt"; if (file_exists($filename)){ echo "file exists"; } else { echo "file does not exist"; } ? Robert W. Collins Web Developer II Insight / TC Computers www.insight.com www.tccomputers.com -Original Message- F

RE: [PHP] HELP!!! $PHP_AUTH_USER!!!!!!

2001-01-23 Thread Robert Collins
Try this: ? function authUser($username,$password,$realm,$message) { if (isset($GLOBALS["PHP_AUTH_USER"]) (($GLOBALS["PHP_AUTH_USER"] != $username) || ($GLOBALS["PHP_AUTH_PW"] != $password))) { header("WWW-Authenticate: Basic realm=\"$realm\""); header("HTTP/1.0

RE: [PHP] decimal point movement...

2001-01-18 Thread Robert Collins
Christopher, try a regular expression somthing like this ? $temp = "007170"; ereg ("([0-9]{2})([0-9]*)", $temp, $test); $changed_to_deicmal_form = $test[1].".".$test[2]; echo "$changed_to_deicmal_form"; ? Robert -Original Message- From: Christopher Allen [mailto:[EMAIL PROTECTED]]

RE: [PHP] REGEX for tag attributes?

2001-01-17 Thread Robert Collins
ho $match_result."BR"; } ? Robert W. Collins Web Developer II Insight / TC Computers www.insight.com www.tccomputers.com -Original Message- From: Thomas Angst [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 5:47 AM To: [EMAIL PROTECTED] Subject: [PHP] REGEX for tag attribut