Re: [PHP] output of fread() is blank - FIXED - updated

2003-01-27 Thread Philip Olson
On Mon, 27 Jan 2003, Guru Geek wrote: > Sorry, here is the code now ( I need a nap ) > > $filename > ="/usr/local/plesk/apache/vhosts/myserver.com/httpdocs/include/text.txt"; > $handle = fopen ($filename, "r"); > $contents = fread ($handle, filesize ($filename)); > fclose ($handle); > echo $conte

RE: [PHP] Anyone?? file uploads received, but mangled

2003-01-27 Thread John W. Holmes
> Last try -- I know there's a lot of noise in this group, but could someone > please offer an opinion? > > Is the following possible to work around, or is it a bug that I should be > reporting? > > I'm having issues uploading files whose names don't necessarily end with > the correct extension,

Re: [PHP] output of fread() is blank - FIXED - updated

2003-01-27 Thread Guru Geek
In all actuality I will be manipulating the information that is in that file. I'm trying to build a log in script. The id's and passwords are stored in a text file. I'm trying to read that text file so I can compare what the user/viewer had typed in the id and password boxes. I'm so new to PHP

Re: [PHP] HELP session cache limiters

2003-01-27 Thread Matt
- Original Message - > From: "Didier McGillis" <[EMAIL PROTECTED]> > Sent: Monday, January 27, 2003 7:14 PM > Subject: [PHP] HELP session cache limiters > > Any thoughts on this error? > > Warning: Cannot send session cache limiter - headers already sent (output > started at /home/sisource/

Re: [PHP] HELP session cache limiters

2003-01-27 Thread Didier McGillis
Nevermind, I have found the person who fooled with the code and then lied about being in the file. From: "Matt" <[EMAIL PROTECTED]> To: "Didier McGillis" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: Re: [PHP] HELP session cache limiters Date: Mon, 27 Jan 2003 19:48:31 -0500 - Origi

[PHP] Re: PHP vs Perl for system scripts (non-web)

2003-01-27 Thread Alex
If you like php better, i'd stick with it; however, for almost all of my un-web-related stuff, i use perl. i'm pretty sure they would run at about the same speeds/efficency. "Paul Chvostek" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have to write a swa

[PHP] Re: PHP vs Perl for system scripts (non-web)

2003-01-27 Thread Philip Hallstrom
Unless you've got a compelling reason to switch to Perl, I wouldn't. I like Perl, but like you have used PHP a lot more often in the last couple of years. Where I find it really nice is when my cron scripts need to use the same libraries as my web scripts... -philip On Mon, 27 Jan 2003, Paul Ch

Re: [PHP] multiple entry forms !!

2003-01-27 Thread Justin French
on 28/01/03 10:20 AM, scott ([EMAIL PROTECTED]) wrote: > hi > > looking for some advice > > I have a site in progress. user to it have to enter a LOT of information (it > will contain a club directory) > > in order to try and make it a less unpleasant experience for the user, I > want to give t

RE: [PHP] Anyone?? file uploads received, but mangled

2003-01-27 Thread af
I don't believe it -- it's another IE "feature"!! It doesn't happen in Netscape 7. Not completely sure, but I think the binary data is the mac-specific type/creator code which apparently IE feels the need to prepend. I thought I was safe now that I've dumped OS 9 entirely and moved everything

[PHP] Too many 'linespaces'

2003-01-27 Thread Lars Espelid
Hello, I present some content of a mysql-table in an html-table. When the query which collects the content contains few rows I get the amount of space I want between the output and the above content. But when I get for instance 60 rows, the printed result jumps down about 7 lines. I would like to

Re: [PHP] Too many 'linespaces'

2003-01-27 Thread Tom Rogers
Hi, Tuesday, January 28, 2003, 12:24:21 PM, you wrote: LE> Hello, LE> I present some content of a mysql-table in an html-table. When the query LE> which collects the content contains few rows I get the amount of space I LE> want between the output and the above content. But when I get for instanc

Re: [PHP] Session Variables

2003-01-27 Thread Leif K-Brooks
$HTTP_SESSION_VARS and $_SESSION don't magically update when you add a session variable with session_register(). Jed R. Brubaker wrote: I have a quirky problem that should be a breeze for someone who is smarter than I. I have a script where I am registering a HTML form post variable as a sessio

Re: [PHP] Too many 'linespaces'

2003-01-27 Thread Lars Espelid
You mean to comment out the while sentence? A do-while-loop won't work without the while-part would it? Comments are suplements to understand the code, not needed for the code to work. Thanks anyway "Tom Rogers" <[EMAIL PROTECTED]> skrev i melding [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > H

[PHP] Access to Pear

2003-01-27 Thread Warren Vail
I know how to load extensions if they are not included in PHP.ini (dl function), but how do I gain access to PEAR? I can see the directory /apache/php/pear/ on my test machine, but when I try to reference via include_once("DB.php"); not found on include list error, can I dynamically change

[PHP] Re: multiple entry forms !!

2003-01-27 Thread Manuel Lemos
On 01/27/2003 09:20 PM, Scott wrote: hi looking for some advice I have a site in progress. user to it have to enter a LOT of information (it will contain a club directory) in order to try and make it a less unpleasant experience for the user, I want to give them 7 smaller input forms, each one

RE: [PHP] Too many 'linespaces'

2003-01-27 Thread John W. Holmes
[snip] > > > > mysql_fetch_assoc($Recordset1)); ?> > Your problem is probably right here. Why do you have output between the and tag? Since that doesn't make sense, there shouldn't be any data

Re[2]: [PHP] Too many 'linespaces'

2003-01-27 Thread Tom Rogers
Hi, Tuesday, January 28, 2003, 12:47:05 PM, you wrote: LE> You mean to comment out the while sentence? LE> A do-while-loop won't work without the while-part would it? Comments are LE> suplements to understand the code, not needed for the code to work. LE> Thanks anyway LE> "Tom Rogers" <[EMAIL

Re: [PHP] Access to Pear

2003-01-27 Thread jacob
You could download the pear files from the pear CVS to somewhere within your programs path. If your web files are in (using a linux example) /home/foo/public_html then just change to that directory and checkout the files from CVS. This also gives you the luxury of keeping the pear files uptodat

Re: [PHP] Access to Pear

2003-01-27 Thread jacob
> Then the only thing you have to change from windows to linux is the > ROOT_PATH_DELIMITER (comment it out). I meant to say remove the value: define('ROOT_PATH_DELIMITER', ''); Quoting [EMAIL PROTECTED]: > You could download the pear files from the pear CVS to somewhere within your > > progr

[PHP] How to convert HTML Table structure to DB schema or XML format

2003-01-27 Thread Tariq Murtaza
Hi All, How to convert HTML Table structure to DB schema or XML format Here is the sample table Looking for your commnets / directions (Note: I dont know about regular expressions much :( ) Regards Tariq http://www.ababasons.com >A. BABA & SON

[PHP] PHP Page Refresh on Redirection

2003-01-27 Thread Phil
I have a PHP page with a form that submits to another PHP processing page. On completion of the PHP actions on the processing page, I have echoed into the page the javascript action of 'location.href=...' and the location is redirected to the PHP form page that starting the process. Both pages take

RE: [PHP] PHP Page Refresh on Redirection

2003-01-27 Thread John W. Holmes
> I have a PHP page with a form that submits to another PHP processing page. > On completion of the PHP actions on the processing page, I have echoed > into > the page the javascript action of 'location.href=...' and the location is > redirected to the PHP form page that starting the process. Both

[PHP] Good way to organize code using classes???

2003-01-27 Thread @ Nilaab
Hello everyone, I want to be able to use objects to create my future pages. My goal is to use methods of classes to make the original front-line script easier to read, while all the processing is done with a simple call to the different classes from a single class. Please read futher, as I'll get

Re: [PHP] PHP Page Refresh on Redirection

2003-01-27 Thread Justin French
on 28/01/03 4:42 PM, Phil ([EMAIL PROTECTED]) wrote: > I have a PHP page with a form that submits to another PHP processing page. > On completion of the PHP actions on the processing page, I have echoed into > the page the javascript action of 'location.href=...' and the location is > redirected t

[PHP] Need Guru's Help

2003-01-27 Thread Tariq Murtaza
Hi All Guru's here, I need your help regarding converting HTML Table structure to DB schema or XML format. I am not a Regular expression expert. (Actually i have 500 html files containing this table struction,and need to read all 500 files and convert them to DB schema or XML format) Looking f

[PHP] printing

2003-01-27 Thread Shaun van den Berg
Hey, Is there a way in php to print to a printer? say i have a order from , when someone clicks the submit button - then print the form plus the entered details to a page ? Thanks for you help Shaun -- Novtel Consulting Tel: +27 21 9822373 Fax: +27 21 9815846 Please visit our website: www.novte

<    1   2