Re: [PHP] Tracking shipments UPS, FEDEX, etc...

2001-09-06 Thread Data Driven Design
The ups tools are quite complicated. You have to open a pipe and the send and retrieve xml documents. Not for the weak of heart. Data Driven Design 1506 Tuscaloosa Ave Holly Hill, Florida 32117 http://www.datadrivendesign.com Phone: (386) 226-8979 Websites That WORK For You - Original

Re: [PHP] Tracking shipments UPS, FEDEX, etc...

2001-09-06 Thread MailingLists
I don't want the rate, I have that through a 3rd party shipping engine... it's the tracking info I need... unfortunately not just for UPS... FedEx, DHL, Airborne, etc...At 03:09 PM 9/6/2001 -0500, Christopher CM Allen wrote: has anybody written any routines or functions they'd care

[PHP] Best Methods for Storing Checkbox Information in a MySQL Database

2001-09-06 Thread Kath
I have some checkboxes on a form. Now I figured out how to store them in a database sandwiched together (like thing1,thing2,thing3,thing4). However, what is the best method for storing them each in an individual field. This is what I'd really like: | userid | otherthing | |1 |azu

[PHP] Regular Expressions - A relatively simple search...

2001-09-06 Thread Mike Gifford
Hello, I'm trying to replace a couple of lines of code: $dotpos = 1 - (strlen($userfile_name) - strpos($userfile_name, '.')); $extension = substr($userfile_name, $dotpos); with a simpler regular expression: $extension = eregi_replace( /.*, , $userfile_name); However it

[PHP] output using ClibPDF is blank

2001-09-06 Thread Don
Hi, I am evaluating ClibPDF and have written a sample rpogram to output some text and a couple of lines to a letter size page. However, the when the PDF loads onto the screen, it is blank. Can anyone tell me what went wrong? The code is below. Am running Apache Server on RedHat Linux 6.2

[PHP] Re: Line number of error

2001-09-06 Thread Jonathan Hilgeman
Nevermind - found the answer. The current line number is held in the constant __LINE__ and the current file name is held in the constant __FILE__ So I can do the following: print this is line . __LINE__ . in the file . __FILE__; - Jonathan Jonathan Hilgeman [EMAIL PROTECTED] wrote in

[PHP] output using ClibPDF is blank - RESENT in ASCII

2001-09-06 Thread Don
Hi, I am evaluating ClibPDF and have written a sample rpogram to output some text and a couple of lines to a letter size page. However, the when the PDF loads onto the screen, it is blank. Can anyone tell me what went wrong? The code is below. Am running Apache Server on RedHat Linux 6.2

Re: [PHP] mysql timestamp field

2001-09-06 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Jason Stechschulte) wrote: I need an update on my table. but I have a timestamp field called t_stamp. When I update a field other than t_stamp field, t_stamp field also updates to now(). I need it not to update and saves its value. How

[PHP] how to use fileatime() if the file name contains empty char?

2001-09-06 Thread Zhu George-CZZ010
Hi, Does anyone know how to use fileatime() when the file name contains empty char inside? Thank you very much in advance. -- 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

[PHP] Releasing Your Code

2001-09-06 Thread James
Multiple part question to all: 1) Have you released full or partial code to any of your projects? 2) What kind of program was it (web mail, groupware, bulletin board, website template etc)? 3) Why did you (not) release it? 4) What kind of license did you use? GPL? LGPL? BSD? Your own mini

Re: [PHP] Releasing Your Code

