Re: [PHP] What happened to phpEdit???

2003-02-17 Thread John Nichel
It works fine for me. So does www.phpedit.net Al wrote: Did you try the URL you posted? I tried that one and several others listed for phpEdit. All say the site is not responding. Bryan Lipscy wrote: Did you check google? http://ozu.arecom-sa.com/~marms/phpedit.net/ -Original Message--

Re: [PHP] What happened to phpEdit???

2003-02-17 Thread John Wells
Hmm...doesn't work here. Interesting. Partial blackout? John Nichel said: > It works fine for me. So does www.phpedit.net > > Al wrote: >> Did you try the URL you posted? >> >> I tried that one and several others listed for phpEdit. >> >> All say th

Re: [PHP] BBS software in PHP?

2003-02-19 Thread John Wards
n use www.phorum.org. Cheers John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] BBS software in PHP?

2003-02-19 Thread John Nichel
I use phpBB ( http://www.phpbb.com ), and have been quite pleased with it. It supports MySQL, MSSQL, PostgreSQL, and Access. Jean-Christian Imbeault wrote: Can anyone recommend a simple (and free) BBS module/software written in PHP. preferably something that writes to a DB and preferably PoserS

Re: [PHP] Javascript function

2003-02-19 Thread John Nichel
You'll probably have better luck addressing your question to a list that supports JavaScript. Christian Ista wrote: Hello, Example, I have this function : void function MyExampleFunction(){ document.form_name.element_name.focus(); } I'd like do something like that, I call the function like th

Re: [PHP] Oracle to MySQL

2003-02-19 Thread John Nichel
I'm recalling this from memory, and I may not be 100% right, but it should put you on the right path. You will need to install the Oracle client libraries on the box with php (you can find these on the Oracle discs used to install the actual database). However, if I remember correctly, the Or

Re: [PHP] help please

2003-02-25 Thread John Nichel
Do you need an answer for each of the times that you posted it? 1) Posting code is good, however telling us it "doesn't work" is no good. What are the error messages, if any? Why is it not working, ie what did you expect it to do? 2) What version of php on the old site as compared to the ne

Re: [PHP] help please

2003-02-25 Thread John Nichel
My guess is that register globals is turned off on your new site. Or maybe, the new site isn't set up to parse php with *.html extensions. Being that it's all embedded flash, I can't give you much more than that. bionicegg wrote: John, Im so sorry about the posting three time

Re: [PHP] Auto Incrementing a Variable name?

2003-02-25 Thread John Nichel
Jeff Pauls wrote: I get an error with this. PHP doesn't like "$name$i". for ($i = 1; $i <= 3; $i++) { $arr_name[$i] = $name$i; // I want $name1,$name2,$name3 etc } Try $arr_name[$i] = $name . $i; I've looked at Variable variables but I don't think that is what I need. What abou

[PHP] Installing PHP and MySQL on Linux machine

2003-03-05 Thread John Almberg
e mysql support has been compiled in, so I'm not sure what's going on. You can view my configuration (via phpinfo printout) at: http://www.beyondtranslations.com/ Any help/advice much appreciated. Brgds: John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mining a file for data

2003-03-07 Thread John Wulff
with MySQL but not file parsing. How do I about parsing this data? What sort of pattern recognition do I use (if that's the right term). Thanks for the help. The format of the file is below. -John Card Name: Akroma, Angel of Wrath Card Color: W Mana Cost: 5WWW Type & Class: Creature - A

Re: [PHP] Mining a file for data

2003-03-08 Thread John Wulff
uot;', > '".addslashes($title)."', > '".addslashes($date)."', > '".addslashes($directory)."', > '".addslashes($image)."' )"; > $result=mysql_query($query); >

Re: [PHP] PHP Books

2003-03-12 Thread John Nichel
I wasn't too impressed with the PHP Bible. I haven't looked at the other two, but if the Sam's book is like the others I've used, I would say that it isn't worth it. I have O'Reilly's Programming PHP book (written in part by Rasmus Lerdorf), and it's pretty good, but I find that the online ma

[PHP] PHP Manual w/ Comments?

2003-03-12 Thread John Nichel
Wasn't the php manual with user comments available for download at one time? Is it still there and I'm just not seeing it? If it was never there, can I suggest that as an option for the manual download from you good people at PHP? Damn, I'm just full of questions. -- PHP General Mailing List

Re: [PHP] Form Validation: Surnames with Apostrophe

2003-03-12 Thread John Nichel
Try preg_match ( "/[A-Za-z-']+/", $_POST['Last_Name'] ); [EMAIL PROTECTED] wrote: I have been trying to validate a form field Last_Name and have been unable to find a regexp to account for the apostrophe (e.g., O'Reilly). The following statement: preg_match('/^[[:alpha:]]+[-]?[[:alpha:]]+$/',

[PHP] Re: newbie OOP?

2003-03-14 Thread John Gray
Design Patterns Explained: A New Perspective on Object-Oriented Design by Alan Shalloway and James R. Trott If you approach the small sites as ways to add objects to your toolbox, you'll end up with reusable objects that are continually refined as you use them in new ways. (imho) - john

[PHP] Re: str_replace

2003-03-14 Thread John Gray
and that's not what you want to do anyway (as I understand it). Put the line you want to replace inside single quotes (as above) and PHP won't attempt to parse it, it'll just treat it as a string literal. Hope this helps, hope it makes sense. - john Sebastian wrote: This may seem we

Re: [PHP] php-general as REPLY TO

2003-07-01 Thread John Manko
oops - maybe i should have kept my big mouth shut! ha. anyway, it doesn't look like it's going to change. >php_thread --end "php-general as REPLY TO" Mark wrote: But that would not solve the problem being discussed. None of the webmail services that I've tried have a "reply-to-list" feature. ---

[PHP] Rotating text

2003-07-01 Thread John Wulff
What would the best way to rotate text 90 degrees? Using php's image generator? Some fancy HTML I don't know about? Or something else? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Image Verification (On Submit)

2003-07-01 Thread John Coggeshall
f noise in the background (some sort of odd pattern) and then use the GD functions to write a string on top of that pattern and display it on your form (and keep track of the string you wrote).. then ask the user to type that string in and check it on s

[PHP] Calculating Largest Member of Array

2003-07-02 Thread John Wulff
I'd like to calculate the largest member of this array without taking into account the first value which is obvisouly not numeric. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Calculating Largest Member of Array

2003-07-02 Thread John Wulff
Sorry for the multiple post!! Apparently when pasting I hit some magic send key.I'd like to calculate the largest member of this array without taking into account the first value which is obvisouly not numeric. So far this is how I'm doing it, but sometimes I get returned a month for the max. $hi

Re: [PHP] print html code

2003-07-02 Thread John Nichel
Jim Lucas wrote: well, tell me. What browser follows the standards 100% ?? Yeah...that's the attitude...if none of the existing browsers follow standards, then it must be okay for us to break them too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] Sessions help needed!

2003-07-05 Thread John Fuller
the session code (possible for I have never written any sessions before) or my system is not supporting sessions. I have a php4 something, windows, apache 1.3.27 for my home network server, and mysql. Any help on this problem would be greatly appreciated. Thanks a lot for your time, John - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Re: [PHP] CHECKING IF A SESSION IS ACTIVE OR NOT

2003-07-10 Thread John Hicks
ent system, but I believe you can set it. But that raises the question: If you are already storing session IDs in a database table, why don't you do your own session managment instead of using the PHP system? --John On Thursday 10 July 2003 09:42 am, Nagib Abi Fadel wrote: > HI, &

Re: [PHP] Capturing Windows Login Details

2003-07-11 Thread John Nichel
Leif K-Brooks wrote: CPT John W. Holmes wrote: You can get the username, that's it. $_SESSION['LOGON_USER'] Don't you mean $_SERVER['LOGON_USER']? I have no variable for either, and I'm authenticated thru a NT domain. We were doing this at the last place I

Re: [PHP] Capturing Windows Login Details

2003-07-11 Thread John Nichel
CPT John W. Holmes wrote: CPT John W. Holmes wrote: You can get the username, that's it. $_SESSION['LOGON_USER'] Don't you mean $_SERVER['LOGON_USER']? Yeah :) See what I get for giving up caffeine... ---John Holmes... Ughwhy torture yourself?!?!?! --

Re: [PHP] Need PHP on Win2000 Pro

2003-07-12 Thread John Nichel
John A. Thomason wrote: Hello, I need some advice on getting PHP 4 up and running on my Windows 2000 Professional. I have followed all of the instructions in the installation file, but when I try to run a PHP as a batch from the command prompt, all I get is the file listed. Help! John A. Thomason

Re: [PHP] OK, So I am new to these List. Win2000 help!

2003-07-12 Thread John Nichel
John A. Thomason wrote: The following is my output in the command prompt window(DOS Prompt?) C:\PHP>hello.php Content-type: text/html X-Powered-By: PHP/4.3.2 !#C:\php\; echo"Hello World!"; if ($foo): echo "yep\n"; elseif ($bar): echo "almost\n"; else: echo "

Re: [PHP] OK, So I am new to these List. Win2000 help!

2003-07-13 Thread John Nichel
John A. Thomason wrote: Thanks, that did it. And yes, I am trying to run this as a shell script. Thank you very much. John. - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "John A. Thomason" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]&g

