Re[2]: [PHP] Code optimization: single vs. double quotes?

2003-10-28 Thread Tom Rogers
Hi, Tuesday, October 28, 2003, 9:26:13 AM, you wrote: CWP Curt Zirzow mailto:[EMAIL PROTECTED] CWP on Monday, October 27, 2003 3:16 PM said: 5. no newline after the tr. :) There are some broswer issues with tr and td's not being on the same line. CWP Ok I resisted sending this earlier

Re: [PHP] RE: Verify bUixCtJf for jay.blanchard@niicommunications.com

2003-10-28 Thread Tom Rogers
Hi, Tuesday, October 28, 2003, 3:08:56 AM, you wrote: JB Do you realize how large a PITA this is? For everyone who sends an JB e-mail to the PHP general list they have to take the time to answer JB this. SPAM about SPAM. Wonderful. It is a pain but if we all did it, it would stop an awful lot

Re: [PHP] Upgrading GD...

2003-10-28 Thread - Edwin -
On Tue, 28 Oct 2003 01:26:05 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: Ryan Thompson wrote: Just a thought. Try using phpinfo() to find out the compile options. Use that and just add the GD compile options after upgrading GD. That's usually how I go about adding a new module. I can

Re: [PHP] How to deal with XML?

2003-10-28 Thread - Edwin -
On Tue, 28 Oct 2003 01:29:35 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: Robert Cummings wrote: PHP docs are SGML as far as I can remember. How so? PHP isn't XML, SGML, HTML, or anything else besides PHP. ? He's talking about the DOCS and *not* PHP... ;) - E -

Re: [PHP] RE: Verify bUixCtJf for jay.blanchard@niicommunications.com

2003-10-28 Thread Tom Rogers
Hi, Sorry that link was not what I was thinking of, here is a better one. http://hr.uoregon.edu/davidrl/confirm/ -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Site Replication Software