2001-09-06 Thread Alexander Deruwe
On Thursday 06 September 2001 21:20, James wrote: Multiple part question to all: I would like to add a 12th question to this: 12) Is it useful to release source for a business application, specifically target to one line of work? Are there any considerations beside the obvious (what license,

[PHP] multi updates

2001-09-06 Thread Gary
I have a form that has name (unique in the table), team, pick, and message. The below is updating all the rows with the same updates. where have I screwed up? $sql = UPDATE cappers SET team= \$team\, pick = \$pick\, message = \$message\; //Get Results $sql_result = mysql_query($sql, $conn)

[PHP] this newsgroup via newsgroup program?

2001-09-06 Thread Chris Hayes
hi, from http://www.php.net/support.php i get the impression that i can subscribe to this group via news.php.net. Indeed i can collect a zillion newsgroups via that server but i cannot find php.general. Neither on news.xs4all.nl. I am using 'Agent'. Chris

[PHP] Looking for PHP programmer in San Diego Area

2001-09-06 Thread Brandon Orther
Hello, I am currently working on a full fledge PHP project for my current company. We are looking for 1 to 2 more PHP programmers to finish up this project for the next several months. If you would like more information please respond to my e-mail address and not the User Group Thank you,

[PHP] independent PHP4 on shared Apache?

2001-09-06 Thread Chris Hayes
hi, we have an account with an ISP which is not extremely up to date (PHP3) but we are allowed to install MySQL. Ourselves. (But not on the default space, which is a disaster. Luckily there is a very experienced man, he even used to work for that ISP doing this for us. :-) Still took him 40

Re: [PHP] Tracking shipments UPS, FEDEX, etc...

2001-09-06 Thread Dennis Moore
I am not clear in what you want to do. I think the simplest solution is to build a table in your favorite database with the tracking number and the vendor. Make another table or switch statement that points to the URL for the vendors tracking mechanism. Now you can just write a function that

[PHP] Sending Broadcast Email - will a large loop cause a crash?

2001-09-06 Thread Fotwun
Hi, I need to send a broadcast email to our customers (about 3,000 emails). The data is being drawn for the DB, and will be personalized. Obviously, the code to do this is only a few lines. However, I am concerned with the load it will put on the system trying to loop through and mail() 3,000+

[PHP] Re: this newsgroup via newsgroup program?

2001-09-06 Thread CC Zona
In article 3B981E0F.25754.4210CA@localhost, [EMAIL PROTECTED] (Chris Hayes) wrote: from http://www.php.net/support.php i get the impression that i can subscribe to this group via news.php.net. Indeed i can collect a zillion newsgroups via that server Then you're not looking at the

Re: [PHP] Sending Broadcast Email - will a large loop cause a crash?

2001-09-06 Thread Miles Thompson
Well, try it - find a willing victim and just do a simple loop. Alternately, set up an account with a local, high-bandwidth ISP, batch in groups of 330-, and use BCC. Miles At 04:16 PM 9/6/01 -0700, Fotwun wrote: Hi, I need to send a broadcast email to our customers (about 3,000 emails).

RE: [PHP] Sending Broadcast Email - will a large loop cause a crash?

2001-09-06 Thread Opec Kemp
Hi, You'd be better off running this process from a command line, i.e. not through your Web Browser as I'm more than certain that it will timeout if you are to send 3000+ emails in a loop :). And then you'll have to start again , and I'm sure your client won't be so happy if they were to get

Re: [PHP] Sending Broadcast Email - will a large loop cause a crash?

2001-09-06 Thread Mark Charette
From: Miles Thompson [EMAIL PROTECTED] Well, try it - find a willing victim and just do a simple loop. Alternately, set up an account with a local, high-bandwidth ISP, batch in groups of 330-, and use BCC. Miles At 04:16 PM 9/6/01 -0700, Fotwun wrote: Hi, I need to send a broadcast

Re: [PHP] Sending Broadcast Email - will a large loop cause a crash?

2001-09-06 Thread Kath
Whats your time frame for deployment of the email? You might want to stagnate it out... like loop through 100, pause for 10 secs, do the next 100, pause, repeat. Maybe longer if you could. You could always have it record the number, stop it and adjust higher/lower as required. Also, make sure

[PHP] Module/PHP conflict

2001-09-06 Thread Michael Cronström
php_dbg.dll, required for PHPEd as well as DBG debugger, works fine on Windows 98SE, PWS and PHP 4.04. However, when I upgrade to PHP 4.0.6 (CGI binary) and change server to Apache/1.3.20 (Win32) I get the following error 'Content-type: text/html PHP Warning: dbg: Unable to initialize module

[PHP] Re: multi updates

2001-09-06 Thread Chris Lee
where's the form, maybe the problem is there. your update query has no where statment, this isnt syntaxicaly incorrect, its just rare that you need to update every single element in the database to the same value. everything else looks ok, what exactly is the error/warning ? you dont accually

[PHP] Re: this newsgroup via newsgroup program?

2001-09-06 Thread Chris Lee
I use Outlook Express and Im posting this via news.php.net into php.general -- Chris Lee [EMAIL PROTECTED] Chris Hayes [EMAIL PROTECTED] wrote in message 3B981E0F.25754.4210CA@localhost">news:3B981E0F.25754.4210CA@localhost... hi, from http://www.php.net/support.php i get the

[PHP] Re: Releasing Your Code

2001-09-06 Thread Chris Lee
www.mediawaveonline.com/examples/ bsd licence, im not to picky, as the url sujests their examples, do what you wish with them, give me credit if you eel its worth it, if you feel not worth it, dont give me credit, I dont care. comments? some have comments, you can figure it out, the code is

[PHP] Table Search

2001-09-06 Thread Devon
Below is an example of my code which searches a table and prints the result, the problem is that it only displays the TechContact where I want it to display all the fields that associated with it in that row off the colum eg. Mobile, AdminContact etc etc Any suggestions? if ($TechContact == )

Re: [PHP] Table Search

2001-09-06 Thread David Robley
On Fri, 7 Sep 2001 10:11, Devon wrote: Below is an example of my code which searches a table and prints the result, the problem is that it only displays the TechContact where I want it to display all the fields that associated with it in that row off the colum eg. Mobile, AdminContact etc

[PHP] Re: multi updates

2001-09-06 Thread Gary
Thanks Chris, it was the missing where statement. Gary Chris Lee wrote: where's the form, maybe the problem is there. your update query has no where statment, this isnt syntaxicaly incorrect, its just rare that you need to update every single element in the database to the same value.

[PHP] More info on BCC? (was Re: [PHP] Sending Broadcast Email - will a large loop cause a crash?)

2001-09-06 Thread elists
What's the reasoning behind that number? (330-) I'm about to implement something similar, using BCC (since the emails don't need to be personalized). I've searched in the past for the answers to 2 questions, but haven't had any luck. Can you shed any light on the issue? 1. Is there a limit

[PHP] Netscape Cookies

2001-09-06 Thread Jochen Kaechelin
Netscape does not accept the following: SetCookie(bilderanzeige,$bilderanzeige,time()+3600*24*30,/,,0); Works fine in IE and Opera! Could anyone help, please! Jochen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Table Search

2001-09-06 Thread Chrisy
[EMAIL PROTECTED] (David Robley) typed on Fri, 7 Sep 2001 10:16:57 +0930, : |On Fri, 7 Sep 2001 10:11, Devon wrote: | Below is an example of my code which searches a table and prints the | result, the problem is that it only displays the TechContact where I | want it to display all the fields

RE: [PHP] Netscape Cookies

2001-09-06 Thread Jason Murray
SetCookie(bilderanzeige,$bilderanzeige,time()+3600*24*30,/,,0); Works fine in IE and Opera! Could anyone help, please! What's in $bilderanzeige? Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT Work now, freak later! -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Netscape Cookies

2001-09-06 Thread Jochen Kaechelin
SetCookie(bilderanzeige,$bilderanzeige,time()+3600*24*30,/,,0); Works fine in IE and Opera! Could anyone help, please! What's in $bilderanzeige? $bilderanzeige = ja or $bilderanzeige = nein Jochen -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] HTML mail

2001-09-06 Thread Sid
hi, How would you send HTML mail using the mail() function in PHP. SID -- 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]

Re: [PHP] Wierd for thingy, help!

2001-09-06 Thread Sid
Of cource you can. In the second page just ask PHP to echo the variable in the space where the text box accepts preset values some thing like this input type=text name=name value=? echo $variable; ? size=30 where $variable is a variable that is sent from the previous page. Hope this helps

Re: [PHP] what will be the output for this pgm?

2001-09-06 Thread Sid
Of course there will not be any output. That's because when you type in the directly type the url in the browser there will not be any referer. Try putting a link from another domain to that page and you will get some output then / try visiting the page through a search engine. i.e make the

RE: [PHP] HTML mail

2001-09-06 Thread Jason Murray
How would you send HTML mail using the mail() function in PHP. You need to use a MIME email - HTML goes as text/html, and graphics go as file attachments. Simple way to produce a MIME email: http://planetkiller.shadow.net.au/mime-php.txt Jason -- PHP General Mailing List

Re: [PHP] HTML mail

2001-09-06 Thread Alex Shi
Hi Sid, Following link is an article about sending MIME email in php: http://www.phpbuilder.com/columns/kartic2807.php3 But I think it is too complicated for me to read:((. I suggest you can try following instead: example $email_address=[EMAIL PROTECTED]; $subject=anything you can do;

[PHP] PHP complains when using similar_text() as documented.

2001-09-06 Thread Peter Hutnick
http://www.php.net/manual/en/function.similar-text.php states that the third argument should be a reference. PHP 4.0.6 complains Warning: Call-time pass-by-reference has been deprecated - argument passed by value; etc. But that percentage (double) is only available this way . . . Where am I

[PHP] Re: Table Search

2001-09-06 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Devon) wrote: $result = mysql_query (SELECT * FROM enet WHERE TechContact LIKE '$TechContact%'); You haven't fetched any rows, so the next line isn't coming from the query result. Use one of the mysql_fetch_*()

[PHP] Re: php.ini not being read

2001-09-06 Thread Richard Lynch
Is php.ini readable? Any messages in your Apache error log? Are you 100% sure you really killed Apache and restarted?... I've had cases where I managed to install the new Apache in a different location, and ended up with two different sets of httpd's running. Quite disconcerting. -- WARNING

