Re: [PHP] IE won't post on Windows, but will on Mac

2002-09-02 Thread Tom Rogers
Hi, Tuesday, September 3, 2002, 3:19:01 PM, you wrote: JV> Hello, All, JV> I've given myself two black eyes and a bloody nose on this one, and I'm sure JV> it's a simple solution. I have a form on the php page "entry.php": JV> JV> JV> JV> At the top of that page, I have the PHP code: JV>

Re[2]: [PHP] How to escape " in hidden field?

2002-09-02 Thread Tom Rogers
Hi, Tuesday, September 3, 2002, 4:35:45 PM, you wrote: >> Try this with single quotes: >> >> MT> Year, but then I couldn't use single-quotes in the text ;-) The problem is that MT> the content of the field is inserted by the user, so I cannot say if he uses MT> single- and/or double-quotes

[PHP] Session problem

2002-09-02 Thread Monil Chheda
Hi, I am using session_start() and session_register("variablename") . The when I click on the back button from the browser it shows me the following error: "Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available.

[PHP] mysql string comparison not working

2002-09-02 Thread David Banning
if I set test = "Y"; then if ($test == "Y") {echo ("it matches");} seems to work while if ($row[24] == "Y") {echo ("it matches");} does not. The row[24] mysql variable is char type and 1 char long. any idea why it is not doing the comparison? -- PHP General Mailing List (http://www.php.net/

Re: [PHP] How to escape " in hidden field?

2002-09-02 Thread Martin Thoma
> Try this with single quotes: > > Year, but then I couldn't use single-quotes in the text ;-) The problem is that the content of the field is inserted by the user, so I cannot say if he uses single- and/or double-quotes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] IE won't post on Windows, but will on Mac

2002-09-02 Thread Jed Verity
Hi Martin, Thanks for responding. I just checked for any post variables and none were set. The problem revealed itself because I originally had: And "do something else" was always being done. Any other thoughts? Thanks again... Jed On the threshold of genius, Martin Towell wrote: > Have you

RE: [PHP] IE won't post on Windows, but will on Mac

2002-09-02 Thread Martin Towell
Have you checked the $_POST (or $HTTP_POST_VAR) variable to make sure it IS using GET? Martin -Original Message- From: Jed Verity [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 3:19 PM To: [EMAIL PROTECTED] Subject: [PHP] IE won't post on Windows, but will on Mac Hello,

[PHP] IE won't post on Windows, but will on Mac

2002-09-02 Thread Jed Verity
Hello, All, I've given myself two black eyes and a bloody nose on this one, and I'm sure it's a simple solution. I have a form on the php page "entry.php": At the top of that page, I have the PHP code: With IE 5.2 on Mac, I submit this form and I see "POST" echoed at the top of the page.

[PHP] Re: Why doesn't the second instance work?

2002-09-02 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > //create a list of editible items > echo ""; > echo ""; > for ($i=3D0; $i <$num_results; $i++) > { > $row =3D mysql_fetch_array($result); > echo " $row[id], = > $row[productname]"; > } > echo ""; > echo ""; > echo ""; > ?>

Re: [PHP] Re: unexpected T_SL

2002-09-02 Thread Voisine
I tried everything and I still have this error. I have this error with php 4.2.2 on Windows 98 I also have the same problem with Apache, RedHat php 4.2.1. WellI'm going to skip this lesson. Thanks for all the help! Regards! Steel wrote: > Hi Erwin, > > Monday, September 2, 2002, 11:28:0

Re: [PHP] mail() function problem

2002-09-02 Thread Manuel Lemos
Hello, On 09/03/2002 12:38 AM, Akhmad D. Sembiring wrote: > # > thanks for your kind helps, > # > but the problem still exists. > # > > # > the actual problem is that the 2nd mail() function > # > does not ever send the mail, no matter what the destination > # > and the additional hea

RE: [PHP] mail() function problem

2002-09-02 Thread Akhmad D. Sembiring
# On 09/03/2002 12:19 AM, Akhmad D. Sembiring wrote: # > Dear Arul & friends, # > # > thanks for your kind helps, # > but the problem still exists. # > # > the actual problem is that the 2nd mail() function # > does not ever send the mail, no matter what the destination # > and the addi

Re: [PHP] mail() function problem

2002-09-02 Thread Manuel Lemos
Hello, On 09/03/2002 12:19 AM, Akhmad D. Sembiring wrote: > Dear Arul & friends, > > thanks for your kind helps, > but the problem still exists. > > the actual problem is that the 2nd mail() function > does not ever send the mail, no matter what the destination > and the additional header is. >

RE: [PHP] mail() function problem

2002-09-02 Thread Akhmad D. Sembiring
Dear Arul & friends, thanks for your kind helps, but the problem still exists. the actual problem is that the 2nd mail() function does not ever send the mail, no matter what the destination and the additional header is. is there a way to debug this problem? thanks Daniel # -Original Mess

Re: [PHP] Forum structure

2002-09-02 Thread Justin French
Hi Andrian, I built a forum from scratch, because I had very specific needs on how it would work... different to everything I've seen so far. Sorry to say it though, the underlying table structure IS determined by the way you want it to work. If you're after something stock-standard, I'd recomm

Re: [PHP] Re: coockie expiration problems

2002-09-02 Thread Tom Rogers
Hi, Tuesday, September 3, 2002, 12:53:22 AM, you wrote: a> OK, I found the reason, but not the solution yet: a> The cookie time during setting is the time taken from the server. The time a> for checking the coockie is the time of the local machine!! a> So what can I do if I would like to last t

RE: [PHP] Re: ftp question

2002-09-02 Thread victor
Actually, that is the correct path. Which is why I don't understand why it's not working. And as a user I'm using myself... waitaminute, the folders are created by the user www, and I argilent may not have write permission, maybe that's why it's not working. I should try with a folder I create as

[PHP] Re: ftp question

2002-09-02 Thread nicos
Hi, Your script upload the file to /home/victor/argilent-www/sites/kodak/user_pictures/vic/ are you sure that is the correct path name? If its not, just put the entier name and not only a part of it. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PRO

Re: [PHP] crontab programmed with mysql ??

2002-09-02 Thread Tom Rogers
Hi, Tuesday, September 3, 2002, 7:55:56 AM, you wrote: aac> I'm looking for the approximate solution of mailing out (or doing anything aac> else ) aac> timed by cron(tab) along with use of mysql as means of identification and aac> storing aac> of the dates in multiuser enviroment. aac> Initial da

[PHP] Re: crontab programmed with mysql ??

2002-09-02 Thread nicos
Take that to the correct newsgroup. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hebergement Group. www.WorldAKT.com - Hebergement de sites Internet <[EMAIL PROTECTED]> a ecrit dans le message de news:

Re: [PHP] Why doesn't the second instance work?

2002-09-02 Thread Tom Rogers
Hi, Tuesday, September 3, 2002, 6:49:25 AM, you wrote: MK> Everything is good, Everything is fine, so I decide to put the same=20 MK> snippet of code in again, this time pointing to a different page -- MK> One=20= MK> page lets you edit the fields, the other shows you the final output,=20 MK>

[PHP] ftp question

2002-09-02 Thread Victor
I took the scriopt from php manual and adapted it to my needs, but I get an error: Warning: ftp_put(): user_pictures/vic/: No such file or directory in /home/victor/argilent-www/sites/kodak/upload_picture.php on line 103 This is the code: # set up basic connection $conn_id = ftp

RE: [PHP] How to escape " in hidden field?

2002-09-02 Thread Martin Towell
Hi Martin You can also do this HTH Martin :) -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 11:24 AM To: Martin Thoma Cc: [EMAIL PROTECTED] Subject: Re: [PHP] How to escape " in hidden field? Hi, Monday, September 2, 2002, 7:59:

Re: [PHP] How to escape " in hidden field?

2002-09-02 Thread Tom Rogers
Hi, Monday, September 2, 2002, 7:59:43 PM, you wrote: MT> Hello! MT> I have a simple hidden input-field like MT> MT> Now sometimes I need to insert " like: MT> MT> But this makes PHP (or the browser?) cutting of the string after "Hello MT> ". How can I escape the "? MT> Martin Try this wit

RE: [PHP] help, array values echoed as Array on loop!

2002-09-02 Thread Victor
Thank you, I figured it out 30 seconds after I posted the question, you were right about the problem. - Victor > www.argilent.com -Original Message- From: Chris Wesley [mailto:[EMAIL PROTECTED]] Sent: Monday, September 02, 2002 4:11 PM To: 'PHP' Cc: Victor Subject: Re: [PHP] help, array

[PHP] crontab programmed with mysql ??

2002-09-02 Thread admin
I'm looking for the approximate solution of mailing out (or doing anything else ) timed by cron(tab) along with use of mysql as means of identification and storing of the dates in multiuser enviroment. Initial date and interval of recurring event is to be set up by a user. May you know some open s

[PHP] Why doesn't the second instance work?

2002-09-02 Thread Michael Knauf
I'm creating a list/menu form item and populating it from a database,=20 the code snippet looks like this: =00 Edit an item: "; echo ""; for ($i=3D0; $i <$num_results; $i++) { $row =3D mysql_fetch_array($result); echo " $row[id], = $row[productname]"; } echo ""; echo ""; echo "";

Re: [PHP] empty php.ini

2002-09-02 Thread Chris Wesley
On Mon, 2 Sep 2002, timo stamm wrote: > I am new to PHP. I am running the module version 4.2.2 from Marc > Lyanage (entropy.ch) on OS X 10.1 and noticed that my > /usr/local/lib/php.ini is empty!? ... that package doesn't ship with a php.ini. You'll have to get/make your own. > Is there a way

Re: [PHP] problems with cookies

2002-09-02 Thread Chris Wesley
A couple problems may exist: 1) If you're trying to do this all in the same script, it's not going to work. You can't set a cookie and use it (with the value you've just set) in the same script (in the same request). You can only use cookies that have been sent back to your script from th

