Re: [PHP] calculating kilobytes

2003-02-15 Thread joe
Greg Donald [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, 14 Feb 2003, joe wrote: i searched and i tried and i failed. most of the functions dont work in safe mode, some didnt do what i wanted (returned the whole drive size instead of one directroy)

php-general Digest 15 Feb 2003 08:32:44 -0000 Issue 1884

2003-02-15 Thread php-general-digest-help
php-general Digest 15 Feb 2003 08:32:44 - Issue 1884 Topics (messages 135600 through 135633): Re: calculating kilobytes 135600 by: Kevin Stone 135606 by: joe 135607 by: Greg Donald 135633 by: joe http://www.act.com---CRM 135601 by: Leonard Burton

[PHP] Javascript cookie vs sessions

2003-02-15 Thread Øystein Håland
Javascript cookies can't help me anymore, is sessions the solution? I guess the answer is yes. Well, first of all, I have reached the limit of js cookies, 4 kB. My last attempt needed 6.5 kB to be passed to the next page (many many forms, and I can't break it into smaller parts). And there IS an

[PHP] Program Outputs 'Resource id3'

2003-02-15 Thread Guru Geek
Simple program that opens a txt file and reads two van numbers. Then, for each van number, it opens a database and grabs the sum of the gross pay column. The problem is I get 'Resource id3' for the first van's gross pay and 'Resource id4' for the second van's gross pay. Here's the code: if

[PHP] Date formating

2003-02-15 Thread Dhaval Desai
Hi, I have a string in this format: 2003-02-15 13:19:02 I want to display it in a more readable format like Staurday, 11 Februardy, 2003, 13:19:02. How can I achieve that. I tried date() function but could not get what I wanted. -Dhaval

[PHP] Re: recursion?????

2003-02-15 Thread Fred Merritt
Alex, as a general rule of thumb, try to do as much checking as you can with JavaScript. For those checks such as is the field a valid date, is the field numeric and so on, it is much faster to check on the client, than to send the data back to the server and check it there. Probably the

[PHP] Help with POSTing variable array names from a PHP script please.

2003-02-15 Thread Michael Eacott
I'm attempting to print to the client's browser a list of book titles found in a MYSqL table, each with a checkbox on its printed line so that the client can click on the checkboxes to retrieve selected books. The php script below is included after verification of the fields in an HTML form.

Re: [PHP] Program Outputs 'Resource id3'

2003-02-15 Thread Jason Wong
On Saturday 15 February 2003 16:55, Guru Geek wrote: Simple program that opens a txt file and reads two van numbers. Then, for each van number, it opens a database and grabs the sum of the gross pay column. The problem is I get 'Resource id3' for the first van's gross pay and 'Resource id4'

Re: [PHP] Date formating

2003-02-15 Thread Jason Wong
On Saturday 15 February 2003 16:56, Dhaval Desai wrote: Hi, I have a string in this format: 2003-02-15 13:19:02 I want to display it in a more readable format like Staurday, 11 Februardy, 2003, 13:19:02. How can I achieve that. I tried date() function but could not get what I wanted.

Re: [PHP] Date formating

2003-02-15 Thread Justin French
? echo date('the format you want', strtotime('2003-02-15 13:19:02')); ? In this case 'the format you want' is 'l, d F, Y. H:i:s', but you should be able to look it up in the manual for yourself. php.net/date strtotime('2003-02-15 13:19:02') SHOULD work, converting the string to a unix time

[PHP] Re: Recursion????? A message for Alex Davis

2003-02-15 Thread Michael Eacott
Alex Like you I have php scripts that validate the contents of registration and other forms. I'm new to php and do not have a clue about client side (java) scripting. Yes and the GO BACK AND TRY AGAIN process is what my php scripts do. All very messy. I'll have to learn javascript but

Re: [PHP] Help with POSTing variable array names from a PHP script please.

2003-02-15 Thread Jason Wong
On Saturday 15 February 2003 17:05, Michael Eacott wrote: ? php # Show details of BOOKS # Performing SQL query $query = SELECT * FROM `$books` WHERE `title` LIKE '$title' LIMIT 99; $result = mysql_query($query) or die(Query failed); $count = 1; $bookslist = ; while ($rowarray =

[PHP] RE: SQL Query

2003-02-15 Thread Uttam
if i understand you correctly then this should give valid interests of a user: SELECT DISTINCT InterestsList.SubID FROM InterestsIndex INNER JOIN InterestList ON InterestIndex.InterestID=InterestList.ID WHERE InterestIndex.UserID='1' AND

[PHP] append to array?

2003-02-15 Thread JJ Harrison
I have actually rtfm and can't seem to find a function to add onto the end of an array. Is there a function to do it or do i need to write my own? -- --- JJ Harrison [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] append to array?

2003-02-15 Thread Jason Wong
On Saturday 15 February 2003 18:23, JJ Harrison wrote: I have actually rtfm and can't seem to find a function to add onto the end of an array. Is there a function to do it or do i need to write my own? array_push() -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software

[PHP] HELP: Compiling php 4.3.0 and oracle

2003-02-15 Thread Bradley C. Goldsmith
Hi All, Below is a sample of what I get when trying to compile php 4.3.0 with the oracle extensions turned on. I'm upgrading a box from an earlier version of php where php with oracle compiled fine. It configures ok: ./configure

[PHP] multiple checkbox problem... double count??

2003-02-15 Thread Scott Seong
Hello, I'm having a problem with multiple checkboxs with same name. Here are my code snippets. --checkbox.html-- htmlhead/headbody form action=checkbox.php method=post input type=checkbox name=fruits[] value=apple checkedapple input type=checkbox name=fruits[] value=orange

Re: [PHP] Help with POSTing variable array names from a PHP script please.

2003-02-15 Thread rentAweek support
Jason Thanks for your help . I've implemented you advice. The problem persists in that I'm trying create the following situation: When the posted action php script runs I want the retrieved $_POST array to contain such information that the action script can find out what checkboxes were

[PHP] Re: Recursion?????

2003-02-15 Thread Fred Merritt
Alex, and Michael, here is a code fragment which I have cut and simplified from one of my working scripts, that does some simple javascript checking of a form. It should give you an idea of how to do it. There is a lot of documentation, and examples of javascript on the web. Try a google

[PHP] $PHP_AUTH

2003-02-15 Thread Sebastian
Greetings. does something look wrong with this script? It prompts for password but it doesn't accept it. I tried $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] but it still does not accept my username and or password. PHP v 4.2.3. any ideas? //- start

RE: [PHP] Date formating

2003-02-15 Thread David Freeman
I have a string in this format: 2003-02-15 13:19:02 I want to display it in a more readable format like Staurday, 11 Februardy, 2003, 13:19:02. How can I achieve that. I tried date() function but could not get what I wanted. The date format above is a standard mysql date/time

RE: [PHP] Re: recursion?????

2003-02-15 Thread David Freeman
as a general rule of thumb, try to do as much checking as you can with JavaScript. For those checks such as is the field a valid date, is the field numeric and so on, it is much faster to check on the client, than to send the data back to the server and check it there.

[PHP] Disabled INPUT-Tags?!

2003-02-15 Thread menphrad
Hi! I created a form that handles dates, e.g. a DATE_START and a DATE_END. The DATE_START is filled out automagically by a PHP-function and the field should be *disabled*: input type=text name=datum_start size=10 value=? echo date(j.n.Y, $jetzt); ? disabled=true But since this field is disabled

Re: [PHP] Re: recursion?????

2003-02-15 Thread Fred Merritt
David, of course. You always should check in the server, even if javascript is working. You have to protect your data integrity. Sorry I did not make this clear. The benefit of checking in javascript(which I suspect is enabled in most browsers these days), is that the client gets an

Re: [PHP] append to array?

2003-02-15 Thread Ernest E Vogelsinger
At 11:23 15.02.2003, JJ Harrison said: [snip] I have actually rtfm and can't seem to find a function to add onto the end of an array. Is there a function to do it or do i need to write my own? [snip]

Re: [PHP] Disabled INPUT-Tags?!

2003-02-15 Thread Leif K-Brooks
This is an HTML question, not a PHP question, but try adding a hidden field next to the disabled one. menphrad wrote: Hi! I created a form that handles dates, e.g. a DATE_START and a DATE_END. The DATE_START is filled out automagically by a PHP-function and the field should be *disabled*:

[PHP] I need help

2003-02-15 Thread Kari Tuurna
hi i am new at this list and php... can anybody help me with my problem: i would like to show last 10 referres at my website. now it writes to reflog.txt: http://www.foo.bar/link_to_my_site.html and to show-refs.php is a

[PHP] Re: SQL Query

2003-02-15 Thread Zydox
Those querys work... but they don't get all the Sub Interests... Uttam [EMAIL PROTECTED] wrote in message 97FB62E1E350D511B71F00A0C99D0CC30352D563@MSEXCHANGE">news:97FB62E1E350D511B71F00A0C99D0CC30352D563@MSEXCHANGE... if i understand you correctly then this should give valid interests of a

[PHP] Re: HTML Mail problem

2003-02-15 Thread Manuel Lemos
Hello, On 02/15/2003 03:27 AM, Mark McCulligh wrote: I am sending both text and HTML. The message I get looks like this: boundary==_ec9ac598a5bbb069fd9a696b254780ef --=_ec9ac598a5bbb069fd9a696b254780ef Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit TEST MESSAGE

[PHP] Headers bust ?

2003-02-15 Thread Malcolm
Hello, I've been fooling with this for a few days now. I'm getting a hearders already sent error. I know it means I've got output before the header but I can't figure how else to do this. The error messages; (output started at c:\foxy\www\project_db\switchtest.php:2) in

Re: [PHP] calculating kilobytes

2003-02-15 Thread Tom Rogers
Hi, Saturday, February 15, 2003, 5:17:59 AM, you wrote: j hi j first of all i think this is a great community here :) j now to the point... j i need a script. it should work on safe mode php so it should be as simple j as possible. j it should calculate all the file sizes in the directory that

RE: [PHP] Re: SQL Query

2003-02-15 Thread Willie G
Zydox, Please define 'sub-interest'. I've looked at what Uttam gave you, and it looks correct, assuming you want want it limited to the same user. If you result should be 'all with Interest = X and Valid = Y, just remove the userid from the second query. SELECT InterestsList.ID,

Re: [PHP] Headers bust ?

2003-02-15 Thread Marco Tabini
On Sat, 2003-02-15 at 09:01, Malcolm wrote: Hello, I've been fooling with this for a few days now. I'm getting a hearders already sent error. I know it means I've got output before the header but I can't figure how else to do this. Hi Malcom-- Looks like you are outputting data right

Re: [PHP] Headers bust ?

2003-02-15 Thread Miles Thompson
Malcom, Do your logic test before your input form. When you think of how a script is processed, on the server, then you'll see that the logic portion must precede any display portion. Juli Meloni has a good example of this structure in her custom error message example. You'll find it at

[PHP] Re: Headers bust ?

2003-02-15 Thread Malcolm
Hello, I just got two emails explaining my error. Thanks to all. I wasn't thinking right and sort of had my cart before my horse. The fix is simple, put the header call before anything else. I was thinking I had to get the input first -- wrong. All I needed was to put this line first, at the

[PHP] form variable problem

2003-02-15 Thread Antoine
I am having a problem using php to submitting a form. For some reason PHP won't handle the form variables... I am using PHP Version 4.2.2 on a redhat 8 system.. I used this code from a book called PHP and MySQL Web Development. ?php /* the main failure in this site is that I can't seem to