[PHP] Re: Now Here's a Winner

2001-09-06 Thread Richard Lynch
Different versions of different browsers use different headers or variants of headers to decide how to fill in the file name prompt. You may even want to make the URL that the form ACTION points to be: ACTION=whatever.php/export.csv So that the really dumb browsers will think they are accessing

[PHP] Re: UD4 PhAkt Users?

2001-09-06 Thread Richard Lynch
(and whether that's a pain to do) or if just uploading files and testing that way is a viable alternative. Just upload and test is what *I* would recommend for a beginner. If it's a live site, set up a second directory for development so you can test before you copy over to live. Switching

Re: [PHP] Grabbing dynamic pages

2001-09-06 Thread Rasmus Lerdorf
To obtain your share price data you will need to get your IT department to write a java object or a com active x object to strip out the unnecessary html so that you are just left with your share price information. Why don't they make this available via XML? Parsing HTML is painful. I was

[PHP] Re: PHP/Java, Receiving Error message.

2001-09-06 Thread Richard Lynch
Warning: java.lang.NoSuchMethodException: initialize Now this method definitely exists. The syntax I am using is as follows: $Class = new Java(long.path.to.class); $Method = $Class-initialize(12345, George, 123 spiff Street, suite 121, Hometown, USA, 12345, UPG); Wild guess: Some of

RE: [PHP] Grabbing dynamic pages

2001-09-06 Thread Joseph Blythe
Thanks all (c: Why don't they make this available via XML? Parsing HTML is painful. Was my exact question to them (c: That just shows a chart. How are you supposed to parse anything out of that? Hehe I provided the wrong url should something like:

[PHP] Re: How to implement e-mail facility?

2001-09-06 Thread Balaji Ankem
hi! , mine is windows 98 machine. Not linux. anyway i am using my company mail server. I am finding php.ini in c:\pear\tests directory instaed of c:\windows and it does not contain anything. It has following stuff only. ; php.ini for PEAR tests include_path=.. [java]

RE: [PHP] Grabbing dynamic pages

2001-09-06 Thread Rasmus Lerdorf
This script worked fine for me here: ? $fp = fopen(http://www.asx.com.au/scripts/nd_ISAPI_50.dll/asx/research/CompanyInfoSearchResults.jsp?searchBy=asxCodeallinfo=onasxCode=asxcompanyName=principalActivity=industryGroup=0,r;); while(!feof($fp)) echo fgets($fp,1024); fclose($fp); ? Firewall in

Re: [PHP] Grabbing dynamic pages

2001-09-06 Thread David Robley
On Fri, 7 Sep 2001 14:44, Joseph Blythe wrote: Hey all, I got a bit of a problem I need to be able to grab info (which has been approved) from the Australian Stock Exchange Website (www.asx.com.au) all they say about this in the information they sent me is: To obtain your share price data

RE: [PHP] Grabbing dynamic pages

2001-09-06 Thread Joseph Blythe
hmm just tried exact code still same error, I am going to have to have a little talk to our internet manager as he has done some pretty nasty stuff to our border. what i do find starnge is no errors are produced when I exclude all the query stuff eg: $fp = fopen(http://www.asx.com.au,r;);

[PHP] Re: Error while saving attachments (jpegs)

2001-09-06 Thread Richard Lynch
Try opening the origianl and downloaded files in a text editor and see if you can spot the differences... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time:

RE: [PHP] Grabbing dynamic pages

2001-09-06 Thread Joseph Blythe
This is true this is exactly why i try and find a solution here first (with PHP), my bosses attitude was to hire java programmers i said 'why?'. I also noticed getss which strips stuff on the read which is kinda cool too (c: Joseph -Original Message- From: David Robley [mailto:[EMAIL

[PHP] Re: Very urgent for being help!!!

2001-09-06 Thread Richard Lynch
Use a cursor in Oracle. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Duy B [EMAIL

[PHP] Re: newbie looking to sync access with MySQL

2001-09-06 Thread Richard Lynch
I have a potential customer that just called and would like to create a web site that would display secure info for their clients. Currently his employees are using a flat Access database to add, edit and delete records and he would like to keep it that way. Normally I would create a web

[PHP] Re: Question about running php as root

2001-09-06 Thread Richard Lynch
Why do you need the DSO to run as root?... If it's just to do a specific task, it may be easier to write a shell script (or PHP script, or Perl script) and suid it so that nobody can do that one specific task that requires root access. -- WARNING [EMAIL PROTECTED] address is an endangered

[PHP] Delivering an authenticated pdf

2001-09-06 Thread George Pitcher
Hi all, I want to be able to, after authentication, read a pdf into a string and then write it out to the client through the browser. I can't do all of the procedure in PHP as it's an add on to a Lasso/Filemaker site. I can handle the transfer between the two processes, I just need to do the

[PHP] Re: how do I?

2001-09-06 Thread Adrian D'Costa
On Thu, 6 Sep 2001, _lallous wrote: onMouseOver=info(?$xline=__LINE__; Dunno, should this be: onMouseOver=info('?$xline=__LINE__;.') instead? I mean I see no quotes surrounding the javascript string (that is generated from PHP). ok, that what a typo. As I said eariler. The

[PHP] Does PHP work with Sybase ASA?

2001-09-06 Thread Davor Pleskina
2nd time, seem that last time nobody saw my question... I mean, is there in PHP support for Sybase Adaptive Server Anywhere, any version, like for MySQL and some other databases? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] The future of PHP - PHP Pattern Repository

2001-09-06 Thread Geoff Caplan
Miles Fascinating link and series of articles. Well worth reading. One of my VFP buddies copies his entire set of classes into every new project he starts; I've also seen scenarios where to use one or two useful functions you had to import a whole class structure. Yes, I think he raises

Re: [PHP] config options

2001-09-06 Thread David Robley
On Fri, 7 Sep 2001 09:56, Martín Marqués wrote: I there a way to get the config options with which the php binary (as a binary or as an apache module)? Saludos... :-) It is one of the things shown by phpinfo() -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE

Re: [PHP] config options

2001-09-06 Thread Martín Marqués
On Jue 06 Sep 2001 21:31, David Robley wrote: On Fri, 7 Sep 2001 09:56, Martín Marqués wrote: I there a way to get the config options with which the php binary (as a binary or as an apache module)? Saludos... :-) It is one of the things shown by phpinfo() Yes, I know. But it has a

Re: [PHP] The future of PHP - PHP Pattern Repository

2001-09-06 Thread Miles Thompson
Geoff, I'm getting a 404 not found on that URL. Please check it. Miles At 05:07 PM 9/6/01 +0100, Geoff Caplan wrote: Michael Kimsal wrote Tell me more about your thoughts on this please. One of the strengths of PHP is the gentle learning curve. This means that a lot of people are using it as

Re: [PHP] The future of PHP - PHP Pattern Repository

2001-09-06 Thread * RzE:
Original message From: Miles Thompson [EMAIL PROTECTED] Date: Thu, Sep 06, 2001 at 01:44:16PM -0300 Message-ID: [EMAIL PROTECTED] Subject: Re: [PHP] The future of PHP - PHP Pattern Repository Geoff, I'm getting a 404 not found on that URL. Please check it. Miles /Original message Reply

Re: [PHP] The future of PHP - PHP Pattern Repository

2001-09-06 Thread Geoff Caplan
Hi I'm getting a 404 not found on that URL. Please check it. Oops - silly typo - and I double checked it too! Here is the address: http://www.geocities.com/SiliconValley/Lab/6888/prpats.htm Actually, this is a pretty interesting site. The root is at:

Re: [PHP] The future of PHP - PHP Pattern Repository

2001-09-06 Thread Geoff Caplan
Michael Kimsal wrote Tell me more about your thoughts on this please. One of the strengths of PHP is the gentle learning curve. This means that a lot of people are using it as their first programming language, and a lot of the traffic on the lists, and the articles on the PHP sites, are at a

Re: [PHP] config options

2001-09-06 Thread David Robley
On Fri, 7 Sep 2001 10:04, Martín Marqués wrote: On Jue 06 Sep 2001 21:31, David Robley wrote: On Fri, 7 Sep 2001 09:56, Martín Marqués wrote: I there a way to get the config options with which the php binary (as a binary or as an apache module)? Saludos... :-) It is one of

[PHP] Re: [PHP-INST] PHP4 and Apache 1.3.20 DSO mode not working?

2001-09-06 Thread Bill Carter
aHAH! I finally got it working by using most of the elements of the configure lines you guys provided. I'm very grateful for your help. I think the major difference in what you did and what I had originally attempted was the apxs program. I'm using RedHat 7.x which doesn't install with apxs by

Re: [PHP] The future of PHP - PHP Pattern Repository

2001-09-06 Thread Geoff Caplan
Hi Thomas Deliduka wrote: Actually this originally started ... with my question as to what to tell my JSP-loving buddy that PHP isn't an antiquated and dying language/processing system. I have a proposal for the PHP gurus which should help establish PHP's credentials as a serious tool with

<    1   2