Re: [PHP] Getting info from users comp?

2002-11-19 Thread @ Edwin
Hello, "John Yamokoski" <[EMAIL PROTECTED]> wrote: > I am new to PHP but wanted to know if its possible to do the following with > PHP. > > I want to grab the size of the users RAM and the speed of the users CPU. Is > this even possible with PHP since its a server side language?? > > And if its no

Re: [PHP] Looking for compiled Windows PHP installation with multistring fts support

2002-11-19 Thread @ Edwin
Hello, "Simon Dedeyne" <[EMAIL PROTECTED]> wrote: > > Hi, > > Does anybody know where to find a pre-compiled Windows (XP) version of > PHP that includes multistring functions? I checked phpdev on firegpages > and other sites that usually hold these installations but their versions > don't suppo

Re: [PHP] What is the best site for PHP news, articles, resources etc....

2002-11-19 Thread @ Edwin
Hello, "Phil Schwarzmann" <[EMAIL PROTECTED]> wrote: > Let's say you had one site and one site only to get the latest PHP/MySQL > news, articles, reviews, resources, tutorials, advanced stuff etc. > > What would it be?!? http://www.phpbuilder.com/ ? Give me another choice :) http://w

[PHP] Re: Misbehaved Script...

2002-11-19 Thread @ Edwin
Hello, (B (B"Kondwani Spike Mkandawire" <[EMAIL PROTECTED]> wrote in message (B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... (B> Hi folks: (B> (B> Have any of you guys encountered the following error: (B> (B> CGI Error (B> The specified CGI application misbehaved by not returning a complete

Re: [PHP] Strings and php.ini

2002-11-16 Thread @ Edwin
Hello, (B (B"Khalid El-Kary" <[EMAIL PROTECTED]> wrote: (B> hi, (B> i was asking if there should be difference in functionality of PH string (B> functions (not mb_) between the two following configurations: (B> (B> the company: PHP 4.2.1, Apache 1.3.20, linux (B> me: PHP 4.2.3, Apache 1.3.2

Re: [PHP] Opening a file to manipulate it

2002-11-16 Thread @ Edwin
Hello, "Troy May" <[EMAIL PROTECTED]> wrote: > Hello, > > Extreme newbie here (halfway through my first book :) ). I need to open a > file, read the whole file into a variable, manipulate it, and then echo it > to the screen. I'm doing it right from my book and it's not working. > Here's what I

Re: [PHP] Strings and php.ini

2002-11-16 Thread @ Edwin
n String functions? (B (BGenerally no, I don't think so. (B (B> encoding for example? (B (BIt's possible that they are different but you can check phpinfo(). (B (BAlso, if you're using multi-byte functions there's a possibility that your (Bthe company you're us

Re: [PHP] Strings and php.ini

2002-11-16 Thread @ Edwin
(B"Khalid El-Kary" <[EMAIL PROTECTED]> wrote: (B> hi, (B> infact i'm un (B> able to obtain a copy of my hosting company's php.ini (B (BThen, perhaps, try running phpinfo() and compare. (B (BI think it might even have something to do with "register_globals". (B (B- E (B (B (B-- (BPH

Re: [PHP] running php as cgi script

2002-11-15 Thread @ Edwin
Hello Marco, (B (B"Marco Tabini" <[EMAIL PROTECTED]> wrote: (B (B> If you look at the error he's getting, I think there's something a bit (B> more critical than the PHP tags... (B (BYou're right. Most probably there's something more... (B (B> although you're right and I missed (B> that :-

Re: [PHP] Strings and php.ini

2002-11-15 Thread @ Edwin
Hello, (B (B"Khalid El-Kary" <[EMAIL PROTECTED]>wrote: (B> hi, (B> (B> are there any php.ini directives that control the PHP string functions? (B (BYou mean something like this? (Under "; Safe Mode") (B (B-> (B; This directive allows you to disable certain functions for security (Bre

Re: [PHP] running php as cgi script

2002-11-15 Thread @ Edwin
... and yes, you forgot the semi-colon :) Also, are you trying to do something like these? http://www.phpbeginner.com/columns/ray/cli - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] running php as cgi script

2002-11-15 Thread @ Edwin
"Scott" <[EMAIL PROTECTED]> wrote: > I'm trying to run a simple test php script as a cgi script on my ISP's server > and haven't been able to get it to work, although according them it is > possible. > > I have an example from a book which gives the following steps: > > 1. Put the script in the

Re: [PHP] running php as cgi script

2002-11-15 Thread @ Edwin
Hello, "Scott" <[EMAIL PROTECTED]> wrote: > > Forgot to include the error I'm getting is: > > CGIwrap Error: System Error: execv() failed > > Error: No such file or directory (2) > > Although the file and path are correct. > Are you sure it's correct? Most cgi-bin folders are located outside you

Re: [PHP] GD 1.5

2002-11-15 Thread @ Edwin
"Jason Wong" <[EMAIL PROTECTED]> wrote: > On Saturday 16 November 2002 03:25, [EMAIL PROTECTED] wrote: > > And besides, > > > > I thought, those issues shouldn't apply anyway to versions 1.5 and below. > > (Of course, the original author thinks otherwise so I'm not going to argue > > that...) > >

Re: [PHP] Re: GD 1.5

2002-11-15 Thread @ Edwin
Hello, IANAL, so... "Mako Shark" <[EMAIL PROTECTED]> wrote: > < he/she should not be using GIF at all!>> > > This is leading me to believe that I can't use GIFs > because of these issues. Is this true? I know now that > Unisys (Unisys?) made a fuss about some compression or > whatever, but someo

Re: [PHP] GD 1.5

2002-11-15 Thread @ Edwin
And besides, I thought, those issues shouldn't apply anyway to versions 1.5 and below. (Of course, the original author thinks otherwise so I'm not going to argue that...) - E > > "Jason Wong" <[EMAIL PROTECTED]> wrote: > > > > If the OP was concerned about such issues then he/she should not be u

Re: [PHP] GD 1.5

2002-11-15 Thread @ Edwin
"Jason Wong" <[EMAIL PROTECTED]> wrote: > If the OP was concerned about such issues then he/she should not be using GIF > at all! True. You've got a point there. Anyway, that was just my wild guess... - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] Escaping characters won't work

2002-11-15 Thread @ Edwin
Hello, "Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > At 23:53 14.11.2002, Lars Espelid said: > [snip] > >Try to execute this code: > >if (ereg[^0-9], $num)) > >print "That's not a number!"; > > > >result: parsing error, expects ')' on the if-line.

Re: [PHP] GD 1.5

2002-11-15 Thread @ Edwin
Hello, "Jason Wong" <[EMAIL PROTECTED]> wrote: > On Saturday 16 November 2002 00:54, [EMAIL PROTECTED] wrote: > > Hello, > > > > "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote: > > > Look around a bit. All versions of GD can be found with gif support. > > > > ...but here > > > > http://www.boutell

Re: Fw: [PHP] #color problems

2002-11-15 Thread @ Edwin
Hello, "Adam" <[EMAIL PROTECTED]> wrote: > OK, color code is not present in HTML output. Very strange! What do you exactly mean by "color code is not present in HTML output"? ...[snip]... Also, > > > > Anyway, I tried your suggestion but no joy... color does not show, as > > > > if i had writ

Re: [PHP] GD 1.5

2002-11-15 Thread @ Edwin
Hello, "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote: > Look around a bit. All versions of GD can be found with gif support. > ...but here http://www.boutell.com/gd/ it says: "GD does not create GIF images" Or am I missing something? :) - E -- PHP General Mailing List (http://www.php.ne

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread @ Edwin
And if you want your pages to be valid xhtml, make sure that you have quotes: Also, be sure to use "&" instead of just "&". - E "Adam Williams" <[EMAIL PROTECTED]> wrote: > Change the space in job enquiry to a + > > Adam > > On 14 Nov 2002, BigDog wrote: > > > Does this not work... > > > >

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread @ Edwin
And... --- CJ <[EMAIL PROTECTED]> wrote: ...[snip]... > > Also is this a big security risk as I will be > > echoing the 2nd variable as the contents of a form field. > > Would it be possible for someone to type in > > the URL with HTML/php in it that would make a mess > > of everything? Well, i

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
Hello, "Justin French" <[EMAIL PROTECTED]> wrote: > It still seems to me that there must be a fundamental problem with the > application design if such great lengths / work-arounds / patch jobs need to > be applied. > > But that's probably another discussion altogether :) Well, I agree. Besides

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
(B (B"bahwi" <[EMAIL PROTECTED]> wrote: (B (B> Because you can only do that with JavaScript, and that still assures (B> nothing. You can always just download the source of an HTML page with no (B> problems. In UNIX with libwww installed you just type GET (B> http://www.microsoft.com/ and it

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
(BMessage-ID: <[EMAIL PROTECTED]> (BReferences: <[EMAIL PROTECTED]> (B (B"Joseph Szobody" <[EMAIL PROTECTED]> wrote: (B>Actually, it still won't work under Windows. (B> Even on a pop-up window, you can right click, (B> view properties, copy the page address, open (B> a new browser window,

Re: [PHP] Works in html, not when echoed in PHP

2002-11-13 Thread @ Edwin
"Aaron Merrick" <[EMAIL PROTECTED]> wrote: > You are right, there is a reason I am echoing it in php, it is one result of > an if statement. Well, I thought so :) ...[snip]... > I tried echoing with single quotes - no change. So I compared the view > source of the double quoted php generated p

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
"Brent Baisley" <[EMAIL PROTECTED]> wrote: > While this works pretty well under Windows, it does not work on the Mac. > A new window will be generated with the requested properties except for > the menus thing. The Mac UI always has the menu at the top of the screen > and are not associated with

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
Hello, "Joseph Szobody" <[EMAIL PROTECTED]> wrote: > Folks, I have a popup window that I would like to put a mild security > constraint on. I don't want others to be able to directly type in the address > of this page, modify url parameters, etc. ...[snip]... Just wondering... Why, can't you ju

Re: [PHP] redirect without using header

2002-11-13 Thread @ Edwin
Hello, "pig pig" <[EMAIL PROTECTED]> wrote: > function Order_action($sAction) > { > global $db; > global $sForm; > global $sOrderErr; > > $sParams = ""; > $sActionFileName = "ShoppingCart.php?"; > > do some error checking > ...[snip]... I'm not sure but this could be because of some

Re: [PHP] PHP and MySQL sorting using COUNT

2002-11-13 Thread @ Edwin
Hello, <[EMAIL PROTECTED]> wrote: > > I'm sorting records using COUNT with the following mysql command > > $result = mysql_query ("SELECT company_name, agent_name, count(*) FROM > $cur_listings GROUP BY company_name, agent_name"); > > Running this in MySQL does exactly what I need it to do but

Re: [PHP] Works in html, not when echoed in PHP

2002-11-12 Thread @ Edwin
"Chris Shiflett" <[EMAIL PROTECTED]> wrote: ...[snip]... > Yes, this is the same code that "works fine in plain html". Why echo it in PHP if it is static? Good question ;) But I'm sure there's a good a answer :) Besides, why would anybody want to do that if there's no good reason? - E --

Re: [PHP] Trying to e-mail password

2002-11-12 Thread @ Edwin
"Ben C." <[EMAIL PROTECTED]> wrote: > I was setting up a news site that is customized for the registered user. I > wanted that user to have the ability to be able to click a button and have > the password e-mailed to him. The password function that I used is > password(password) through mysql.

Re: [PHP] Works in html, not when echoed in PHP

2002-11-12 Thread @ Edwin
Hello, "Aaron Merrick" <[EMAIL PROTECTED]> wrote: > Folks, > > Can't see an answer anywhere in the archives, so here goes. > > This works fine in plain html: > > onresize="window.location.reload(false)" topmargin="1" bottommargin="0" > leftmargin="0" rightmargin="0"> > > When I put it in PHP thu

Re: [PHP] Trying to e-mail password

2002-11-12 Thread @ Edwin
"John W. Holmes" <[EMAIL PROTECTED]> wrote: > ...[snip]... > And where do you plan on storing this 'secret code' that your dynamic > PHP script have to have access to in order to add users and send > forgotten email messages?? > > If you have something to protect, then you should have your own

Re: [PHP] How To Delete All Files In A Directory

2002-11-12 Thread @ Edwin
Hello, "@ Nilaab" <[EMAIL PROTECTED]> wrote: > Hello Everyone, > > I have a directory that I want emptied everytime a script accesses a certain > function. I tried using rmdir() and then mkdir(), thinking that it will > delete the directory and the contents within it, and would create a brand > n

Re: [PHP] PHP, MySQL, and Japanese text

2002-11-12 Thread @ Edwin
Hello, "Step Schwarz" <[EMAIL PROTECTED]> wrote: > Hi all, > > I was hoping to find some code examples or tutorials on using PHP/MySQL with > Japanese text. The site I've built is very close, but apparently a very I'm not sure about tutorials in English but if you know Japanese, I'm sure you ca

Re: [PHP] syntax question...

2002-11-12 Thread @ Edwin
Hello "Kelly Meeks" <[EMAIL PROTECTED]> wrote: > I saw this used in a script, but after a couple of searches didn't come up with anything on php.net. I think you're looking for this: http://www.php.net/manual/en/language.types.string.php#language.types.string .syntax.heredoc - E ...[snip]...

Re: [PHP] Oracle 7 support

2002-11-12 Thread @ Edwin
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote: > > Well, I will spread some light - I maintain OCI8 extension :) > > Your machine does not need Oracle Server installed, it needs Oracle > Client installed. These are two completely different things. > > So, try this in your command prompt: > > ec

Re: [PHP] Oracle 7 support

2002-11-12 Thread @ Edwin
Hello, First, let me just say that I'm no Oracle guru. :) But while we're waiting for them... "Ford, Mike [LSS]" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > > Sent: 12 November 2002 13:39 ...[snip]... > > That is great news,

[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:

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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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

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] 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] 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] 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] 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] 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] 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] 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
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] 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] 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
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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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
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] 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] 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: 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 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[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] 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: [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] "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] 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] 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

<    1   2   3   4   5   6   >