[PHP] Re: Editing files by line

2002-07-12 Thread Lord Loh.
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. Hope these help Lord Loh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Execute script then output image.

2002-07-12 Thread JJ Harrison
I found it. I used header(Location: http://www.yoursite.com/images/stat.gif;); -- JJ Harrison [EMAIL PROTECTED] www.tececo.com David Otton [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Thu, 11 Jul 2002 22:01:03 +1000, you wrote: You need to output the

[PHP] Single website Unix + Windows servers

2002-07-12 Thread olinux
I am working on integrating our current website to apache/redhat/php/mysql Due to a recent investment in an ASP project I must have the windows / SQL server machine running this application. Any suggestions to keeping the site 'seamless' or ideas that will help Thank you, olinux --- Matt

[PHP] Re: Single website Unix + Windows servers

2002-07-12 Thread Matt Parlane
Try: http://www.phpbuilder.com/columns/banahan20010720.php3 I'd also try setting up Apache on your windows box - on a different port if you have to. It just moves you one step closer to what it would be like running on linux. Matt Olinux [EMAIL PROTECTED] wrote in message [EMAIL

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

2002-07-12 Thread Johan Holst Nielsen
Hello! I want to make a form (a wizard) which has 2 Submit-Buttons (Back Next). The buttons should be images. How can I make php see, which button has been pressed? ?php if(isset($_POST[submit_back])) { //go back } else { //go forward } ? form action=?=$_SERVER[PHP_SELF]?

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

2002-07-12 Thread Johan Holst Nielsen
Johan Holst Nielsen wrote: Hello! I want to make a form (a wizard) which has 2 Submit-Buttons (Back Next). The buttons should be images. How can I make php see, which button has been pressed? ?php if(isset($_POST[submit_back])) { //go back } else { //go forward } ?

[PHP] Can not delete files that were uploaded

2002-07-12 Thread Anan
Hello, I use PHP to upload files to the web server via web browser. However, I can not delete the files later cause the Redhat linux server running on safe mode. Do I have to changed the owner of the file during the file uploading time? Please let me know how to solve this problems. Anan

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 +---+ ! +---+ ! ! main

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, but

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_mail.class

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

[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:

[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 [EMAIL

[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 use PHP

[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 td width='100'input name='description' type='text' size='45' maxlength='20' value=.StripSlashes(mysql_result($badgedetails, $i, 'descr')). tabindex='1'//td; The problem is that as

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

2002-07-12 Thread John Holmes
give a name to the buttons ie: Next input name=Next type=image id=Next src=whatever 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

RE: [PHP] Displaying Database Results

2002-07-12 Thread John Holmes
Put quotes around your value input name='description' value='Name Badge' ... vs input name='description' value=Name Badge ... HTML will see the Badge or anything after a space as an extra attribute to the tag. ---John Holmes... -Original Message- From: Mark Colvin [mailto:[EMAIL

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 post

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 are

[PHP] Weird :: behaviour

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! ?php class a { function test() { return 1; } } class b { function test() { return 2; } } $myclass = 'a'; echo $myclass::test(); ? This will not work. It will produce in instead a: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ',' or ';' Funnily

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 different

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 javascript makes

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 argument. :-)

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:

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: ?php $to = Henning Tamas [EMAIL PROTECTED] . ,; $header = From: Test List [EMAIL PROTECTED]; include(pop3.php); $user=irc; $password=*; $apop=0;

[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

[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=msgth=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

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. Probably

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

[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

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 am image

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

[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 check

[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 from

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

[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 an

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

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.

[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 product that

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 potential

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 simply

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 call

[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]',

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

[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

[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,

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

[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

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

[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 does

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-

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 to

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 want to

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

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

[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

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: input type=file name=pdfFile 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

[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

[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

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

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:Picture

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 with PHP

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 inserting in table.

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 period

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 just as easy, and

[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

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 application

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 newsgroup work?

[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, ?\nline1\nline2etc); The reason I was trying to read it at first was that I had a Cookie Set at the very top and I thought it would

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 decent editor will

[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

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 developers.

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)

[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]... For

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)

[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

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.

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

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

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 need street

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 |

  1   2   >