[PHP] Shipping Purolator Class?

2002-11-25 Thread Matt Friedman
Hi Folks, Just checking around to see if anyone is using a Purolator web service to determine shipping costs online. Wondering if there are classes available and if the service is hard to use. Thanks very much, Matt Friedman > -Original Message- > From: John W. Holmes [

[PHP] (( Purolator Shipping ))

2002-11-25 Thread Matt Friedman
Hi Folks, Just checking around to see if anyone is using a Purolator web service to determine shipping costs online. Wondering if there are classes available and if the service is hard to use. Thanks very much, Matt Friedman -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] PHP Shipping Rate Question

2002-12-02 Thread Matt Friedman
Hi, I've found a number of UPS rate calculators in php and I'm wondering if anyone has used many shipping calculators written in php. If so, what success have you had? Any stories/recommendations to share? Thanks very much, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] php shipping rate question

2002-12-02 Thread Matt Friedman
Hi, I've found a number of UPS rate calculators in php and I'm wondering if anyone has used many shipping calculators written in php. If so, what success have you had? Any stories/recommendations to share? Thanks very much, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] assigning to $this in constructor?

2002-12-31 Thread Matt Friedman
would return an error object instead of the requested object. Thanks, Matt Friedman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] call time pass by reference - help

2001-01-14 Thread Matt Friedman
. in /adm/vhosts/theparentreport.com/www/phplib/session.inc on line 311 What should I do to fix this??? Matt Friedman -- 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

[PHP] Re: [phplib] Call Time Pass By Reference PROBLEM.

2001-01-14 Thread Matt Friedman
Ok, but the warning says that call time pass by reference is deprecated. Will there be an update at some point to address this in phplib? Matt Friedman Spry New Media http://www.sprynewmedia.com Lead Programmer/Partner email: [EMAIL PROTECTED] phone: 250 744 3655 fax: 250 370 0436

Re: [PHP] PHPLIB and PHPMyAdmin

2001-01-16 Thread Matt Friedman
ff under another. Use .htaccess for configuration. best of both worlds. Matt Friedman Spry New Media - Original Message - From: "Ignacio Vazquez-Abrams" <[EMAIL PROTECTED]> To: "Kevin Cawthorne" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday,

[PHP] Calling Perl from PHP -- Help --

2001-03-05 Thread Matt Friedman
I'm stumped. I've searched all over and can't figure this one out. I have a perl script that waits for input on the command line. You type in a string and it returns a string. I'd like to be able to this via php, since I can't rewrite the script in php, since it's a little over my head. So, h

[PHP] OT Perl help

2001-03-05 Thread Matt Friedman
Any easy way to make this script take it's input from the command line like so: ./porter_stemming.pl string where string is the argument? #!/usr/bin/perl -w # Porter stemmer in Perl. Few comments, but it's easy to follow against the rules in the original # paper, in # # Porter, 1980, An algo

[PHP] Regex Masters: Please inspect this regex- Pulling urls out of page

2001-03-07 Thread Matt Friedman
on URI info? I guess what I'm really looking for is all the http urls, no ftp, mms etc... or anything like that. If it's right, then hopefully someone can use it! Matt Friedman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Seg Fault with fopen

2001-03-18 Thread Matt Friedman
Here's a function I'm trying to use to execute a php and then read the html. I've tried the actual hostname instead of localhost but that's not working either. It's causing a segmentation fault. I'm running linux apache php 4.0.4 Any thoughts? function get_web_page_desc($filename) { $uri = 'ht

Re: [PHP] Netscape 4.77 and PHP

2001-04-15 Thread Matt Friedman
This is almost always an html problem, not a php one. If a table tag or something isn't closed properly netscape will show a blank screen. IE is more (too) forgiving and assumes it knows where you meant to put the tag. Check your html and you'll fix it. Matt Friedman Spry New

[PHP] Re: [phplib] Sessions in windows

2001-04-17 Thread Matt Friedman
0"); header("Cache-Control: max-age=0"); header("Pragma: no-cache"); break; default: header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

Re: [PHP] Advanced Help Needed

2001-04-19 Thread Matt Friedman
I would put the code: at the bottom of your form page and run the page, without posting a file, and see what the phpinfo says about file uploading. Perhaps it is disabled. Even so, I can't understand why you would get a server not found. Hrm, well maybe this will shed some light.

RE: [PHP] Can you fake a onClick?

2001-12-27 Thread Matt Friedman
this way. Well, that's one way to do it anyway. Perhaps it will give you an idea... Matt Friedman -Original Message- From: Douglas Harter [mailto:[EMAIL PROTECTED]] Sent: Thursday December 27, 2001 8:14 PM To: Bogdan Stancescu Cc: PHP Mailing List Subject: Re: [PHP] Can you fake

RE: [PHP] connect MS Access

2002-01-01 Thread Matt Friedman
Please do not send html emails to this list. Send only plain text emails. Matt Friedman -Original Message- From: gendeng [mailto:[EMAIL PROTECTED]] Sent: Tuesday January 1, 2002 8:23 PM To: [EMAIL PROTECTED] Subject: [PHP] connect MS Access halo... i want to know about connect to

RE: [PHP] ask cookie in win2000

2002-01-07 Thread Matt Friedman
times; you should search the archives to find an answer. Matt Friedman -Original Message- From: gendeng [mailto:[EMAIL PROTECTED]] Sent: Monday January 7, 2002 8:17 PM To: [EMAIL PROTECTED] Subject: [PHP] ask cookie in win2000 halo... i want to know, why cookie not working in win2000. p

[PHP] ooh forms or better

2002-01-07 Thread Matt Friedman
docs might be found? Examples would be ideal. I also found phpOpenForms which seems very good; anyone have experience with it? Many thanks, Matt Friedman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [PHP] php executing system commands..

2002-01-11 Thread Matt Friedman
Try the backtick too. print "" . `ls -l` ""; Matt Friedman Web Applications Developer www.SpryNewMedia.com Email: [EMAIL PROTECTED] -Original Message- From: mike cullerton [mailto:[EMAIL PROTECTED]] Sent: Friday January 11, 2002 8:46 AM To: [EMAIL PROTECTED] Su

RE: [PHP] Event based applications?

2002-01-12 Thread Matt Friedman
JavaScript runs on the client, PHP runs at the server. PHP cannot access client side events directly. JavaScript cannot access the database (actually it can through Internet Explorer, but that's different story...) You'll use a combo of both languages. Matt Friedman Web Applications

RE: [PHP] How should I cache database data for php?

2002-01-21 Thread Matt Friedman
st of hardware is cheap for them. They may have several gigs of memory per server and very fast processors. These machines can handle very large peaks in activity. Matt Friedman Web Applications Developer www.SpryNewMedia.com Email: [EMAIL PROTECTED] -Original Message- From: Manuel Lemos [m

RE: [PHP] OOP Problem

2002-01-22 Thread Matt Friedman
The only reason I can think of for that to happen would be if you referred to $this->mysql_connect(...); Then it would look for mysql_connect as a method of the class and wouldn't find it. Just guessing that this might be the problem. Matt Friedman Web Applications D

RE: [PHP] how to popup a new browser window from php

2002-04-19 Thread Matt Friedman
No. You want a client side browser popup. PHP runs on the server. PHP does not run in a browser. Javascript runs on the browser. You need to use Javascript. Matt Friedman Web Applications Developer -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Friday April

RE: [PHP] basename unix/windows

2002-04-25 Thread Matt Friedman
Replace the "\" with "/" using str_replace or some such function before using basename. Windows will handle either kind of path. Linux does not know the "\" as a file path separator. It only knows "/" Matt Friedman Web Applications Developer www.SpryNewMed

RE: [PHP] Removing empty elements from an array

2002-04-28 Thread Matt Friedman
This is what you want. http://www.php.net/manual/en/function.array-filter.php Matt Friedman Web Applications Developer www.SpryNewMedia.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday April 28, 2002 10:57 AM To: Craig Westerman; php-general

RE: [PHP] PHP compared to JSP

2002-05-04 Thread Matt Friedman
bably faster. Many solutions, to my knowledge, requiring Java cost $$$ while LAMP is completely Open source. (Read the licenses for more info). Matt Friedman -Original Message- From: Paras Mukadam [mailto:[EMAIL PROTECTED]] Sent: Saturday May 4, 2002 10:36 AM To: [EMAIL PROTECTED] Su

RE: [PHP] Slow in retriveing webpage

2002-05-04 Thread Matt Friedman
en get the content almost instantly! Matt Friedman -Original Message- From: Joseph Then [mailto:[EMAIL PROTECTED]] Sent: Saturday May 4, 2002 10:03 AM To: [EMAIL PROTECTED] Subject: [PHP] Slow in retriveing webpage Hi! I want to grab a webpage and I use the file() function to grab it.

RE: [PHP] help !!!

2002-05-04 Thread Matt Friedman
Try www.php.net. Oh, no that's for php. I might know if this was a Delphi list. Hrm... Matt Friedman Web Applications Developer -Original Message- From: Yoel Benitez Fonseca [mailto:[EMAIL PROTECTED]] Sent: Saturday May 4, 2002 10:23 PM To: [EMAIL PROTECTED] Subject: [PHP]

RE: [PHP] Getting only 255 chars from SQL Server

2002-05-13 Thread Matt Friedman
If you want to make sure you get the whole string and it's fairly long, like a paragraph of characters or something, the db field should be a text field. Varchar is definitely no longer than 255 in MSSQL. You've lost the data over 255 chars with your current setup. Matt Fr

RE: [PHP] Re: One more Regular Expression Question...

2002-05-13 Thread Matt Friedman
$regex = "]*>(.*)"; is probably better. Plus, use eregi for case insensitive matching. This is probably not perfect, but it'll do what you want. Matt Friedman Web Applications Developer www.SpryNewMedia.com -Original Message- From: Brad Melendy [mailto:[EMAIL

RE: [PHP] gmtime?

2002-05-27 Thread Matt Friedman
Unix epoch is the number of secs since the start date in GMT regardless of where your server is. The timestamp is a GMT value. Matt Friedman Web Applications Developer www.SpryNewMedia.com -Original Message- From: Jens Lehmann [mailto:[EMAIL PROTECTED]] Sent: Monday May 27, 2002 7:48

RE: [PHP] include, include_once bug or feature ?

2002-03-14 Thread Matt Friedman
vars do not exist at all. This is a feature, not a bug. Matt Friedman Web Applications Developer www.SpryNewMedia.com Email: [EMAIL PROTECTED] -Original Message- From: Pavel Plesov [mailto:[EMAIL PROTECTED]] Sent: Thursday March 14, 2002 7:56 AM To: [EMAIL PROTECTED] Subject: [PHP

[PHP] localization - internationalization

2002-03-25 Thread Matt Friedman
on this subject and your input are appreciated as always. Many thanks, Matt Friedman www.SpryNewMedia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] localization - internationalization

2002-03-25 Thread Matt Friedman
Looking for some more detailed information on this subject. Any experts out there? Thanks, Matt Friedman -Original Message- From: Andrey Hristov [mailto:[EMAIL PROTECTED]] Sent: Monday March 25, 2002 10:04 AM To: Matt Friedman Cc: [EMAIL PROTECTED] Subject: Re: [PHP] localization

RE: [PHP] SPAM or ADVERTISING

2002-03-30 Thread Matt Friedman
y out for their own selfish ends, as you have clearly demonstrated, and they don't care about anyone else. You should be ashamed, but I'm certain that you are not. Matt Friedman Web Applications Developer -Original Message- From: Alienator [mailto:[EMAIL PROTECTED]] Sent: Sa

RE: [PHP] Has anyone looked at phpinfo today?

2002-04-01 Thread Matt Friedman
I think if you look at today's date, you'll realize why the silly picture on your phpinfo today. Good one guys! That's what I love about php - it's about enjoying programming and making it fun. Matt Friedman Web Applications Developer www.SpryNewMedia.com -Origin

RE: [PHP] parse error, mysql select

2002-04-01 Thread Matt Friedman
It doesn't like the ";" at the end of the statement. I noticed this a while ago. I'd prefer if it didn't choke on the ";" but it seems to. It's probably more correct to have the ";" there - I don't know why it chokes when going

[PHP] - Flock manual clarification please ;-)

2002-04-06 Thread Matt Friedman
Is it an issue when concurrency is high? The manual says "you may have to"; I am looking for some clarification as to when exactly you "may have to" follow the advice. Thanks as always, Matt Friedman Web Applications Developer www.SpryNewMedia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Function that escapes special caracters from regular expressions

2002-04-07 Thread Matt Friedman
http://www.php.net/manual/en/function.preg-quote.php Found this in the manual in about 3 secs. Try to check the manual first before posting. ;-) Matt Friedman Web Applications Developer www.SpryNewMedia.com -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent

FW: [PHP] - REPOST - Flock manual clarification please ;-)

2002-04-07 Thread Matt Friedman
sue? Is it an issue when concurrency is high? The manual says "you may have to"; I am looking for some clarification as to when exactly you "may have to" follow the advice. Thanks as always, Matt Friedman Web Applications Developer www.SpryNewMedia.com -- PHP General Mailing

RE: FW: [PHP] - REPOST - Flock manual clarification please ;-)

