Re: [PHP] Customise Index page using PHP????

2002-07-12 Thread olinux
you can change a setting in apache that will do that - add 'Indexes' to the Options line under olinux --- Craig <[EMAIL PROTECTED]> wrote: > Is there a way to create a customised version of the > index directory > structure using php? > > Eg listing all the pages in the specific directory >

Re: [PHP] how to know upload progress status

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! John Holmes wrote: > Not possible with HTTP, as far as I know. The file is simply sent, > there's no communication back and forth. > > ---John Holmes... That's from within a single script. But it becvomes possible if you have a page like this +---+ ! +---+ ! ! mai

Re: [PHP] mysql question

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! John Holmes wrote: > Gesundheit >>*if* that was on Oracle *and* the table was big you'd notice that your >>performance goes down. Don't ask me why. And I never checked it on >>MySql. But watch out for betweens. Check them. > > Yes, good point. I don't know if it matters in MySQL either, b

Re: [PHP] Help a Header Headache!!

2002-07-12 Thread Chris Hewitt
Chris Knipe wrote: >I just had a look through some of my source Here's what I use.. > > /*** > * Title.: HTML Mime Mail class > * Version...: 1.26 > * Author: Richard Heyes <[EMAIL PROTECTED]> > * Filename..: html_mime_mai

Re: [PHP] Re: Development Tools

2002-07-12 Thread Matt Williams
On Wednesday 10 July 2002 20:51, Matthew K. Gold wrote: > Of course, Macromedia recently bought Allaire, so who knows what the next > version of Homesite will look like... Dreamweaver MX They seem to have merged all the editing bits of Homesite in with Dreamweaver. I must say this is the is be

[PHP] gd ->1:image resolution 2:font quality

2002-07-12 Thread robert
hi Couldn't find a way for changing resolution, for png-image create with gd. Default resolution of gd is 72dpi. Created picture is a barcode. >From TTF - Font. thanks for help and hints. robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

[PHP] Re: http upload corrupts my file on apache and Win XP