Re: [PHP] help, array values echoed as Array on loop!

2002-09-02 Thread Chris Wesley
On Mon, 2 Sep 2002, Victor wrote: > $ID_arr[] = explode(',', $pictures); # make db data into array > This is the string: > 15,16,17,18,19 > > why does it echo as Array? ... because you've created an array ($ID_arr) with an array as the first value (the result of the call to explode()). Take the

[PHP] Re: Upload

2002-09-02 Thread nicos
are you using global vars? like $file or you use new var like $_FILES? -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet <[EMAIL PROTECTED

[PHP] help, array values echoed as Array on loop!

2002-09-02 Thread Victor
I have tried both ways to loop through an array and output the data and verify that the array is an array and I get no erros but I get this value, which should not be so. Here I'm checking if it's an array: if (!is_array($ID_arr)) { # show error if no array echo '$ID_arr is not an array.'; } h

Re: [PHP] mailing a cookiecontent

2002-09-02 Thread Øystein Håland
Nope, the cookie is a multivalue cookie (the values from several fields (30-40). The cookiestr is the formatted cookievalue (formatted with numbers and \n) "Dave" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >Here's what I wanna do: > >On the first page I

Re: [PHP] Upload

2002-09-02 Thread mhe
Thank you very much, actually I had already changes that setting, but did not restart apache. Under windows, if I remember correctly, I did not have to worry about apache if I changed something in php.ini, but aperently I there is a connection under linux. Why the difference? /mhe Citat Juan

[PHP] COM and Word, how?

2002-09-02 Thread Michelle
I am new to COM and tried an example today (See bottom of post) When I execute the code, I get is an error message and if I look in the Task Manager, there is a WINWORD.EXE process running, which I can't end. Every time I reload the page, a new winword is started... How should PHP.ini be set for

[PHP] Re: header()-question

2002-09-02 Thread Øystein Håland
<[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dont use a directory but an url > like > header("Location: http://www.php.net";); > Thanks, that made it work. But now comes the next problem. When finshed logging in login.php is reloaded with a confirmation t

[PHP] Upload

2002-09-02 Thread mhe
I have a form where i upload files. When I was using windows there was no problem, now I have switched to Linux, and I cannot upload anymore. The form simply does not pass any of the variables on. If i remove enctype="multipart/form-data" from the form tag, then the variables are passed. Doe

Re: [PHP] empty php.ini

2002-09-02 Thread David Rice
Hi Timo: From Marc's site: "Where is the php.ini file?" There is none included in the package. If you need one, just create it as /usr/local/lib/php.ini, including the intermediate lib directory if that doesn't exist already: sudo mkdir -p /usr/local/lib sudo touch /usr/local/lib/php.ini H

Re: [PHP] Newbie "Parse" error

2002-09-02 Thread eriol
Use a closing "?>" php tag before writing your html and after your mail() function.. Also, in your first $mailheaders variable, you may want to add a ":" after "From".. HTH.. Take care.. peace.. eriol "Chase Knott" <[EMAIL PROTECTED]> disgorged: : Maybe you can help me with YOUR eyes aga

Re: [PHP] Printing ASCII on Linux Server

2002-09-02 Thread Chris Hewitt
Mingshuo Lin wrote: >I am trying to printout some ASCII Text (using LPR, >script see below) to a IBM Proprinter compatible >dot-matrix printer, on a server running Linux. > >Printing works fine, however 2 problems: > >1. linefeed ("\n") doesn't work > >2. escape sequences to print BOLD, ITALIC, U

Re: [PHP] Safe_Mode problem....

2002-09-02 Thread Chris Hewitt
Jim Hatridge wrote: >Can someone give me an idea what next to do? Either how to turn off safe_mode >or a work around on the code. BTW I'm using SuSE 8.0, PHP, and Mysql on a >self-made PI/233. > Jim, If you have changed safe_mode in php.ini and phpinfo() still reports it as on, then I would

Re: [PHP] Re: unexpected T_SL

2002-09-02 Thread Chris Hewitt
> > >>Voisine wrote: >>Hi, >> >>What is wrong witht his code? Parse error: parse error, unexpected >>T_SL in c:\program files\easyphp\www\tutorial\eod.php on line 2 >> >>>$str = <<>Example of string >>spanning multiple lines >>using heredoc syntax. >>EOD; >>?> >> Assuming your line 2 is the one wi

RE: [PHP] Re: unexpected T_SL

2002-09-02 Thread Todd Pasley
Hiya, There are two reasons that I can pick up that you may be experiencing this area: 1) You are not using PHP4 or later 2) you are using windoze and. "Probably the nastiest gotcha is that there may also not be a carriage return (\r) at the end of the line, only a form feed, AKA newline (\n

RE: [PHP] mailing a cookiecontent

2002-09-02 Thread Dave [Hawk-Systems]
>Here's what I wanna do: >On the first page I collect a lot of formfield values into a cookie. On the >next page I display the content of this cookie. This works. >What I even want to do is mailing the cookie content in the same time I >submit the forms in the first page (or, when the new page loa

[PHP] problems with cookies

2002-09-02 Thread skitum
Hi all, I'm using a cookie like this: <> at the top of my script. <<$domin>> is a text field that belongs to a post form. This form is in <> well, i try use <<$domin>> in <> writing <<$_COOKIE['cookiename1'];>> Here you are the code: --- HTML code --- --- HTML code --- --- HTML code --- -

[PHP] Re: unexpected T_SL

2002-09-02 Thread Voisine
Your lucky :) because I'm using the same version and I have this parse error. Erwin wrote: > Voisine wrote: > > Hi, > > > > What is wrong witht his code? Parse error: parse error, unexpected > > T_SL in c:\program files\easyphp\www\tutorial\eod.php on line 2 > > > > > $str = << > Example of str

[PHP] Printing ASCII on Linux Server

2002-09-02 Thread Mingshuo Lin
I am trying to printout some ASCII Text (using LPR, script see below) to a IBM Proprinter compatible dot-matrix printer, on a server running Linux. Printing works fine, however 2 problems: 1. linefeed ("\n") doesn't work 2. escape sequences to print BOLD, ITALIC, UNDERLINE, NARROW don't work A

[PHP] Safe_Mode problem....

2002-09-02 Thread Jim Hatridge
HI all... I'm trying to use "exec" and "unlink" in one of my PHP programs. Here is the code: if (exec ('euro-update.program')) { $result = mysql_query("load data local infile 'euroAUD1.txt' into table Money_AUD") or die ("AUD Load did not work.");

[PHP] Re: header()-question

2002-09-02 Thread nicos
Dont use a directory but an url like header("Location: http://www.php.net";); -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet "ØYstein

[PHP] mailing a cookiecontent

2002-09-02 Thread Øystein Håland
Here's what I wanna do: On the first page I collect a lot of formfield values into a cookie. On the next page I display the content of this cookie. This works. What I even want to do is mailing the cookie content in the same time I submit the forms in the first page (or, when the new page loads).

[PHP] empty php.ini

2002-09-02 Thread timo stamm
Hi, I am new to PHP. I am running the module version 4.2.2 from Marc Lyanage (entropy.ch) on OS X 10.1 and noticed that my /usr/local/lib/php.ini is empty!? Is there a way -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] header()-question

2002-09-02 Thread Øystein Håland
I use this code with the intension to REDIRECT to the file login.php if (!isset($login)) { header("Location: /ha/login/log.php?goal=log&goback=$PHP_SELF"); } else { some code here } When I load the page the following happens: The source show the filename with this script and not the log.php, but

[PHP] SNMP Support Problem

2002-09-02 Thread Xfabius
Hi all, I have a problem with use of snmp functions of php. I have compiled UCD binaries and PHP for support snmp functions ( steps by PHP.NET ) but i always receive this error : " Fatal error: Call to undefined function: snmpwalk() ..." ... and this for all snmp functions. Where i can ge

[PHP] Re: posting form values doesn't work

2002-09-02 Thread Øystein Håland
Yes, you were right. Now a natural question. WHY? I don't understand your explanation, since I thought it was equal, getting a field value using document.answerform.name.value in javascript AND the variable $name in php. I still use php in the location.href-part (it is as follows, the other was f

Re: [PHP] Anybody have a sucessfull use of ADO and php together ?

2002-09-02 Thread Saci
Could you please show-me a sample of php code with ODBC to get a data field and a blob field (Memo) ? ODBC and ADO are the very similar , and have both the same problems with php. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie "Parse" error

2002-09-02 Thread Chase Knott
I thank you... I love these newsgroups, but I tend to feel REALLY stupid when the answer comes... Thanks again! Chase [EMAIL PROTECTED] wrote: > You have forgotten a ?> before your HTML starts. > > / Martin > > Citat Chase Knott <[EMAIL PROTECTED]>: > > >>Maybe you can help me with YOUR

Re: [PHP] Newbie "Parse" error

2002-09-02 Thread mhe
You have forgotten a ?> before your HTML starts. / Martin Citat Chase Knott <[EMAIL PROTECTED]>: > Maybe you can help me with YOUR eyes again... Now I am getting this > error... > > Parse error: parse error, unexpected '<' in send_contact_form.php on > line 18 > > This will be around the "

Re: [PHP] Newbie "Parse" error

2002-09-02 Thread Chase Knott
Maybe you can help me with YOUR eyes again... Now I am getting this error... Parse error: parse error, unexpected '<' in send_contact_form.php on line 18 This will be around the "" line... John Wards wrote: > $subject = "Message From MCV Contact Form" > you have missed out a ; on the above

RE: [PHP] Anybody have a sucessfull use of ADO and php together ?

2002-09-02 Thread Richard Black
I don't know anything about Visual Foxpro, so I may be barking up the wrong tree here, but... Is there anyway you can use ODBC??? The ODBC functions work pretty well. HTH, Richy == Richard Black Systems Programmer, DataVisibility Ltd - http://www.datavis

[PHP] Re: Newbie "Parse" error

2002-09-02 Thread Chase Knott
Thank you... I knew it was something stupid, but I was too close to see it... Thank you!! Erwin wrote: >>I am sure that someone here can see somehting that I am too stupid >>to... Here is my error: >> >>Parse error: parse error, unexpected T_VARIABLE in >>send_contact_form.php on line 13 >>

Re: [PHP] Newbie "Parse" error

2002-09-02 Thread John Wards
$subject = "Message From MCV Contact Form" you have missed out a ; on the above line use your eyes...:-) John - Original Message - From: "Chase Knott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 02, 2002 4:18 PM Subject: [PHP] Newbie "Parse" error > I am sure

[PHP] Re: Newbie "Parse" error

2002-09-02 Thread Erwin
> I am sure that someone here can see somehting that I am too stupid > to... Here is my error: > > Parse error: parse error, unexpected T_VARIABLE in > send_contact_form.php on line 13 > > $subject = "Message From MCV Contact Form" Forgot a ";"? HTH Erwin -- PHP General Mailing List (http

[PHP] Newbie "Parse" error

2002-09-02 Thread Chase Knott
I am sure that someone here can see somehting that I am too stupid to... Here is my error: Parse error: parse error, unexpected T_VARIABLE in send_contact_form.php on line 13 Here is the code for the page: Message Sent! The Following Message Was Sent To: Name: E-Mail Address: Subjec

[PHP] Re: how do I send information to a php page from a menu list

2002-09-02 Thread Javier Montserat
different approach using JavaScript... // drop down redirect function doRedirect(value) { if ((value != "") || (value != "0")) { self.location=value; } else { alert('Please Make a Selection'); return false; } } //--> < make a selection > Bueno, Javier

[PHP] Forum structure

2002-09-02 Thread Andrian Ivanov
Hi, I'm looking for a developer who have worked already on some forums. I know each forum - depending on it's needs is differnt and then it changes it' structure. What I'm asking for is standart information about forum building. Not exact code, but tested db structure and php functionallity. I'll

[PHP] Re: coockie expiration problems

2002-09-02 Thread andy
OK, I found the reason, but not the solution yet: The cookie time during setting is the time taken from the server. The time for checking the coockie is the time of the local machine!! So what can I do if I would like to last the coockie for 1 hour and the person is sitting on the other site of

Re: [PHP] Drawing graphs

2002-09-02 Thread l0t3k
www.aditus.nu/jpgraph "John Wards" <[EMAIL PROTECTED]> wrote in message 028b01c25285$eca109e0$3100a8c0@JOHNCOMP">news:028b01c25285$eca109e0$3100a8c0@JOHNCOMP... > erm jgraph is what i use but for the life of me I cannot remeber the url > > Try searching for it on hotscripts.com or http://php.

[PHP] Anybody have a sucessfull use of ADO and php together ?

2002-09-02 Thread Saci
I tried to use , and have a lot of trouble. For example I can't read fields who is Date & time type I can't read memo fields I can't update using the recordtset.updated methode. The only thing I haven't trouble is to show a read only set of characters rows Anybody know where I can find more in

[PHP] Re: how do I send information to a php page from a menu list

2002-09-02 Thread Erwin
Ivan Carey wrote: > Hello, > how do I send information to a php page from a menu list? > > When a user selects an item from the list I would like to be able to > send "selcategoryid" to faqbycat.php without the use of a submit > button. > > Is it done by using the onChange event? if so how may thi

Re: [PHP] Drawing graphs

2002-09-02 Thread John Wards
erm jgraph is what i use but for the life of me I cannot remeber the url Try searching for it on hotscripts.com or http://php.resourceindex.com/ John - Original Message - From: "Ivens Porto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 02, 2002 2:35 PM Subject

Re: [PHP] Re: PHP checkbox/hidden field question

2002-09-02 Thread Erwin
Marek Kilimajer wrote: > You are wrong, this is from HTML 4.01 specification: > You're right. Thanks for your reply! Grtz Erwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Drawing graphs

2002-09-02 Thread Ivens Porto
Hello, I need to draw graphs in PHP (bar graphs, pie graphs, line/dot graphs, etc.). I know I can do that using the image creation and manipulation functions, but I would like to use a library, or something, so I don't have to write all the low level manipulation code. Is there any graphs libr

[PHP] Re: how do I send information to a php page from a menu list

2002-09-02 Thread lallous
Hello Ivan, Don't set a value for that tag! echo "$faqcats"; no need to "name" the tag too, setting the value will be enough. when you submit your form, faqbycat.php will receive $selcategoryid as the user chose from that select list. Elias, "Ivan Carey" <[EMAIL PROTECTED]>

RE: [PHP] why is html code written like this?

2002-09-02 Thread Brian V Bonini
The entire point of is backwards compatibility. Read the spec http://www.w3.org/TR/xhtml1/ -B > -Original Message- > From: Victor [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 02, 2002 7:35 AM > To: 'Adrian Murphy'; [EMAIL PROTECTED] > Subject: RE: [PHP] why is html code written

[PHP] imagecreatetruecolor is slow

2002-09-02 Thread electroteque
hi i have compared imagecreatetruecolor,imagecopyresampled to imagecreate,imagecopyresized and it is really slow, anyway of optimising this ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how do I send information to a php page from a menu list

2002-09-02 Thread Ivan Carey
Hello, how do I send information to a php page from a menu list? When a user selects an item from the list I would like to be able to send "selcategoryid" to faqbycat.php without the use of a submit button. Is it done by using the onChange event? if so how may this be done? The code I am using

RE: [PHP] Re: PHP checkbox/hidden field question

2002-09-02 Thread victor
Some check box info here too: http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_20117420.html - Victor > www.argilent.com -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] Sent: Monday, September 02, 2002 7:24 AM To: PHP Subject: Re: [PHP] Re: PHP checkbox/hidde

[PHP] Re: mail() again...

2002-09-02 Thread Manuel Lemos
Hello, On 09/02/2002 07:59 AM, :B Nerdy wrote: > what is recommended to use instead of mail() then? It depends on what is your problem. In most cases mail will do taking some care that may be platform dependent like the header line break issues that have to be \r\n under Windows but under Unix

RE: [PHP] why is html code written like this?

2002-09-02 Thread Victor
Ok, but is this kind of html compliant with old browsers like Netscape 4? Is it compliant with most new browsers? - Victor > www.argilent.com -Original Message- From: Adrian Murphy [mailto:[EMAIL PROTECTED]] Sent: Monday, September 02, 2002 7:13 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTE

[PHP] Re: why is html code written like this?

2002-09-02 Thread lallous
tag does not need a closing tag, therefore you don't write . Now tags are used to make the document compatible with XHTML, XML ... "Victor" <[EMAIL PROTECTED]> wrote in message 01c25272$357e6360$a3a96518@jumpy">news:01c25272$357e6360$a3a96518@jumpy... > When I learned html it was alway

Re: [PHP] Re: PHP checkbox/hidden field question

2002-09-02 Thread Marek Kilimajer
You are wrong, this is from HTML 4.01 specification: value = /cdata/ [CA] This attribute specifies the initial value of the control. It is optional except when the type attribute has the value "radio

Re: [PHP] why is html code written like this?

2002-09-02 Thread Adrian Murphy
thats xhtml - it's xml comliant html. tags must be closed so a tag like which didn't have a closing tag is written so,for example in php the nl2br() function now produces instead of the old - Original Message - From: "Victor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday,

[PHP] why is html code written like this?

2002-09-02 Thread Victor
When I learned html it was always written like this: now I see people write it like this: ... why? - Victor > www.argilent.com __ Post your free ad now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.ph

Re: [PHP] Re: How to escape " in hidden field?

2002-09-02 Thread Martin Thoma
> Hi, > Its really stupid to use that command because there is not any function > to come back to the real way. You should just addslashes() to it then remove > them. Hi Nicos, unfortunalty, it doesn't work to use stripslashes: When using: (which is the same the stripslashes would produce),

[PHP] Re: mail() again...

2002-09-02 Thread :B nerdy
what is recommended to use instead of mail() then? cheers "Manuel Lemos" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > On 09/01/2002 02:30 AM, Liam Mackenzie wrote: > > It seems nearly everyone has a problem with this function, probably because >

[PHP] Re: coockie expiration problems

2002-09-02 Thread nicos
Hi, I see really nothing wrong in your example. Did you tried to verify with isset() if the cookie is still here or not? And well, you should use double quote on setcookie("referrer", $user_id, time()+10); You call should be also $_COOKIE['referrer'] and not $_COOKIE[referrer]. -- Mer

Re: [PHP] Re: How to escape " in hidden field?

2002-09-02 Thread nicos
Hi, Its really stupid to use that command because there is not any function to come back to the real way. You should just addslashes() to it then remove them. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT

[PHP] Re: fopen() and flock()

2002-09-02 Thread nicos
Hi, You should use a while(!feof) syntax so that can verify that the file is not empty. You should also use $text = implode("",@file($filename)); Thats the easiest way to read a file. It will put each lines into an array and you will just implode it into a variable -- Merci de nous avoi

[PHP] Re: linking to secure ssl page using php and Microsoft Explorer - general error serviing up page from MSE... Netscape works fine

2002-09-02 Thread nicos
Hi, No, this has nothing to do to with us, call Microsoft or get Linux. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet "Phplist" <[EMA

[PHP] Re: Am I just being stupid or something?

2002-09-02 Thread nicos
Hi, Yes sometimes it is treated as null. You should reconsider your code and use empty() and not != "". -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement d

[PHP] coockie expiration problems

2002-09-02 Thread andy
Hi there, I am trying to save a var inside a cookie for a certain time (in this example 10s): setcookie('referrer', $user_id, time()+10); //expires in one hour Now I would like to get the value, but only if the coockie is valid (if cockie not older than 10 s in this example) echo 'refer

[PHP] RE: PHP checkbox/hidden field question

2002-09-02 Thread Tim Ward
you need to define the key for checkbox arrays in order to distinguish them (as only the checked ones will be posted).. something like ... Tim Ward www.chessish.com > -Original Message- > From: Paul Maine [mailto:[EMAIL PROTECTED]] > Sent: 02 September 2002 00:56 > To: PHP PHP > Subje

Re: [PHP] Re: How to escape " in hidden field?

2002-09-02 Thread Steel
Hi Martin, Monday, September 2, 2002, 2:21:10 PM, ß ïîëó÷èë: >> Using the htmlspecialchars() function, so that "Hello \"world\"" will be >> written in pure HTML: "Hello "world"" MT> Thanx a lot! But how do I get it back to 'Hello "world"'? Do I have to do it MT> manually? MT> Martin Yep. But

[PHP] Re: How to escape " in hidden field?

2002-09-02 Thread Martin Thoma
> Using the htmlspecialchars() function, so that "Hello \"world\"" will be > written in pure HTML: "Hello "world"" Thanx a lot! But how do I get it back to 'Hello "world"'? Do I have to do it manually? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] Re: How to escape " in hidden field?

2002-09-02 Thread Erwin
Martin Thoma wrote: > Hello! > > I have a simple hidden input-field like > > > Now sometimes I need to insert " like: > > > But this makes PHP (or the browser?) cutting of the string after > "Hello ". How can I escape the "? Using the htmlspecialchars() function, so that "Hello \"world\"" will

[PHP] Re: posting form values doesn't work

2002-09-02 Thread Erwin
ØYstein HåLand wrote: > This is my form: > > Your name: > Group:   >onClick="Javascript:validate(this);"> > > and the function validate: > function validate() { [ CUT Javascript code ] > location.href='groups/collect_answer.php?name= ?>&group='; [ CUT Javascript code ] At first I

[PHP] How to escape " in hidden field?

2002-09-02 Thread Martin Thoma
Hello! I have a simple hidden input-field like Now sometimes I need to insert " like: But this makes PHP (or the browser?) cutting of the string after "Hello ". How can I escape the "? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

[PHP] Re: turn off a warning with $GET_['var'];

2002-09-02 Thread Erwin
Peter Mr. Eps Thoenen wrote: > Hello, > > trying to figure a way to turn off the following warning. @ > doesn't seem to work neither does switch (isset($_GET['status'])){ > > Notice: Undefined index: status in E:\php\tt\index.php on line 6 > > switch ($_GET['status']){ try array_key_exists

Re: [PHP] Q:Making an 'expired event' for sessions

2002-09-02 Thread Erwin
Mehran Ziadloo wrote: > Hi > Thanks for replying, > There are some settings for sessions in php.ini but I can't find the > thing that I'm looking for. > It should exist, I mean isn't there any one who needs to know when the > session has expired? > Once again I ask my question: > How to make a ses

[PHP] Re: getimagesize with image in database

2002-09-02 Thread Erwin
Chaillan Nicolas wrote: > Hi, > > There is no way to get the filesize of a file using a remote file. That's not true. GetImageSize works also on remote files. >> here's my code >> $imagesize = getimagesize(http://domain/image.jpg); >> echo $imagesize[3]; >> >> but it returns nothing. If I use a

  1   2   >