[PHP] why does this happen?

2002-11-05 Thread Karl James
Hey guys Im trying to print all the names in this table and To do alternating colors, with check boxes on the last Column When I tried this.my site will not display any names What so ever. And I tried some example code for the alternating colors But its not working the way it should The

Re: [PHP] Re: PHP driven frame

2002-11-05 Thread Chris Rehm
Craig, I don't understand what you mean, submit the form into the same page? I'm only using the frames so I can keep the appearance, to the user, as though they are simply continuing to work on the same form since the header stuff will stay the same, but allow for the detail stuff to change

RE: [PHP] why does this happen?

2002-11-05 Thread Jay Blanchard
Change your body text=#FF to body text=#00 The text is set to white. -Original Message- From: Karl James [mailto:karl.james;verizon.net] Sent: Tuesday, November 05, 2002 4:15 AM To: [EMAIL PROTECTED] Subject: [PHP] why does this happen? Hey guys Im trying to print all the names

Re: [PHP] Re: creating and ftp text file

2002-11-05 Thread Petre Agenbag
Hi Erwin OK, my first problem: your code genrates errors, it says fwrite and fclose are invalid file descriptors. I gathered thatit is possibly because thos are for normal files, so I looked in the manual and found the FTP-functions, but it takes a $local_file variable, and that must be the

[PHP] File download + HTTP auth problem.

2002-11-05 Thread Rodolfo Gonzalez
Hello, I have this simple script called index.php in a directory protected with HTTP auth (require valid-user): ?php $archivo = '/somewhere/out/docroot/registro.csv'; header('Content-Type: application/octect-stream'); header('Content-Length: '.filesize($archivo));

RE: [PHP] why does this happen?

2002-11-05 Thread Jay Blanchard
[snip] I did the changes but. Now nonthing appears at all on the web page Please refresh to see what im saying.. [/snip] Now, if that was all you changed you should not have a problem, but you must have changed more than that because now there is nothing in the page. Can you show us your code?

[PHP] session cache limiter

2002-11-05 Thread ROBERT MCPEAK
Could somebody shed some light on this error message I'm getting. Could you point me at the appropriate docs or clue me in somehow. PHP Warning: Cannot send session cache limiter - headers already sent (output started at /usr/local/httpd/htdocs/mmc/results.php:79) in

[PHP] uploading

2002-11-05 Thread Edward Peloke
I am playing with uploading files (hence the array question). I have a simple form: form action=upload.php method=post enctype=multipart/form-data Send these files:br input name=userfile[] type=filebr input type=submit value=Send files /form Which calls a php file that just contains

RE: [PHP] why does this happen?

2002-11-05 Thread Jay Blanchard
And all you changed was the body text=#FF tag? If so, the code you sent was before you chnaged it to body text=#00 (those are zeros) -Original Message- From: Karl James [mailto:karl.james;verizon.net] Sent: Tuesday, November 05, 2002 4:35 AM To: 'Jay Blanchard' Subject: RE: [PHP]

[PHP] Information Retrieval.. help

2002-11-05 Thread Kevin Stone
Hey list! I have written several simple search scripts to retrieve basic data.. that is to say I wasn't worried about the actual relevancy of what I was retrieving. Now I need to write a search script that retrieves information based on the search terms in order of relevancy. It doesn't have

RE: [PHP] why does this happen?

2002-11-05 Thread Jay Blanchard
Dude, forget colors and stuff for the moment, you just want to get the page to display properly. You have many problems where your print statements are concerned without going into the coat of many colors. -Original Message- From: Karl James [mailto:karl.james;verizon.net] Sent:

RE: [PHP] why does this happen?

2002-11-05 Thread Jay Blanchard
Edit only the # sign and the 6 characters following it. There is a good color reference at http://www.visibone.com/colorlab/ -Original Message- From: Karl James [mailto:karl.james;verizon.net] Sent: Tuesday, November 05, 2002 4:48 AM To: 'Jay Blanchard' Subject: RE: [PHP] why does this

Re: [PHP] session cache limiter

2002-11-05 Thread .: B i g D o g :.
Show some code so we can see what seems to be the problem... From the error you are trying to send header information when it has already been sent. You might want to check on that and make sure your sessions are started correctly... On Tue, 2002-11-05 at 19:34, ROBERT MCPEAK wrote: Could

RE: [PHP] Information Retrieval.. help

2002-11-05 Thread Matt Schroebel
Why don't you use full text search, which creates a score? Two tutorials: http://www.mysql.com/doc/en/Fulltext_Search.html http://www.zend.com/zend/tut/tutorial-ferrara1.php The match words need to be at least 3 characters in length or you'll get no results. -Original Message- From:

RE: Re: [PHP] Creating SSL Connection to Accept Credit Cards

2002-11-05 Thread Jaime Bozza
Unfortunately, if you don't have CURL support and you can't change that, you may be out of luck. HTTPS support requires CURL and OpenSSL, and in the future at least OpenSSL. I would speak with your hosting provider and see what they recommend. Perhaps they can add in CURL and OpenSSL support.

Re: [PHP] Information Retrieval.. help

2002-11-05 Thread Kevin Stone
Brilliant! I had no idea that something like this was built into MySQL. This will work very nicely. Thank you. -Kevin - Original Message - From: Matt Schroebel [EMAIL PROTECTED] To: Kevin Stone [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 1:01 PM Subject:

[PHP] Sessions and Arrays

2002-11-05 Thread @ Darwin
Hello, In an attempt to override the political anger in this mailing list I will tell you that I have already searched through documentations on how to solve the problem I'm having, to the extent of my skills in searching. Ok, now to the problem. I have an array submitted by a form, such as

Re: [PHP] Re: Variables

2002-11-05 Thread Martín Marqués
On Dom 03 Nov 2002 06:40, David Jackson wrote: Bryan McLemore wrote: What is a variables value before said value has been assigned a value? Thanks Bryan Wouldn't it be null or empty ? NULL -- Porqué usar una base de datos relacional cualquiera, si podés usar PostgreSQL?

[PHP] Database creating from XML file

2002-11-05 Thread Bernardo de Barros Franco
Hello PHP users, I've recently tried to find info about creating databases from XML files and didn't find anything. Since there is no php.XML I'm posting it in the general section. Does anyone know where I can find PHP source code that will parse an XML file and generate SQL queries that would

Re: [PHP] MYSQL and PHP Storing and retrieving images getting corrupted

2002-11-05 Thread rija
Have you tried out mysql function load_file() to upload directly your file into the database without passing through php variable ? Like this: $result=MYSQL_QUERY(INSERT INTO master_products (image_thumbnail,image_thumbnail_name,image_thumbnail_size,image_thumbnail_t ype) VALUES

[PHP] Re: Database creating from XML file

2002-11-05 Thread Manuel Lemos
Hello, On 11/05/2002 06:44 PM, Bernardo De Barros Franco wrote: I've recently tried to find info about creating databases from XML files and didn't find anything. Since there is no php.XML I'm posting it in the general section. Does anyone know where I can find PHP source code that will parse an

[PHP] Firewall Question

2002-11-05 Thread Stephen
This isn't exactly PHP related but close enough that I feel safe emailing you all. Exactly what ports are needed to be opened when hosting your own server? If this may help, I'm using phpdev 5. Thanks in advance! Thanks, Stephen Craton http://www.melchior.us Life is a gift from God. Wasting it

Re: [PHP] Problem with is_dir function

2002-11-05 Thread rija
I cannot explain your error message, are you sure that the following error message provide from these lines ? If not, I think your machine is blasted, so find out an exorcist or a witch. Good luck ! - Original Message - From: Roger Lewis [EMAIL PROTECTED] To: Roger Lewis [EMAIL

Re: [PHP] File download + HTTP auth problem.

2002-11-05 Thread rija
Simply, HTTP Authentification Header(WWW-Authenticate: Basic realm='something') does not work with microsoft product, so you need to buy Microsoft authentification from Microsoft to do something like it. - Original Message - From: Rodolfo Gonzalez [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [PHP] session cache limiter

2002-11-05 Thread rija
I bit you are sending something like as an blank_space before your are sending your header. Show us first your code. - Original Message - From: ROBERT MCPEAK [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 6:34 AM Subject: [PHP] session cache limiter Could

Re: [PHP] Firewall Question

2002-11-05 Thread Brad Bonkoski
I would say, it depends on your configuration. See if you can get this info from you configuration file, if not, fire up the server and run 'netstat -pna | more' and see if that tells you what port you are trying to use. HTH -Brad Stephen wrote: This isn't exactly PHP related but close

Re: [PHP] Firewall Question

2002-11-05 Thread Stephen
Err, I'm extremely new to Firewalls and the firewall is protecting the LAN I'm on for the house. I think I should need to just do port 80 for this but how would I go about opening it? While I'm on the subject, I also need to open ports , 7778, 7787, 7788, 28900, 28902 for a game. Again, how

Re: [PHP] Firewall Question

2002-11-05 Thread incoming
Probably all you need is port 80 open. All HTTP traffic goes through there. For SSL, you will need 443 free also. Hope this helps. Regards, --Joseph Web Programmer / Unix Consulting http://www.bahwi.cc/ 469-867-2100 This isn't exactly PHP related but close enough that I feel safe emailing you

Re: [PHP] Firewall Question

2002-11-05 Thread incoming
Depends on your firewall software. --Joseph Guhlin Web Developer / Unix Consultant http://www.bahwi.cc/ Stephen wrote: Err, I'm extremely new to Firewalls and the firewall is protecting the LAN I'm on for the house. I think I should need to just do port 80 for this but how would I go about

Re: [PHP] uploading

2002-11-05 Thread rija
Either you put references into your variables $_FILES['userfile']['tmp_name'][0] : move_uploaded_file($_FILES['userfile']['tmp_name'][0], \ufiles) ; or don't put bracket in your variable userfile from your input form like this : input type=file name=userfile - Original Message - From:

Re: [PHP] Firewall Question

2002-11-05 Thread Paul Marinas
it depends on the operating system your running. Paul Marinas Technical Support RDS Craiova Phone: +402-51-410-194 Mobile: +407-22-451-439 Fax:+402-51-416-579 www.rdsnet.ro . Privileged/Confidential Information may be contained in this

Re: [PHP] Re: creating and ftp text file

2002-11-05 Thread Erwin Bovendeur
- Original Message - From: Petre Agenbag [EMAIL PROTECTED] To: Erwin [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 8:24 PM Subject: Re: [PHP] Re: creating and ftp text file Hi Erwin OK, my first problem: your code genrates errors, it says fwrite and

Re: [PHP] Sessions and Arrays

2002-11-05 Thread 1LT John W. Holmes
Did you try it? Did it work? How about $_SESSION['item']['price'] = $item['price']; $_SESSION['item']['name'] = $item['name']; ---John Holmes... - Original Message - From: @ Darwin [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 3:11 PM Subject:

[PHP] Need Help With SESSIONS and ARRAYS

2002-11-05 Thread @ Darwin
Hello, In an attempt to override the political anger in this mailing list I will tell you that I have already searched through documentations on how to solve the problem I'm having, to the extent of my skills in searching. Ok, now to the problem. I have an array submitted by a form, such as

RE: [PHP] Sessions and Arrays

2002-11-05 Thread @ Darwin
I cannot try it out until after a few hours -- work restrictions -- please forgive me. I'm trying to break down your suggestion here. So calling those two lines will actually register the sessions? In other words, does $_SESSION['item']['price'] register the session the same way as

Re: [PHP] Need Help With SESSIONS and ARRAYS

2002-11-05 Thread Kevin Stone
So far as I know the session_register() function accepts only one input. That could be your array if you wanted. It would be the same thing as doing this: $myarray = array('name' = '', 'price' = '', 'desc' = ''); $_SESSION['myarray'] = $myarray; Set and/or Access with:

Re: [PHP] Need Help With SESSIONS and ARRAYS

2002-11-05 Thread Kevin Stone
Oops.. sorry didn't realize I was responding to a redundent post. :) -Kevin - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: @ Darwin [EMAIL PROTECTED]; Php-General [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 3:27 PM Subject: Re: [PHP] Need Help With SESSIONS and

Re: [PHP] Global Variables Off

2002-11-05 Thread Martín Marqués
On Lun 04 Nov 2002 00:10, Paul wrote: Ok, I have turned global vars off and I have replaced my old $HTTP_GET_VARS with $_GET[] but I seem to not get the values passed. I run the phpinfo and I see the variables being stored as _GET[variable_name] Is calling $_GET[variable_name] correct? If

RE: Re: [PHP] Creating SSL Connection to Accept Credit Cards

2002-11-05 Thread Jonathan Rosenberg \(Tabby's Place\)
Do you have telnet access to the server? If so, you could download the standalone CURL program invoke it via the exec() function call. -- JR -Original Message- From: Ben C. [mailto:benc;cox.net] Sent: Tuesday, November 05, 2002 13:19 PM To: Jaime Bozza; 'Adam Voigt' Cc: [EMAIL

Re: [PHP] Firewall Question

2002-11-05 Thread Stephen
My OS is Windows XP Pro but the computer with admin privaliges is Windows 98. It's not software, it's hardware. It's built into the HUB of the LAN. There is some software to open ports but I'm not sure what it is or anything like that. Thanks for the help so far. - Original Message -

Re: [PHP] special print function

2002-11-05 Thread Justin French
I believe the OP wanted to achieve some sort of printing of SOME of the content from within the original page, which isn't possible to my knowledge. BTW calling print dialogues, etc etc will be a headache too. Instead of a printer icon, what about a printer friendly icon, which they can click

Re: [PHP] Firewall Question

2002-11-05 Thread PHP List
If the firewall is built into the HUB, there should be a specific address you can point your webbrowser to that will access the HUB's built in administration to change the configuration. See the HUB's manual. My OS is Windows XP Pro but the computer with admin privaliges is Windows 98. It's

Re: [PHP] function()

2002-11-05 Thread Justin French
Hi, this is the common way to do things: ? // declare function function test($param) { $param = $param + 4; return $param; } // option 1 -- prints 48 $param = test(44); echo $param; // option 2 -- prints 59 echo test(55); ? I *think* you can also make param part of the

[PHP] xml

2002-11-05 Thread Karl James
What the hell is XML anyway?

Re: [PHP] function()

2002-11-05 Thread Justin French
Doesn't 'global' only get variables from outside the function into it OP (I think) wanted the variables within the function to work outside it. Justin on 06/11/02 2:44 AM, Jason Wong ([EMAIL PROTECTED]) wrote: On Tuesday 05 November 2002 23:56, Francisco Vaucher wrote: This doesn't

[PHP] Grammar/how toes?

2002-11-05 Thread Karl James
Hey people Where is there a good place to learn How and what the ( ) means and what to put in qoautes Basically the right way to properly code? Karl

Re: [PHP] function()

2002-11-05 Thread Rasmus Lerdorf
Is there a way to make te variables defined in the function 'global' ? So I can use them after the function call. Just make them global inside the function. They don't need to exist in the global symbol table before the call for this. try this little test: ?php function foo() {

RE: [PHP] function()

2002-11-05 Thread Martin Towell
FYI: 'global' is two way eg: ? function test() { global $foobar; $foobar = Hello World; } test(); echo $foobar; ? will work. -Original Message- From: Justin French [mailto:justin;indent.com.au] Sent: Wednesday, November 06, 2002 11:49 AM To: [EMAIL PROTECTED] Subject: Re: [PHP]

Re: [PHP] PHP driven frame

2002-11-05 Thread Justin French
Well, he's asking you to do something that goes against what the web is good at. The simple solution is a two page form. I've also had some luck with hiding/showing parts of the form with css/javascipt... it worked really well, but needed (of course) a modern browser with good JS and CSS

Re: [PHP] Firewall Question

2002-11-05 Thread PHP List
Are you sure there even is a firewall? If it is just a simple 10 port network hub, chances are it does not have any firewall capability. There lies another problem. I'm not sure there is a number, I tried reading the manual but it didn't say much about all that. Mostly how to get your network

RE: [PHP] Firewall Question

2002-11-05 Thread David Freeman
My OS is Windows XP Pro but the computer with admin privaliges is Windows 98. It's not software, it's hardware. It's built into the HUB of the LAN. There is some software to open ports but I'm not sure what it is or anything like that. Thanks for the help so far. No offence

[PHP] Firewall Question

2002-11-05 Thread Stephen
It's ok, I've emailed tech support and hopefully they'll reply soon. If it's any help, I'm using the TW100-W1CA hub from TRENDnet. Thanks again! - Original Message - From: Brad Bonkoski [EMAIL PROTECTED] To: Stephen [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 6:53 PM Subject:

[PHP] undefined symbol: curl-global-init

2002-11-05 Thread Ernest E Vogelsinger
Hi list, maybe someone has a simple answer to this: I am running Apache 1.3.22 with libphp4.so. Everything's fine, but when starting php from the command line I get: php: relocation error: php: undefined symbol: curl-global-init Any idea what I should try? Thanks, -- O Ernest E.

Re: [PHP] Firewall Question

2002-11-05 Thread Stephen
I remember reading of the software but it looked like all it did was set up other IP addresses for more computers. Thanks, I'll check it out! - Original Message - From: Brad Bonkoski [EMAIL PROTECTED] To: Stephen [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 7:01 PM Subject: Re:

[PHP] generically accessing member variables problem

2002-11-05 Thread John Kenyon
I'm trying to write a function I can plop in a bunch of different classes without having to modify it. Basically I have classes like: class Example { var $array1; var $array2; var $array3; etc. } and I want to have a function in that class that looks something like this: function

[PHP] Re: Mysql not functioning after upgrade to 4.2.3

2002-11-05 Thread ceo
[PLEASE do NOT reply-all to this message!] Richard - I hired Richard Lynch ([EMAIL PROTECTED]) to fix it for me and he did. It appeared to be problems created by the new version of PHP and he had to tweak some things to make it work. I'd talk to him. Jeff Richard [EMAIL PROTECTED]

[PHP] fopen() with permissions?

2002-11-05 Thread Charles Wiltgen
Hello, There doesn't seem to be a way to fopen() with permissions. Someone commenting on the PHP manual suggested writing a file via FTP (which would allow me to specify a user name and password). Is this a reasonable thing to do? My plan is to create empty files via FTP, and then

[PHP] Using info from a MySQL Query

2002-11-05 Thread Ben C .
I am using the following query: $sql =SELECT company, name, email FROM $table_name WHERE email = '$_POST[email]' AND password = password('$_POST[password]'); Then I am echoing the $email on my form (it works because the person has posted their e-mail name when logging in). How can I

[PHP] PHP 4.3.0 and Zend Engine 2

2002-11-05 Thread matt
Can anybody tell me if PHP 4.3.0 will use Zend Engine 2? Thanks, matt westgate -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Using info from a MySQL Query

2002-11-05 Thread John W. Holmes
I am using the following query: $sql =SELECT company, name, email FROM $table_name WHERE email = '$_POST[email]' AND password = password('$_POST[password]'); Then I am echoing the $email on my form (it works because the person has posted their e-mail name when logging in). How

Re: [PHP] fopen() with permissions?

2002-11-05 Thread Marco Tabini
If you're using Apache, have you considered suexec? You can write an external script that takes care of that. Marco --- php|architect -- The Monthly Magazine For PHP Professionals Visit us on the web at http://www.phparch.com! On Tue, 5 Nov 2002, Charles Wiltgen wrote: Hello,

Re: [PHP] Using info from a MySQL Query

2002-11-05 Thread rija
Put your variables into {} like this '{$_POST['email'] }', $sql =SELECT company, name, email FROM $table_name WHERE email = '{$_POST[email]}' AND password = password('{$_POST[password]}'); - Original Message - From: Ben C. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday,

Re: [PHP] Using info from a MySQL Query

2002-11-05 Thread Marco Tabini
I think you might want something like this: $sql =SELECT company, name, email FROM $table_name WHERE email = '$_POST[email]' AND password = password('$_POST[password]'); $rs = mysql_query ($sql, mysql_connect ('server', 'user', 'pass'); $a = mysql_fetch_array ($rs); echo

Re: [PHP] Using info from a MySQL Query

2002-11-05 Thread Rick Emery
$sql =SELECT company, name, email FROM $table_name WHERE email = '$_POST[email]' AND password = password('$_POST[password]'); $result = mysql_query($sql) or die(Error: $sqlBR.mysql_error()); extract(mysql_fetch_row($result)); print $company $mail; rick People will forget what you said.

Re: [PHP] Using info from a MySQL Query

2002-11-05 Thread Chris Knipe
$sql = query $result = mysql_query($sql) while ($data = mysqlfetch_array($result)) { echo $data['colum']; } - Original Message - From: Ben C. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 3:09 AM Subject: [PHP] Using info from a MySQL Query I am using

[PHP] sql error

2002-11-05 Thread Jule Slootbeek
I know this is the wrong mailinglist, but i don't want to subscribe to a second one for one random question. when trying to enter this into my db: DROP TABLE IF EXISTS dates; CREATE TABLE dates ( id int(10) unsigned NOT NULL auto_increment, date varchar(50) NOT NULL default '', at

Re: [PHP] sql error

2002-11-05 Thread Marco Tabini
where is a reserved keyword in SQL--try changing the name of that column to something else. Marco --- php|architect -- The Monthly Magazine For PHP Professionals Visit us on the web at http://www.phparch.com! On Tue, 5 Nov 2002, Jule Slootbeek wrote: I know this is the wrong

Re: [PHP] sql error

2002-11-05 Thread Jule Slootbeek
Ah i see, but then why will phpMyAdmin let me use it? it works fine on my local db with these names, but on my remote server it refuses to create the table. Jule On Tuesday, Nov 5, 2002, at 21:47 US/Eastern, Marco Tabini wrote: where is a reserved keyword in SQL--try changing the name of that

Re: [PHP] sql error

2002-11-05 Thread Marco Tabini
I'm not entirely sure... different configurations perhaps? Have you verified that that's indeed the problem? Marco --- php|architect -- The Monthly Magazine For PHP Professionals Visit us on the web at http://www.phparch.com! On Tue, 5 Nov 2002, Jule Slootbeek wrote: Ah i see, but

[PHP] Re: xml

2002-11-05 Thread eriol
Karl James [EMAIL PROTECTED] disgorged: : What the hell is XML anyway? eXtensible Markup Language http://www.w3.org/XML/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] sql error

2002-11-05 Thread John W. Holmes
PHPMyAdmin may put tick marks around the name, which will get rid of the error. `where` varchar(255) not null ... ---John Holmes... -Original Message- From: Jule Slootbeek [mailto:jslootbeek;clarku.edu] Sent: Tuesday, November 05, 2002 9:43 PM To: Marco Tabini Cc: [EMAIL PROTECTED]

Re: [PHP] sql error

2002-11-05 Thread Jule Slootbeek
apparently 'where' and 'with' are keywords in Java, i've changed them and now it works fine. thanks! Jule On Tuesday, Nov 5, 2002, at 21:53 US/Eastern, Marco Tabini wrote: I'm not entirely sure... different configurations perhaps? Have you verified that that's indeed the problem? Marco

Re: [PHP] sql error

2002-11-05 Thread Jule Slootbeek
possible, but wouldn't phpMyAdmin export the name with the tick marks?? CREATE TABLE foo (`where` varchar(255) NOT NULL); Jule On Tuesday, Nov 5, 2002, at 21:51 US/Eastern, John W. Holmes wrote: PHPMyAdmin may put tick marks around the name, which will get rid of the error. `where`

Re: [PHP] sql error

2002-11-05 Thread Jule Slootbeek
did I say Java? oops, i meant SQLlearning Java in my comp sci class..(= forgive me. Jule On Tuesday, Nov 5, 2002, at 21:54 US/Eastern, Martin Towell wrote: where is a java keyword ? have you got an example ? It's been _ages_ since I've done any code in java :( -Original Message-

[PHP] problem of javascript with dropdown list of array.

2002-11-05 Thread Mack
i have a problem with the dropdown list when proccesing with javascript, the name of the dropdown list is select02[], this because to that i need it passed in php a array of the selecteds item, for example : $form[select02][$i],..but i wish to fill the dropdown list from javascript and later

RE: [PHP] problem of javascript with dropdown list of array.

2002-11-05 Thread Martin Towell
you can refer to form elements by: document.forms[formname].elements[elementname] so you could use: document.forms[entryform].elements[select02[]] -Original Message- From: Mack [mailto:mplescano2000;yahoo.com] Sent: Tuesday, November 05, 2002 12:30 AM To: [EMAIL PROTECTED] Subject: [PHP]

RE: [PHP] problem of javascript with dropdown list of array.

2002-11-05 Thread John W. Holmes
I think you have to refer to it as document.form.element[0], element[1], etc, based on the element number of your select box. Anyway, ask on a Javascript list for more information. ---John Holmes... -Original Message- From: Mack [mailto:mplescano2000;yahoo.com] Sent: Monday, November

[PHP] imagerotate

2002-11-05 Thread jacob
Has anyone used imagerotate() function? I am curious as to how exactly it is being used. I currently use a rather large custom function to rotate my images... Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session handling

2002-11-05 Thread Uma Shankari T.
Hello, I am having two list box of which one contains the year no and the another one contains the items related to that year..If once i have selected that year then whatever i have selected in the list it have to show the items related to that year until i select the next year..Can

Re: [PHP] Using info from a MySQL Query

2002-11-05 Thread rija
Sorry, I didn't read correctly the question- There are plenty way to do it for example : $query = mysql_query($sql) ; $ligne=mysql_fetch_array($query) ; echo $ligne['company'] ; echo $ligne['email'] ; or echo mysql_result($query,0,1); - Original Message - From: rija [EMAIL PROTECTED]

RE: [PHP] Session handling

2002-11-05 Thread John W. Holmes
I am having two list box of which one contains the year no and the another one contains the items related to that year..If once i have selected that year then whatever i have selected in the list it have to show the items related to that year until i select the next year..Can anyone please

[PHP] mySQL relations query

2002-11-05 Thread Edgard Berendsen
I know this can be a little out of topic but: I have a books database and each book belongs to a publisher. There is also a publisher database with information like (name, location, etc). In the books database there is a key to identify the publisher. I need a mySQL query for showing each book

Re: [PHP] mySQL relations query

2002-11-05 Thread Marco Tabini
Well, if both tables are in the same database: select * from books inner join publishers on books.publisherid = publishers.publisherid this assumes that the key for the publisher is publisherid and that publisherid also appears in the book table. This gives you a result set that contains the

[PHP] Bar Codes

2002-11-05 Thread Ricardo Fitzgerald
Hi, I'm developing a php application to display and print discount coupons, with a barcode in them, my problem is the server where php is, doesn't have gd compiled with the ttf option it does have the t1, this is the first time I'm developing this kind of application using php and I'm not sure

Re: [PHP] fopen() with permissions?

2002-11-05 Thread Charles Wiltgen
Marco Tabini wrote... If you're using Apache, have you considered suexec? You can write an external script that takes care of that. My hosting provider (DreamHost) uses suexec. My understanding is that this lets you run CGI scripts as another user, but I'm not sure how I could take advantage

Re: [PHP] Bar Codes

2002-11-05 Thread Marco Tabini
This might be an overly simple solution for your needs (depending on which kind of barcodes you need), but you can cheat with this: http://www.barcodesinc.com/generator/index.php Hope it helps. Marco --- php|architect -- The Monthly Magazine For PHP Professionals Visit us on the web

[PHP] problem of javascript with dropdown list of array.

2002-11-05 Thread MAck
i have a problem with the dropdown list when proccesing with javascript, the name of the dropdown list is select02[], this because to that i need it passed in php a array of the selecteds item, for example : $form[select02][$i],..but i wish to fill the dropdown list from javascript and later

RE: [PHP] Session handling

2002-11-05 Thread Uma Shankari T.
JWHSESSIONs have nothing to do with it, this is a javascript issue, unless JWHyou plan on submitting the form when the user picks the year. Okay if it is like form submittion Can you please tell me how to do that..?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Bar Codes

2002-11-05 Thread Manuel Lemos
Hello, On 11/06/2002 01:49 AM, Ricardo Fitzgerald wrote: I'm developing a php application to display and print discount coupons, with a barcode in them, my problem is the server where php is, doesn't have gd compiled with the ttf option it does have the t1, this is the first time I'm developing

[PHP] Regular expression problem

2002-11-05 Thread rija
Hi Guy and Gay ? I have the following code supposed to transform date format like this 04 desambra 1975 into 1975-12-04. User can use whatever language he want like french, english, malagasy even Bichlamar- for example : 04, otis 1975 = 04 aout 1975 = 04 aogositra 1975 = 04-août 1975 = 04

[PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-05 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to get XSLT working with PHP, and after slowly working my way through several other problems, I've found one that I can't figure out. Software: PHP 4.2.3 Apache 1.3.27 Sablotron 0.96 GCC 3.2 Linux 2.4.19-lsm1 ./configure \ - --enable-xml

[PHP] How do I convert an array into a mask?

2002-11-05 Thread Daevid Vincent
Does anyone know of a nice efficient way to convert an array of values into a mask... Here's the deal. Given an array such that: $purchitem[0] = 1; $purchitem[1] = 3; $purchitem[2] = 4; I want to end up with a variable like this: $mask = 10110; Additionally, my theory is that then the person

Re: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-05 Thread .: B i g D o g :.
Try specifying the sablot installation directory in the configuration --with-xslt-sablot=/some/dir On Wed, 2002-11-06 at 04:50, Evan Nemerson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to get XSLT working with PHP, and after slowly working my way through several

Re: [PHP] function()

2002-11-05 Thread Jason Wong
On Wednesday 06 November 2002 08:48, Justin French wrote: Doesn't 'global' only get variables from outside the function into it OP (I think) wanted the variables within the function to work outside it. Kind of. What it really does is 'link' the global'ed variable into the global scope.

Re: [PHP] xml

2002-11-05 Thread Jason Wong
On Tuesday 05 November 2002 22:45, Karl James wrote: What the hell is XML anyway? What the hell are search engines for? google What the hell is XML anyway -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet

RE: [PHP] Session handling

2002-11-05 Thread John W. Holmes
JWHSESSIONs have nothing to do with it, this is a javascript issue, unless JWHyou plan on submitting the form when the user picks the year. Okay if it is like form submittion Can you please tell me how to do that..?? What do you have so far? I'm not writing this for you, it's a simple

Re: [PHP] problem of javascript with dropdown list of array.

2002-11-05 Thread Jason Wong
On Monday 04 November 2002 21:29, Mack wrote: --- the form with the events: form name=entryform enctype=multipart/form-data method=post action=/ayni2/admin2/producto.php select name=select02[] size=5 multiple/select input type=text

Re: [PHP] How do I convert an array into a mask?

2002-11-05 Thread rija
Why don't you ask Jim Carrey ??? He knew more that whoever here about The MASK !!! Good luck. - Original Message - From: Daevid Vincent [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 3:56 PM Subject: [PHP] How do I convert an array into a mask? Does anyone

[PHP] Re: Database creating from XML file

2002-11-05 Thread Seung Hwan Kang
Another idea of doing this task is using XSLT. XML file can be tranformed to a text SQL file, then it can be called by PHP scripts. That can't be hard to do that if you know XSLT. Bernardo De Barros Franco [EMAIL PROTECTED] wrote in message news:20021105203656.93604.qmail;pb1.pair.com... Hello

Re: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-05 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nope. Same error. Good idea, though... - -Evan On Tuesday 05 November 2002 01:56 pm, .: B i g D o g :. wrote: Try specifying the sablot installation directory in the configuration --with-xslt-sablot=/some/dir On Wed, 2002-11-06 at 04:50, Evan

<    1   2   3   >