2003-10-28 Thread Daryl Meese
Does any one know of some good PHP software to replicate websites (allow customer's to choose a template based website, etc.) Can't seem to find anything. TIA, Daryl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upgrading GD...

2003-10-28 Thread Leif K-Brooks
- Edwin - wrote: That should do it. (Unless, of course, you encounter some configure or make problems.) And of course, I did: configure: error: Cannot find rfc822.h. Please check your IMAP installation. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to

Re: [PHP] passing variables

2003-10-28 Thread Burhan Khalid
Joao Andrade wrote: Hey everybody, That's lame but I've been looking for a while and found nothing. What are the ways to pass variables to another script? As far as I'm concerned there are POST and GET variables, and I know they can by set via HTML forms, but I only know how to pass

Re: [PHP] Upgrading GD...

2003-10-28 Thread - Edwin -
On Tue, 28 Oct 2003 02:57:08 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: - Edwin - wrote: That should do it. (Unless, of course, you encounter some configure or make problems.) And of course, I did: configure: error: Cannot find rfc822.h. Please check your IMAP installation. Okay,

[PHP] Re: Parsing specific portions of XML files

2003-10-28 Thread Ian Williams
If it's anything like the Microsoft XML DOM object, you can use an XPath query to select the portion of the XML file that you want. Ryan Thompson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm stumped. I think it's just the logic I can't figure out. I have a file formatted for

Re: [PHP] Parsing specific portions of XML files

2003-10-28 Thread Marek Kilimajer
See if xslt will help you. Ryan Thompson wrote: I'm stumped. I think it's just the logic I can't figure out. I have a file formatted for Docbook in XML. I'm trying to figure out a way to parse a specifice portion of an itemizedlist. It's for a change log. I want users to be able to view

Re: [PHP] [xml] character data

2003-10-28 Thread Burhan Khalid
Tom Rogers wrote: Hi, Saturday, October 11, 2003, 6:26:01 AM, you wrote: DA I do not understand why this line does not work : DA $info[$element] = $content; DA but yet this works: echo $content; DA why? what is the trick? [ snipped ] the function characterData can be called with whitespace

Re: [PHP] Tricky variable syntax...

2003-10-28 Thread Terence
- Original Message - From: Curt Zirzow [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 1:24 PM Subject: Re: [PHP] Tricky variable syntax... * Thus wrote René Fournier ([EMAIL PROTECTED]): echo 'file name: '.$$fld_name.'br'; What I want to do is echo the

Re: [PHP] Tricky variable syntax...

2003-10-28 Thread Marek Kilimajer
René Fournier wrote: But here's my problem: echo 'file name: '.$$fld_name.'br'; What I want to do is echo the value of $img_photo_name. But how can I refer to it? Thanks. ...Rene Is this for file uploads? It that case you should use $_FILES superglobal array. -- PHP General Mailing

[PHP] php sessions

2003-10-28 Thread S.P.Vimala
Hi, I'm developing a web application which is making use of sessions. I have the following configuration is my php.ini file session.use_cookies = 0 session.use_trans_sid = 1 session.auto_start = 0 register_globals = On This does not give me a new session_id when the application is

[PHP] [PHP-GENERAL] Serving docs from PHP

2003-10-28 Thread Alex James
Beginner to PHP so I guess this could be a really simple answer. I have a page linking to a ms word doc however the doc doesn't open up in word within the sectioned part of the browser but displays a load of gobble e.g.. ÐÏࡱá  þ  L N  þÿÿÿK

Re: [PHP] [PHP-GENERAL] Serving docs from PHP

2003-10-28 Thread John Nichel
Alex James wrote: Beginner to PHP so I guess this could be a really simple answer. I have a page linking to a ms word doc however the doc doesn't open up in word within the sectioned part of the browser but displays a load of gobble e.g..   L N  K7

RE: [PHP] [PHP-GENERAL] Serving docs from PHP

2003-10-28 Thread Gregory Kornblum
You probably want to add the mime type with 'header(Content-type: application/x-ms-word);'. Regards. -Gregory -Original Message- From: Alex James [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 7:57 AM To: [EMAIL PROTECTED] Subject: [PHP] [PHP-GENERAL] Serving docs from PHP

RE: [PHP] [PHP-GENERAL] Serving docs from PHP

2003-10-28 Thread Alex James
John Nichel wrote: Your php page has a link to the word document like this a href=word.docMy Document/a? Show some code. Sorry Here is the link in menu6.php h3a href=index.php?m=6PK PATTERNS/a/h3 a href=index.php?m=6c=pkPatterns/MicroModel.docMicro models/a a

[PHP] Scratch card 14 digit number generation

2003-10-28 Thread J.F.Kishor
Hi, Does anyone know howto generate a scratch card number for a phone card, and what are the things that has to be considered, tariff plans validity, expirary etc. If anyone has any idea please let me know. - JFK kishor Nilgiri

RE: [PHP] How to deal with XML?

2003-10-28 Thread Jay Blanchard
[snip] Just a small correction. I could be wrong but I don't believe XML is a subset of SGML but created to be used instead of. It was created from the ground up to replace SGML(not the easiest language to work with). [/snip] From the first paragraph of the intro at http://www.w3c.org/XML/

Re: [PHP] [PHP-GENERAL] Serving docs from PHP

2003-10-28 Thread Marek Kilimajer
Alex James wrote: ?php $c = $_GET[c]; if ($c != ) { include($c); } else { include(content1.php); } ? The code is very unsafe, you include and

Re: [PHP] sockets - fine tunning

2003-10-28 Thread Raditha Dissanayake
Hi, I think curt is right about transfer encoding being a problem, however i feel it may not be 'the' problem. This timing issue looks like you are running into a 'blocking' kind of situation. Cosmin, Have you tried the 'Connection: close' header? Getting back to transfer encoding you might

Re: [PHP] keyword search syntax

2003-10-28 Thread Raditha Dissanayake
If you put up a full text index on it you can do searches that smell like a primitive search engine. best regards Robb Kerr wrote: On Tue, 28 Oct 2003 02:09:06 +, David Otton wrote: Personally, I'd normalize that into a keyword table, a record table and a joining table. However, the

Re: [PHP] Parsing specific portions of XML files

2003-10-28 Thread Raditha Dissanayake
Hi, You cannot parse a specific section only, the parser will go through the whole document. What you can do is to skip the section that does not interest you. I have seen two good suggestions that both smell of DOM (xslt has dom under the hood). With SAX you can just have a simple string

Re: [PHP] [PHP-GENERAL] Serving docs from PHP

2003-10-28 Thread John Nichel
Alex James wrote: John Nichel wrote: Your php page has a link to the word document like this a href=word.docMy Document/a? Show some code. Sorry Here is the link in menu6.php h3a href=index.php?m=6PK PATTERNS/a/h3 a href=index.php?m=6c=pkPatterns/MicroModel.docMicro models/a

[PHP] PDF File generation on Fly in PHP

2003-10-28 Thread Vijay Killu
Hello, I've just came through a function which generates PDF files on fly in a php script. On going through the documentation, I came to know that It needs to be compiled in a different fashion using a configure parameter. I would be happy if someone could help me out. I use Windows XP and PHP

Re: [PHP] keyword search syntax

2003-10-28 Thread Robb Kerr
On Tue, 28 Oct 2003 19:37:10 +0600, Raditha Dissanayake wrote: If you put up a full text index on it you can do searches that smell like a primitive search engine. best regards Thanx. The LIKE operator wouldn't work. But, your tip on creating a FULLTEXT index and executing a MATCH...

RE: [PHP] [PHP-GENERAL] Serving docs from PHP

2003-10-28 Thread Alex James
John Nichel wrote: On the page that you're trying to serve the Micro$oft Document (index.php), you're going to have to include the content type in the header, something like... header ( Content-type: application/msword ); See here... http://us4.php.net/manual/en/function.header.php

Re: [PHP] [PHP-GENERAL] Serving docs from PHP

2003-10-28 Thread John Nichel
Alex James wrote: John Nichel wrote: On the page that you're trying to serve the Micro$oft Document (index.php), you're going to have to include the content type in the header, something like... header ( Content-type: application/msword ); See here...

Re: [PHP] php sessions

2003-10-28 Thread Chris Shiflett
--- S.P.Vimala [EMAIL PROTECTED] wrote: How to create a unique session for every new browser instance? I'm not sure if this fits your definition of new browser instance, but there is no way for a remote Web server to distinguish between two instances of the same browser running on the client

RE: [PHP] PDF File generation on Fly in PHP

2003-10-28 Thread fkeessen
Hi, Have you already checked out www.fpdf.org? Regards, Frank Hello, I've just came through a function which generates PDF files on fly in a php script. On going through the documentation, I came to know that It needs to be compiled in a different fashion using a configure parameter. I would

[PHP] Re: PDF File generation on Fly in PHP

2003-10-28 Thread pete M
on windows you need to comment out the php_pdf.dll (or similar) in php.ini and reboot apache/iis to enable the pdf extension. pete Vijay Killu wrote: Hello, I've just came through a function which generates PDF files on fly in a php script. On going through the documentation, I came to know

RE: [PHP] [PHP-GENERAL] Serving docs from PHP

2003-10-28 Thread Alex James
Okay, if you're going to include a MSWord document in a normal HTML file, how do you do thatwhat's your code to do it? Ah...good point. Thought It would work like a frame. But now thinking about it I'm trying to embed a word doc in the html and guess because I not using some object or

[PHP] Menu populated based on previous menu

2003-10-28 Thread Robb Kerr
Searched all the sites I could find for this problem to no avail. I have two dropdown menus in a form. The first menu contains a list of MANUFACTURERS obtained from a database. The second contains a list of MODELS also obtained from the database. I want the second menu to be populated based upon

Re: [PHP] Menu populated based on previous menu

2003-10-28 Thread Nitin
I've solved same kind of problems with the help of HTML frames, if you are interested, drop me a mail, or if you find better option, please let me know. Nitin - Original Message - From: Robb Kerr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 9:15 PM Subject:

Re: [PHP] Menu populated based on previous menu

2003-10-28 Thread CPT John W. Holmes
From: Robb Kerr [EMAIL PROTECTED] Searched all the sites I could find for this problem to no avail. I have two dropdown menus in a form. The first menu contains a list of MANUFACTURERS obtained from a database. The second contains a list of MODELS also obtained from the database. I want the

Re: [PHP] Menu populated based on previous menu

2003-10-28 Thread Larry E . Ullman
Searched all the sites I could find for this problem to no avail. I have two dropdown menus in a form. The first menu contains a list of MANUFACTURERS obtained from a database. The second contains a list of MODELS also obtained from the database. I want the second menu to be populated based upon

Re: [PHP] Menu populated based on previous menu

2003-10-28 Thread Robb Kerr
Thanx for the tips. I'll search the JavaScript sites and see what I can come up with. -- Robb Kerr Digital IGUANA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Menu populated based on previous menu

2003-10-28 Thread Radu Manole
here is a link that might help http://www.macromedia.com/support/ultradev/ts/documents/client_dynamic_listb ox.htm Radu - Original Message - From: Robb Kerr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 5:59 PM Subject: Re: [PHP] Menu populated based on

[PHP] Possible query problem

2003-10-28 Thread Frank Tudor
Yestery day I got help from several of you on my function. I tried to get complicated today and so here it is. I am working on a peice of code where if a condition of a database entery is 0 then it will take you to one page if it is one it will take you to another page. Here is the function:

[PHP] URL Variables

2003-10-28 Thread Jed R. Brubaker
Is there a way to preserve URL variables and have a link simply add a new variable to the end? I am tabulating data and I have URL variables defining which dataset to view and in what way to view it. I would now like to set the SQL statement up with a limit and add some Previous, Next commands,

RE: [PHP] Possible query problem

2003-10-28 Thread Pablo Gosse
On Tuesday, October 28, 2003 8:50 AM Frank Tudor wrote: $query=SELECT payment FROM payment WHERE dln='.$_POST[dln].' = payment.dln='.$_POST[dln].' and users.password='.$_POST[password].'; Okay, there seem to be a few problems here. The first issue is: users.password Using this means you are

RE: [PHP] Possible query problem

2003-10-28 Thread Jay Blanchard
[snip] $query=SELECT payment FROM payment WHERE dln='.$_POST[dln].' = payment.dln='.$_POST[dln].' and users.password='.$_POST[password].'; [/snip] Breaking the above apart ... $query= SELECT payment FROM payment WHERE dln='.$_POST[dln].' = payment.dln='.$_POST[dln].' and

RE: [PHP] URL Variables

2003-10-28 Thread Pablo Gosse
On Tuesday, October 28, 2003 8:57 AM Jed R. Brubaker wrote: Is there a way to preserve URL variables and have a link simply add a new variable to the end? I am tabulating data and I have URL variables defining which dataset to view and in what way to view it. I would now like to set the SQL

[PHP] revised query problem (sorry)

2003-10-28 Thread Frank Tudor
$query=SELECT payment FROM payment WHERE payment.dln='.$_POST[dln].' = users.dln='.$_POST[dln].' and payment.payment='.$_POST[payment].'; Will this work? Frank __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears

Re: [PHP] Possible query problem

2003-10-28 Thread Chris Shiflett
I didn't look into your problem, but I want to mention one thing that stands out to me. --- Frank Tudor [EMAIL PROTECTED] wrote: $query=SELECT payment FROM payment WHERE dln='.$_POST[dln].' = payment.dln='.$_POST[dln].' and users.password='.$_POST[password].'; Never, ever build an SQL query

Re: [PHP] URL Variables

2003-10-28 Thread Chris Shiflett
--- Jed R. Brubaker [EMAIL PROTECTED] wrote: Is there a way to preserve URL variables and have a link simply add a new variable to the end? Sure, just use $_SERVER['QUERY_STRING'], which is the current query string, and append whatever new URL variables you want. Chris = My Blog

RE: [PHP] revised query problem (sorry)

2003-10-28 Thread Pablo Gosse
Yours: $query=SELECT payment FROM payment WHERE payment.dln='.$_POST[dln].' = users.dln='.$_POST[dln].' and payment.payment='.$_POST[payment].'; Mine: $query=SELECT payment FROM payment WHERE payment.dln='.$_POST[dln].' AND users.dln='.$_POST[dln].' and

RE: [PHP] revised query problem (sorry)

2003-10-28 Thread Jay Blanchard
[snip] $query=SELECT payment FROM payment WHERE payment.dln='.$_POST[dln].' = users.dln='.$_POST[dln].' and payment.payment='.$_POST[payment].'; Will this work? [/snip] Aside from what Chris said (excellent advice!) the query above will not work because the 4rth line =

Re: [PHP] URL Variables

2003-10-28 Thread Jed R. Brubaker
Thanks! Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Jed R. Brubaker [EMAIL PROTECTED] wrote: Is there a way to preserve URL variables and have a link simply add a new variable to the end? Sure, just use $_SERVER['QUERY_STRING'], which is the current query

[PHP] Re: php-general Digest 28 Oct 2003 17:26:53 -0000 Issue 2382

2003-10-28 Thread Verdon Vaillancourt
There's a nice GPL class that does this quite well. It could save you a lot of work and will definitely provide an example. Check out; http://www.phpclasses.org/search.html?words=linked_selectgo_search=1 On 10/28/03 12:26 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: - Original Message

Re: [PHP] Menu populated based on previous menu

2003-10-28 Thread Verdon Vaillancourt
There's a nice GPL class that does this quite well. It could save you a lot of work and will definitely provide an example. Check out; http://www.phpclasses.org/search.html?words=linked_selectgo_search=1 On 10/28/03 12:26 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: - Original Message

Re: [PHP] Menu populated based on previous menu

2003-10-28 Thread Robb Kerr
I've found some JavaScripts that will do what I require. Here's the question before I get to deeply into hacking the scripts... Can you embed PhP in JavaScript. In other words, the Java requires that arrays be filled. The entries into these arrays need to come from my database which is accessed

RE: [PHP] Menu populated based on previous menu

2003-10-28 Thread Pablo Gosse
Hi Robb. This is exactly what you'll need to do. Something like the following, assuming you're populating an array with user information: script type=text/javascript !-- var users = new Array(); ?php $count = 0; while (!$users-EOF)) { echo 'users['.$count.'] =

[PHP] HELP!! - Xitami php install

2003-10-28 Thread Paul Vinten
Hi, I'm running Windows XP, and Xitami version 2.4d10, I can get get PHP 4.0.3 installed and working fine, (on my www book's companion CD) but it doesn't have a few of the functions I want. I've just tried installing 4.3.3 and 4.3.4 and can't get either to work... when trying to access a php

[PHP] installing php onto xitami, HELP!

2003-10-28 Thread Paul Vinten
Hi, I'm running Windows XP, and Xitami version 2.4d10, I can get get PHP 4.0.3 installed and working fine, (on my www book's companion CD) but it doesn't have a few of the functions I want. I've just tried installing 4.3.3 and 4.3.4 and can't get either to work... when trying to access a php

Re: [PHP] [PHP-GENERAL] Serving docs from PHP

2003-10-28 Thread John Nichel
Alex James wrote: Okay, if you're going to include a MSWord document in a normal HTML file, how do you do thatwhat's your code to do it? Ah...good point. Thought It would work like a frame. But now thinking about it I'm trying to embed a word doc in the html and guess because I not using

Re: [PHP] Menu populated based on previous menu

2003-10-28 Thread Robb Kerr
On Tue, 28 Oct 2003 09:52:02 -0800, Pablo Gosse wrote: Hi Robb. This is exactly what you'll need to do. Something like the following, assuming you're populating an array with user information: script type=text/javascript !-- var users = new Array(); ?php $count = 0; while

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- S.P.Vimala [EMAIL PROTECTED] wrote: How to create a unique session for every new browser instance? I'm not sure if this fits your definition of new browser instance, but there is no way for a remote Web server to

RE: [PHP] Menu populated based on previous menu

2003-10-28 Thread Luis Lebron
You may want to look at the following article: http://www.zend.com/zend/tut/drop-down.php Luis -Original Message- From: Robb Kerr [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 9:46 AM To: [EMAIL PROTECTED] Subject: [PHP] Menu populated based on previous menu Searched all

Re: [PHP] php sessions

2003-10-28 Thread Chris Shiflett
--- Rob Adams [EMAIL PROTECTED] wrote: I'm not sure if this fits your definition of new browser instance, but there is no way for a remote Web server to distinguish between two instances of the same browser running on the client machine. That can't be true. It can, and it is. The only

[PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jake McHenry
I know this is a bit off topic, but does anyone know of a way I can take the server time in php and get it into javascript? here is the code so far for my javascript clock, but it uses the clients time. I either need to replace the Date() function with another, or somehow import php's time. I

[PHP] Calendar Tool

2003-10-28 Thread Matt Palermo
Hey everyone. I am the creater of a PHP script called TotalCalendar (http://sweetphp.com/TotalCalendar/) and I am looking for a little advice and suggestions about making a tool for it. I want to build an application that users can download and install on their local machines which connects to a

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Chris Shiflett
--- Jake McHenry [EMAIL PROTECTED] wrote: I know this is a bit off topic, but does anyone know of a way I can take the server time in php and get it into javascript? Well, that part isn't off-topic, in my opinion. JavaScript and HTML are the exact same thing from the perspective of PHP;

Re: [PHP] Calendar Tool

2003-10-28 Thread Payne
Matt Palermo wrote: Hey everyone. I am the creater of a PHP script called TotalCalendar (http://sweetphp.com/TotalCalendar/) and I am looking for a little advice and suggestions about making a tool for it. I want to build an application that users can download and install on their local

[PHP] Re: Calendar Tool

2003-10-28 Thread Matt Palermo
Oops... The link to the site is: http://www.sweetphp.com/projects/TotalCalendar/ Sorry. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jake McHenry
- Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 2:14 PM Subject: Re: [PHP] OT - Quick JavaScript Question --- Jake McHenry [EMAIL PROTECTED] wrote: I know this is a bit off topic, but

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jordan S. Jones
Jake McHenry wrote: I have tried this already, and it works, the JavaScript get's the server's time, but then the JavaScript clock doesn't keep counting, it's stuck at the servers time. It needs that Date() function to keep pulling the time from the local machine I guess. I was wondering if

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Rob Adams [EMAIL PROTECTED] wrote: I'm not sure if this fits your definition of new browser instance, but there is no way for a remote Web server to distinguish between two instances of the same browser running

[PHP] strange issue

2003-10-28 Thread Jacob Bolton
Hey all, I've researched this to the greatest extent and I can't seem to find anything written about this. I have a new server (RH 9) with PHP4.2.2 and Apache 2. I can't seem to upload anything over 1 KB. I can upload small gifs and JPGs that are a few hundred bytes, but I can't seem to upload

[PHP] data from database

2003-10-28 Thread alain dhaene
Hi, I will write a function that returns the result of a recordset. I tried this: Function getPersonen() { openDB(); //function that I implements in another file $query = SELECT * FROM Cursisten; $result = mysql_query($query) or die(Fout bij uitvoeren query);

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Eugene Lee
On Tue, Oct 28, 2003 at 02:27:28PM -0500, Jake McHenry wrote: : Chris Shiflett responded: : --- Jake McHenry [EMAIL PROTECTED] wrote: : : I know this is a bit off topic, but does anyone know of a way I : can take the server time in php and get it into javascript? : : JavaScript and HTML

Re: [PHP] php sessions

2003-10-28 Thread Chris Shiflett
--- Rob Adams [EMAIL PROTECTED] wrote: Test it yourself. With all due respect, it seems you should be doing the testing. Login to a PHP app using a standard browser and session cookies and see for yourself. I understand the philosophy of the web server only seeing what the client sends it,

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
I will test it, because it seems I don't understand this issue as much as I could. But I can already tell you results I see right now: I open a web browser (IE) and login to my application. I open another window (IE) and goto the web application, and it asks me to login. This is all on the

Re: [PHP] php sessions

2003-10-28 Thread CPT John W. Holmes
From: Chris Shiflett [EMAIL PROTECTED] --- Rob Adams [EMAIL PROTECTED] wrote: Test it yourself. With all due respect, it seems you should be doing the testing. Login to a PHP app using a standard browser and session cookies and see for yourself. I understand the philosophy of the web

RE: [PHP] php sessions

2003-10-28 Thread Pablo Gosse
Hi Rob. That seems perfectly logical. I've written a Content Management System which (when it's finished in a couple of months ;o) run the website at the university where I work. I can presently open an instance of the CMS in IE, login as admin, then open a new window and request another

RE: [PHP] data from database

2003-10-28 Thread Gregory Kornblum
$result = mysql_query($query) You need to pass the connection resource returned from your mysql_connect call as a second parameter. Regards. -Gregory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
So you're saying if the session ID is passed in on the URL it will work. But I'm using cookies. The only thing that gets passed on the URL is a pagename. Perhaps there is something funky about my setup, but it has always worked this way for me. -- Rob Cpt John W. Holmes [EMAIL PROTECTED]

Re: [PHP] data from database

2003-10-28 Thread John Nichel
Gregory Kornblum wrote: $result = mysql_query($query) You need to pass the connection resource returned from your mysql_connect call as a second parameter. Regards. -Gregory While it is a good practice to do this, it is not necessary... If link_identifier isn't specified, the last opened link

Re: [PHP] php sessions

2003-10-28 Thread Curt Zirzow
* Thus wrote Rob Adams ([EMAIL PROTECTED]): I will test it, because it seems I don't understand this issue as much as I could. But I can already tell you results I see right now: I open a web browser (IE) and login to my application. I open another window (IE) and goto the web application,

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Rob Adams ([EMAIL PROTECTED]): I will test it, because it seems I don't understand this issue as much as I could. But I can already tell you results I see right now: I open a web browser (IE) and login to

[PHP] SESSIONMANAGEMENT -- gute php mailing list / gute leute

2003-10-28 Thread christoph lockingen
Hallo ! Ich bin auf der Suche nach einer guten PHP Mailing-Liste, am besten in Deutsch...Falls ich hier falsch bin, bitte ich um Entschuldigung. Problem: SESSION-MANAGEMENT Achtung! !! session.use_cookies=0 !! (und sollen es auch bleiben) 1. Wieso kann ich nicht per $_GET['lid'] auf

Re: [PHP] data from database

2003-10-28 Thread John Nichel
alain dhaene wrote: Hi, I will write a function that returns the result of a recordset. I tried this: Function getPersonen() { openDB(); //function that I implements in another file $query = SELECT * FROM Cursisten; $result = mysql_query($query) or die(Fout bij

Re: [PHP] revised query problem (sorry)

2003-10-28 Thread Curt Zirzow
* Thus wrote Pablo Gosse ([EMAIL PROTECTED]): Yours: $query=SELECT payment FROM payment WHERE payment.dln='.$_POST[dln].' = users.dln='.$_POST[dln].' and payment.payment='.$_POST[payment].'; Mine: $query=SELECT payment FROM payment WHERE payment.dln='.$_POST[dln].' AND

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
Another test: I just downloaded and installed Mozilla (1.5). I logged into my site, opened another window, and was logged in there also. I logged out of the second window, hit a Home link on the first window, and got a login screen. This is new behavior for a browser for me, but now I

[PHP] Libs?

2003-10-28 Thread Robert Sossomon
Anyone know where I can get a good collection of PHP Libs (free) for PHP 4? I'm looking for some that can create PDF as well as Word or others. Also faxing abilities and such. Thanks! Robert ~~~ Anytime four New Yorkers get into a cab

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jake McHenry
- Original Message - From: Eugene Lee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 2:45 PM Subject: Re: [PHP] OT - Quick JavaScript Question On Tue, Oct 28, 2003 at 02:27:28PM -0500, Jake McHenry wrote: : Chris Shiflett responded: : --- Jake McHenry [EMAIL

Re: [PHP] SESSIONMANAGEMENT -- gute php mailing list / gute leute

2003-10-28 Thread Evan Nemerson
Babelfish: I am on the search for a good PHP mailing list, best in German... case I here wrong am, please I around apology. Problem: SESSION MANAGEMENT Note! !! session.use_cookies=0!! (and it is to also remain) 1. Why I can not by $_get['lid ' ] on $_post['lid']=lf_session_id(); access?

Re: [PHP] Libs?

2003-10-28 Thread Evan Nemerson
On Tuesday 28 October 2003 12:17 pm, Robert Sossomon wrote: Anyone know where I can get a good collection of PHP Libs (free) for PHP 4? I'm looking for some that can create PDF as well as Word or others. Also faxing abilities and such. Do you mean extensions to PHP, or libraries written in

Re: [PHP] php sessions

2003-10-28 Thread Chris Shiflett
--- CPT John W. Holmes [EMAIL PROTECTED] wrote: If you are not relying on a cookie based session, then this will work. Each login could be assigned a different session ID, so the requests for each browser will be different because of the different session IDs. What John is explaining here is

[PHP] (Semi OT) Number of concurent Users.

2003-10-28 Thread Boaz Yahav
Hi I was wondering if anyone has any idea about how many users the next configuration can hold : Front End = Dual Xeon 2.4Ghz Compaq DL360 G3 1GB of memory SQL Server = Compaq DL 380 G3 Dual Xeon 2.4Ghz 2GB Memory 15K disks (RAID 0+1) Site can be a content site like

Re: [PHP] Variables not passing to mail script

2003-10-28 Thread Bob Rea
At 03:59 PM 10/27/2003 -0800, Jeff - Harbornet wrote: Disregard last email. I figured it out. Thanks. Care to tell the rest of us? I'm a newby and would like to know. Bob Rea PlusWeb [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.petard.us -- PHP General Mailing List

Re: [PHP] Variables not passing to mail script

2003-10-28 Thread CPT John W. Holmes
From: Bob Rea [EMAIL PROTECTED] At 03:59 PM 10/27/2003 -0800, Jeff - Harbornet wrote: Disregard last email. I figured it out. Thanks. Care to tell the rest of us? I'm a newby and would like to know. Hmmm, that's obvious, since you can't even spell newbie. ;) ---John Holmes... -- PHP

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- CPT John W. Holmes [EMAIL PROTECTED] wrote: If you are not relying on a cookie based session, then this will work. Each login could be assigned a different session ID, so the requests for each browser will be

Re: [PHP] php sessions

2003-10-28 Thread Chris Shiflett
--- Rob Adams [EMAIL PROTECTED] wrote: That doesn't seem to be what he's saying. because of the different session IDs. It seems to me a better example of what he is saying would be: http://example.org/foo.php?PHPSESSID=12345 vs. http://example.org/foo.php?PHPSESSID=67890 Perhaps I

[PHP] show_source

2003-10-28 Thread nathan --
Is there a way to stop the function show_source() from putting extra code at the begginning and end of the code it grabs? Beginning: codefont color=#00 Middle: br / End: /font/code I am doing a str_replace to get rid of it, but it would be nice to be able to pass a parameter to the funtion

Re: [PHP] php sessions

2003-10-28 Thread CPT John W. Holmes
From: Chris Shiflett [EMAIL PROTECTED] But I was talking about cookies anyway. Which is where different browsers have different behaviors. In IE, by default, it will not pass a cookie from a new browser window. This is very interesting. I might try to research this a bit more and see what

RE: [PHP] php sessions

2003-10-28 Thread Pablo Gosse
On Tuesday, October 28, 2003 2:13 PM CPT John W. Holmes wrote: It may depend upon how you open the second window, too. Control-N may use the same cookies whereas starting a whole new instance may not. This is the case with IE. If I'm in my CMS and ctrl-N to get a new window, I can operate

[PHP] How do i mod php.ini to use an outside smtp?

2003-10-28 Thread Mike D
php v4.12 on redhat linux 6.2. Is it possible to give a domain or ip instead of a path?? - MD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >