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 [
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
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
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
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
. 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
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
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,
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
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
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]
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
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
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");
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.
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
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
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
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]
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
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
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
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
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
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
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
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
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.
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]
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
$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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
> 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
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 ---
//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
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
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
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
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
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
nnect.
Has anyone run across this behavior? Any ideas why this might be occuring? Is it an
apache issue?
Matt Friedman
64 matches
Mail list logo