2002-07-12 Thread Mathias B
FYI: i solved the problem myself by simply installing Apache 2.0.39 instead of 2.0.36, and then downloading the appropriate php4apache2.dll from php.net (http://www.php.net/manual/en/install.apache.php) Hope it helps someone else... Mathias "Mathias B" <[EMAIL PROTECTED]> wrote in message [EMAI

[PHP] Re: Can not delete files that were uploaded

2002-07-12 Thread Dyon Beaart
You can try to 'chmod' it first : @chmod ($myfile, 0777); and then do an exec or passthru.. exec("rm -f $myfile"); Note the '@', if the chmod fails, he doesn't show it... Good luck Dyon "Anan" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I

[PHP] Displaying Database Results

2002-07-12 Thread Mark Colvin
I have a php script that queries a MySQL database and I loop through the results displaying them as follows: echo ""; The problem is that as per the example above, the text displayed is "Name" but it should be "Name Badge". With all my fields, the text is displayed OK until it hits a space. Why

RE: [PHP] Re: 1 Form, 2 Submit-Buttons

2002-07-12 Thread John Holmes
> give a name to the buttons ie: Next > > > and check in php >if(isset($Next.x) && isset($Next.y)){ > // do somehting here > } > ?> Actually, when an image is clicked on to submit the form, two variables are created. If the image is named 'Next' like the example above, then you'll have $N

RE: [PHP] Displaying Database Results

2002-07-12 Thread John Holmes
Put quotes around your value -Original Message- > From: Mark Colvin [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 12, 2002 6:10 AM > To: Php (E-mail) > Subject: [PHP] Displaying Database Results > > I have a php script that queries a MySQL database and I loop through the > results dis

Re: [PHP] One more thing... e-mails format

2002-07-12 Thread Chris Hewitt
Ce'sar Aracena wrote: >It's me again... and not PHP related. Why is it that every piece of mail I >send to the list comes back as a *rich text" or sometime even "plain >text", when my M$ Outlook is set to send HTML messages? > It is always been the convention on mailing lists and newsgroups to

Re: [PHP] Searching a Paradox Table with my PHP Script..

2002-07-12 Thread Kondwani Spike Mkandawire
I have a lot of things to change including the whole strategy... Thanks for the responses... It ended up being a whole number of factors that were slowing the Script down... Thanks again... "Miles Thompson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Why

[PHP] Weird :: behaviour

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! This will not work. It will produce in instead a: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ',' or ';' Funnily enough, the NEKUDOTA part looks slavian (sort of "nowhereToGo", not russian, maybe it's polish), so I suspect it means it cannot resolve a parametrized call.

Re: [PHP] gd ->1:image resolution 2:font quality

2002-07-12 Thread Pekka Saarinen
At 7/12/2002, you wrote: >hi > >Couldn't find a way for changing resolution, >for png-image create with gd. > >Default resolution of gd is 72dpi. > >Created picture is a barcode. > From TTF - Font. > >thanks for help and hints. >robert Hi Robert, If your intention is to use dpi in order to offer

RE: [PHP] Re: if syntax

2002-07-12 Thread Ford, Mike [LSS]
> -Original Message- > From: Chris Earle [mailto:[EMAIL PROTECTED]] > Sent: 11 July 2002 18:28 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: if syntax > > > > when it would be just as easy, and more functional, to > write this (even > > saves a few characters, too!): > > > >if (x

Re: [PHP] PHP and geographic maps

2002-07-12 Thread Lowell Allen
> From: "Peter J. Schoenster" <[EMAIL PROTECTED]> > > On 11 Jul 2002 at 16:42, Lowell Allen wrote: > [snip/] >> >> Can anyone direct me to info on PHP presentation of geographic maps -- >> tied to a database with locating coordinates? > > Well heck, you've peaked my interest. I don't see how j

RE: [PHP] Re: if syntax

2002-07-12 Thread Ford, Mike [LSS]
> -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED]] > Sent: 11 July 2002 23:38 > [] > > I apologize profusely to the fans of the "alternative syntax" > who are still > using it. > > I personally find the endxxx; to be more of an eyesore, but that's a > religious a

Re: [PHP] Linux Newsgroup... ('continue');

2002-07-12 Thread Scott Fletcher
I don't have ISP, I use T1, the local network I'm on is direct to the internet. I can type in www.cnn.com and it can go where it go quickly without a problem. The same goes for news.php.net Newsgroup. "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]..

Re: [PHP] PHP and geographic maps

2002-07-12 Thread robert
Found by the way. "MapServer is an OpenSource development environment for building spatially enabled Internet applications." http://mapserver.gis.umn.edu/doc/phpmapscript-class-guide.html hope it does help robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Linux Newsgroup... ('continue');

2002-07-12 Thread Scott Fletcher
I tried news.os.linux and it doesn't work, so I tried again with news.os.linux.questions and it doesn't work either. Same thing for news.os. Thanks, FletchSOD "Ed Lazor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Which news service are you connecting to?

[PHP] help with mail() function!

2002-07-12 Thread Thomas \"omega\" Henning
Hello all, I am trying to build a php driven mailing list where i can send an email to the whole list. Here is my code: " . ","; $header = "From: Test List <[EMAIL PROTECTED]>"; include("pop3.php"); $user="irc"; $password="*"; $apop=0; $pop3_connection=new pop3_class; $pop3_connectio

[PHP] Re: gd ->1:image resolution 2:font quality

2002-07-12 Thread robert
> Couldn't find a way for changing resolution, > for png-image create with gd. My idea to solve the problem: 1:Picture to create with gd, scale up by factor 69.4[?] (for 600dpi ) Result is an huge 72 dpi picture. 2:Resize and convert result picture to 600dpi by an external program. Next questi

[PHP] Announcement: FUDforum 2.2.2 Released

2002-07-12 Thread Ilia A.
A major upgrade of the 2.2X FUDforum with many bug fixes and a number of new features. The official announcement can be found here: http://fud.prohost.org/forum/index.php?t=msg&th=724 Detailed ChangeLog: http://fud.prohost.org/CHANGELOG Download Page: http://fud.prohost.org/download.php Ilia

Re: [PHP] Announcement: FUDforum 2.2.2 Released

2002-07-12 Thread Jeff Lewis
Tried going to the official announcement and got this: query failed: %( SELECT fud_forum.id, fud_forum.name, fud_cat.name AS cat_name, fud_cat.id AS cat_id, fud_msg.post_stamp AS msg_post_stamp FROM fud_cat INNER JOIN fud_forum ON fud_cat.id=fud_forum.cat_id LEFT JOIN fud_msg ON fud_forum.last_po

Re: [PHP] PHP and geographic maps

2002-07-12 Thread Stig Venaas
On Thu, Jul 11, 2002 at 04:26:38PM -0700, Lazor, Ed wrote: > I was just checking it out. That map is awesome! What's funny is that it > even has an option to display the picture of a house at the coordinates you > specify. > > Thanks for the compliment *grin* I have no idea why I didn't. Prob

Re: [PHP] Announcement: FUDforum 2.2.2 Released

2002-07-12 Thread Ilia A.
Oops... This is what I get for making a release before finishing the upgrade of the support forum, heh.. Thanks for letting me know about the problem, it has been resolved. Ilia On July 12, 2002 09:07 am, Jeff Lewis wrote: > Tried going to the official announcement and got this: > > query fai

[PHP] PHP meetup

2002-07-12 Thread jon roig
Hey... Want to meet other PHP developers in your area? Check out: http://php.meetup.com/ Pretty nifty idea... especially given the lack of user groups in the U.S. -- jon - jon roig ([EMAIL PROTECTED]) developer, openRealty http://jonroig.com/freecode/openrealty/ -- PHP

[PHP] Re: help with mail() function!

2002-07-12 Thread Kondwani Spike Mkandawire
Try: $header = "From: Test List <[EMAIL PROTECTED]>"; mail($to, $subject, $fullbody, $header.""); Note the extra Null String concatinated... My php.ini is also configured to show: sendmail_from= In the mail function... This is under WinNT... php 4.2.1 The Null String might work under UNIX

RE: [PHP] PHP meetup

2002-07-12 Thread Jay Blanchard
[snip] Want to meet other PHP developers in your area? Check out: http://php.meetup.com/ Pretty nifty idea... especially given the lack of user groups in the U.S. [/snip] Excellent idea Jon! I have set up for the San Antonio area and I have invited some other developers (some who haven't done P

Re: [PHP] PHP and geographic maps

2002-07-12 Thread Lowell Allen
> From: Martin Towell <[EMAIL PROTECTED]> > > I'm currently working on a system that grabs an image from a map server and, > using html layers, overlays where the products are. > > Basically, this is how it's set up. > > The map server is running on a WinNT system. > > In the html code, I put

Re: [PHP] One more thing... e-mails format

2002-07-12 Thread Miles Thompson
Cesar ... You've touched a nerve ... For a start, because the list requires it. Second, because we have no idea what kind of client the members are using. Third, plain text is all that is needed to communicate the ideas and concepts necessary to this list. Fourth, plain text renders blocks of

[PHP] Emulating Java Exceptions

2002-07-12 Thread Garland Foster
Hi All, I'm porting Java Code to PHP, my question is: What is the best approach to emulate Java exceptions in PHP4? (I know ZE2 adds exceptions but I can't wait). When a Java method "throws" an exception it is difficult to handle as a "return" of an exception object since then I'd have to che

[PHP] A question of style ...

2002-07-12 Thread Jay Blanchard
Howdy group, Over the past couple of days I have come under some fire for my "style" of coding, most particularly the use of PHP scripts to process information between "pages" or interfaces shown to various users. An example; An agent goes to an interface that reveals a list of customers f

Re: [PHP] A question of style ...

2002-07-12 Thread Martin Clifford
I see no problems whatsoever in utilizing an intermediary script to do processing of information. However, there IS a problem when this script sets flags that are unwanted by the client. An example of a good intermediary script application would be as below. Person A and Person B both remote

[PHP] Re: help with mail() function!

2002-07-12 Thread Thomas \"omega\" Henning
No it didn't work. I simply don't understand why its not working. I use it the same way in a nother php and it works perfectly. "Kondwani Spike Mkandawire" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Try: > > $header = "From: Test List <[EMAIL PROTECTED]>";

[PHP] rfc1867.c.diff-4.0.6 for php-4.0.4pl1

2002-07-12 Thread Robert Covell
Does a patch exist for php-4.0.4pl1? If not, can I use rfc1867.c from 4.0.6 with 4.0.4pl1? -Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] One more thing... e-mails format

2002-07-12 Thread Chris Hewitt
Miles Thompson wrote: > Cesar ... > You've touched a nerve ... Yep, sure have. > still does, to make Word the default email editor. For about 6 mos > life on mailing lists was hell until people were trained to turn that > off. And I still work with some people that think using MS Word as a

Re: [PHP] Re: Editing files by line

2002-07-12 Thread Analysis & Solutions
On Fri, Jul 12, 2002 at 12:04:55PM +0530, Lord Loh. wrote: > int fseek (int fp, int offset [, int whence]) > int ftell (int fp) > int rewind (int fp) > These syntaxes might be useful... > Read more in File System Functions of the PHP Docs. Unfortunately, if a file is opened for appending via fope

Re: [PHP] PHP and geographic maps

2002-07-12 Thread Analysis & Solutions
Lowell: On Fri, Jul 12, 2002 at 09:25:56AM -0400, Lowell Allen wrote: > Are you using JavaScript to update the image without going back to the map > server? Dude, Dynamic HTML / JavaScript are a poor idea... unless you don't care about your potential customers. http://www.analysisandsolutions.c

[PHP] Re: PHP and geographic maps

2002-07-12 Thread Lowell Allen
> From: "Richard Lynch" <[EMAIL PROTECTED]> > >> A client wants a database-driven site that records information about real >> estate properties and includes geographic maps of property locations >> (throughout the US). The client has seen a presentation of a >> JavaScript-powered, Windows-only pr

Re: [PHP] PHP and geographic maps

2002-07-12 Thread Lowell Allen
> From: Analysis & Solutions <[EMAIL PROTECTED]> > > On Fri, Jul 12, 2002 at 09:25:56AM -0400, Lowell Allen wrote: >> Are you using JavaScript to update the image without going back to the map >> server? > > Dude, Dynamic HTML / JavaScript are a poor idea... unless you don't care > about your po

Re: [PHP] using pdf template

2002-07-12 Thread Tobias Talltorp
>From what I can understand, I can only use PDI to put PDFs in the background, not use the actual elements from the PDF? Example: I have created a PDF with a table with two cells in one row. The cells have the text "cell1" and "cell2". I run this PDF through the PDI. Now, can I replace the texts

[PHP] Write EXIF - is it possible?

2002-07-12 Thread Victor Spång Arthursson
Is it possible to write to exif-headers in pictures? Wonders: Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Emulating Java Exceptions

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Garland Foster wrote: > Hi All, > > I'm porting Java Code to PHP, my question is: What is the best approach > to emulate Java exceptions in PHP4? (I know ZE2 adds exceptions but I > can't wait). If the exceptions you have to manage are code generated at runtime you actually may simpl

Re: [PHP] Emulating Java Exceptions

2002-07-12 Thread Garland Foster
Alberto, I might have expressed the problem wrongly, if you have lets suposse you have: $obj = new foo(); $obj->some(); And some might return an "exception" object. The problem is that some may call a lot of other methods from foo and I don't want to check if the return value of each method ca

[PHP] ' giving problem while inserting in table.

2002-07-12 Thread Anil Garg
Hi, I am making a faq maintenance system using mysql and php. To insert a entry in to a faq table i am using the following query: - INSERT INTO faq_table_netvd (id,question, answer,netvcr,netdetector,add_date,mod_date,keyword,category,display,attach_ id) VALUES ('0','$frm[question]', '$fr

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Martin Clifford
Use addslashes() on ALL strings before inserting them into your database. Then, on your frontend, extract the data and use stripslashes() on all strings. Hope to help! Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ >>> "Anil

[PHP] Re: [PHP-WIN] More bzip woes! No file written...

2002-07-12 Thread Michael Davey
> Use full path for every filename. I have now changed my code to do this, see below. > Use ls -als to figure the permissions on each file. I am running this on a windows box for now, and although I have cygwin and can run ls and chmod, they don't seem to have any affect on the actual permissio

[PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Serdar Sokmen
Hi, Please read the rest of this email if you're interested in helping final year Computer Science student (yes, that's me...) by giving him some ideas on his final year project very possible involving PHP and SQL... I will start next autumn my third year of Computer Science studies. I have to

[PHP] Moving the pointer in a file...

2002-07-12 Thread Kondwani Spike Mkandawire
I am trying to read and write to a file on Line 5 and line 5 alone... $file = fopen($fileName, "r+"); Places the pointer at the beginning of the file I have tried the following... $line = fgets($file, 255); $line = fgets($file, 255); $line = fgets($file, 255); $line = fgets($file, 25

Re: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Martin Clifford
If completely developing a fully functional and optimized E-commerce site isn't good enough, I don't know what is. I can understand how it may not necessarily be innovative (though it could have innovative features), but designing such a site would prove to anyone I know that you have a great

RE: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Jay Blanchard
[snip] Computer Science student (yes, that's me...) by giving him some ideas on his final year project very possible involving PHP and SQL... [/snip] How about a billing system? Accepts orders, processes invoicing, tracks customer trends and habits, has a method for tracking "aged" bills (over 30

RE: [PHP] PHP meetup

2002-07-12 Thread Jay Blanchard
[snip] Want to meet other PHP developers in your area? Check out: http://php.meetup.com/ Pretty nifty idea... especially given the lack of user groups in the U.S. [/snip] I thought for others who had not seen this I would post this. There is probably already a user group in your area if you liv

[PHP] PHP and ORACLE

2002-07-12 Thread Ricardo Fitzgerald
Hi, I started with PHP and MYSQL a while ago and now I've been involved in a huge database project with ORACLE. My point is I never used it nor develop with ORACLE, so I want to know where and what kind of information I need to port my web application developed with php and mysql to port it to O

RE: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Richard Black
It was a few years ago, waaay back in 96, but if its any kind of help my final year project was to design a hypertext documentation system for Java. All it did was take Java source files, and parse them to produce html output, where instances were linked to take you to the definition of that

RE: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Matt Schroebel
A couple projects that I have thought of doing at are quite large would be: 1. A network monitor, like Big Brother, but written in php. Completely db driven, with an easy to use web interfaces for monitoring/adding systems and has uptime graphs, etc. It can be quite complex if you try to add h

[PHP] Re: Final Year Computer Science Project involving PHP

2002-07-12 Thread Garland Foster
Hi Serdar, Let me check my bag of "sadly archived" projects mmmhyes I have a good idea for an "A" project: A RELAX NG validator for PHP. You can base your work on "Jing", a RNG validator in Java. The advantages are clear a) 100% feasible (if everything fails just watch how Jing do

RE: [PHP] PHP meetup

2002-07-12 Thread jon roig
Nope... didn't crosspost anywhere... (I'm only subscribed to the general list.) My problem is similar -- I'm in Philadelphia and there doesn't appear to be a group here at all. There's some crossover with the local linux users group, but not a lot. -- jon -Original Message- Fro

Re: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Martin Clifford wrote: > If completely developing a fully functional and optimized E-commerce site isn't good >enough, >I don't know what is. I can understand how it may not necessarily be innovative >(though it could >have innovative features), but designing such a site would prove

Re: [PHP] Emulating Java Exceptions

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Garland Foster wrote: > Alberto, > > I might have expressed the problem wrongly, if you have lets suposse you > have: > $obj = new foo(); > $obj->some(); > And some might return an "exception" object. > > The problem is that some may call a lot of other methods from foo and I > don't

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread 1LT John W. Holmes
You DON'T have to use stripslashes() on data coming out of a database. The slashes were there to escape certain characters so they could make it into the database. The actual slashes do not go into the database. If they are in your case, then you're using addslashes() twice, somehow. The only time

Re: [PHP] PHP and ORACLE

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! I hope you are not really living in the early 70's, are you? Ricardo Fitzgerald wrote: > Hi, > > I started with PHP and MYSQL a while ago and now I've been involved in > a huge database project with ORACLE. Have the Oracle box do most of it. Make sure that: 1) there is a well defined

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Anil Garg
Hi, addslashes() works fine for me( and as John said i dint need to use stripslashes) NOW( :( ) whats happening is if i *want* to add a backslash in the string that also gets stripped off (as i have to specify many windows paths e.g. c:\niksun\config\ ). Is there any fix to this of its a trade off

[PHP] odbc_exec(), any way to validate whether it work or not?

2002-07-12 Thread Scott Fletcher
For the odbc_exec(), is there a way to validate whether this return a true or false. If false, then the error message? I really hate PHP_SELF now, this one web page is written to be repeated 3 times. With the global register turned off, everything was really a mess and I'm close to being done i

Re: [PHP] uploads work sometimes

2002-07-12 Thread Jason Wong
On Friday 12 July 2002 03:27, Tyler Longren wrote: > Hi, > > I have a form: > > > And the code that processes the form: > if ($_FILES['pdfFile']['name'] == "") { > print "You must select a file to upload"; > } > else { > // code to add data to db > } > > This works on my server at hom

[PHP] PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-12 Thread Jay Blanchard
No, it's not a dating service :) Want to meet other PHP developers in your area? Check out: http://php.meetup.com/ Pretty nifty idea... especially given the lack of user groups in the U.S. [/snip] I thought for others who had not seen this I would post this. There is probably already a user

[PHP] Re: Final Year Computer Science Project involving PHP

2002-07-12 Thread Kondwani Spike Mkandawire
Hey Serdar: Have you ever heard of a piece of Software called 1st Place... You can create a simulation of that... It is used for Cooperative Education Services... We have it in place here at Memorial University (Canada)... It gives coordinators of various cooperative education programmes a dece

RE: [PHP] PHP meetup

2002-07-12 Thread Martin Clifford
I just signed up for this, as I would LOVE to be able to talk and interact (in person) with some PHP Developers. As I'm still learning (as we all are), it would be a great opportunity for me to be able to meet up and discuss this wonderful language with my peers. Hopefully that'll come to pas

RE: [PHP] Re: gd ->1:image resolution 2:font quality

2002-07-12 Thread Andrew Chase
The GIMP is free (as in speech), and I've found it to work quite well on windows: http://www.gimp.org/ The GIMP for Windows page: http://www.gimp.org/~tml/gimp/win32/ -Andy > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]> > My idea to solve the problem: > 1:Pic

Re: [PHP] Linux Newsgroup... ('continue');

2002-07-12 Thread Miguel Cruz
On Fri, 12 Jul 2002, Scott Fletcher wrote: > Miguel Cruz <[EMAIL PROTECTED]> wrote in: >> On Thu, 11 Jul 2002, Scott Fletcher wrote: >>> Are you sure these newsgroup work? I tried subscribing to it and got a >>> response saying newsgroup server could not be found. I didn't have that >>> problem

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Anil Garg
thanx, its working perfect now anil :) - Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Anil Garg" <[EMAIL PROTECTED]>; "Martin Clifford" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 12, 2002 12:46 PM Subject: Re: [PHP] ' giving problem while insertin

Re: [PHP] Re: PHP and geographic maps

2002-07-12 Thread Miguel Cruz
On Thu, 11 Jul 2002, Richard Lynch wrote: > NOTE: End-user GPS units are "off" by like 30 meters (?) on purpose so Joe > Blow can't tell the "enemy" how to find the White House and blow it up. > Sigh. You're never gonna beat that error margin without a *LOT* of repeated > readings over a long p

Re: [PHP] Re: if syntax

2002-07-12 Thread Chris Earle
"Mike Ford" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > -Original Message- > > From: Chris Earle [mailto:[EMAIL PROTECTED]] > > Sent: 11 July 2002 18:28 > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] Re: if syntax > > > > > > > when it would be

[PHP] PHP/cron fetching and processing email from a POP3 account

2002-07-12 Thread D. Reid Wilson
I would like to write a PHP script that fetchs email from a POP3 account and then processes it based on the content of the email, such as writing it to a CRM database or confirming an ezine subscription. I would then run the PHP script via a cron job every ten minutes or so. I've looked at the P

Re: [PHP] PHP and ORACLE

2002-07-12 Thread Miguel Cruz
On Fri, 12 Jul 2002, Alberto Serra wrote: > Ricardo Fitzgerald wrote: >> I started with PHP and MYSQL a while ago and now I've been involved in >> a huge database project with ORACLE. > > Have the Oracle box do most of it. Make sure that: > 1) there is a well defined API for external applicatio

Re: [PHP] Linux Newsgroup... ('continue');

2002-07-12 Thread Scott Fletcher
Alright! I'll give it my best shot! "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, 12 Jul 2002, Scott Fletcher wrote: > > Miguel Cruz <[EMAIL PROTECTED]> wrote in: > >> On Thu, 11 Jul 2002, Scott Fletcher wrote: > >>> Are you sure these

[PHP] Re: Moving the pointer in a file...

2002-07-12 Thread Kondwani Spike Mkandawire
Figured it out: I just rewrote the first 3 lines with a few new Line Characters and place respat the Line I wanted Changed with its Variable... fputs($file, " wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am trying to read and write to a file on Line 5 and line 5 alone... > $

Re: [PHP] Re: if syntax

2002-07-12 Thread Chris Earle
> > >PHP will tell you you have a syntax error on the very last > > line of your > > >file, and you have no option but to go back and laboriously > > hand match all > > >of your braces -- and with each ellipsis representing maybe > > tens (or even > > >hundreds!) > > > > Don't be ridiculous. Any

[PHP] PHP codes and variables

2002-07-12 Thread J. Alden Gillespy
Anyone know how to do have a variable equal the contents of a file? I tried the include function, but it just prints the file out on the screen rather than including the contents in the variable itself. I need help with this ASAP. Thanks. J. Alden Gillespy (DJ Rage) Broadcasting on Test Patter

Re: [PHP] PHP codes and variables

2002-07-12 Thread Miguel Cruz
On Fri, 12 Jul 2002, J. Alden Gillespy wrote: > Anyone know how to do have a variable equal the contents of a file? I tried > the include function, but it just prints the file out on the screen rather > than including the contents in the variable itself. I need help with this > ASAP. Thanks. $

Re: [PHP] PHP codes and variables

2002-07-12 Thread Kevin Stone
Or use implode instead of join makes skips the step of extracting the index.. $file = implode ('', file ("afile.html")); If you'll be sending more output than just one file then another favorite method is this.. ob_start(); readfile("file1.txt"); readfile("file2.html"); $output = ob_get_contents(

Re: [PHP] PHP and ORACLE

2002-07-12 Thread Chris Hewitt
Ricardo Fitzgerald wrote: >Hi, > >I started with PHP and MYSQL a while ago and now I've been involved in >a huge database project with ORACLE. > ---snip--- >And i don't have any kind of experience with Oracle, so I would >appreciate any recommendations from experienced devel

Re: [PHP] PHP codes and variables

2002-07-12 Thread J. Alden Gillespy
Which method makes it possible to process any variables in the included file? See, I have variables in the included file that are defined in the page that's calling it. J. Alden Gillespy (DJ Rage) Broadcasting on Test Pattern Radio Shock Rock! Every Sunday 5-8pm edt (21-0 gmt) http://www.thetes

[PHP] Re: odbc_exec(), any way to validate whether it work or not?

2002-07-12 Thread Scott Fletcher
Never Mind! It was the $_GET['VIEW'] that was the problem. Since some script use Get method while other use Post method, so I changed it to $_REQUEST['VIEW'] and that took care of the problem. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > F

Re: [PHP] PHP/cron fetching and processing email from a POP3 account

2002-07-12 Thread Chris Hewitt
D. Reid Wilson wrote: >I would like to write a PHP script that fetchs email from a POP3 account and >then processes it based on the content of the email, such as writing it to a >CRM database or confirming an ezine subscription. I would then run the PHP >script via a cron job every ten minutes or

[PHP] How do I send files with HTTP socket post (PostToHost)

2002-07-12 Thread Kevin Stone
Okay enough answering questions this week, now I have a question to ask. :) I have a situation where two web servers need to share files with one another. FTP is not an option. So I am resorting to HTTP socket connection. I am able to open the connection (using Rasmus's PostToHost function) t

[PHP] black becomes red w/ imagecreatefromjpeg

2002-07-12 Thread Don Howland
Hello group, It's been over a year since I've had to come to you for help, but your insights and experience are too hard to resist... :-) I don't have a problem with any of the gd functions and they all works fine except that when I try to fill a circle or draw onto an imported image from ima

Re: [PHP] PHP codes and variables

2002-07-12 Thread Kevin Stone
In that case you'll have to use the output buffering method ob_start(); The include() function parses and executes any valid PHP code within the file and produces output (if any). Output buffering captures the display output and stores it until you clean the buffer or the script terminates. ob_

Re: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Scott Hurring
... and you could provide hooks so that the billing/sales/inventory systems could all be separate "modules" of some sort, and you could add/swap out modules as they're needed... and perhaps have them communicate thru XML/SOAP, so that they could be on different hosts altogether. :-) There's a m

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Scott Hurring
or, more appropriately, use the database-specific escape function... for mysql: http://www.php.net/manual/en/function.mysql-escape-string.php http://www.php.net/manual/en/function.mysql-real-escape-string.php -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Martin Cliffo

Re: [PHP] Re: gd ->1:image resolution 2:font quality

2002-07-12 Thread 1LT John W. Holmes
> The GIMP is free Man, if I had a nickel for every time I heard that... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP and geographic maps

2002-07-12 Thread Richard Lynch
>> But keeping all that junk in the database as 2-D mapping would only be >> needed if you're going to be providing driving directions and keeping all >> the highways and all that crap that MapQuest keeps (I assume). You almost >> for sure don't need all that. > >It seems to me like they still ne

Re: [PHP] help with mail() function!

2002-07-12 Thread Analysis & Solutions
You wouldn't happen to be on a windows system? Read the "Warning:" on the manual page: http://www.php.net/manual/en/function.mail.php --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolu

Re: [PHP] A question of style ...

2002-07-12 Thread Analysis & Solutions
Hi Jay: On Fri, Jul 12, 2002 at 08:40:31AM -0500, Jay Blanchard wrote: > > The agent selects a referral which is processed by an intermediary > script which sets a flag in the database saying that "this agent" is, has,or > will be contacting this referral (to prevent duplicate contact). Then thi

[PHP] good article on creating a subscription form/script

2002-07-12 Thread René Fournier
I've looked on php.net, phpbuilder.com, and zend.com, but to no avail. Any suggestions? --- René Fournier, [EMAIL PROTECTED] Toll-free +1.888.886.2754 Tel +1.403.291.3601 Fax +1.403.250.5228 www.smartslitters.com SmartSlitters International #33, 1339 - 40th Ave NE Calgary AB T2E 8N6 Canada

[PHP] Re: IIS Bugs???

2002-07-12 Thread Scott Hurring
There's a problem with IIS and the rest of the world :-) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... OK This is a followon from my Browser thread... on [EMAIL PROTECTED]

RE: [PHP] good article on creating a subscription form/script

2002-07-12 Thread Lazor, Ed
It may not be the best approach, but I've always created a form that accepts the users e-mail address and passes it to a script. The script generates an e-mail and sends it to the listserv on behalf of the user. The listserv sends a message to the user and confirms the subscription. -Ed -O

[PHP] another pair of eyes?

2002-07-12 Thread Jas
Hello all, I have a parse error and I am not sure why, I think my eyes are giving up on me, or its a friday. Any help is appreciated. // just trying to compare the session var $date to timeout if older than 5 minutes [snippit] /* Begin Session and register timeout, random image & client info vari

[PHP] Encoding problem with command line PHP.exe

2002-07-12 Thread Emile Axelrad
Hello - My problem is as follows: The data in the MSSQL table is: Æã IF I call this PHP code from my browser (IE6) it results in the following output: Æã and it also places into the MySQL database the value: Æã However, if I call this PHP code from the command line, using "php.exe tes

  1   2   >