2002-04-07 Thread Matt Friedman
it for a lock on the lock file and then go on with any processing on the actual data file. After the processing is done release the lock on the lock file. Perhaps there are better ways to do this. What do you think? Matt Friedman Web Applications Developer www.SpryNewMedia.com -Original Me

Re: [PHP] Email limit

2001-10-29 Thread Matt Friedman
I imagine that's only limited by your available bandwidth. If you try to send emails out faster than your bandwidth will allow you'll get a slowdown on your email server. I use sleep() between each email to lessen the load on the server. Matt. - Original Message - From: "Richard Baskett

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Matt Friedman
Try putting a "?" after your quantifier for "non-greedy" matching. Something like: $the_array=split("", $html,-1); Matt. - Original Message - From: "brendan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 29, 2001 7:55 PM Subject: [PHP] @#$@# Reg Expressions > l

Re: [PHP] Zipping a folder on a win2000 server with php4.06

2001-10-30 Thread Matt Friedman
There is a command line version of winzip. I don't know much about it, but a friend of mine was just saying the other day that he had used it to zip some files at the server in an ASP environment. In php you could call the winzip exectutable using exec. In asp you'd use some shell object or some

Re: [PHP] what's this???

2001-11-04 Thread Matt Friedman
http://www.php.net/manual/en/language.oop.php This is what you want to read. Matt. - Original Message - From: "Christian C." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 04, 2001 7:16 PM Subject: [PHP] what's this??? > Hello :c) > > im looking at some code i f

Re: [PHP] Problems with the fopen() function

2001-11-10 Thread Matt Friedman
I would try urlencoding the query-string in that url. Or put the url in single quotes instead. Just shots in the dark, but try it out. M. - Original Message - From: "Tim Harvey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 10, 2001 9:44 PM Subject: [PHP] Problem

Re: [PHP] Total Newbie - concatenating variables.

2001-11-10 Thread Matt Friedman
Try: for($i=0;$i<$count;$i++) { // in the global array, print the variable with the name: "item$i" print $GLOBALS["item$i"]; } or even: for($i=0;$i<$count;$i++) { // in the post vars array, print the variable with the name: "item$i" // this one is probably more secure. print $HTTP_POS

Re: [PHP] & in url's

2001-11-10 Thread Matt Friedman
I'm not sure if this answers your question but it seems to me that & is an html encoding whereas if you want to put something in the url you should urlencode it. This will eliminate the "&"s. Matt. - Original Message - From: "GaM3R" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sat

[PHP] Extending classes multiple times

2001-12-06 Thread Matt Friedman
s this a new feature. Thoughts? Thanks, Matt Friedman Web Applications Developer www.SpryNewMedia.com Email: [EMAIL PROTECTED] -- 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 administra

RE: [PHP] Extending classes multiple times

2001-12-06 Thread Matt Friedman
This is what I had thought. I wasn't sure and needed the clarification. Thanks as always! Matt Friedman -Original Message- From: Harshdeep S Jawanda [mailto:[EMAIL PROTECTED]] Sent: Thursday December 6, 2001 1:55 PM To: Matt Friedman Cc: [EMAIL PROTECTED] Subject: Re:

[PHP] - References Clarification Please -

2001-12-09 Thread Matt Friedman
t the benefits of using references as opposed to copies. If anyone would like to elaborate on the reasons for using a reference instead of a copy, please do so; it would be much appreciated. Many Thanks, Matt Friedman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Re: Delete File Contents?

2001-12-17 Thread Matt Friedman
http://www.php.net/manual/en/function.ftruncate.php Chris writes: > I've created a program that runs a process then stores the results to a > file on the server. I would like the file to contain only the most > recent update, but it seems I can only append to my using fopen. Is > there a wa

[PHP] IBill - Can you recommend a script?

2001-03-21 Thread Matt Friedman
I have a client who wants to set up iBill. Has anyone had any good experiences with any of the commercially avaliable or open source iBill administration scripts out there? Good Bad or Otherwise, please let me know. Many thanks for any light you can shed on this topic. Matt Friedman -- PHP

Re: [PHP] PHP error parsing SQL string containing assoc. array

2001-03-23 Thread Matt Friedman
p are hashes (associative). That's why they're so quick. Happy interpolation! Matt Friedman - Original Message - From: "Frank M. Kromann" <[EMAIL PROTECTED]> To: "Michael Champagne" <[EMAIL PROTECTED]> Cc: "PHP General Mailing List" &l

Re: [PHP] Get info to a perl script and then continue without going to that perl script.

2001-03-26 Thread Matt Friedman
> http://php.net/manual/en/function.exec.php > > $return = exec("/pathtocgi/script.cgi VAR1 VAR2 &"); > > if you want the data returned, its in $return. If there are multiple lines returned, you'll only get the last line in $return. See the manual link to

Re: [PHP] Environment extract

2001-03-27 Thread Matt Friedman
is type of info. http://www.php.net/ Also, write a short script and run it as so: You'll see a myriad of variables and their values. It's also handy for debugging. You can include phpinfo() anywhere to see the output values of your script. Matt Friedman - Original Message ---

Re: [PHP] Executing a PHP file to write an html file

2001-04-01 Thread Matt Friedman
//www.host.com/script.php") assuming lynx is installed. Instead of exec, why not just include the script you want to run in your page? Matt Friedman Spry New Media http://www.sprynewmedia.com - Original Message - From: "David Robley" <[EMAIL PROTECTED]> To: "PHP

Re: [PHP] Search Engines

2001-04-01 Thread Matt Friedman
page to another page. The search spider will not follow the redirect. Other than that, I can't think of more things that a spider wouldn't like that have to do with php. If there are more, please correct me. Matt Friedman Spry New Media http://www.sprynewmedia.com - Original Message

[PHP] PHP.net is slow

2001-04-04 Thread Matt Friedman
I don't know about everyone else but I've found that since the changeover to the new design of the php.net site, it's been very unreliable. I used to be able to look up a function in seconds if I didn't quite remember the usage. Now, I find that the doesn't won't even come up at times. Other tim

Re: [PHP] Threading code

2001-04-09 Thread Matt Friedman
Check out: http://www.phorum.org/ We use phorum at: http://www.theparentreport.com/community/discussion/ Takes a bit of work to install and configure but it's worth it; Check out the link and you'll see it can be fully integrated into your site. Let me know if you have more questi

[PHP] OT mod_rewrite says goodbye to POST vars (but interesting)

2001-02-01 Thread Matt Friedman
the subject as I've read every word twice and all the annotations to no avail. Many thanks as always. Matt Friedman Spry New Media -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Telnet with php?

2001-02-09 Thread Matt Friedman
there's fsockopen from which you might make a telnet client, methinks, but you'd have to know the protocol etc... look for it at the manual. Matt Friedman Spry New Media http://www.sprynewmedia.com Lead Programmer/Partner email: [EMAIL PROTECTED] phone: 250 744 3655 fax: 25

[PHP] Bug? - pg_pconnect failing with pgsql and pg_connect is ok.

2001-02-17 Thread Matt Friedman
nnect. Has anyone run across this behavior? Any ideas why this might be occuring? Is it an apache issue? Matt Friedman