[PHP] mai( ) with html

2003-02-15 Thread arch
Hi, I'm trying to send HTML in an email by using the mail( ) function. This is a well documented and much talked about function, and I've already been successful in sending regular text email and basic HTML. The twist is that I want to first grab HTML from another server via HTTP, put this

Re: [PHP] form variable problem

2003-02-15 Thread Tim Ward
you need to use $_POST[userid], etc. accessing the form elements by name directly is unsafe and doesn't work anyway with register_globals off, which is the default setting in your veresion of PHP. Tim Ward http://www.chessish.com mailto:[EMAIL PROTECTED] - Original Message - From:

[PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Michael Mulligan
Hi I have a bit of a problem which might just be due to my lack of knowledge with Apache. Basically, what I want to do is to *not* allow users to enter particular URLs in their browser (namely to *.jpg and *.xml files under a particular directory, let's call it imagesDir). However, I can't simply

Re: [PHP] Re: SQL Query

2003-02-15 Thread Zydox
The result recived from that query is this ID SubID Interest Valid Edit Delete 4 3 Star Craft 1 But I want a Query that retrives Star Craft, Strategi, Spel and Datorer... :/ Willie G [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Zydox,

[PHP] Re: Javascript cookie vs sessions

2003-02-15 Thread Zydox
I haven't seen any limit in the session size... I've got a community running that saves about 20kb of data in the session file... :) // Regards Zydox ØYstein HåLand [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Javascript cookies can't help me anymore, is

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Marco Tabini
On Sat, 2003-02-15 at 11:00, Michael Mulligan wrote: Hi I have a bit of a problem which might just be due to my lack of knowledge with Apache. Basically, what I want to do is to *not* allow users to enter particular URLs in their browser (namely to *.jpg and *.xml files under a particular

[PHP] .htpasswd and PayPal generated passwords

2003-02-15 Thread Rob Packer
I use PayPal to generate a username and password and then write them to the .htpasswd file. If I were to switch to using a database (because .htaccess seems to always prompt twice!) how would I perform the comparison for the passwords? It would seem that everytime you generate an encrypted

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Michael Mulligan
If the user knew the actual URL of the image though, wouldn't they be able to get around a script like this by simply typing it into their web browser? Thanks! :-) On 02/15/03 10:55 AM, Marco Tabini [EMAIL PROTECTED] wrote: I guess the easiest would be to filter those images through a php

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Marco Tabini
On Sat, 2003-02-15 at 11:13, Michael Mulligan wrote: If the user knew the actual URL of the image though, wouldn't they be able to get around a script like this by simply typing it into their web browser? Thanks! :-) Only if you let them. The PHP script allows to put the appropriate checks

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Michael Mulligan
Perhaps you could further describe such a method? I'm sorry, I just don't quite see how this will block the files. Perhaps I should further explain my situation. The script that I will distribute will always make use of a very particular directory structure. In imageDir, there will always be a

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Marco Tabini
On Sat, 2003-02-15 at 11:24, Michael Mulligan wrote: The script that I will distribute will always make use of a very particular directory structure. In imageDir, there will always be a specifically named XML file that points to a bunch of images in the directory. However, given security

[PHP] search results from another site

2003-02-15 Thread Matt Holmen
Is there any way to use PHP to do the following.. Strip the results of a page (ie a search on another site) and then display them on your site the way you want to. Similar to the CFHTTP command used in Coldfusion? Thanks Matt -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] calculating kilobytes

2003-02-15 Thread Don Read
On 14-Feb-2003 joe wrote: Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Saturday 15 February 2003 03:17, joe wrote: now to the point... i need a script. it should work on safe mode php so it should be as simple as possible. it should

[PHP] Re: HTML Mail problem

2003-02-15 Thread Mark McCulligh
Hi Manuel Lemos, I downloaded your mail class and ran the test_html_mail_message.php page. It worked! Like you said I am probably getting one of the mail() function bugs or something. Very interesting that I can send external fine but not internal. Does the pear mail use the normal PHP mail()

Re: [PHP] calculating kilobytes

2003-02-15 Thread Jason Sheets
I tend to stay away from executing shell commands when it is not necessary. I've written a script for you that will do what I think you want it to do. It will go n levels deep and get the file size in KB of each file, then it will return that. You can tell the script to ignore certain files (by

[PHP] check expiration date

2003-02-15 Thread Rob Packer
anyone know of a script for getting the current date and then calculating when a provided expiration date would be? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Forms Question

2003-02-15 Thread Beauford.2002
Hi, Im trying to figure out the best way to do the following. I need to have a series of forms that when the user finishes the first part of the form he is sent to another page where a second form is filled out, and then a third. Making the forms etc. is no problem, what I'm not sure of is how

[PHP] PHP Style Conventions

2003-02-15 Thread John Wells
Looking for info on recommended PHP style conventions. I've seen the Pear style conventions, and they seem fairly good, but I'm interested in something that covers more ground, like what's the best way to name included files (*.inc?) class files, etc., what's the recommended dir structure for

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Michael Mulligan
I hadn't considered that before. Thank you. :-) The reason why though is that Mac OS X comes with permissions set by default so that Apache can't wander outside of the publicly accessible folder (~/Sites/). The script that I have written is something that I intend to distribute to other Mac users

RE: [PHP] Re: SQL Query

2003-02-15 Thread Willie G
Zydox, Your request does not make sense. There must be other fields you want to link, because if we go back you your original data, these records are unrelated. The 'SubID' of Star Craft and Star Wars match. The 'Valid' of Star Craft, Star Wars, Team Fortress, and Counter-Strike match.

Re: [PHP] check expiration date

2003-02-15 Thread Ernest E Vogelsinger
At 18:53 15.02.2003, Rob Packer said: [snip] anyone know of a script for getting the current date $time = time(); and then calculating when a provided expiration date would be? what exactly do you want to achieve? -- O Ernest E. Vogelsinger

[PHP] Re: Forms Question

2003-02-15 Thread rush
Beauford.2002 [EMAIL PROTECTED] wrote in message 000701c2d51c$616206d0$6401a8c0@p1">news:000701c2d51c$616206d0$6401a8c0@p1... Im trying to figure out the best way to do the following. I need to have a series of forms that when the user finishes the first part of the form he is sent to another

[PHP] An escape special characters problem

2003-02-15 Thread Robert E. Harvey, M.D.
Hi folks, I am trying to transfer data from a select list and am having problems with special characters stopping the transfer. The data is presented in a form as follows: $query = SELECT algen FROM allist WHERE altyp = 'W' ORDER BY algen; $result_1 = mysql_query($query) or die

RE: [PHP] Forms Question

2003-02-15 Thread Chris McCluskey
Hey there, Maintaining state in a web application is always a difficult thing.. fortunatly, you use PHP, which makes it a bit easier. However, if you do not want anything written to the server or to the user's drive you are out of luck, simply because at very least you will need to have

Re: [PHP] An escape special characters problem

2003-02-15 Thread Jason Sheets
You're problem is that you are enclosing your value for your option tags with single quotes ('), when you fetch the value from the database the single quote in 's ends the value='' assignment in your HTML. You can use echo option value=\$algen\$algen; which will solve your single quote problem.

Re: [PHP] Forms Question

2003-02-15 Thread Beauford.2002
Yep, Definitely need help. I tried option 1, but for some reason the variables are not being passed - and this is messy and not really one I want to use. Option 3 sounds like the cleanest, but I am not 100% familiar with sessions - I have used this on another page with a counter so the counter

[PHP] Variables from the Form wouldn't transfer to my process page

2003-02-15 Thread Geckodeep
I have these forms with one having pull down menu having data coming from a table which is working and I have set two variables one for ID and the other for the TEXT. The problem that I am facing is that when the form is submitted the ID variable is well taken into consideration and can see the

Re: [PHP] need apostrophe solution

2003-02-15 Thread Doug Parker
OK - thanks. I saw that the magic_quotes_gpc is turned off by default, so I did a ini_set(magic_quotes_gpc, 1) to turn it on temporarily. I ran a get_magic_quotes_gpc() and saw that the ini_set did work, but for some reason the query still won't accept the quotes. What am i doing wrong?

[PHP] again, dynamic image of text string

2003-02-15 Thread Alex Shi
Hi, I am using following script to generate a dynamic picture from a text string. It works fine for both my developing server and the application server (a virtual host). Both server are Linux RH. ? $im = ImageCreate (110, 16); $white = ImageColorAllocate ($im, 255, 255, 255);

Re: [PHP] need apostrophe solution

2003-02-15 Thread Leif K-Brooks
Magic_quotes has already done (or not done) its job by the time your script runs. Doug Parker wrote: OK - thanks. I saw that the magic_quotes_gpc is turned off by default, so I did a ini_set(magic_quotes_gpc, 1) to turn it on temporarily. I ran a get_magic_quotes_gpc() and saw that the

Re: [PHP] An escape special characters problem

2003-02-15 Thread Robert E. Harvey, M.D.
Jason Sheets wrote: You're problem is that you are enclosing your value for your option tags with single quotes ('), when you fetch the value from the database the single quote in 's ends the value='' assignment in your HTML. You can use echo option value=\$algen\$algen; which will solve your

