RE: [PHP] Help me learn! with an explanation of these two functions.

2002-11-05 Thread Ernest E Vogelsinger
At 08:58 06.11.2002, Steve Jackson said: [snip] >Joins. Cool. Never heard of them before now but have started >experimenting with them. >What does this error mean? > >Error: cannot select orderid >select orderid from orders, email where orders.orderid = email

RE: [PHP] Help me learn! with an explanation of these two functions.

2002-11-05 Thread Steve Jackson
Joins. Cool. Never heard of them before now but have started experimenting with them. What does this error mean? Error: cannot select orderid select orderid from orders, email where orders.orderid = email.orderid and email.checked='no' Column: 'orderid' in field list is ambiguous My query functio

Re: [PHP] 4.2.3 compile problem on OSX

2002-11-05 Thread Dale Schell
I had the same problems with 4.2.3. I was able to successfully compile 4.3.0-pre1 with little problems. Dale On 11/4/02 4:12 PM, "Kristopher Yates" <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to compile PHP4.2.3 for Mac OSX 10.2 (Jaguar). Has anyone > else had this problem (see below)?

Re: [PHP] Grammar/how toes?

2002-11-05 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The right way to properly code: php.net/basic-syntax The right way to properly use superfluously excessive pleonastic repetitive tautological redundancies: thesaurus.com Sorry... couldn't resist. On Tuesday 05 November 2002 06:48 am, Karl James

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

2002-11-05 Thread Michael Sims
On Tue, 5 Nov 2002 20:56:33 -0800, you wrote: >Does anyone know of a nice efficient way to convert an array of values >into a "mask"... I'm going to assume that you mean a bitmask. I'm not exactly sure what you're trying to accomplish, so I may be off base here, but let me describe how I'm using

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,

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

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

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: > > action="/ayni2/admin2/producto.php"> > > > > Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting *

RE: [PHP] Session handling

2002-11-05 Thread John W. Holmes
> JWH>SESSIONs have nothing to do with it, this is a javascript issue, > unless > JWH>you 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 s

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

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

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

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

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

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

RE: [PHP] Session handling

2002-11-05 Thread Uma Shankari T.
JWH>SESSIONs have nothing to do with it, this is a javascript issue, unless JWH>you 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 un

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

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 at

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

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

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 a

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

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 pl

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]

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

[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

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

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

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-

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` varchar(2

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

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

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

[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 varchar(

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

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: $sql".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 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 $a['company

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

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

[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

[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] 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 fopen($thefil

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

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

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:

[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. Voge

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

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

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

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

RE: [PHP] function()

2002-11-05 Thread Martin Towell
FYI: 'global' is two way eg: 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] function() Doesn't 'global' only get variables from outside the function into it OP (

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: -Rasmus -- PHP General Mailin

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

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

Re: [PHP] function()

2002-11-05 Thread Justin French
Hi, this is the common way to do things: I *think* you can also make param part of the global array, but this is totally UNTESTED code -- infact, I've never had the need to use the global array in this way. Good luck. Justin on 06/11/02 1:56 AM, Francisco Vaucher ([EMAIL PROTECTED]) wrot

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

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

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: [EMA

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 SESSION

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: $_SESSION['myarray']['n

Re: [PHP] PHP + MySQL, how to get total rows matched when using LIMIT 0, 10?

2002-11-05 Thread 1LT John W. Holmes
> I'm trying to get the total matched rows when I'm using "LIMIT 0, 10", > but I only get the number 10, when the total should be around 100. So, > can I get total matched rows without doing a separate query using > count()? > > Here is an example of my current query: > > $result = mysql_query("SEL

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 session_register

[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 $item

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 Subje

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

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 me

[PHP] RE: PHP + MySQL, how to get total rows matched when using LIMIT 0, 10?

2002-11-05 Thread Jeroen Geusebroek
> I'm trying to get the total matched rows when I'm using "LIMIT 0, 10", > but I only get the number 10, when the total should be around 100. So, > can I get total matched rows without doing a separate query using > count()? You first have to get the whole result set without the limit OR make use

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 like this : - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To:

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 open

[PHP] PHP + MySQL, how to get total rows matched when using LIMIT 0, 10?

2002-11-05 Thread SED
I'm trying to get the total matched rows when I'm using "LIMIT 0, 10", but I only get the number 10, when the total should be around 100. So, can I get total matched rows without doing a separate query using count()? Here is an example of my current query: $result = mysql_query("SELECT * FROM pro

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

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 enoug

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 Cou

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 PROTE

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 PRO

[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

[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

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 (load_file('$fo

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

[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 $item

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 Su

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

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: [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 so

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 ha

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

[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
And all you changed was the tag? If so, the code you sent was before you chnaged it to (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] why does this happen? Here is th

[PHP] uploading

2002-11-05 Thread Edward Peloke
I am playing with uploading files (hence the array question). I have a simple form: Send these files: Which calls a php file that just contains this: copy($_FILES['userfile']['tmp_name'], "\ufiles\"); This ufiles folder is under my htdocs folder in apache. I have looked through th

[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 /usr/local/httpd/htdocs/m

  1   2   3   >