Re: [PHP] select from db

2004-06-03 Thread Robert Sossomon
> table name 'Selections' > > (rows) RoundGameName Winner Points > data eg 1 1mark Hawthorn 4 > (if team is a winner then 4 points added) > >1 2mark Geelong 0 > Assuming y

Re: [PHP] Bulk table updates

2004-06-03 Thread Robert Sossomon
I use a separate page to do the addition of information to my DB currently, the whole set of information is being re-written as I type this, but where I am stuck is getting the whole thing to be parsed through then just one line. The code I currently use is as follows: $get_Quote = "select st.

[PHP] select from db

2004-06-03 Thread BigMark
Hi i have a football tipping database and i need to extract certain records from a users 'selections' table table name 'Selections' (rows) RoundGameName Winner Points data eg 1 1mark Hawthorn 4 (if team is a winner then 4 points

Re: [PHP] Current URL

2004-06-03 Thread Robert Cummings
On Fri, 2004-06-04 at 01:38, Aidan Lister wrote: > Hi, > > You could use $_SERVER['DOCUMENT_ROOT'] > That doesn't work... as the OP mentioned, the URLs might need to refer locally within a subsite built as a subdirectory within the document root. Cheers, Rob. > > "Robert Cummings" <[EMAIL PR

Re: [PHP] Current URL

2004-06-03 Thread Aidan Lister
Hi, You could use $_SERVER['DOCUMENT_ROOT'] "Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, 2004-06-03 at 23:15, Stephen Craton wrote: > > I've wondered for quite some time, and search just as long it seems like, > > for a way to get the current URL direct

Re: [PHP] Problem with PHP + WML + Post method

2004-06-03 Thread Shelby
Hi, the href property is going back to index.php. It is going back to itself. "Tyler Replogle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hey, > don't you need a page thats after that and will check the info, if you have > it will help use see what your problem with the $_POST

RE: [PHP] Problem with PHP + WML + Post method

2004-06-03 Thread Tyler Replogle
hey, don't you need a page thats after that and will check the info, if you have it will help use see what your problem with the $_POST[] is. From: "Shelby" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP] Problem with PHP + WML + Post method Date: Fri, 4 Jun 2004 11:46:10 +0800 Hi, I'

[PHP] Problem with PHP + WML + Post method

2004-06-03 Thread Shelby
Hi, I'm having problem with the "Post" method in my PHP + WML file. Note that I have No problem with the "Get" method. When I click "Login", The Error: Malformed server response I'm using Win2k + PHP436 for testing. And I have set the MIME type in the IIS: .wml application/x-httpd-php

Re: [PHP] Current URL

2004-06-03 Thread Robert Cummings
On Thu, 2004-06-03 at 23:15, Stephen Craton wrote: > I've wondered for quite some time, and search just as long it seems like, > for a way to get the current URL directory. For example, let's say you were > at www.example.com/files. The script is executing in this directory, and > it's calling an i

[PHP] Current URL

2004-06-03 Thread Stephen Craton
I've wondered for quite some time, and search just as long it seems like, for a way to get the current URL directory. For example, let's say you were at www.example.com/files. The script is executing in this directory, and it's calling an include script from the base (www.example.com or maybe even

Re: [PHP] Bulk table updates

2004-06-03 Thread John W. Holmes
Robert Sossomon wrote: I am looking for a tutorial or a already created class or file that I can use to learn how to create a form that is populated from a database table that can be edited in every row and column and takes only 1 SAVE button to upload all the changes. Look on phpclasses.org or in

Re: [PHP] Bulk table updates

2004-06-03 Thread deseavers
Use a SELECT query to get the values (SELECT * FROM table) and a table that has form input fields in the cells. The values for the form fields would be based on the array you get from the SELECT query. The form could be something like . In the script, before the body, you would have an if sta

[PHP] Bulk table updates

2004-06-03 Thread Robert Sossomon
I am looking for a tutorial or a already created class or file that I can use to learn how to create a form that is populated from a database table that can be edited in every row and column and takes only 1 SAVE button to upload all the changes. Thanks, Robert -- PHP General Mailing List (http:

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Marek Kilimajer
Robert Winter wrote: Where and how do I set this? I'm to Unix and PHP. in .htaccess file RewriteRule ^/path/([0-9]+)$/path/index.php?code=$1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Asuming query without the ?

2004-06-03 Thread Chris W. Parker
Robert Winter on Thursday, June 03, 2004 4:31 PM said: > Where and how do I set this? I'm to Unix and PHP. just look up mod_rewrite and you'll get some answers. http://www.engelschall.com/pw/apache/rewriteguide/ chris. p.s. please don't respond to two different

[PHP] help needed with tiger tree hashes

2004-06-03 Thread Carl S. in 't Veld
I am trying to generate tiger tree hashes the same way as directconnect does, but I am failing. I checked the output from php with the reference vectors from http://www.cs.technion.ac.il/~biham...ssie-format.dat and they appear to be different! echo bin2hex(mhash(MHASH_TIGER, 'abc'))."\n"; output

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Daniel Clark
I think it's in the Apache config file. > Where and how do I set this? I'm to Unix and PHP. > > "Marek Kilimajer" <[EMAIL PROTECTED]> escribió en el mensaje > news:[EMAIL PROTECTED] >> Robert Winter wrote: >> > Is it possible to configure PHP/.htAccess/etc. for assuming a query >> when > the >> >

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Robert Winter
Where and how do I set this? I'm to Unix and PHP. "John Nichel" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Robert Winter wrote: > > Is it possible to configure PHP/.htAccess/etc. for assuming a query when the > > users enters a path like this: > > > > www.myserver.com/path

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Robert Winter
Where and how do I set this? I'm to Unix and PHP. "Marek Kilimajer" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Robert Winter wrote: > > Is it possible to configure PHP/.htAccess/etc. for assuming a query when the > > users enters a path like this: > > > > www.myserver.com/

[PHP] Cron Job in vDeck

2004-06-03 Thread Matt Palermo
Hey guys. I was wondering if anyone knows how to go about creating a cron job using vDeck (that's what is installed on the server) that just accesses a PHP file and runs everything in the PHP file. Does anyone know how to go about doing something like this? Thanks, Matt http://sweetphp.com --

[PHP] PHP Debugger 4 Linux?

2004-06-03 Thread Nick Wilson
Hi everyone, Can anyone recommend a good debugger for *nix? Many thx! -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] image resize looks horrible..

2004-06-03 Thread Edward Peloke
I am using the below function which does seem to resize the image yet the colors in the resized image look horrible. How can I resize the image yet keep the colors in tact? Thanks, Eddie Justin-I tried your code but it didn't seem to do anything...I will just use this function if the color will w

Re: [PHP] php as user apache

2004-06-03 Thread John W. Holmes
From: "Travis Low" <[EMAIL PROTECTED]> > John W. Holmes wrote: > > From: "Nirnimesh" <[EMAIL PROTECTED]> > > > >>I have a problem regarding using my php scripts to write files to my > >>account. > >>We know that php runs as user apache. Now giving write permissions to > >>apache for uploading files

Re: [PHP] php as user apache

2004-06-03 Thread Travis Low
John W. Holmes wrote: From: "Nirnimesh" <[EMAIL PROTECTED]> I have a problem regarding using my php scripts to write files to my account. We know that php runs as user apache. Now giving write permissions to apache for uploading files to my account essentially means that I have to give write permis

Re: [PHP] php as user apache

2004-06-03 Thread John W. Holmes
From: "Nirnimesh" <[EMAIL PROTECTED]> > I have a problem regarding using my php scripts to write files to my > account. > We know that php runs as user apache. Now giving write permissions to > apache for uploading files to my account essentially means that I have to > give write permissions for a

[PHP] php as user apache

2004-06-03 Thread Nirnimesh
I have a problem regarding using my php scripts to write files to my account. We know that php runs as user apache. Now giving write permissions to apache for uploading files to my account essentially means that I have to give write permissions for apache (i.e. o+w). Now, does that not mean that a

Re: [PHP] CAUTION FRAUD: IMPORTANT MASSAGE FROM THE BANK

2004-06-03 Thread Jordi Canals
Some time ago, I was working for a governement departament, and I asked about this kind of messages. The answer was clear and explicit: This kind of message are a FRAUD (I don't now how they do the fraud) and are investigated and are INVESTIGATED and PERSECUTED by the Spanish Police in collabor

Re: [PHP] imploding a multi-dimensional array

2004-06-03 Thread John W. Holmes
From: "Tom Wuyts" <[EMAIL PROTECTED]> > I want to implode a multi-dimensional array into 1 string. Any reason you need to implode() instead of serialize() the array? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Call JS Function with PHP Header()?

2004-06-03 Thread Nick Wilson
* and then Dennis Seavers declared > You should be able to use the comment tags, just put them inside the > tags: > > echo "