[PHP] PHP not running/parsin MySQL query

2003-02-15 Thread Guru Geek
Hello, I've been having extensive email conversations with people over at MySQL.com's email list. From what I'm able to prove using myphpadmin, my problem is not with the query, but with how PHP handles it. All I want to do is open a text file, read in two van numbers that are there. I want

Re: [PHP] need apostrophe solution

2003-02-15 Thread Doug Parker
So you're saying that I have to turn on magic_quotes_gpc in php.ini in order for it to work? the ini_set won't work? Leif K-Brooks wrote: Magic_quotes has already done (or not done) its job by the time your script runs. Doug Parker wrote: OK - thanks. I saw that the magic_quotes_gpc is

Re: [PHP] PHP not running/parsin MySQL query

2003-02-15 Thread Leif K-Brooks
You need to do something with the result set. www.php.net/mysql-fetch-array Guru Geek wrote: Hello, I've been having extensive email conversations with people over at MySQL.com's email list. From what I'm able to prove using myphpadmin, my problem is not with the query, but with how PHP

Re: [PHP] need apostrophe solution

2003-02-15 Thread Leif K-Brooks
Correct, or you can use a .htaccess file if you're on apache. Doug Parker wrote: So you're saying that I have to turn on magic_quotes_gpc in php.ini in order for it to work? the ini_set won't work? Leif K-Brooks wrote: Magic_quotes has already done (or not done) its job by the time your

[PHP] permissions to work with fopen

2003-02-15 Thread qt
Dear Sirs, I am planning to make a log file with fopen command. I am succesfully read and write the file with fopen. But as I see fopen is requiring a file with read and write permission for public. I was using same method with perl in cgi-bin directory; but I was giving read and write

Re: [PHP] An escape special characters problem

2003-02-15 Thread Jason Wong
On Sunday 16 February 2003 02:58, Robert E. Harvey, M.D. wrote: echo option value='$algen'$algen\n; The problem arises when one of the strings from the table algen has an apostrophe in it such as Queen Anne's Lace or Lamb's Quarters. It displays properly in the form. What is passed

Re: [PHP] Help with POSTing variable array names from a PHP script please.

2003-02-15 Thread Jason Wong
On Saturday 15 February 2003 18:38, rentAweek support wrote: Jason Thanks for your help . I've implemented you advice. The problem persists in that I'm trying create the following situation: When the posted action php script runs I want the retrieved $_POST array to contain such

Re: [PHP] search results from another site

2003-02-15 Thread Jason Wong
On Sunday 16 February 2003 00:24, Matt Holmen wrote: Is there any way to use PHP to do the following.. Yes. Strip the results of a page (ie a search on another site) and then display them on your site the way you want to. Similar to the CFHTTP command used in Coldfusion? For the mechanics

Re: [PHP] Variables from the Form wouldn't transfer to my process page

2003-02-15 Thread Jason Wong
On Sunday 16 February 2003 03:37, Geckodeep wrote: I have these forms with one having pull down menu having data coming from a table which is working and I have set two variables one for ID and the other for the TEXT. The problem that I am facing is that when the form is submitted the ID

[PHP] processing status page

2003-02-15 Thread Brendon
Hello, How can I create a page that notifies the user their request is being processed after they click a submit button? For example, they type in some information, the page then says Your request is processing... Maybe a few animated ... 's for eyecandy, and then once the process is

[PHP] HELP: Compiling php 4.3.0 and oracle

2003-02-15 Thread Bradley C. Goldsmith
Hi All, Below is a sample of what I get when trying to compile php 4.3.0 with the oracle extensions turned on. I'm upgrading a box from an earlier version of php where php with oracle compiled fine. It configures ok: ./configure

Re: [PHP] processing status page

2003-02-15 Thread Ray Hunter
Are you using a form to get the input from the user... One way that I do it is with Javascript...that will be the easiest bet for you... On Sat, 2003-02-15 at 15:15, Brendon wrote: Hello, How can I create a page that notifies the user their request is being processed after they click a

[PHP] changing table column height in xml

2003-02-15 Thread Sunfire
hi.. this might be a little off topic but does anybody know how to change the table height in xml? my partial code is below:: table border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse; border:none;mso-border-alt:three-d-engrave blue 6.0pt;mso-padding-alt:0in 0.5pt 0in 0.5pt'

Re: [PHP] processing status page

2003-02-15 Thread Brendon
Yes, I'm using a form. How do you do it with Javascript? Do you have an example you can give? Brendon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] processing status page

2003-02-15 Thread Ray Hunter
I can't remember the timer or sleeper function in javascript, but there is one... When you submit the form to the processing script (defined in your form tag) then you can have a javascript that displays a graphic or text for a few seconds that states Processing data... Then use the onload

Re: [PHP] Variables from the Form wouldn't transfer to my process page

2003-02-15 Thread Geckodeep
hi Jason The TEXT variable is $catname and the $rubriqueid is a mistake it is actually $catid but it is not that giving the problem. It is an error from my part when I posted it. My html looks ok. I should tell you though that this page is on the admin section which is under a login session

Re: [PHP] [Fwd: Delivery Status Notification (Failure)]

2003-02-15 Thread Geckodeep
Me too but it sounds and looks like a virus! Anyway I deleted without opening it. Lucas Lain [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... me too... John Nichel wrote: Could one of the admins of this list take this email address off? Everytime I send an

Re: [PHP] permissions to work with fopen

2003-02-15 Thread Nicholas Wieland
On 2003.02.15 20:11 qt wrote: I am planning to make a log file with fopen command. I am succesfully read and write the file with fopen. But as I see fopen is requiring a file with read and write permission for public. Not for public, for your webserver user, www-data or another similar name.

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-15 Thread Justin French
Using Apache's main config file (or at a per-directory level using a .htaccess file), you need to black all .jpg, .jpeg, .gif, .png, .bmp, etc etc files from being *directly* served via http. I'm not too good with Apache yet, but an example would be: Files ~ \.jpg$ Order Allow,Deny Deny

[PHP] forking sendmail

2003-02-15 Thread Brendon
I've been trying to fork sendmail because DNS checks cause it to be slow delivering messages... Here's what i've tried, and many other variations... $str = to: [EMAIL PROTECTED]\nfrom: [EMAIL PROTECTED]\nsubject: test; exec('sendmail -i -t $str /dev/null'); Has anyone successfully acomplished

[PHP] Re: forking sendmail

2003-02-15 Thread Manuel Lemos
Hello, On 02/16/2003 12:15 AM, Brendon wrote: I've been trying to fork sendmail because DNS checks cause it to be slow delivering messages... Here's what i've tried, and many other variations... $str = to: [EMAIL PROTECTED]\nfrom: [EMAIL PROTECTED]\nsubject: test; exec('sendmail -i -t $str

[PHP] Re: HTML Mail problem

2003-02-15 Thread Manuel Lemos
Hello, On 02/15/2003 03:10 PM, Mark McCulligh wrote: I downloaded your mail class and ran the test_html_mail_message.php page. It worked! Like you said I am probably getting one of the mail() function bugs or something. Very interesting that I can send external fine but not internal. Does the

[PHP] Forms Help (continued)

2003-02-15 Thread Beauford.2002
Has anyone seen or used this script? It looks fairly straight forward, but I can't get it to work. It is however, exactly what I need. Any help is appreciated. http://codewalkers.com/tutorials.php?show=28page=1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Forms Help (continued)

2003-02-15 Thread Kevin Waterson
This one time, at band camp, Beauford.2002 [EMAIL PROTECTED] wrote: Has anyone seen or used this script? It looks fairly straight forward, but I can't get it to work. It is however, exactly what I need. Any help is appreciated. http://codewalkers.com/tutorials.php?show=28page=1 I never use

[PHP] PHP error messages

2003-02-15 Thread Brad Esclavon
I am getting this error message when i use file() to convert a text document to an array. Warning: file(http://www.something.com/the_filename.txt;) - Error 0 in /nfs/cust/directory_structure/index.php on line 21 I have looked on google and on php.net/docs for information on this problem (error 0

Re: [PHP] Variables from the Form wouldn't transfer to my process page

2003-02-15 Thread Jason Wong
On Sunday 16 February 2003 09:21, Geckodeep wrote: My html looks ok. Are you sure? The TEXT variable is $catname and the $rubriqueid is a mistake it is actually $catid but it is not that giving the problem. It is an error from my part when I posted it. How are you passing $catname onto the

Re: [PHP] Forms Help (continued)

2003-02-15 Thread Ray Hunter
Do you have globals turned on or off? Ray On Sat, 2003-02-15 at 21:19, Beauford.2002 wrote: Has anyone seen or used this script? It looks fairly straight forward, but I can't get it to work. It is however, exactly what I need. Any help is appreciated.

Re: [PHP] Forms Help (continued)

2003-02-15 Thread Beauford.2002
I wish to get this script to work. If you can help it would be appreciated, whether you personally like them or not. If it works, I don't care if it was coded by Bugs Bunny. TIA - Original Message - From: Kevin Waterson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 15,

Re: [PHP] Forms Help (continued)

2003-02-15 Thread Kevin Waterson
This one time, at band camp, Beauford.2002 [EMAIL PROTECTED] wrote: I wish to get this script to work. If you can help it would be appreciated, whether you personally like them or not. If it works, I don't care if it was coded by Bugs Bunny. What is it you wish the script to do? Kevin --

[PHP] Duh uuh ?

2003-02-15 Thread John Taylor-Johnston
How do I call this? http://www.phpclasses.org/browse.html/file/2202.html calendar; //gives me nothing. Prints html header and that's it. It's a class and obviously I don't know what I'm doing :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Duh uuh ?

2003-02-15 Thread Manuel Lemos
Hello, On 02/16/2003 03:25 AM, John Taylor-Johnston wrote: How do I call this? http://www.phpclasses.org/browse.html/file/2202.html calendar; //gives me nothing. Prints html header and that's it. It's a class and obviously I don't know what I'm doing :) Have you tried contacting the author?