[PHP] LOGOUT - Reset Session

2003-01-30 Thread Keith Spiller
Hello Everyone, I'm trying to create a Logout Function and Link. My site uses a standard htaccess file for its authentication method. After the brower requests the username and password they have access to the protected site. Then users can jump to a special Messaging section where I wrote a ph

RE: [PHP] need some guidance

2003-01-30 Thread Timothy Hitchens \(HiTCHO\)
If you are talking about a remote (out of your control) website then you will need to compare HTML areas but this could be a very hard process unless it is template/cms driven with comments in the html source etc. I would suggest you maybe tell us what website so we can see what the source looks l

[PHP] need some guidance

2003-01-30 Thread Seth Hopkins
Hey everyone. I'm wondering if someone could lead me in the right direction on this one. What could I use to see if a site has been updated and then display what has been added to it? Any advice is appreciated. Thanks. Seth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] .php extensions versus .html

2003-01-30 Thread Guru Geek
I was wondering, can you call a php script in the middle of a html page? I've seen some sites use code like this: Untitled HELLO WORLD!!! but when I try it, the php script doesn't run. Does anyone else know how to use php on a page and yet keep the .html extension? Thanks in advance,

Re: [PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 14:36, Jason Wong wrote: > php_value register_globals 0 > > works for me. Perhaps it wasn't too clear. Use 0/1 rather than off/on. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & In

Re: [PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 09:26, Tom Rogers wrote: > DO> Thanks for your reactions guys, I stil havent been able to get it to > DO> work... I have added a .htaccess file into my directory that needs the > DO> register globals on, containing > > DO> php_value register_globals on > > DO> And i have

Re: [PHP] How to check for refresh in PHP

2003-01-30 Thread Justin French
Not really that simple. You can't use the HTTP_REFERER, because it's not set when the user refreshes (at least on my browser, so at best it will be unreliable). Common ways to prevent such things happening (like voting for a pic or song or poll more than once) are usually done with either: 1. lo

Re: [PHP] Trying to understand an error

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 10:42, Lynn wrote: > Hello, I am trying to set up an admin in a site on the web. I keep coming > up with the following error message when I try to set up services that this > admin will cover: > > Warning: file("./conf1.ini") - No such file or directory in > /home/domains/

[PHP] How to check for refresh in PHP

2003-01-30 Thread Pag
Hi, I have a news site where i want to track how many "visits" or reads each individual news has. I have a main list with all the titles, then clicking on them shows the details of the specific news, only then the counter for that particular news is increased. The problem is, if the user do

[PHP] Using CVS through PHP

2003-01-30 Thread Weston Houghton
I'm looking at building a system script for build management. I would very much prefer to do this in PHP. Are there any integrated means of using CVS with php, or am I limited to using system calls from cvs? Thanks, Wes ---

Re: [PHP] Change MySQL from Socket to TCP

2003-01-30 Thread Chris Shiflett
--- Stephen <[EMAIL PROTECTED]> wrote: > MySQL was setup as a socket connection instead of TCP. > How can I change that for his installed scripts to work? What in the world are you talking about? Might I suggest: 1. Don't try to assume you know what the problem is unless you do. Just explain what

Re: [PHP] Money format

2003-01-30 Thread Ben Edwards
As I said it is almost what I want but not quite. If it can be done a code snipit would be good. Ben At 19:44 30/01/2003 -0700, V Dub wrote: http://php.net search in functions for number_format Cheers! Quoting Ben Edwards <[EMAIL PROTECTED]>: ### I wish to format money with a £ sign, two d

[PHP] Sending plain text data in a table with mail()

2003-01-30 Thread Leonard Burton
Greetings, I am having trouble with the following code. I am trying to make a table in plain text to send via email. I get the data frm a MYSQL table and then put it into an array. I find the max strlen and subtract each individual customer name strlen from that and add that many spaces. Such

RE: [PHP] Money format--concatenate?

2003-01-30 Thread Leonard Burton
I hope this helps. Have you thought of concatenation? $a=spritf(however you set it up to get your decimals and comas) $b="£".$a; Will that not work? Leonard. -Original Message- From: V Dub [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 9:45 PM To: Ben Edwards Cc: [EMAIL PR

Re: [PHP] Money format

2003-01-30 Thread V Dub
http://php.net search in functions for number_format Cheers! Quoting Ben Edwards <[EMAIL PROTECTED]>: ### I wish to format money with a £ sign, two decimal places and commas ### separating thousands. I seem to be able to do the £ and decimal places with ### ### sprintf or use money_format to

[PHP] Trying to understand an error

2003-01-30 Thread Lynn
Hello, I am trying to set up an admin in a site on the web. I keep coming up with the following error message when I try to set up services that this admin will cover: Warning: file("./conf1.ini") - No such file or directory in /home/domains/thisoldgranny.com/htdocs/uma/Uma.inc.php on line 1129

[PHP] Money format

2003-01-30 Thread Ben Edwards
I wish to format money with a £ sign, two decimal places and commas separating thousands. I seem to be able to do the £ and decimal places with sprintf or use money_format to do the commas but cant find how to do both/combine them. any insight, ben *

[PHP] Introduction

2003-01-30 Thread Julie Williams
Hello everyone, I just subscribed to the list and wanted to say hello. Also to check if I have the right address. :-) Julie Williams -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re:[PHP] POST without a form

2003-01-30 Thread Daniel Leighton
I think what you want to use is CURL. I don't know if that's the canonical way to do it, but it is certainly a way. You can get more info here: http://www.php.net/manual/en/ref.curl.php At 1:28 AM +0100 on 1/31/03, arthur.chereau wrote: >Hi, > >A PHP page (main.php) loads another page

Re: [PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Tom Rogers
Hi, Friday, January 31, 2003, 10:42:42 AM, you wrote: DO> Thanks for your reactions guys, I stil havent been able to get it to DO> work... I have added a .htaccess file into my directory that needs the DO> register globals on, containing DO> php_value register_globals on DO> And i have chanche

[PHP] Change MySQL from Socket to TCP

2003-01-30 Thread Stephen
I'm having a bit of trouble. A friend of mine just bought a server and install a bunch of stuff on it. MySQL was setup as a socket connection instead of TCP. How can I change that for his installed scripts to work? Thanks,Stephen Cratonhttp://www.melchior.us   "What's the point in appearance

Re: [PHP] iCal parser and importing iCal to database

2003-01-30 Thread Richard Baskett
Doesn't iCal use the vCalendar vCal format? Kind of like vCards, but to deal with Calendar information.. it should be easy to write something that will parse that.. Cheers! Rick "The greatest trick the devil ever played was convincing the world he didn't exist." - Unknown > From: "Reuben D. Bu

RE: [PHP] PHP - mysql_info question

2003-01-30 Thread John W. Holmes
> I have written a PHP function that uses the MySQL command: > LOAD DATA INFILE ... > > The command returns the result in mysql_info() > Records: 42 Deleted: 0 Skipped: 0 Warnings: 5 > > My question is how do you find out what the 5 warnings are. > Does MySQL put them in a log file somewhere and

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Jason Sheets
Using a PHP encoder or compiling a binary does not make it more secure than storing the IV and encryption key in plain text in a PHP script. The problem is the fact that the encryption cipher requires the same key for encryption and decryption, this is not a problem in many encryption cases but in

Re: [PHP] mysq_connect()

2003-01-30 Thread Philip Olson
On Thu, 30 Jan 2003, Cesar Rodriguez wrote: > Hi there, my name is Cesar Rodriguez and I am trying to upgrade from Caldera > Linux Server 2.3 into RedHat Server 8.0. The problem I encounter is that > after testing different scripts, php is working, except when I make an MySQL > call like mysql_co

Re[2]: [PHP] Adding HTTP URL Code

2003-01-30 Thread Tom Rogers
Hi, Friday, January 31, 2003, 3:43:52 AM, you wrote: EKAHFe> Hi all! EKAHFe> Unfortunately, I didn't receive any replies to the problem I sent out EKAHFe> on January 16th so I thought I'd send another email and perhaps EKAHFe> clarify what I am seeing so that maybe someone CAN help and ask EKAHFe

RE: [PHP] iCal parser and importing iCal to database

2003-01-30 Thread Dan Harrington
No kidding. And the very thought that apple in its "intrusion" into the world of UNIX hasn't made a group open-SQL-database-driven web-accessible iCal is kind of unreal. At least make it filemaker pro driven. :-) > -Original Message- > From: Reuben D. Budiardja [mailto:[EMAIL PROTECTE

[PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Davy Obdam
Thanks for your reactions guys, I stil havent been able to get it to work... I have added a .htaccess file into my directory that needs the register globals on, containing php_value register_globals on And i have chanched AllowOverride None to all in the httpd.conf file, and restarted my webser

[PHP] iCal parser and importing iCal to database

2003-01-30 Thread Reuben D. Budiardja
Hi, I think this has been asked here before and I've looked around the archive but didn't find anything. So I ask again. Does anyone know if there's a utility/script/program in php that will allow one to parse and/or import iCAL calendar format to database, such as mySQL or PostGreSQL? Thanks

Re: [PHP] PHP Compile Error

2003-01-30 Thread Johannes Schlueter
Hi, On Friday 31 January 2003 01:10, Robert Fitzpatrick wrote: > Running Redhat 8.0 > PHP 4.3.0 > > When I try to configure with the following: > ./configure --with-apxs=/web_root/bin/apxs --enable-track-vars > --enable-versioning --with-mysql=/usr/mysql --with-gd=/usr/local Are you sure you told

[PHP] POST without a form

2003-01-30 Thread arthur.chereau
Hi, A PHP page (main.php) loads another page (doit.php) via a form. doit.php gets the data via $_POST. Now, from a third page (other.php), I need to load doit.php with other data, but automatically, without a form. How can I redirect to doit.php and send POST data at the same time ? (as

RE: [PHP] XML PHP question

2003-01-30 Thread Chris McCluskey
There are lots of applications for XML in general. the most common one is the interchange of data between servers. here are some other links to wet your appetite: http://www.devshed.com/Server_Side/PHP/AmazonAPI/AmazonAPI1/page1.html http://www.devshed.com/Server_Side/PHP/GoogleAPI/page1.html

Re: [PHP] mysq_connect()

2003-01-30 Thread Khalid El-Kary
is PHP configured with --with-mysql ? Hi there, my name is Cesar Rodriguez and I am trying to upgrade from Caldera Linux Server 2.3 into RedHat Server 8.0. The problem I encounter is that after testing different scripts, php is working, except when I make an MySQL call like mysql_connect()

Re: [PHP] Context

2003-01-30 Thread Justin French
AFAIK, PHP "skips" over anything out side the ... so yes, technically, it would be a little faster. End of the day, such a small gain could probably be made up elsewhere by optimising a function you use on every page, or something else like that. It's been said on the list many times before: Just

[PHP] PHP Compile Error

2003-01-30 Thread Robert Fitzpatrick
Running Redhat 8.0 PHP 4.3.0 When I try to configure with the following: ./configure --with-apxs=/web_root/bin/apxs --enable-track-vars --enable-versioning --with-mysql=/usr/mysql --with-gd=/usr/local --with-jpeg-dir=/usr/local/bin/ --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-zlib --e

Re: [PHP] php as shell script

2003-01-30 Thread Khalid El-Kary
maybe, but not sure, you need to replace " Hi, I am trying to run php as shell script. I have this: helloworld.php: I run php helloworld.php then I got this: Hello World. Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0 I am using Redhat 8, anyone knows wh

Re: [PHP] php question - query string

2003-01-30 Thread Lowell Allen
Although you don't show it in your snippet of code, the script in question starts with: if (isset($addjoke)): // If the user wants to add a joke So all he's doing is setting the variable $addjoke. It could have been set to 2 or something else, although 1 kind of makes more sense because it's asso

[PHP] Re: php question - query string

2003-01-30 Thread Philip Hallstrom
You've got it right... look at the man page for parse_str() for more info on the QUERY_STRING stuff as well as the register_globals configuration option. Looking at the script below, there is nothing special about setting $addjoke to 1. It's just important that it is set to *something* (because o

[PHP] php as shell script

2003-01-30 Thread David H
Hi, I am trying to run php as shell script. I have this: helloworld.php: I run php helloworld.php then I got this: Hello World. Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0 I am using Redhat 8, anyone knows what is the problem is? Thanks, David __

[PHP] php question - query string

2003-01-30 Thread Anthony Ritter
The following script is from Kevin Yank's book on page 59-60. (Sitepoint) I'd like to get some clarification about the line: (almost next to last line in the script) ... echo("Add a Joke!"); He has a link called "Add a Joke!". When the user clicks on the link,

[PHP] Re: problems with include()

2003-01-30 Thread Al
Looks like you are only backing up 2 levels when you need 3. Why not try something like: $root= "the absolute path to your root folder"; Then simply: include ($root . "mainfile.php"); etc. Daniel Negron/Kbe wrote: I have this code : which works great from the root dir where these files

Re: [PHP] Variable Fun

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 05:55, James E Hicks III wrote: > This code: > $var1 = "02061030012452"; > $var2 = "02061030012451"; > $test1 = (string) $var1 > $test2 = (string) $var2; > echo gettype($test2)."---".gettype($test1).""; > echo $test2."---".$test1.""; > if ( $test2 != $test1){ >

Re: [PHP] Sorting multidimensional arrays..

2003-01-30 Thread Tim Ward
if 'EXTENSION' is unique then you can make life a lot easier by making that the key of the root array (this is a heirarchy of arrays). Tim Ward http://www.chessish.com mailto:[EMAIL PROTECTED] - Original Message - From: Chad Day <[EMAIL PROTECTED]> To: php general <[EMAIL PROTECTED]> Sent:

Re: [PHP] HTML embedding

2003-01-30 Thread Chris Shiflett
--- Todd Barr <[EMAIL PROTECTED]> wrote: > I am having an issue. I am using an access database, > where the names have whitespace. > > Now, when I try to generate a link within the php > script I get just their first name > > But in the link itself I get the whole name So, you are talking about

Re: [PHP] HTML embedding

2003-01-30 Thread Andrew Brampton
Try urlencode your data before outputing it. php.net/urlencode Andrew - Original Message - From: "Todd Barr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 10:11 PM Subject: [PHP] HTML embedding > Hello, > > I am having an issue. I am using an access databa

[PHP] HTML embedding

2003-01-30 Thread Todd Barr
Hello, I am having an issue. I am using an access database, where the names have whitespace. Now, when I try to generate a link within the php script I get just their first name But in the link itself I get the whole name so the html link looks something like this http://www.whatever.com/dave

[PHP] Variable Fun

2003-01-30 Thread James E Hicks III
This code: "; echo $test2."---".$test1.""; if ( $test2 != $test1){ echo ("The variables are not equal."); } ?> Produces the following output (Notice that it doesn't say vars are not equal); string---string 02061030012451-

RE: [PHP] while loop- will this work?

2003-01-30 Thread Roedel, Mark
> -Original Message- > From: SpyProductions Support Team [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 11:57 AM > To: [EMAIL PROTECTED] > Subject: [PHP] while loop- will this work? > > > > > Should this work? Nope...because the value returned by mysql_query() isn't the

[PHP] mysq_connect()

2003-01-30 Thread Cesar Rodriguez
Hi there, my name is Cesar Rodriguez and I am trying to upgrade from Caldera Linux Server 2.3 into RedHat Server 8.0. The problem I encounter is that after testing different scripts, php is working, except when I make an MySQL call like mysql_connect() or mysql_pconnect(). The call is as follows:

Re: [PHP] Re: Installation & Configuration Question

2003-01-30 Thread Paul Marinas
htacces it's use by apache when you whant to give distinct user privileges to a certain directory, also uses htpasswd, etc. more information you could find in apache documentation. On Thu, 30 Jan 2003, [ISO-8859-1] Götz Lohmsnn wrote: > Mike At Spy schrieb: > > Has anyone ever had an issue where

[PHP] problems with include()

2003-01-30 Thread Daniel Negron/KBE
I have this code : which works great from the root dir where these files are stored. [all content is showing properly] If I move the file to its final destination, let say ... http://root_dir/intranet/training/final_folder I change the code to match ALL I get is the Converted HTML printed

[PHP] Send commands to a shell program

2003-01-30 Thread Antti
I want to for example give commands to mpg321 when it is executed with the -R option (remote control mode). Is this possible with exec() or other execute php functions. What I mean is to execute commands while being in a shell program. Hope you got it! antti -- PHP General Mailing List (http:

Re: [PHP] Installation & Configuration Question

2003-01-30 Thread Paul Marinas
did you check php.ini file? On Wed, 29 Jan 2003, Mike At Spy wrote: > > Has anyone ever had an issue where PHP, for whatever reason, stopped > .htaccess files from working? > > Thanks, > > -Mike > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.n

[PHP] Re: Installation & Configuration Question

2003-01-30 Thread Götz Lohmsnn
Mike At Spy schrieb: > Has anyone ever had an issue where PHP, for whatever reason, stopped > .htaccess files from working? > > Thanks, > > -Mike > > maybe using reserved words in the .htaccess which belong to PHP ? what is in the htacces ? sorry not enough informations to get a hint ... --

Re: [PHP] PHP & Apache

2003-01-30 Thread 1LT John W. Holmes
> Maby you could help me on why I get this message when using variables: > Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php > on line 15 Because you have an undefined variable. You have a variable that has not been assigned a value. Assign it a default value or use isset() i

[PHP] Re: PHP & Apache

2003-01-30 Thread Christoph Grottolo
[EMAIL PROTECTED] (Aaron Stephan William Boeren) wrote: >Hi, >Maby you could help me on why I get this message when using variables: >Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php >on line 15 > >I have PWS being used, PHP 4.3.0 & Apache 2.0.34. OS is Windows 2k >If you

[PHP] PHP & Apache

2003-01-30 Thread Aaron Stephan William Boeren
Hi, Maby you could help me on why I get this message when using variables: Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php on line 15 I have PWS being used, PHP 4.3.0 & Apache 2.0.34. OS is Windows 2k If you could help that would be great because I need it for testing sc

[PHP] Sorting multidimensional arrays..

2003-01-30 Thread Chad Day
I'm struggling with array_multisort, was hoping someone could give me some help. I have a multidim array, such as: $myarray[0][FIRSTNAME] = JOE $myarray[1][FIRSTNAME] = TIM $myarray[2][FIRSTNAME] = BOB $myarray[0][LASTNAME] = SMITH $myarray[1][LASTNAME] = BROWN $myarray[2][LASTNAME] = JONES $my

[PHP] Removing elements of multidimensional array

2003-01-30 Thread Erich C. Beyrent
Hey everyone, I am reading an ini file into an array using the parse_ini_file() function. What I want to do is delete a section from the ini file, and thought that the best way to do it would be to unset one of the keys in the array returned by the parse function. I then want to write the mod

[PHP] Re: Removing elements of multidimensional array

2003-01-30 Thread Erich C. Beyrent
> Hey everyone, > > I am reading an ini file into an array using the parse_ini_file() function. What I >want to do is delete a section from the ini file, and > thought that the best way to >do it would be to unset one of the keys in the array returned by the parse function. >I then want to >

Re: [PHP] Reporting tools for PHP?

2003-01-30 Thread Tyler Lane
I didn't comment on the price of Crystal Reports. I was informing the poster that it is possible to use Crystal Reports with mysql. As for using open source tools, I totally agree with using OpenSource whenever possible. On Thu, 2003-01-30 at 11:27, John Wells wrote: > Because Crystal Reports is

RE: [PHP] XML PHP question

2003-01-30 Thread Hardik Doshi
Hi Chris, Thanks for your nice reply. I would like to know what are the applications of XML with PHP. I know how to write and parse XML files but i dont know where can i use this power? Either you or any other member of this group can solve my problem then i would be thankful to him/her. Again

Re: [PHP] Reporting tools for PHP?

2003-01-30 Thread John Wells
Because Crystal Reports is an overpriced rip-off. To get full web report functionality, you have to pay anywhere from $1-$10 for their enterprise edition. If you pay anything less, you're limited to only three connections. Why buy anything when good open source solutions exist? Makes no

Re: [PHP] Using custom "button" form element instead of standard "submit"?

2003-01-30 Thread Durwood Gafford
"1lt John W. Holmes" <[EMAIL PROTECTED]> wrote in message > > If that's what you want, then just make each button a normal link > and pass an variable to the next page in the link (like someone has already > suggested). You'd get the same end result. > > > > > > > print "The user selected but

[PHP] mySql session handler

2003-01-30 Thread R'twick Niceorgaw
Hi all, Is it possible to setup a mysql session handler on a server basis ( something in php.ini file) so that individual pages do not have to set it up using call to session_set_save_handler() ? -R'twick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Dash McElroy
Yes. Either via a .htaccess file or in your httpd.conf in a Directory entry put this: php_value register_globals on See the following URL's for more info: http://www.php.net/manual/en/configuration.changes.php http://www.php.net/manual/en/function.ini-set.php -Dash AQUARIUS (Jan 20 - Feb 18)

RE: [PHP] XML PHP question

2003-01-30 Thread Chris McCluskey
Hardik, I have created my own XML parser based on the existing php xml functions http://php.net/xml . I've found this is nice but a bit annoying since I have to write everything from scratch. After about a week or two trying to get my parser just right I gave up and used MSXML 4.0 which is a Mic

Re: [PHP] problem with header

2003-01-30 Thread Chris Hayes
can it be related to the double slash in that path? /usr/local/php/bin//php At 15:42 30-1-2003, you wrote: i have an script, it send a header response: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] content type header for downloading files

2003-01-30 Thread Sascha Braun
Hi, I would like to test you code in my webpage, but i dont really know how to get along with path informations like ../images/pictures/image24.jpg Do I have to split the string in multiple parts, so i at last only got the picture name? But how then do i open the file? - thru fopen() or something

Re: [PHP] Mysterious gap

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 02:00, Lightfirst wrote: > Hello All, I am hoping someone can help me with a problem I am having with > PHP (3.23.49) and mysql (4). My objective is to fill a table with data > from a database. My problem is that I cannot figure out why I get a gap > (noticeable with abou

RE: [PHP] while loop- will this work?

2003-01-30 Thread Matt Schroebel
> -Original Message- > From: SpyProductions Support Team [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 12:57 PM > To: [EMAIL PROTECTED] > Subject: [PHP] while loop- will this work? > > > > > Should this work? > > $f1 = rand(999,999); > > while($check_si

[PHP] Re: Reporting tools for PHP?

2003-01-30 Thread Mark McCulligh
You can now buy Crystal Reports that runs on non-windows platforms. Crystal Reports 9 advance has mult-platform version. But is not cheap, $1,900 US. (also only 3-thread, unlimited threaded reports cost 25,000 US per CPU) Are you looking to put reports online, for users can run and view report thr

RE: [PHP] HTTP_GET_VARS[]

2003-01-30 Thread Matt Schroebel
> >> $query = "UPDATE assets SET title = '$title', version = '$version', > >> developer = '$developer', serial_number = '$serial_number', WHERE > >> asset_id = '$HTTP_GET_VARS[id]'" ; > > > > Change the var to '{$HTTP_POST_VARS['id']}' (with the curly braces > > since > > the array reference is i

[PHP] Mysterious gap

2003-01-30 Thread Lightfirst
Hello All, I am hoping someone can help me with a problem I am having with PHP (3.23.49) and mysql (4). My objective is to fill a table with data from a database. My problem is that I cannot figure out why I get a gap (noticeable with about 20 records) at the top of the page (just below the text l

[PHP] while loop- will this work?

2003-01-30 Thread SpyProductions Support Team
Should this work? $f1 = rand(999,999); while($check_sid = mysql_query("SELECT * FROM that_table WHERE this = '$f1'")){ $f1 = rand(999,999); } i.e. put the random number in a loop to check and make sure it is already not in use? Thanks, -Mike -- PHP Gene

RE: [PHP] Adding HTTP URL Code

2003-01-30 Thread ELLIOTT,KATHERINE A (HP-FtCollins,ex1)
Hi all! Unfortunately, I didn't receive any replies to the problem I sent out on January 16th so I thought I'd send another email and perhaps clarify what I am seeing so that maybe someone CAN help and ask if folks on the list have just not seen this issue before. The program I am working on allo

Re: [PHP] Reporting tools for PHP?

2003-01-30 Thread Tyler Lane
On Thu, 2003-01-30 at 08:57, Denis L. Menezes wrote: > hello Friends? > > Is there any reporting toold for PNH/MySQL like there is Crystal Reports etc? Do you mean PHP/MySQL? if that is the case, why not use Crystal Reports? Setup MyODBC for your MySQL server and use ODBC to connect to it using C

[PHP] MySQL - setting relationships

2003-01-30 Thread Larry E. Ullman
In MS Access we specifically set relationships. In MySQL, I have found no documentation regarding setting relationships. Is is that we do not need to set the relationships in MySQl and only matching the Field IDs in respectyive tables is suffecient? Current versions of MySQL do not have ways to

[PHP] PHP - mysql_info question

2003-01-30 Thread Mark McCulligh
I have written a PHP function that uses the MySQL command: LOAD DATA INFILE ... The command returns the result in mysql_info() Records: 42 Deleted: 0 Skipped: 0 Warnings: 5 My question is how do you find out what the 5 warnings are. Does MySQL put them in a log file somewhere and is there a way t

Re: [PHP] HTTP_GET_VARS[]

2003-01-30 Thread Mike Tuller
I am using PHP 4.3.0. it looks a little confusing because I am not using the $_POST when calling variables, but that is because before that script I have this. $title = $_POST['title']; $version = $_POST['version']; $developer = $_POST['developer']; $serial_number = $_POST['serial_number']; $pla

Re: [PHP] Reporting tools for PHP?

2003-01-30 Thread John Wells
Denis, I've been looking as well. My solution? Run Jasper Reports (http://jasperreports.sf.net) from a Tomcat container integrated with Apache via mod_jk.so. Don't have any reports finished yet, so not sure of speed, etc., but Jasper looks to be pretty full featured and it freely available. HT

RE: [PHP] HTTP_GET_VARS[]

2003-01-30 Thread Matt Schroebel
> -Original Message- > From: Mike Tuller [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 11:02 AM > Subject: [PHP] HTTP_GET_VARS[] > The issue I am > having now is that I have the editsoftwareassest.php's form > action set > to POST to a script called updatesoftwareasset.

[PHP] HTTP_GET_VARS[]

2003-01-30 Thread Mike Tuller
I have created a page for editing a row in a MySql database where first I have a page listing the items in the table, and have the id as a hypertext link that then on then opens the editing page with the correct information using HTTP_GET_VARS[id] where the URL is http://127.0.0.1/asset/editsof

Re: [PHP] $HTTP_USER_AGENT

2003-01-30 Thread Chris Shiflett
--- Jan Mikes <[EMAIL PROTECTED]> wrote: > do anyone know where I can get a full list of > $HTTP_USER_AGENT strings ?? There is no such thing. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $HTTP_USER_AGENT

2003-01-30 Thread Jan Mikes
exactly what I needed thank you mtg - Original Message - From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]> To: "'Jan Mikes'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 4:46 PM Subject: RE: [PHP] $HTTP_USER_AGENT > > -Original Message- > > From: Jan Mike

[PHP] Reporting tools for PHP?

2003-01-30 Thread Denis L. Menezes
hello Friends? Is there any reporting toold for PNH/MySQL like there is Crystal Reports etc? Thanks denis

[PHP] MySQL - setting relationships

2003-01-30 Thread Denis L. Menezes
hello friends, I am a newbie at MySQL. In MS Access we specifically set relationships. In MySQL, I have found no documentation regarding setting relationships. Is is that we do not need to set the relationships in MySQl and only matching the Field IDs in respectyive tables is suffecient? Tha

RE: [PHP] $HTTP_USER_AGENT

2003-01-30 Thread Ford, Mike [LSS]
> -Original Message- > From: Jan Mikes [mailto:[EMAIL PROTECTED]] > Sent: 30 January 2003 15:23 > > do anyone know where I can get a full list of > $HTTP_USER_AGENT strings ?? Try http://www.psychedelix.com/agents.html -- it's about as comprehensive as they come! Cheers! Mike

[PHP] Re: XML PHP question

2003-01-30 Thread Manuel Lemos
Hello, On 01/30/2003 01:17 PM, Hardik Doshi wrote: Can you please tell me what is the best way of working with XML technology using PHP? I am not clear about integration of these two technologies. Suggest some books or links or good tutorials. Either of these books reviewed here are very good

Re: [PHP] Passing Object Refs throught Arrays

2003-01-30 Thread Tom Rogers
Hi, Thursday, January 30, 2003, 10:36:20 PM, you wrote: J> I'm having a problem, and I wrote this sample code to illistrate it. J> In this code, I'm trying to create a object, put it throught a que. I J> then want something to happen to this object, and this change to be J> reflected in the orig

[PHP] $HTTP_USER_AGENT

2003-01-30 Thread Jan Mikes
hi all, do anyone know where I can get a full list of $HTTP_USER_AGENT strings ?? thanx a lot mtg

[PHP] XML PHP question

2003-01-30 Thread Hardik Doshi
Hi everyone, Can you please tell me what is the best way of working with XML technology using PHP? I am not clear about integration of these two technologies. Suggest some books or links or good tutorials. thanks Hardik Doshi Web Application Developer Chicago

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Adam Voigt
Title: Re: [PHP] Encryption using MMCrypt - whats the point? Granted, the $350 stand-alone encoder is a bit expensive. I'm talking about the online encoder though, you pass your PHP script through the online-control center and it output's the encrypted version, a typical PHP program is $5.00

[PHP] Advanced PHP Debugger

2003-01-30 Thread Fredrik Johansson
Hey, Where can I find a compiled php_apd.dll for Windows 2000 / PHP 4.3.0? If you have it, it would be great if you could send it to me (to me personally and not the list). Thanks! // Fredrik Johansson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Mike Morton
Adam/Lowell: Thanks for the suggestions ­ but like all clients ­ they want maximum function for minimum $$ - encoders are therefore not a possibility (but I will keep that in mind for future apps :)) Thanks. On 1/30/03 9:55 AM, "Adam Voigt" <[EMAIL PROTECTED]> wrote: > http://www.ioncube.com/ >

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Adam Voigt
http://www.ioncube.com/ Encrypt PHP scripts (there pretty cheap to). On Thu, 2003-01-30 at 09:30, Mike Morton wrote: I want to use the mcrypt functions to encrypt credit card numbers for storage in a mysql database, which mycrypt does admirably: $key =

[PHP] Re: Best PHP db wrapper?

2003-01-30 Thread Manuel Lemos
Hello, On 01/30/2003 02:48 AM, John Wells wrote: Trying to decide between wrappers for a rather large application, and wanted some input from the group as I haven't used any of these to any degree. So far, I've found PearDB, metabase, adodb, and MDB. What's the best option? My main concerns ar

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Lowell Allen
Could you use the Zend Encoder to encrypt the PHP script? -- Lowell Allen > From: Mike Morton <[EMAIL PROTECTED]> > Date: Thu, 30 Jan 2003 09:30:36 -0500 > To: <[EMAIL PROTECTED]> > Subject: [PHP] Encryption using MMCrypt - whats the

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Jason Sheets
Not a good idea, you might look at some form of public key encryption where you encrypt the credit card information with the public key and the merchant decrypts it with their private key that is not on the server. You generally do not want to store the information encrypted with mcrypt because in

[PHP] problem with header

2003-01-30 Thread Martin
i have an script, it send a header response: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >