[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

[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

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] 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 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] 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

[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

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

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

[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

[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

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

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

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

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

[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

[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

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

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] 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] 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 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

[PHP] HELP session cache limiters

2003-01-27 Thread Didier McGillis
I dont know where this came from. The site was working fine, unless someone else on my team made a fix in this file. Any thoughts on this error? Warning: Cannot send session cache limiter - headers already sent (output started at /home/sisource/public_html/stage/administration/config.php:19) i

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

2003-01-27 Thread Guru Geek
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 $contents; exit; Guru Geek wrote: > Here's my code now: >

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

2003-01-27 Thread Paul Chvostek
I have to write a swath of code to manage system-related stuff based on database content. Scripts will be run as root by cron, and determine what they have to do via user interaction and SQL lookups. Functions will include manipulation of system configuration files, legacy text file configs, and

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

2003-01-27 Thread Guru Geek
Here's my code now: $filename = "/usr/local/plesk/apache/vhosts/myserver.com/httpdocs/include/text.txt"; $handle = fopen ($filename, "r"); $contents = fread ($handle, filesize ($filename)); fclose ($handle); echo readfile($filename); exit; now it displays the contents of the text.txt file. I ori

[PHP] Re: mail () format

2003-01-27 Thread Philip Hallstrom
Something like... $body = "blah blah blah\n"; $body .= "Name = $name\n"; $body .= "Address = $address\n"; $body .= "Comments = $comments\n"; mail("[EMAIL PROTECTED]", "subject", $body); would do it. On Tue, 28 Jan 2003, Bruce Levick wrote: > I have a number of field entries that I am trying t

[PHP] mail () format

2003-01-27 Thread Bruce Levick
I have a number of field entries that I am trying to send through to the body of an email. How can I format the mail() command to send these multiple fields. EG $name, $address, $comments. All to go into the body of an email. Cheers -- PHP General Mailing List (http://www.php.net/) To unsub

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

2003-01-27 Thread af
Hi all. 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, in pa

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

2003-01-27 Thread Philip Olson
On Mon, 27 Jan 2003, Guru Geek wrote: > Hello, > > I'm a recent convert from CGI/Perl and so am still getting my feet wet > in PHP. > > Here's my code: > $filename = "http://www.myserver.com/include/sometext.txt";; > $handle = fopen ($filename, "rb"); > $contents = fread ($handle, filesize ($fi

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

2003-01-27 Thread Philip Hallstrom
I could be wrong, but I'd guess that filesize fails for remote files. If all you're doing is spitting out the text, why not use readfile()? -philip On Mon, 27 Jan 2003, Guru Geek wrote: > Hello, > > I'm a recent convert from CGI/Perl and so am still getting my feet wet > in PHP. > > Here's my c

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

2003-01-27 Thread Jason Sheets
Hello, The PHP manual page for filesize (http://www.php.net/manual/en/function.filesize.php) mentions that it will not work on remote files. fread will stop once n number of bytes are read or EOF is received so you could set this to the maximum file size (in bytes) that you want to download. Jas

[PHP] Re: multiple entry forms !!

2003-01-27 Thread Philip Hallstrom
Use several smaller forms and store the results of each into a session variable. Also store a "got-results-for-form-1" (through 7) that gets set for each of the 7 forms. Once all 7 are set you can do the final processing. Set the action of each form to say "save.php" and pass in a "saving_what"

[PHP] output of fread() is blank

2003-01-27 Thread Guru Geek
Hello, I'm a recent convert from CGI/Perl and so am still getting my feet wet in PHP. Here's my code: $filename = "http://www.myserver.com/include/sometext.txt";; $handle = fopen ($filename, "rb"); $contents = fread ($handle, filesize ($filename)); fclose ($handle); echo $contents; exit; The pro

[PHP] multiple entry forms !!

2003-01-27 Thread scott
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 following the other what would be the

Re: [PHP] Help : I need modify a the header information in a JPEG image file

2003-01-27 Thread Chris Shiflett
--- Chris Shiflett <[EMAIL PROTECTED]> wrote: > --- "Patricio Vera S." <[EMAIL PROTECTED]> wrote: > > I new to the php world ant the image too, and I need > > modify the header information in a JPEG image file, > > is that possibly? How? > > Those are EXIF headers. I am not sure if there is > supp

Re: [PHP] Help : I need modify a the header information in a JPEG image file

2003-01-27 Thread Chris Shiflett
--- "Patricio Vera S." <[EMAIL PROTECTED]> wrote: > I new to the php world ant the image too, and I need > modify the header information in a JPEG image file, > is that possibly? How? Those are EXIF headers. I am not sure if there is support for modifying them (aside from doing it manually yoursel

Re: [PHP] help needed with session variables

2003-01-27 Thread 1LT John W. Holmes
Are you sure $first_name and $last_name have a value? Double check... ---John Holmes... - Original Message - From: "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 4:44 PM Subject: [PHP] help needed with session variables hello, I am

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread White Wolf
"Scott Fletcher": > Okay, correction... > > Double --> 11.1237 > Float --> 0. > > Cheers! It's the way it work in C Programming... Double won't be as long > or as infinite as the floating point. Absolutely wrong (if you would be in a C newsgrou

[PHP] Help : I need modify a the header information in a JPEG image file

2003-01-27 Thread Patricio Vera S.
Hi, I new to the php world ant the image too, and I need modify the header information in a JPEG image file, is that possibly? How? I need put some information in the image at the instant when the user download this from the web site. Thanks in Advance. Saludos, Patricio Vera.

[PHP] help needed with session variables

2003-01-27 Thread Pushpinder Singh Garcha
hello, I am making use of sessions in my PHp/MySQL Database application. When the user is successfully authenticated against the database, a session is created in following manner: session_register("valid_user","firstname","lastname"); $valid_user = $login; $firstname = $first_name;

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
Okay, correction... Double --> 11.1237 Float --> 0. Cheers! It's the way it work in C Programming... Double won't be as long or as infinite as the floating point. "White Wolf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread White Wolf
"Scott Fletcher" wrote: > Double and Float are not exactly the same thing. > > Double is ---> 11.123 > Float is --> .00238823993 I am absolutely new to PHP but what is above (since PHP seems to take most of its low-level terminology from C) is a fixed point number and the next is a floating po

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Chris Shiflett
--- Scott Fletcher <[EMAIL PROTECTED]> wrote: > Double and Float are not exactly the same thing. > > Double is ---> 11.123 > Float is --> .00238823993 They are the same thing. Please, read this: http://www.php.net/manual/en/language.types.php and this: http://www.php.net/manual/en/language

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Leif K-Brooks
doubleval doubleval -- Alias of floatval() Description This function is an alias of floatval() . Note: This alias is a left-over from a function-renaming. In older versions of

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
Another workaround to this problem is as an addition to Kirk Johnson's suggestion --clip-- $month = "08"; if (trim($month) == 8) { echo "You got it!!!"; } --clip-- "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECT

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
Aw nut!!! The intval() doesn't work.. I had enough, I'm going to do what Kirk Johnson recommend. That one work better. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yea, it's too bad that not many people know about it. I first aske

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
Double and Float are not exactly the same thing. Double is ---> 11.123 Float is --> .00238823993 "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > No, it's floatval. Doubleval is an alias left over from hwen floats > were called doubles... >

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
Yea, it's too bad that not many people know about it. I first asked and they told me it is done automatically. That was 3 years ago. I never had a problem for 3 years until now. So, I'm going back to the old way as I did in Javascript and C programming. I first started PHP 3 years ago, so it's

RE: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Cal Evans
John. > Actually, "08" is equal to 8 in PHP. PHP will convert the string to an >integer and the two will compare as equal. No they are not equal. Yes, PHP will do the conversion so that they are equal. That does not refute the fact that logically '08' != 8. > Someone already posted why the prob

[PHP] Help with Filesize

2003-01-27 Thread Rodrigo Corrêa
How do i use the function filesize, because i´m using like: I just want associate the variable $body with a html file $file_name = 'c:/templates/resp_rep_efetiva_contrato.php'; $fd = fopen($file_name,"r"); line 27 $size = filesize($file_name); / Dá erro aqu

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread 1LT John W. Holmes
Even doing a type cast won't make a difference for the original problem. Even if you cast "08" to an integer and compare it to 08 (invalid octal number), it'll still fail. The original solution was the best, remove the leading zero from the comparisons and let PHP handle the type casting. ---John

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Leif K-Brooks
No, it's floatval. Doubleval is an alias left over from hwen floats were called doubles... Scott Fletcher wrote: Whoop! FOund it, it is doubleval()... What does settype() do exactly "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread 1LT John W. Holmes
> Because "8" != 8. "8" (and "08") is a string with the numerals representing > the number eight. It is not the number eight. (think back to basic math, the > difference between a number and a numeral) Actually, "08" is equal to 8 in PHP. PHP will convert the string to an integer and the two will

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Ray Hunter
U might want to do a type cast to integer from string... http://www.php.net/manual/en/language.types.type-juggling.php On Mon, 2003-01-27 at 13:47, Scott Fletcher wrote: > I would need to use intval() to solve this problem > > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > [EMAIL P

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
I would need to use intval() to solve this problem "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm referring to '08' and '09' that don't work > > "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
Whoop! FOund it, it is doubleval()... What does settype() do exactly "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I do know that integer, string, double, float, etc are different.. I > have been using hte appropriate method lik

[PHP] phpMyAdmin for Microsoft SQL

2003-01-27 Thread Joshua E Minnie
Hey all, Does any body know of anything similar to phpMyAdmin for MS SQL? I have been doing some googling and haven't come across anything that would help me out. I have also checked out www.sourceforge.net and can't seem to come across anything either. I am looking for something that will b

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
I do know that integer, string, double, float, etc are different.. I have been using hte appropriate method like in javascript and c programming, like converting it to integer and so on But when I start using PHP, I find no such document of it and I have been using it for 3 years without

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
I'm referring to '08' and '09' that don't work "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > --- Scott Fletcher <[EMAIL PROTECTED]> wrote: > > Found a PHP bug > ... > > if ($month == 01) > > I guess you mean: > > if ($month == '01') > > If

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Chris Hayes
>Re: [PHP] Found a PHP bug! uh oh... I don't see why a string wouldn't work when I use "08" (string) and match it against the integer 8, or 08. They're just different types. Normally PHP is veeery flexible with types, like javascript, but it just can't be flexible for you here becau

RE: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Cal Evans
Scott, Because "8" != 8. "8" (and "08") is a string with the numerals representing the number eight. It is not the number eight. (think back to basic math, the difference between a number and a numeral) PHP does some conversions for you automatically but that just saves you from yourself. (Person

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Chris Shiflett
--- Scott Fletcher <[EMAIL PROTECTED]> wrote: > Found a PHP bug ... > if ($month == 01) I guess you mean: if ($month == '01') If so, this is not a bug. Otherwise, please explain what you think is wrong. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
I don't see why a string wouldn't work when I use "08" (string) and match it against the integer 8, or 08. "Kirk Johnson" <[EMAIL PROTECTED]> wrote in message B11731D518B5D61183C700A0C98BE0D9FFBE5D@chef">news:B11731D518B5D61183C700A0C98BE0D9FFBE5D@chef... > > > -Original Message- > > From

RE: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Johnson, Kirk
> -Original Message- > From: Scott Fletcher [mailto:[EMAIL PROTECTED]] > > Found a PHP bug, I'm using PHP version 4.2.3. I have been > struggling with > why PHP code failed to work with the month is August or > September I stumbled into this one a short while ago myself. It is not a b

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Jason Wong
On Tuesday 28 January 2003 03:56, Scott Fletcher wrote: > Found a PHP bug, I'm using PHP version 4.2.3. I have been struggling with > why PHP code failed to work with the month is August or September, so I > have been playing around it and found the problem. I recently wrote a demo > script for y

[PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
Found a PHP bug, I'm using PHP version 4.2.3. I have been struggling with why PHP code failed to work with the month is August or September, so I have been playing around it and found the problem. I recently wrote a demo script for you all to play around with. Let me know which PHP version does

Re: [PHP] IE 'Back' Button problem + SELECT dropdowns

2003-01-27 Thread Andre Dubuc
Thanks John, I sort of thought that it should work. Will do as you suggest. Regards, Andre On Monday 27 January 2003 12:28 pm, John W. Holmes wrote: > > I tried to pick up the values from $_POST (as above). In Linux, it > > works: > > (i.e. I can pick them up, display them, and manipulate them

Re: [PHP] IFRAMES & PHP

2003-01-27 Thread Greg
Thank you guys for all the help, I'll try a few of these things, if not I'll just redesign the page. -Greg "Adrian [EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message 00e001c2c631$b402e160$1a8f43d9@ADE2">news:00e001c2c631$b402e160$1a8f43d9@ADE2... > hmm.. it'll get real ugly with javascript,bu

Re: [PHP] Simple Solution To Login And Upload

2003-01-27 Thread 1LT John W. Holmes
> Hi guys, I am looking for a very simple login script that logs a person > in with a unique login username/password and then logs them into a very > basic control panel where they can upload image files and delete them. > Can anybody help me out that would be much appreciated. www.hotscripts.com

[PHP] Simple Solution To Login And Upload

2003-01-27 Thread Randum Ian
Hi guys, I am looking for a very simple login script that logs a person in with a unique login username/password and then logs them into a very basic control panel where they can upload image files and delete them. Can anybody help me out that would be much appreciated. Cheers, Ian. -- PHP Gene

Re: [PHP] IFRAMES & PHP

2003-01-27 Thread adrian [EMAIL PROTECTED]
hmm.. it'll get real ugly with javascript,but this works with newer browsers. ...iframe has a name ...main page has a hidden form field with id checkbox in the iframe has id also iframe.php function submit_form(){ if(frames["myiframe"].document.getElementById("one").checked == true){//see

[PHP] Do php extension need to be thread-safe?

2003-01-27 Thread Joshua Moore-Oliva
Do php extension need to be thread-safe? I am running php on apache2. I would guess that since it's compiled in as a module, it would need to be thread-safe correct? Josh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] IFRAMES & PHP

2003-01-27 Thread Jon Haworth
Hi Greg, > But the buttons are outside of the iframe, so that no matter how > large the frame gets, the buttons are always in the same place :/ So stick an image of the button outside the , wrap it in an , and use the onclick handler to call a javascript function that submits the form. Of course

Re: [PHP] question about GD and colors

2003-01-27 Thread Philipp
Hi Adrian, thank you very much, that solved my problem. Regards, Philipp - Original Message - From: "adrian [EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: "Philipp" <[EMAIL PROTECTED]>; "Jean-François Marseaut" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 6:10 P

Re: [PHP] IFRAMES & PHP

2003-01-27 Thread Sean Burlington
Greg wrote: Unfortunatly, that gets rid of the reason I have the iframe in there to begin with. I need a scrollable iframe with a set of buttons that perform certain actions at the top, that have to always be at the top. -Greg in that case you either need to try getting some javascript to pas

Re: [PHP] IFRAMES & PHP

2003-01-27 Thread Greg
But the buttons are outside of the iframe, so that no matter how large the frame gets, the buttons are always in the same place :/ -Greg "John W. Holmes" <[EMAIL PROTECTED]> wrote in message 000501c2c629$f98c8590$7c02a8c0@coconut">news:000501c2c629$f98c8590$7c02a8c0@coconut... > > Unfortunatly, th

Re: [PHP] Question about SSL/php globals

2003-01-27 Thread Wei Weng
Thanks for the prompt reply! One more question, do you know how PHP implements this variable? In other words, how does PHP detect whether the connection is SSLed or not? (Specific to apache) Thanks! Wei - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Wei Weng" <[EMAI

RE: [PHP] IFRAMES & PHP

2003-01-27 Thread John W. Holmes
> Unfortunatly, that gets rid of the reason I have the iframe in there to > begin with. I need a scrollable iframe with a set of buttons that perform > certain actions at the top, that have to always be at the top. > -Greg Then put the entire into the iframe. ---John W. Holmes... PHP Architect

Re: [PHP] IFRAMES & PHP

2003-01-27 Thread Chris Boget
> It's probably an HTML thing. I don't know how iframes are interpreted, > but it's probably not really a part of your form, even though it looks > like it is when you view it. The contents of an IFRAME, by definition, is a totally different document. It behaves for all intents and purposes as a n

Re: [PHP] IFRAMES & PHP

2003-01-27 Thread Greg
Unfortunatly, that gets rid of the reason I have the iframe in there to begin with. I need a scrollable iframe with a set of buttons that perform certain actions at the top, that have to always be at the top. -Greg "Sean Burlington" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[E

RE: [PHP] IE 'Back' Button problem + SELECT dropdowns

2003-01-27 Thread John W. Holmes
> I tried to pick up the values from $_POST (as above). In Linux, it works: > (i.e. I can pick them up, display them, and manipulate them using the code > above), but in IE something like $_POST['bday'] never shows up. Any idea > why > there's such a difference between OS behavior? No. $_POST['b

RE: [PHP] IFRAMES & PHP

2003-01-27 Thread John W. Holmes
> Here's the basic layout of my html page, this isn't the real html, just > the > basic idea. > > > > > > > > > > > > Now inside iframetest.php I have a few check boxes that I want test.php to > be able to access. Is there any way to do this? If you set a hidden form element in iframet

Re: [PHP] IFRAMES & PHP

2003-01-27 Thread Sean Burlington
Greg wrote: Here's the basic layout of my html page, this isn't the real html, just the basic idea. Now inside iframetest.php I have a few check boxes that I want test.php to be able to access. Is there any way to do this? Thanks!! not directly .. the form does not 'contain' the

Re: [PHP] Strip_Tags @ php 4.3

2003-01-27 Thread Philip Olson
On Mon, 27 Jan 2003, George E. Papadakis wrote: > Hello, > > Has anyone noticed strange behaviour in strap_tags @ php 4.3? > We did upgrade to the latest snap yet the problem remains. For some reason > strip_tags acts weird.. Please be specific with a short self-contained example that demonstrat

Re: [PHP] Question about SSL/php globals

2003-01-27 Thread Philip Olson
On Mon, 27 Jan 2003, Wei Weng wrote: > Is there any environment/Global variable in PHP that indicates whether the > server port you connect to is SSL port? $_SERVER['HTTPS'] Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Question about SSL/php globals

2003-01-27 Thread Wei Weng
Is there any environment/Global variable in PHP that indicates whether the server port you connect to is SSL port? Thanks! Wei -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question about GD and colors

2003-01-27 Thread adrian [EMAIL PROTECTED]
try imagecreatetruecolor() instead of imagecreate() - Original Message - From: "Philipp" <[EMAIL PROTECTED]> To: "Jean-François Marseaut" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 4:21 PM Subject: Re: [PHP] question about GD and colors > Hi experienced the

Re: [PHP] IFRAMES & PHP

2003-01-27 Thread Greg
Here's the basic layout of my html page, this isn't the real html, just the basic idea. Now inside iframetest.php I have a few check boxes that I want test.php to be able to access. Is there any way to do this? Thanks!! "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PRO

Re: [PHP] IE 'Back' Button problem + SELECT dropdowns

2003-01-27 Thread Andre Dubuc
On Monday 27 January 2003 11:46 am, 1LT John W. Holmes wrote: > > I've managed to get Windows IE to pick up on most of my $_SESSION > > variables > > > once a user clicks the 'Back' button using the following code in the base > > form: > > > > 'value= > ?>' > > > > However, when I try this approach

Re: [PHP] IE 'Back' Button problem + SELECT dropdowns

2003-01-27 Thread 1LT John W. Holmes
> I've managed to get Windows IE to pick up on most of my $_SESSION variables > once a user clicks the 'Back' button using the following code in the base > form: > > 'value=' > > However, when I try this approach for a muliple SELECT dropdown box that is > loaded by a 'require' statement, it doesn'

[PHP] IE 'Back' Button problem + SELECT dropdowns

2003-01-27 Thread Andre Dubuc
Hi, I've managed to get Windows IE to pick up on most of my $_SESSION variables once a user clicks the 'Back' button using the following code in the base form: 'value=' However, when I try this approach for a muliple SELECT dropdown box that is loaded by a 'require' statement, it doesn't pass

Re: [PHP] question about GD and colors

2003-01-27 Thread Philipp
Hi experienced the same problem with the new bundled version of GD. regards, philipp - Original Message - From: "Jean-François Marseaut" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 5:15 PM Subject: [PHP] question about GD and colors > With this script und

Re: [PHP] IFRAMES & PHP

2003-01-27 Thread Chris Shiflett
--- Greg <[EMAIL PROTECTED]> wrote: > Hi, I have a form with an IFRAME nested in it. When > the form is submitted, I can't get the values of the > checkboxes in the IFRAME, is there any way to do > this? Well, I think (I could be wrong) you're looking at this wrong. Forms submit to resources iden

[PHP] question about GD and colors

2003-01-27 Thread Jean-François Marseaut
With this script under, I get resized image in only 16 colors. with an old version of gd, I got 16 million colors images. Has someone a response ? filename jpg w [int] -> width / header("Content-type: image/png"); $file = urldecode($file); $file = "../".$file; $infofile =

[PHP] IFRAMES & PHP

2003-01-27 Thread Greg
Hi, I have a form with an IFRAME nested in it. When the form is submitted, I can't get the values of the checkboxes in the IFRAME, is there any way to do this? Thanks! -Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >