Re: [PHP] running slow on Win2k

2002-10-07 Thread @ Edwin
Peter, On Tuesday, October 8, 2002 12:40 AM Support @ Fourthrealm.com wrote: > Edwin, > I have no interest in getting into a Win2K/Linux debate. There are > strengths and reasons for using both systems. > Of course... Most of the time I code on my Windoze machine. (Besides, I us

Re: [PHP] MAIL taking 60 seconds to send... (too long)

2002-10-07 Thread @ Edwin
Hello, Perhaps, a DNS setting problem? - E On Tuesday, October 08, 2002 1:25 AM Negretti, John (CCI-San Diego) wrote: Hello All, I have a script which is using mail() to send an e-mail message. It seems to be working, yet taking as long as 60-65 seconds just to send the e-mail. The e-mail h

Re: [PHP] Includes

2002-10-07 Thread @ Edwin
Yes, you can use .htacess for that purpose though you don't need to password protect the folder. I'm sure if you check the archives you'll find a way to do it. Something like this: (Thanks to Justin) http://marc.theaimsgroup.com/?l=php-general&m=103266066416399&w=2 - E On Tuesday, October 8, 2

Re: [PHP] is there an alternative to this code?

2002-10-07 Thread @ Edwin
Yes, I agree, this is an html/css question... but you can try this. Instead of putting your tags inside the tags, why not put them outside the tags like this: I think this won't destroy the "alignment". Just an idea... - E On Tuesday, October 8, 2002 11:24 AM Subject: Re: [

Re: [PHP] is there an alternative to this code?

2002-10-07 Thread @ Edwin
Yes, I agree. Besides, Justin had a similar idea (with yours). But, I was trying to help with the "alignment" problem--might even be useful somewhere else... ;) - E On Tuesday, October 8, 2002 1:26 PM Thoenen, Peter Mr. EPS wrote: > What you want is: > [snip] > > What I dont' understand is why

[PHP] Re: PHP to Excel (csv)

2002-10-07 Thread @ Edwin
Perhaps, you can take them off then? I think you can use str_replace() to replace them with "". - E "Ivo Stoykov" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > I have following problem. > > Some data retreived from mysql db I need to send to the user

Re: [PHP] Sessions and Cookies

2002-10-08 Thread @ Edwin
No. http://www.php.net/manual/en/ref.session.php - E R. Z. wrote: > I've just read on MSDN that ASP sessions only work if the client has > cookies enabled, > > Is that true for PHP as well. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/

Re: [PHP] HTTP_USER_AGENT - list of possibilities

2002-10-08 Thread @ Edwin
I'm not aware of any but I'm sure you'll find this interesting: (if you haven't been there yet, at least) http://sourceforge.net/projects/phpsniff/ - E On Wednesday, October 09, 2002 9:20 AM Support @ Fourthrealm.com wrote: > Hey everyone... do you know where I can find a list of the common

[PHP] Re: =array within an html table=

2002-10-08 Thread @ Edwin
I think this is more of an HTML problem than a PHP... Put it inside $here (or $here whichever you need) and I'm sure the problem will go away. - E "Anthony Ritter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'd like to have the record data - $current - *w

Re: [PHP] Re: site path

2002-10-10 Thread @ Edwin
Just a thought... If you're going to write an XHTML compatible code, you wouldn't really have this problem --> >echo("Go home"); since you'll probably write something like this: echo 'Go home'; Of course, I didn't mean that you can't do that with HTML... Anyway, for the original questi

Re: [PHP] Re: site path

2002-10-10 Thread @ Edwin
still not give you the "trailing slash" problem. In other words, it's just a matter of how you write the code... ;) - E On Friday, October 11, 2002 1:06 AM Bogdan Stancescu wrote: > I'm not sure exactly what you're trying to point out - does XHTML > require double

Re: [PHP] Re: site path

2002-10-10 Thread @ Edwin
nstead of this > > echo "Go home"; > > IMHO, the second comes more natural to write, is easier to understand at > a glance, is less prone to errors and, well, it's shorter! > > Bogdan > > @ Edwin wrote: > > Not exactly. Single quotes are fine. I miss

Re: [PHP] Re: site path

2002-10-11 Thread @ Edwin
folder"; > > And since we got into this, there are some servers where you don't have > control over http config, so you shouldn't want to link to directories > at all - you'd want to specify the exact file to link to, as in > > echo "Go to some folder"; >

Re: [PHP] Object-relational mapping and PHP

2002-10-11 Thread @ Edwin
Hello, Have you tried http://www.phpclasses.org/ ? -E On Friday, October 11, 2002 11:31 PM Subject: [PHP] Object-relational mapping and PHP Juhan Kundla wrote: [snip] > > I would rather not reinvent the wheel here, so it would be nice, if > anybody could share her/his experience or suggest so

Re: [PHP] Convert comma-delimited file or form into arrays

2002-10-12 Thread @ Edwin
Hello, You can use the fgetcsv() function (for uploaded text files). http://www.php.net/manual/en/function.fgetcsv.php - E On Saturday, October 12, 2002 2:37 AM YC Nyon wrote: > I want to convert input data below (either from a webpage form or > a uploadedtext file) to a set of arrays. The

Re: [PHP] fgetcsv or other

2002-10-12 Thread @ Edwin
Hello, Just remember that fgetcsv() returns an array. So the first column is $thearray[0]; You can just pass it to the function that generates the image BEFORE you go to the next line of your csv file. Or, am I missing something? - E On Saturday, October 12, 2002 2:05 AM Bryan Koschmann wr

[PHP] Re: $html_code .= include ("filetoinclude.txt");

2002-10-13 Thread @ Edwin
Hello, The function might be available in the next release so you don't have to define your own. http://www.php.net/manual/en/function.file-get-contents.php But until then... - E "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > function fil

Re: [PHP] Simple HTML-Form Question

2002-10-13 Thread @ Edwin
Hello, Just for the sake of the argument... On Monday, October 14, 2002 10:44 AM Chip Wiegand wrote: > Sascha Cunz wrote this stuff back on Mon, 14 Oct 2002 01:13:53 +0200: > > > This beautifies it (even makes it a bit more secure), but one doesn't > > need it really; should have worked without

Re: [PHP] Launching a Browser Win with PHP - Is it possible?

2002-10-14 Thread @ Edwin
Hello, Just some ideas... First, I don't think you can "pop open" a small browser window with PHP--use Javascript. With Javascript you can define the size of the window AND you can make it "disappear" (after the main browser window refreshes) by using onBlur() then window.close() command. Of co

Re: [PHP] Inserting special characters into text fields

2002-10-14 Thread @ Edwin
Hello, On Monday, October 14, 2002 10:44 PM Maxim Maletsky wrote: [snip] > "ALT" key? I don't think so. > > The only way to type other language's characters is by switch the > keyboard layout (ALT-SHIFT, usually) so your keyboard inputs the > ASCII mapped to your keys. That's the only way. And,

Re: [PHP] WYSIWYG HTML Editor

2002-10-15 Thread @ Edwin
Well, maybe not something written in PHP. Java perhaps... - E On Wednesday, October 16, 2002 1:46 AM Chris Boget wrote: > I've gone to PHPBuilder and PHPClasses and unless I > totally missed something like it (a distinct possiblity :p), > does anyone know of (or have) a WYSIWYG HTML > editor t

Re: [PHP] PHP installation with MySQL Support

2002-10-25 Thread @ Edwin
Hello, "MET" <[EMAIL PROTECTED]> wrote: > Where should you point the command --with-mysql to. The binary, header > files, what? Currently I have MySQL installed at /usr/lib/mysql/. And > this is a RedHat Linux 8.0. > > Suggestions? Try --with-mysql=/usr - E ...[snip]... -- PHP General Ma

Re: [PHP] extract($_POST)

2002-10-25 Thread @ Edwin
Hello, "Monty" <[EMAIL PROTECTED]> wrote: > Okay, I really want to understand how to make $_GET and $_POST more secure > because it means changing a fundamental way my scripts are now working. > > So, it sounds like what I need to do in order to make form data more secure > is something like this

Re: [PHP] Creating Directories

2002-10-25 Thread @ Edwin
Hello, Please check the manual first before posting questions. ;) It seems like you're dealing with files/directories so you may want to read up a bit here: http://www.php.net/manual/en/ref.filesystem.php "Stephen" <[EMAIL PROTECTED]> wrote: > Thanks again but one more question. How would yo

Re: [PHP] Understanding the =& operator...

2002-10-25 Thread @ Edwin
Hello, "Chris Boget" <[EMAIL PROTECTED]> wrote: > Ok, let me see if I have this right: > > When you do: > > $var = new myClass(); > > $var instantiates and holds a copy of myClass. But when > you do: > > $var =& new myClass(); > > $var instantiates and references that instantiation? > >

Re: [PHP] PHP on WinXP with Apache

2002-10-25 Thread @ Edwin
Hello, "Erich Kolb" <[EMAIL PROTECTED]> wrote: > I am trying to install php-4.2.3-Win32 on MS WinXP using > apache_2.0.43-win32-x86-no_ssl. > > I have followed instructions included in the php package only I have > changed: > LoadModule php4_module "C:/php/sapi/php4apache.dll" > to > LoadModule ph

Re: [PHP] mkdir and directory permissions

2002-10-25 Thread @ Edwin
Hello, Just a few comments... And no, I'm not Jason :) "Monty" <[EMAIL PROTECTED]> wrote: > Hi Jason, I have a follow-up question about mkdir. If the files created by > mkdir are owned by 'nobody', does that create a security risk for those > files? No, not really. > If so, how does one get aro

Re: [PHP] extract($_POST)

2002-10-25 Thread @ Edwin
Hello, "Rick Emery" <[EMAIL PROTECTED]> wrote: > Lets say you have a statement like: > $query = "SELECT * FROM mytable WHERE firstname=$firstname"; > > And if $firstname is set to: > "xyz"; DELETE FROM mytable > > Then this is executed as: SELECT* FROM mytable WHERE firstname="xyz";DELETE FROM

Re: [PHP] Problem with set_time_limit() and uploading large files

2002-10-25 Thread @ Edwin
Hello, Just a few ideas... "derek fong" <[EMAIL PROTECTED]> wrote: > Hi, > > I am having a major problem getting set_time_limit() to work at all > with PHP 4.2.3 running as a CGI program under IIS for Windows 2000 (I > originally posted this message to php-win, but am hoping someone here > can s

Re: [PHP] extract($_POST)

2002-10-25 Thread @ Edwin
True. That's why I said: > > then you can check whether the value > > is_numeric() or something. I think this narrows down what you're checking. So, if you send me "any value" my script would just reject it. Besides, this is just a hint--there are many ways to validate. Of course, you know that..

Re: [PHP] HTML file to a $var: Pls Help

2002-10-25 Thread @ Edwin
Hello, "Shane" <[EMAIL PROTECTED]> wrote: > Any way to plug an entire HTML file into a variable? > > I looked into file_get_contents() but that was CVS format only. > True. But you can make your own. Something like this: ---> function file_get_contents($filename) { $fp = @fopen($filename,

Re: [PHP] embedding pdf files in website

2002-10-25 Thread @ Edwin
Hello, Just wondering... "danny" <[EMAIL PROTECTED] wrote: > I want my visitor to use the navigation system of my website. > (and don't want them to leave my website while reading the > pdf documents). Why do you have to turn your text/documents into pdf's in the first place? > I Don't like my

Re: [PHP] extract($_POST)

2002-10-26 Thread @ Edwin
Or, You can use this: http://www.php.net/manual/en/function.is-numeric.php - E "John W. Holmes" <[EMAIL PROTECTED]> wrote: > > > Then make sure $id is a number. You can use is_int, or (int), or > > whatever. > > > > It appears that any numeric values passed via the URL (..?param=10001) > ar

Re: [PHP] Flash / PHP Question

2002-10-26 Thread @ Edwin
Hello, I'm afraid that your question is more of a "How can I use Flash MX?" question. Maybe you should get a good book about Flash MX or just google for some more other tutorials... - E "Stephen" <[EMAIL PROTECTED]> wrote: > I'm tyring to follow a DevArticle tutorial on creating a online users

Re: [PHP] printing an array

2002-10-24 Thread @ Edwin
Hello, "Chris Grigor" <[EMAIL PROTECTED]> wrote: > Hey there all > > > Im sure that someone out there can answer this question.. > > I have a problem, how can I print each element in an array so that is > returned into a table? > First, make sure that you have your 's in the proper places. Then

Re: [PHP] Trouble with switch statements

2002-10-27 Thread @ Edwin
Hello, "eNetwizard Developers Team" <[EMAIL PROTECTED]> wrote: > > Use $_GET["select"] for the switch statement > > Some of the people on this list would even recommend you make another > variable first, such as $userselect = $_GET["select"] and use > $userselect as your switch statement, thoug

Re: [PHP] Form element names starting with the "+" character????

2002-10-27 Thread @ Edwin
Hello, Are you sure you want to do something like this? This seems like a good candidate for an "SQL injection"... (Well, I'm not really sure how you're doing it so I could be wrong.) Just wondering... - E "Dan Tappin" <[EMAIL PROTECTED]> wrote: > I have a simple method of creating easy form

Re: [PHP] Mail Delivery errors when posting here ???

2002-10-27 Thread @ Edwin
I also receive this kind of message. What's happening? - E "Monty" <[EMAIL PROTECTED]> wrote: > For some reason I get the following e-mail every time I make a post here > recently and not sure why: > > --- > > This message was created automatically by mail delivery software (Exim). > > A mess

Re: [PHP] Anyone used Luke Welling & Laura Thompsons shopping cart?

2002-10-27 Thread @ Edwin
Hello, What is your PHP version? Perhaps, the problem has something to do with "register_globals"? What exactly is the problem you're having? Any error messages? - E PS. The book is really great--it's part of my library :) "Steve Jackson" <[EMAIL PROTECTED]> wrote: > I am developing a shoppi

Re: [PHP] java integration

2002-10-27 Thread @ Edwin
Hello, "A3-Mail Proxy Handler" <[EMAIL PROTECTED]> wrote: > Hi, > > I have an ssl class which does not work when called within php but > works from console. I reported this as a bug to php.net. (Algorithm > [Sun bla bla] not found) > > But while the bug is examined, I have to use this class from

Re: [PHP] Here's a weird one!

2002-10-27 Thread @ Edwin
Hello, I think the problem lies here: > $qty = $formqty; > if($cart[$new]) > //$cart[$new]++; >$cart[$new] = $cart[$new] + $qty; > else > $cart[$new] = 1; > $total_price = calculate_price($cart); > $items = calculate_items($cart); > } It seems like you should b

Re: [PHP] Form element names starting with the "+" character????

2002-10-27 Thread @ Edwin
Hello Dan, I'm sure you can google for it. Try: sql injection as your keyword. You'll find many interesting articles about it. Like this: (found at the end of "results" page) http://www.webmasterbase.com/article/794 HTH, - E "Dan Tappin" <[EMAIL

Re: [PHP] "Please Wait"

2002-10-27 Thread @ Edwin
Hello, "James Taylor" <[EMAIL PROTECTED]> wrote: > Just curious if anyone out there knows how to do a "Please wait" type screen > while the script is running in the background.. Like say PHP is doing a > large select from a database, while the user waits for the script I'd like a > graphic or som

Re: [PHP] List archive

2002-10-28 Thread @ Edwin
Hello, Looking for this? http://marc.theaimsgroup.com/?l=php-general - E "Chris Boget" <[EMAIL PROTECTED]> wrote: > Besides Google, is there any other site that archives > this list? I checked PHP Builder but I can't seem to > find a thread (or message) dated after April... > ...[snip]...

Re: [PHP] IP addresses

2002-10-28 Thread @ Edwin
$_SERVER['REMOTE_ADDR'] Check more info here: http://www.php.net/manual/en/reserved.variables.php#reserved.variables.serve r You cannot (implicitly) trust it though... IP address is NOT always = THE user - E "Bret L Conard" <[EMAIL PROTECTED]> wrote: > Hi all, > I've been away for a while b

Re: Re[2]: [PHP] Displaying one of three functions.

2002-10-28 Thread @ Edwin
Hello, "Martin Hudec" <[EMAIL PROTECTED]> wrote: > or (from my point of view is this better) > > if {$country!="finland") : >display_shipping(calculate_nonfinland_cost($country)); > elsif ($country=="finland" && $express=="no") : >display_shipping(calculate_shipping_cost($weight)); > else

Re: [PHP] passing varibles into PHP script

2002-10-28 Thread @ Edwin
Hello, "wh1sp3r" <[EMAIL PROTECTED]> wrote: > I'm trying to create a script that handles/logs banner click-throughs > from an HTML page passing variable information through the URL. > > example URL: > http://somehost.com/bannerhandler.php?value=1 > > The test script I wrote, however, is not re

Re: Re[4]: [PHP] Displaying one of three functions.

2002-10-28 Thread @ Edwin
Hello Martin, "Martin Hudec" <[EMAIL PROTECTED]> wrote: > Hello @ Edwin, > > of course you can but let me say something > > if .. else is used when u > need to execute one thing in case that requirement in if is met and > second thing if it is not met..

Re: [PHP] Passing the variables ...

2002-10-28 Thread @ Edwin
Hello, "Mukta Telang" <[EMAIL PROTECTED]> wrote: [snip] > I tried using echo($_GET['$textbox']) instead of printf statement in > hello.php.. [/snip] Try $_POST['textbox'] instead. (You were using "method=post".) - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Regex question...

2002-10-28 Thread @ Edwin
Hello, "Leif K-Brooks" <[EMAIL PROTECTED]> wrote: [snip] > But that doesn't work at all. Any ideas on how to do this? [/snip] Would't it be easier (and faster) to use http://www.php.net/manual/en/function.str-replace.php ? - E -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] Select values in an array???

2002-10-29 Thread @ Edwin
Hello, "Rick Emery" <[EMAIL PROTECTED]> wrote: [snip] > I've used it without "multiple" many times [/snip] Of course. But, John was correct--you can only choose one. UNLESS you use "multiple", you won't be able to select multiple values ;) What seems to be the problem here... html? :) - E --

Re: [PHP] Select values in an array???

2002-10-29 Thread @ Edwin
Hello, "Rick Emery" <[EMAIL PROTECTED]> wrote: > I HAVE selected multiple items without including MULTIPLE. > > The following link displays a form in which there are multiple SELECTS with the same name. > Upon processing the form on submit, I do retrieve all selected values, not just the last. > T

Re: [PHP] Select values in an array???

2002-10-29 Thread @ Edwin
fish 'n chips on me :) Good job there--volunteers are great! - E "Rick Emery" <[EMAIL PROTECTED]> wrote: > Edwin, you are CORRECT. I had a brain-fart. > > I stand before you all, humbled > > Round of beer for everyone in the house > > cheers &

Re: [PHP] searching an array

2002-10-29 Thread @ Edwin
Hello, Looking for this? http://www.php.net/manual/en/function.max.php - E "Davíð Örn Jóhannsson" <[EMAIL PROTECTED]> wrote: > I have a array called $arr[], it holds integer values, I don't know how > many indexes it holds and I need to be able to find out what the hash > ($arr[index]) > ho

Re: [PHP] array question

2002-10-30 Thread @ Edwin
Hello, "John Meyer" <[EMAIL PROTECTED]> wrote: > Either way, I'm not getting the interests. > ...[snip]... > > When retrieving an array from $_POST, which is the right way: > > $arrInterests = $_POST["interests[]"]; > > or > $arrInterests = $_POST["interests"]; > Try this instead: $arrI

Re: [PHP] Tricky sorting problem

2002-10-30 Thread @ Edwin
...and the 2 should be 3 :) - E "Marek Kilimajer" <[EMAIL PROTECTED]> wrote: > the -5 should be -7 > > René Fournier wrote: > > > (Well, at least it's tricky for me... :-) > > > > I need to sort an array based on three numbers that are situated in > > the middle of each array element. For exampl

Re: [PHP] Mutiple header statements?

2002-10-30 Thread @ Edwin
Hello, <[EMAIL PROTECTED]> wrote: > > On Wed, 30 Oct 2002, Marek Kilimajer wrote: > > > You have an empty line there, get rid of the > > ?> > > > > > pair > > That did it!! I didn't know a blank line inside php tags would be > interpeted as output. > ...because it was *outside*... :) -

Re: [PHP] Dazed and Confused

2002-10-30 Thread @ Edwin
Hello, "PHP List" <[EMAIL PROTECTED]> wrote: > For some reason my brain is not operating within normal parameters > this week. > > $myarray["test"] = "sd"; > echo $myarray[0]; > > Why will nothing echo? Do I somehow have to initialize indexing on > the array $myarray? > php says that $myarray

Re: [PHP] New Server advice

2002-11-01 Thread @ Edwin
Hello, (B (B"David Russell" <[EMAIL PROTECTED]> wrote: (B (B> Hi all, (B> (B> I am setting up a new production server. Assuming that I do not need (B> register globals, what does everyone suggest for setting it up: (B> (B> Linux machine (B> Apache (B> PHP 4.2.3 (B> (B> My real ques

Re: [PHP] client-side zip of POST or GET data, auto unzip on server.

2002-11-01 Thread @ Edwin
Hello, (B (B"Petre Agenbag" <[EMAIL PROTECTED]> wrote: (B> Hi (B> I'm wondering if something like this will be possible. (B> (B> I am correct in thinking that POST and GET data are sent as plain text? (B (BNot always. (POST -> SSL) (B (B> And, that being plain text, they should probably b

Re: [PHP] php development environment

2002-11-01 Thread @ Edwin
Hello, (B (B"Simon Taylor" <[EMAIL PROTECTED]> wrote: (B> Hi All, (B> Does anyone know if there is a good php development environment around, (Byou (B (BZend Studio ? (Bhttp://www.zend.com/store/products/zend-studio.php (B (B- E (B (B...[snip]... (B (B-- (BPHP General Mailing List (

Re: [PHP] Who can tell me where I can get the cracked Zend Encoder3.0 ?

2002-11-01 Thread @ Edwin
Asking for something illegal is *wrong*. But, there's always a better/proper way of dealing with this kind of person/situation. Let's get busy coding--jokes and laughs (and ...whatever) can be found somewhere else... - E -- "Do not answer anyone

Re: [PHP] Who can tell me where I can get the cracked Zend Encoder3.0 ?

2002-11-01 Thread @ Edwin
<[EMAIL PROTECTED]> wrote: > > > Asking for something illegal is *wrong*. > > But just stealing it without asking is OK? > Tell me. if (that was a joke){ I need to rephrase myself... > Let's get busy coding--jokes and laughs (and ...whatever) > can be found somewhere else... should

Re: [PHP] String Expression for aplpahnumeric password

2002-11-01 Thread @ Edwin
Hello, (B (B"Adam" <[EMAIL PROTECTED]> wrote in message (B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... (B> I need a string expression to verify an alpha numeric password. This is (Bwhat (B> i've come up with , however it does not work: (B> (B> elseif ( (!ereg ("^[a-zA-Z]+$", $password)) ||

Re: [PHP] phpinfo

2002-11-01 Thread @ Edwin
Hello, (B (B"David Russell" <[EMAIL PROTECTED]> wrote: (B> Hi all, (B> (B> I upgraded php and apache on my development machine (Windows XP). I am (B> now running apache 1.3.27 and php 4.2.3. (B> (B> When I run a phpinfo(), I get my full list of stuff as expected, except (B> that the apac

Re: [PHP] search

2002-11-01 Thread @ Edwin
Hello, "samug" <[EMAIL PROTECTED]> wrote in message news:20021101163718.65263.qmail@;pb1.pair.com... > There's no php.sql, so I'll put it here. > There's php.db, however... :) - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Login Sessions

2002-11-01 Thread @ Edwin
Hello, "Jay Fitzgerald" <[EMAIL PROTECTED]> wrote: [snip] > === > session_start(); > > if (isset("valid_id")) > { > echo "$_SESSION[valid_id]"; > } > else [/snip] Perhaps, it's because you need to ask if (isset($_SESSION['valid_id'])) ? - E -- PHP General Mailing

Re: [PHP] Security - Maybe a silly question

2002-11-01 Thread @ Edwin
Hello, "SED" <[EMAIL PROTECTED]> wrote: > When I use sessions in PHP or just plain login/password in $_POST, can > 3rd parties or hackers monitor the transmission, between me and user, > and somehow decode the transmission and use the variables to login other > time or overtake the current session

Re: [PHP] Security - Maybe a silly question

2002-11-01 Thread @ Edwin
Hello SED, "SED" <[EMAIL PROTECTED]> wrote: > Thank you for the reply, what do you mean by "sniffing", do you mean > everbody can monitor our browsing? I'm not really sure how I can answer your question but let me just put it this way. Everybody CAN monitor our browsing but: 1. That doesn't mean

Re: [PHP] Security - Maybe a silly question

2002-11-01 Thread @ Edwin
"SED" <[EMAIL PROTECTED]> wrote: > I'm not very familiar to this stuff, but if I wanna use https:// do > don't I need a key from Verisign (or similar) to make it work? Yes and no. If you're going to use it on a production server, yes. If it's on a test server but you still want to be somehow "pro

Re: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread @ Edwin
Hello, Could it be that because you have a blank line between > require_once "classes/HtmlTemplate.class"; > > if ($HTTP_SESSION_VARS[user_id]){ ? (Or even some blank lines or spaces before "require_once".) Just guessing... - E -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Global Variables Off

2002-11-03 Thread @ Edwin
Hello, "Paul" <[EMAIL PROTECTED]> wrote: > OK I guess I am closer = the variable is being passed as I tested but I > guess is failing on the test: > > if (isset($_GET["error_message"])) > What do you mean by "failing on the test"? What are you trying to accomplish, btw? How are you testing it? Al

Re: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread @ Edwin
Perhaps? But you don't really need the parenthesis ;) - E "Justin French" <[EMAIL PROTECTED]> wrote: > on 04/11/02 4:15 PM, @ Edwin ([EMAIL PROTECTED]) wrote: > > > Hello, > > > > Could it be that because you have a blank line between >

Re: [PHP] string to array

2002-11-08 Thread @ Edwin
Hello, "Maxim Maletsky" <[EMAIL PROTECTED]> wrote: [snip] > As of actually converting it you could do that very loop and have an: > $atr_arr[] = $str[$i] in it, or, even more elegantly by using split() > function or "...chunk.." something function(), don't remember right now. [/snip] Perhaps,

Re: [PHP] How to echo the end marker '?>'

2002-11-08 Thread @ Edwin
Hello, (B (B"Petre Agenbag" <[EMAIL PROTECTED]> wrote: (B> I'm just curious. (B (BMe, too. :) (B (B> Why do you want to echo within an echo? (B> echo ''; (B> will do the trick won't it? (B (BTrue. (B (B> Unless I miss the point, I cannot see why you need to open new php tags (B> for t

Re: [PHP] Convince teh boss

2002-11-08 Thread @ Edwin
Very interesting! Thanks! I'm sure the list will be very useful. ;) BTW, perhaps you can add apple.com to your list. (Apache, Linux--should be BSD...) - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] calculate bytes in string

2002-11-09 Thread @ Edwin
Or, "Jason Wong" <[EMAIL PROTECTED]> wrote: > On Saturday 09 November 2002 14:22, Ian Newlands wrote: > > Does anyone know of a function, or a method to calculate how many bytes are > > in a string? Similar to the filesize file system function. > > > > Any help would be appreciated. > > Assuming

Re: [PHP] Need MENTOR for Fantasy football project

2002-11-09 Thread @ Edwin
"Karl James" <[EMAIL PROTECTED]> wrote: > I have the php bible 4 book but it > Doesn’t tell you how to do things all the way Well, I don't think there's a book that would tell you how to do things "all the way". Besides, if there is, programming wouldn't be fun anymore ;) Start from small things

Re: [PHP] Securing PHP Code with GET | POST | SESSIONS or other things

2002-11-09 Thread @ Edwin
And, you can add to this > Never trust data from the client...always filter it(I use an lib to do that)! > Make sure register_globals is off or code accordingly. Make sure that you're using SSL (https). Also, (maybe not directly related though...) if possible, separate your web server from your

Re: [PHP] Help with form

2002-11-09 Thread @ Edwin
Hello, "Karl James" <[EMAIL PROTECTED]> wrote: > http://www.ultimatefootballleague.com/Create_Account.htm > > Im Trying to create this form so that this will give you access to login > Team action page > Where you can do the add/drops Trades and submit starters.. I suggest you try something simp

[PHP] Re: MySQL and PHP math problem...

2002-11-09 Thread @ Edwin
Hello, (B (B"Peter" <[EMAIL PROTECTED]> wrote in message (B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... (B (B...[snip]... (B (B> the result of echo, $tmp is displayed as '0.0002'. What's wrong here? (BThe (B> problem only occurs when the value is greater than a 1,000? Could the ',' (B>

Re: [PHP] How can I start up a new and recompiled version of source PHP???

2002-11-09 Thread @ Edwin
By restarting your web server? - E <[EMAIL PROTECTED]> wrote: [snip] > How can I start up this new and recompiled version of PHP??? [/snip] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Installation Kit

2002-11-09 Thread @ Edwin
"Stephen" <[EMAIL PROTECTED]> wrote: > I've always had trouble doing that. Is there like a tutorial or anything on > how to setup PHP and MySQL? Simple. Google for "setup PHP and MySQL". - E ...[snip]... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] re: W3C and PHP

2002-11-09 Thread @ Edwin
Not really. Try it ;) Khalid is correct. - E "Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > At 07:45 09.11.2002, Khalid El-Kary said: > [snip] > >hi, > >just use & instead > > > [snip] > > Sorry, no. This woul

Re: [PHP] W3C and PHP

2002-11-09 Thread @ Edwin
Hello, "Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: [snip] > If this is really what the W3C validator tells you you should file a bug > report, IMHO. Passing GET variables should be valid HTML ;-) [/snip] True. And & IS a valid html. In fact, changing & to & is the only way I could pass th

Re: [PHP] How can I start up a new and recompiled version of source PHP???

2002-11-09 Thread @ Edwin
Well, *I think* if you've overwritten the previous files, then you'll be able to use the new versions. Try phpinfo() or php -v (or something) and perhaps you'll see if indeed the new version is running. - E <[EMAIL PROTECTED]> wrote: > Hello Edwin, > Thank yo

Re: [PHP] Setup-dependent quotes problem

2002-11-09 Thread @ Edwin
> > Also the phpMyAdmin gives me errors when I use the ' inside a field in a (BGUI (B> > select. (B (BAnd since you're using 4.2.3, make sure that you've read this as well (if (Byou haven't yet): (B (B http://bugs.php.net/bug.php?id=19404 (B (B- E (B (B...still using 4.2.2... (B (B--

Re: [PHP] Unique Identifier String

2002-11-10 Thread @ Edwin
Hello, "Sebastian A." <[EMAIL PROTECTED]> wrote: > I am currently working on a mySQL site administration system and I need help > on figuring out how I can create a 24 digit letter/number unique identifier > string. I know that I can easily get a random number using a PHP function (I > can rememb

Re: [PHP] Unique Identifier String

2002-11-10 Thread @ Edwin
And btw, you might want to check "User Contributed Notes" dated 04-Nov-2002 @ http://www.php.net/manual/en/function.rand.php Perhaps you can just add some if...else and you can have the 12-random-digit-12-random-letter-string that you're looking for. HTH, - E -- PHP General Mailing List (ht

Re: [PHP] MsWord html

2002-11-10 Thread @ Edwin
Hello, "Steel" <[EMAIL PROTECTED]> wrote: > Hi php-windows, Wrong list :) > Does anybody knows, what regexp can help me remove almost all > M$ Word2000 HTML tags and styles? Perhaps, you can try this class instead: http://phpclasses.optip.com/browse.html/package/277.html ('Haven't use it t

Re: [PHP] how to insert data in mysql

2002-11-10 Thread @ Edwin
Hello, "Karl James" <[EMAIL PROTECTED]> wrote: > Hello > > I was wondering if anyone had a good tutorial on how > To insert data from a form I created to the managers > Table in my database. > > Im using mysql and php for this? > I googled for "how to insert data in mysql" and I found th

Re: [PHP] tag

2002-11-10 Thread @ Edwin
"John Meyer" <[EMAIL PROTECTED]> wrote: > I'm doing some PHP work, and I've come across the tag. What, exactly, > is this? Could be a new tag--M$ Frontpage style :) Anyway, what does it do? It may not even be a "tag"--perhaps a secret code... - E -- PHP General Mailing List (http://www.ph

Re: [PHP] Unique Identifier String

2002-11-10 Thread @ Edwin
Hello, "John W. Holmes" <[EMAIL PROTECTED]> wrote: > What if you create an array of all the letters and numbers, then shuffle > that array, implode it into a string and grab the first 24 characters? > It should be fairly random, but not guaranteed unique. ...but just grabbing the first 24 chars

Re: [PHP] Submit hitting enter problem

2002-11-10 Thread @ Edwin
Hello, "Charles Wiltgen" <[EMAIL PROTECTED]> wrote: > David Rice wrote... > > > It's not "mandatory" to put quotes around attributes, but it would be wise to > > use this style="recommended" method of representing attributes, if for no > > reason="other" than to get used to a habit="good". > > It

Re: [PHP] How good is PHP to ASP?

2002-11-10 Thread @ Edwin
Yes, I think it's a good idea to emphasize "licensing" ($$). (B (BAlso, "portability" might be another thing to mention. (With little or no (Bchanges, you're apps could run on different platforms, etc.) (B (B- E (B (BPS (BDoes anybody have any tips on how to run IIS/ASP/MSSQL server on a Z

Re: [PHP] echo w/ here document

2002-11-11 Thread @ Edwin
Hello Marco, "Marco Tabini" <[EMAIL PROTECTED]> wrote: > You need to remove the semicolon from the beginning of your heredoc > expression. The semicolon tells PHP (incorrectly) that the instruction > terminates, while in fact it doesn't: I think... > $name="John Doe" you meant the semicolon a

Re: [PHP] User Contributed Notes at php.net?

2002-11-11 Thread @ Edwin
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > At 23:33 11.11.2002, Tracy Finifter Rotton said: > [snip] > >Does anyone know what happened to the User Contributed Notes on the PHP > >Manual? I went to go find one today, and they all appear to be gone!

Re: [PHP] Here Document on Mac OS X

2002-11-12 Thread @ Edwin
Hello, "Craig Buxton" <[EMAIL PROTECTED]> wrote: > I have been trying to include an echo statement incorporating a here > document on pages being served by my Mac OS X (v10.1.5) and Apache (v1.3) > > When I try to browse test.php, which contains... > > echo<< > hello...hello... > > ENDOFECH

Re: [PHP] what happen to comments in php documntation

2002-11-12 Thread @ Edwin
Hello, "Alawi albaity" <[EMAIL PROTECTED]> wrote: > I dont see any comments > where is this useful comments go ? ...you just missed these: http://marc.theaimsgroup.com/?l=php-general&m=103705820013067&w=2 http://marc.theaimsgroup.com/?l=php-general&m=103706935420920&w=2 - E -- PHP General M

[PHP] Re: How do i make an upload script?

2002-11-12 Thread @ Edwin
(B"Tweak2x" <[EMAIL PROTECTED]> wrote in message (B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... (B> How do i make an upload script? (B (B http://us.php.net/manual/en/features.file-upload.php (B (B- E (B (B (B-- (BPHP General Mailing List (http://www.php.net/) (BTo unsubscribe, visit:

<    1   2   3   4   5   6   >