Re: [PHP] Need PHP on Win2000 Pro

2003-07-13 Thread John Nichel
Simon Fredriksson wrote: When I make console scripts for *nix in PHP I have the shebang line and after that #!/usr/bin/php -q Is PHP as powerful as perl on the console area yet? In my opinion, no. But Perl has a big head start on php when it comes to system scripts (not to mention that PHP is

[PHP] Check if php file is an included file?

2003-07-15 Thread John Manko
If have file1.php that includes file2.php, is there any way to check, from file2.php, if it is indeed included. In other words, I don't want file2.php to display (rather redirect to file1.php) if it's not being requested as a file1.php include file. did I confuse you? -- PHP General Mailing

[PHP] PHP Best practices

2003-07-16 Thread John Manko
I'm looking for a book on PHP best practices for such things as security, performance, session (esp jumping from http to https), design layout, etcetc... I'm not interested in something that will teach basic PHP. Do you know of any good books, online resources,etc? Thanks. Joh

Re: [PHP] How to store a file into MSSQL?

2003-07-16 Thread John Manko
Look here http://www.mysql.com/doc/en/BLOB.html Actually, if you don't care if the images can be view from outside the DB, you can do what I do. I simplely put the name of the file in a varchar field, then let the browser do the work for you. This is good for files that are referenced from multip

[PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
Ok, I'm surprised that this is not taken care of with HTML. I propose the following standard (but also looking for a PHP workaround if available) for the Img HTML tag: RATIO = Keep|Ignore, default Ignore < img width='x' height='y' RATIO='Keep|Ignore' > Where, RATIO=Keep will inlarge the image

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
as 75x150 (which clearly does not fit the 75x75 constraints) now, if i specify "width=75 height=75", again, this works for Image1, but not Image2, since the new Image2 ratio will be 1:1, with Image2 losing 1/2 of it's heigth ratio. John Manko wrote: Ok, I'm surprised that this

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
but that won't address the space limit for display for image larger than 75x75 Brian S. Drexler wrote: Leave out the height or width tag and it will keep the ratio by itself won't it? -Original Message----- From: John Manko [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
ok, i see what you mean.. John Manko wrote: but that won't address the space limit for display for image larger than 75x75 Brian S. Drexler wrote: Leave out the height or width tag and it will keep the ratio by itself won't it? -Original Message----- From: John Manko [mai

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
You will note that I did say that I was looking for a PHP solution to this, anyhow. HTML isn't smart enough to figure that out and this is a PHP list, anyhow. Thank you for the info. I still think that HTML should handle it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: SPAM: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
yes, that is what "CPT John W. Holmes" suggested. I will do that. In the meantime, I'm going to join the w3c mailing list. thank you. Justin French wrote: Whilst I have not tested this on multiple platforms/browsers, I believe if you only specify one (the width for example), th

Re: [PHP] Verifying a certain amount of numbers

2003-07-16 Thread John Manko
Yes, use preg_match("/^[0-9]{6}$/",$str) since it takes care of both number and length. You dont want to you is_numeric(), because that will match "4e5", etc..etc.. Brent Baisley wrote: I'm pretty sure there will be a problem with using the is_int() function. A similar problem was discussed a f

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread John Manko
page1.php $_SESSION['myvars_VARNAME'] = $varname; the 'myvars_' is just for identification purposes, so avoid over-writing anthing that you might not want to. page2.php $varname = $_SESSION['myvars_VARNAME']; Valentin wrote: Hi, is any way to pass a $Var from one to other php pages without usi

Re: [PHP] multi file multi colomn

2003-07-16 Thread John Manko
is there a max file handle pool in php? look at: http://us3.php.net/fopen http://us3.php.net/fwrite FB wrote: Hi, I have 40 text files.. each files have 1 colomn of a data. I want to write a script to merge them like datafrom1;datafrom2;datafrom3;datafrom40 how can I do that? TIA

[PHP] PHP explodes without using isset()

2003-07-16 Thread John Manko
I've tried checking if $_POST and $_GET vars are set with just if($_POST['yuck']) When 'yuck' is not present my code always explodes with *"Notice*: Undefined index: yuck" on the page output. I never see any mention in the codes examples referencing a php function that instructs the preprocessor

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
And I still don't see how your proposed method handles the problem you mentioned above with Image2... RDB Now, first, what would you prefer? Second, I hope you understand how the new feature would address the issue (and that you know what the issue is - if i explained it clearly, of course) As

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread John Manko
On Jul 16, 2003, "John Manko" claimed that: |page1.php |$_SESSION['myvars_VARNAME'] = $varname; |the 'myvars_' is just for identification purposes, so avoid over-writing |anthing that you might not want to. | |page2.php |$varname = $_SESSION['myvars_VARNAME'

Re: [PHP] Re: PHP code beautifier?

2003-07-17 Thread John Manko
I really think that this depends on the topic. I know that if I'm looking for an editor (esp for a language just starting in), I can search google all day, but end up with a list full of fud. In situations like this, I would prefer to go straight to the source and ask the people who have put

Re: [PHP] Linux Installation

2003-07-17 Thread John Nichel
Haseeb wrote: hi, first of all i don't know anything about linux . we had a administrator for all our linux requirements, now that the company has fired him (without hiring anyone for the job) i am left on my own . i want to use vpopmail extension. but the problem is it is not installed on the

Re: [PHP] Protecting files with PHP

2003-07-17 Thread John Nichel
Petre Agenbag wrote: If you place files inside a webfolder, then they are publicly accessible, period. Not true. .htaccess turns a "public" directory into a "private" directory. Even if you know the path and filename you want, without an accepted username/password, you're not getting the file.

Re: [PHP] Linux Installation

2003-07-17 Thread John Nichel
Haseeb wrote: i have vpopmail configured and running what next ?? Haseeb Recompile php adding --with-vpopmail[=DIR] to your configuration. ---Original Message--- From: John Nichel <mailto:[EMAIL PROTECTED]> Date: Thursday, July 17, 2003 07:21:22 PM To: Haseeb <mail

Re: [PHP] PHP/HTML Question

2003-07-17 Thread John Nichel
Nick Couchman wrote: I have a quick question about PHP and HTML. I have a page that is supposed to update the "status" of hosts by pinging each host and displaying the result. I would like to get the page to the point that I can have something (either PHP or JavaScript or the like) ping every

[PHP] back button and session variables

2003-07-17 Thread John Carpenter
I am having a hard time understanding what effect the back button has on session variables. I have noticed that on some of my pages the back button does not cause my application to have problems while on other pages it does. To make matters more confusing the problem occurs on Windows machines but

Re: [PHP] PHP and mod_perl

2003-07-17 Thread John Nichel
jsWalter wrote: Anyone have any idea why I can't run PHP and mod_perl in the same web structure? I am getting this in my error log... [Thu Jul 17 14:02:07 2003] [error] 2508: ModPerl::Registry: Unterminated <> operator at G:/home/walter/htdocs/test.php line 1. This is my php file... ";

Re: [PHP] PHP and mod_perl

2003-07-17 Thread John Nichel
Walter Torres wrote: -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 2:18 PM To: jsWalter Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP and mod_perl Look in your Apache configuration. Are you telling it to process *.php files as PHP? I

Re: [PHP] Re: A new FREE web server can do PHP faster than Apache'smod_php

2003-07-18 Thread John Manko
You should leave an identification tag in your url. This way when people click the link you supplied, you can track where they are coming from LiteSpeed wrote: Hi there! Do you feel the need for speed? Lite Speed Technologies proudly introduces you LiteSpeed Web Server 1.0 LiteSpeed Web S

Re: [PHP] omitting the #!

2003-07-18 Thread John Nichel
Rob Day wrote: First of all, I apologize if I'm asking a question with an obvious answer. I do my php development on a Windows 2000 machine. Whenever I move php apps to the production server I have to add the path to php (#!/usr/bin/php) to the top of every php file. Is there some way I can config

[PHP] Re: Multidimensional arrays

2003-07-18 Thread John Kaspar
$sql = "select id, name from customer"; $rs = mysql_query($sql) or die("sql=$sql => ".mysql_error()); while ($row = mysql_fetch_assoc($rs)) { $custarray[] = $row; } /* $row is an array with the elements 'id' and 'name' $custarray becomes a multi-array indexed starting a 0 e.g. $custarray[0]

[PHP] CSV > MySQL

2003-07-18 Thread John Wulff
How would I go about taking a 6 field CSV and inserting each row into a MySQL DB? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Something to watch look for when getting HEADER Warnings

2003-07-18 Thread John Manko
Recently, I ran into a problem where I continually got a "Header already sent" message. I took me a while to figure out because the file that was "included" only contained function definitions, or so I thought. After the closing php tag, I had a new line with a single space on it. This space wa

Re: [PHP] what is the problem?

2003-07-19 Thread John Manko
just a few more tips. the following ensures that an form input field by the name of 'sentence' is actually sent via method=post, otherwhile you can escape it. this is good for low level script integrity if( isset($_POST['sentence']) ) echo $_POST['sentence']; you might want to also look into th

Re: [PHP] Help with UPDATE command...

2003-07-19 Thread John Manko
what error message are you getting? mysql_error() and mysql_errno() Tony Tzankoff wrote: Here is the code I am trying to implement... update table set col1=value where condition=true and condition=true order by col2 desc, col3 desc limit 1; The UPDATE command does not seem to support the ORDER

[PHP] MYSQL Client Flags

2003-07-19 Thread John Manko
I was interested in how to determine the number of rows matched on an update, even if they weren't updated. The reason for this was mysql_affected_rows() returns the number of rows affected, which my not be the number of rows matched by the query (see the manual). So, I came accross a post in

Re: [PHP] Re: TESTERS Needed!

2003-07-19 Thread John Manko
the the following table, when you onmouseover the MSN addy, the enlargement of the font size changes the table width, and it does restore on onmouseout: _*Stats*_ Style: Devil's Bloom Host: www.BritneySpy.com Projects: 3 Hits 321 MSN [EMAIL PROTECTED]

[PHP] Jumping between HTTP and HTTPS

2003-07-20 Thread John Manko
I'm having a little trouble understanding how to accomplish this. Should the entire browsing session be HTTPS after login, or just for important functions like "login" and "checkout" If noly for those function, who should I design to jump back an forth. I know DB should be used for cart items, b

Re: [PHP] Forms and PHP

2003-07-20 Thread John Nichel
Yasir Malik wrote: I'm working with forms using PHP and HTML. I've noticed that there is a limit of the length of a URL that can sent to browser (I'm passing many many things as arguments across pages). Is there a way to get across the limit or am I doing something wrong? Yasir Submit your form v

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-20 Thread John Manko
You dont need to touch any php code, just modify the html so the properlinks point to https where needed. I tried that. However, the session is different when going from 80 to 443. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] regex help?

2003-07-21 Thread John Herren
Can't seem to get this to work... trying to yank stuff xxx from xxx and stuff yyy from  yyy preg_match(" (.*)$|i", $l, $regs); works for the second example, even though it isn't the correct way, but nothing works for for me for the first example. Any help is appreciated! -- PHP General Maili

[PHP] regex help?

2003-07-21 Thread John Herren
Can't seem to get this to work... trying to yank stuff xxx from xxx and stuff yyy from  yyy preg_match("| (.*)$|i", $l, $regs); works for the second example, even though it isn't the correct way, but nothing works for for me for the first example. Any help is appreciated! -- PHP General Mail

Re: [PHP] Passing Serialized Array via Hidden field

2003-07-21 Thread John Nichel
Andrei Verovski (aka MacGuru) wrote: Hi, I am need to pass serialized assotiative array via form hidden field (not GET or POST). In order to do it, I did the following: Uis there a third form method that I'm not aware of? urlencode(serialize($my_array)). However, after retrieving data fr

Re: [PHP] Register Globals

2003-07-21 Thread John Manko
whoa, i didn't know that. i love this mailing list! :) Petre Agenbag wrote: a simple extract($_POST) or extract($_GET) would also work -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with Date

2003-07-21 Thread John Manko
I'd settle for a function that will generate a date for this upcoming friday. ;) Elliot Tobin wrote: I need a function to create the dates of previous Fridays -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with Date

2003-07-21 Thread John Manko
Ha. Not what I have in mind. :) Adam Voigt wrote: Umm. echo(date('U',strtotime('next Friday'))); Notice the strtotime part. On Mon, 2003-07-21 at 09:25, John Manko wrote: I'd settle for a function that will generate a date for this upcoming friday. ;) Elliot To

Re: [PHP] Help with Date

2003-07-21 Thread John Manko
More like: echo(date('Jennifer Lopez',strtotime('next Friday'))); John Manko wrote: Ha. Not what I have in mind. :) Adam Voigt wrote: Umm. echo(date('U',strtotime('next Friday'))); Notice the strtotime part. On Mon, 2003-07-21 at 09:25, John Manko

Re: [PHP] Passing Serialized Array via Hidden field

2003-07-21 Thread John Manko
Just a small point, you can have both GET and POST. -- search.html - - page.php $sid = $_GET['sid']; session_id($sid); session_start(); $search = $_POST['search']; Also, for those who don't know, you can even reference hash links Hope that helps. Chris = Become a

Re: [PHP] Changing numbers

2003-07-21 Thread John Nichel
zavaboy wrote: *Sigh*, lets say I have: 2.65 3.3 5.2670 12.030 I would like it at least 2 decimal places.. So, 5.2670 would be 5.267 not 5.27: 2.65 3.30 5.267 12.03 "James Rodenkirch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] try rounding it first http://www.php.net/manual/en/fu

Re: [PHP] Changing numbers

2003-07-21 Thread John Nichel
bob parker wrote: On Tue, 22 Jul 2003 04:03, zavaboy wrote: *Sigh*, lets say I have: 2.65 3.3 5.2670 12.030 I would like it at least 2 decimal places.. So, 5.2670 would be 5.267 not 5.27: 5.267 is 3 decimal places - count them He said "at least 2 decimal places", not "exactally two decimal pla

[PHP] controlling winamp with COM

2003-07-21 Thread John Herren
Is there any way to control an open winamp application in php? I want to use php as a scheduler to play Winamp. The API has system calls to do so, but I don't know how to implement the windows calls. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

Re: [PHP] controlling winamp with COM

2003-07-22 Thread John Manko
x27;s string manipulation strengths. However, the most important thing is to how they communicate. For this, I wouldn't got with anything else but XML. John Herren wrote: Is there any way to control an open winamp application in php? I want to use php as a scheduler to play Winamp. The API

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-22 Thread John Manko
This is what I decided to do. So the pages that need to be secured, I send the the SID as a GET QUERY variable. I don't like it, but it's the only thing I seems right. Joel Rees wrote: if you do sniff the hash, the key, and the session. You will have to get your request in before the key beco

[PHP] mysql_connect, client flags, php < 4.3, oh my!

2003-07-22 Thread John Manko
mysql_connect() added support for client flags in 4.3+ I'm wondering if there is another method to supply these flags for any php < 4.3? thanks, john -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: controlling winamp with COM

2003-07-22 Thread John Herren
John Herren wrote: Is there any way to control an open winamp application in php? I want to use php as a scheduler to play Winamp. The API has system calls to do so, but I don't know how to implement the windows calls. Ok, found this: http://www.adcock8.freeserve.co.uk/winamp.htm I

[PHP] PHP should know my data!

2003-07-24 Thread John Manko
will last when there are incompetent languages like PHP, Perl, and Java. Color me disappointed. John Manko IT Professional -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP should know my data!

2003-07-24 Thread John Manko
LOL :) - Now that's funny! Robert Cummings wrote: Unfortunately I don't think some people "got" the joke. Next thing you know their going to complain that PHP should have told them the punchline ;) Cheers, Rob. On Thu, 2003-07-24 at 18:17, Chris Hubbard wrote: Now

Re: [PHP] Sending POST-data

2003-07-25 Thread John Hicks
Simon-- Why not follow the KISS approach? Generate the GET or POST directly from the client. No PHP or server-side processing needed. --John On Friday 25 July 2003 10:09 am, Simon Fredriksson wrote: > I'm making a search-engine script for my site that > redirects users to o

Re: [PHP] Are left joins more efficient?

2003-07-26 Thread John Hicks
Dennis-- You might get a more authoritative answer from the mysql "general discussion" list at: http://lists.mysql.com --John On Monday 25 August 2003 12:59 pm, [EMAIL PROTECTED] wrote: > Hello, > > I program for a website that gets massive loads of > traffic. Opti

Re: [PHP] MySQL limitations

2003-07-28 Thread John Manko
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=mysql+max+columns&btnG=Google+Search Mike Mannakee wrote: Does anyone know what the maximun number of columns I could put in a table is?? I can't find it in manual. Like, could I have a table with 200,000 columns? Mike -- PHP Ge

Re: [PHP] PHP, JavaScript and populating DropDowns

2003-07-29 Thread John Manko
assuming you have a table with colors, and each color has car associated with it (yes, there might be dup color entries). This should work (check spellings and case, etc..etc...) $query="SELECT * from colors"; $results = mysql_query($query) or die ("DB ERROR:" . mysql_error()); $num = mysql_numro

Re: [PHP] List Administrator

2003-07-30 Thread John Manko
do they just scan the pages, or do they look at the final ouput (ei, after all the document.write's)? I dont know much about this stuff. document.write("user" + "@" + "domain." + "com"); Johnny Martinez wrote: List Administrator, Google spidered the web view to the list and is indexing our em

Re: [PHP] I don't understand...

2003-07-31 Thread John Manko
>You're trying to assign to a function, seriousley messed up. I reccomend you make sure you know PHP before going any >further. Leif, Let's try and be a little more constructive. Jason, mysql_query is a function, so you need to "call" it, not "assign to it". For example. (is th

Re: [PHP] Possible My Website was hacked... with PHP... please tellme what this is???

2003-07-31 Thread John Coggeshall
andle); > > ?> > > > > Digite abaixo os comandos que deseja executar: > > "value=\"$command\"";} ?> > value="Execute Command"> > > Ligar/Ativar stderr-trapping? > > > > Abaixo, terminal onde ap

Re: [PHP] Article: PHP vs ASP

2003-07-31 Thread John Manko
I'm wondering if there is an IIS extention for allow PHP in ASP. Wouldn't that be a kick in the ass. (I'm not talking about PHP for IIS, either) Jay Blanchard wrote: [snip] Might want to file this link, next time somebody asks about PHP vs. ASP http://www.wowwebdesigns.com/wowbb/forum12/149

[PHP] Ticketmaster.com and Word Images

2003-07-31 Thread John Manko
Does anyone know how sites like Ticketmaster.com creates the "Word Image" used for ticket purchase verification? Do they generate the image on-the-fly from a dictionary, or do the images pre-exist and they are pulled from a DB along with the word. John -- PHP General Mailing

Re: [PHP] Article: PHP vs ASP

2003-07-31 Thread John Manko
Chilisoft for PHP on a IIS server... LOL.. That would be funny -Original Message----- From: John Manko [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 10:13 AM To: Jay Blanchard Cc: Ralph Guzman; PHP General Mailing List Subject: Re: [PHP] Article: PHP vs ASP I'm wondering if

Re: [PHP] Article: PHP vs ASP

2003-07-31 Thread John Manko
because it would be funny Jay Blanchard wrote: [snip] I'm wondering if there is an IIS extention for allow PHP in ASP. Wouldn't that be a kick in the ass. (I'm not talking about PHP for IIS, either) [/snip] But why go to the extra-effort? Just to save yourself the installation of PHP o

Re: [PHP] Where am i screwing up?

2003-07-31 Thread John Manko
Can someone correct me on this if i'm wrong... try (meaning, I think that $vars as $keys will put the value into $key, not the key itself): foreach ($vars as $key=>$value) // clear all previous sessions { if(isset($_SESSION['$key'])) { unset($_SESSION['$key']); } } Ryan A wrote: Hi, I

Re: [PHP] Where am i screwing up?

2003-07-31 Thread John Manko
oh, don't forget, '$key' will not get evaluated. "$key" will. John Manko wrote: Can someone correct me on this if i'm wrong... try (meaning, I think that $vars as $keys will put the value into $key, not the key itself): foreach ($vars as $key=>$valu

Re: [PHP] Re: php path statement appears on my webpages

2003-07-31 Thread John Manko
Have you set Apache httpd.conf? Gronquist, Jim M wrote: Ivo, Thanks, but if I leave off this line then I get an error when I try and view my pages. Jim -Original Message- From: Ivo Fokkema [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 9:51 AM To: [EMAIL PROTECTED] Subject: [P

Re: [PHP] session header issue

2003-07-31 Thread John Manko
I usually included a global variable prefixed to the page, like such.. header("Location: $ssl_server/mypage.php"); or header("Location: $server/mypage.php"); and a myserversetting.php setting these. Now, I can globally change the servers by editing one file. Chris Shiflett wrote: --- Sam Folk-Wi

Re: [PHP] Possible My Website was hacked... with PHP... please tellme what this is???

2003-07-31 Thread John Manko
trolling! ha binc2 wrote: Hi guys what does trolling mean? Never heard of it before. Angelo -Original Message- From: Joel Rees <[EMAIL PROTECTED]> To: "Joe Harman" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Date: Thu, 31 Jul 2003 16:10:24 +0900 Subject: Re: [PHP] Possible My Website was

Re: [PHP] Opinions on Micro$oft .NET

2003-07-31 Thread John Manko
"You have to be deviant if you're going to do anything new." - David Lee Nka wrote: On Thu, 31 Jul 2003 12:35:55 -0500, you wrote: I know this is a little off topic but I really need some help with this. The company I work for just got bought out by a larger company. The larger com

<    1   2   3   4   5   6   7   8   9   10   >