Re[2]: [PHP] Problem with PHP as CGI

2001-05-24 Thread Richard Kurth
Hello ..s.c.o.t.t.., I fixed the problem it seems there was something wrong with the file when it was uploaded to the server. It works now I am using shebang lines because this script has to run at root it runs other programs on the server that need to be run at root. php is set up to just run

[PHP] regex for dynamic highlighting in search results...need help

2001-05-24 Thread hopeless
Forwarded to the list for suggestions...my regex is pretty rusty... -- I've got a string full of HTML, and I'd like to highlight specific words in the text by surrounding it with span class=highlight/span tags. That's pretty simple: $strIn =

[PHP] select the most repeated value in a field

2001-05-24 Thread Jacky
Hi people How do i query to select the most repeated values in a field, say if I hacve list of values as a,b,c,d,e to be submitted to a field call result in a table. And I want to know which value appear most in that result field amoung all records. cheers Jack [EMAIL PROTECTED] There is

[PHP] select the most repeated value in a field

2001-05-24 Thread Jacky
Hi people How do i query to select the most repeated values in a field, say if I hacve list of values as a,b,c,d,e to be submitted to a field call result in a table. And I want to know which value appear most in that result field amoung all records. cheers Jack [EMAIL PROTECTED] There is

Re: [PHP] Date (Year) .. adding..

2001-05-24 Thread Rob Hardowa
I like Tyler's solution. It is better to move the call to date() outside the loop. You only need to get the current year once, and then add one onto it each iteration. If you leave the call to date() inside the loop then it calculates the current date each time and that uses CPU power and

Re: [PHP] Re: [PHP-DEV] Fork() in php?

2001-05-24 Thread ~~~i LeoNid ~~
On 20 May 2001 16:16:47 -0700 impersonator of [EMAIL PROTECTED] (Manuel Lemos) planted I saw in php.general: Weren't you the one that was saying that you opposed to the existence of a PHP compiler? Despite your opposition, Zeev and Andi brought it up to the joy of many PHP users. Hi. Is it

RE: [PHP] select the most repeated value in a field

2001-05-24 Thread Maxim Maletsky
use GROUP BY SELECT result, COUNT(result) AS res_count FROM result GROUP BY result ORDER BY res_count DESC ; Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

Re: [PHP] select the most repeated value in a field

2001-05-24 Thread George E. Papadakis
select result,count(*) as cnt from table group by result order by cnt desc ; - Original Message - From: Jacky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 10:02 PM Subject: [PHP] select the most repeated value in a field Hi people How do i query to select the

[PHP] Changing $PHP_AUTH_USER and $PHP_AUTH_PW

2001-05-24 Thread Derek
Changing $PHP_AUTH_USER and $PHP_AUTH_PW I would like to automatically set these variables without actually prompting the user to submit a username or password in the authentication window. It would mean I could mimic cookie functionality in cookie-disabled browsers to track users, etc. Is

Re: [PHP] Using html templates

2001-05-24 Thread Rob Hardowa
I'm using PHPLib as well and am not all that happy with it. It was working just fine until our host decided to upgrade to PHP4. After that, any values being inserted to HTML using templates that had dollar signs and values would not display! For example, if you said admission was $15.00 all

Re: [PHP] Checking an URL

2001-05-24 Thread YoBro
Sweet, that works! How simple was that, I was expecting something real complicated. Thanks dude. Jason Murray [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Don't suppose you have some example code on how to do that? if ($HTTPS) { // You're in secure

Re: [PHP] Threaded discussion Phorum algorithm

2001-05-24 Thread Martin Cabrera Diaubalick
Hello Ivan, there's a nice article at DevShed.com explaining this Try http://www.devshed.com/Server_Side/Administration/TalkToMe/print.html HTH Regards - Original Message - From: rodrigo [EMAIL PROTECTED] To: php php [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 4:24 AM Subject:

Re: [PHP] pulling data out of a string

2001-05-24 Thread Dan Lowe
Previously, Richard Kurth said: That my problem www is not always the host when it is a sub-domain it would be like mysit.domain.net or sometimes people put a few extra periods in the domain name like www.my.test.net I thought maybe I could look at the string and find out how many periods

[PHP] Executing PHP stored in MySQL-database?

2001-05-24 Thread aquariuz
Hi, Is it possible to execute PHP stored in a MySQL-database? If so, how to do it? In the example below I store Hello world!BR in a database, and next I echo it. Hello world! is printed on the screen. But how to * store PHP-code in a database * and execute it? Any help would be appreciated.

Re: [PHP] select the most repeated value in a field

2001-05-24 Thread [EMAIL PROTECTED]
After I use that query, I got list of result group by DESC under variable name firstchoice, how could I index this firstchoice variable so that I can take each individual result to display according to the page layout position? Jack [EMAIL PROTECTED] There is nothing more rewarding than reaching

Re: [PHP] Variable Passing

2001-05-24 Thread Dan Lowe
Previously, Internaut said: Thankx for your reply, would you recommend setting the register_globals to on, would this be safe to do this? It's not any more or less safe than using the $HTTP_POST_VARS or $HTTP_GET_VARS arrays instead, but it could be less typing :-) Note that for the arrays

[PHP] second MAX and so on

2001-05-24 Thread Jacky
hi people, When I use this query below: select result , count(result) as choice from result group by result order by choice desc; It returns the number of times each value appear in a result field in order of DESC under variable choice, right? At this point, I know how to pick MAX(choice)

Re: [PHP] ereg questions

2001-05-24 Thread Dan Lowe
Previously, Ker Ruben Ramos said: hmm, got a little question. 1. what's that \\1 and \\2? got any info on where u got that from? Expands to whatever the parentheses surrounded during the match. So in this case you have: Match pattern: a href=\([^/]+)/(.*)\\.html\ Replace pattern:

Re: [PHP] Executing PHP stored in MySQL-database?

2001-05-24 Thread Pavel Jartsev
aquariuz wrote: Hi, Is it possible to execute PHP stored in a MySQL-database? If so, how to do it? In the example below I store Hello world!BR in a database, and next I echo it. Hello world! is printed on the screen. But how to * store PHP-code in a database * and execute it?

[PHP] How to manage login ???

2001-05-24 Thread Bass¨Ð¦õªv
Hi I have a question . At some website which have webmail serivce , they won't use SSL for login . Then how can they protect clinet's information and email ?? they use sessions when login in ?? use sessions is secure ?? Is there another security method in PHP ? -- PHP General Mailing

[PHP] select count

2001-05-24 Thread Jacky
Hi people question about query when I use this: select result, count(result) as choice group by result order by choice desc; How do I print choice in my page when the query return value back to me? any help is appreciated cheers Jack [EMAIL PROTECTED] There is nothing more rewarding than

RE: [PHP] MySQL Select

2001-05-24 Thread Jon Haworth
Because you can also do: if ($array_result = mysql_fetch_array($result)) { do { // do your thing here } while ($array_result = mysql_fetch_array($result)); } else { echo no records found!; } Cheers Jon -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: 23

[PHP] Resize Images 'On The Fly'

2001-05-24 Thread Jamie Thompson
Is there any way you can resize images 'on the fly' with php? I have images in a directory and i want to pull one out at random and display it at 50% of it's original size. I was thinking i could read the file into a variable and then use one of php's image functions on it but I can't find any

Re: [PHP] Resize Images 'On The Fly'

2001-05-24 Thread Andy Woolley
Jamie, $imagesize = GetImageSize(yourfile.gif); Will return an array of image properties that you can use. Andy. - Original Message - From: Jamie Thompson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 11:46 AM Subject: [PHP] Resize Images 'On The Fly' Is there

Re: [PHP] A web server query

2001-05-24 Thread Shashwat
most of the servers support PHP all you have to do is install it right... I have tested it with Apache, Sambar, PWS, IIS, Xitami check 'em out! Parag Mehta [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Guys, new to the list. i would like to know if

[PHP] does preg_replace_callback with class methods?

2001-05-24 Thread AK47
I was using preg_replace with the '/F' parameter, and it was working perfectly till v4.0.4pl1. Now it has been substituted by preg_replace_callback. Does it work with a class method as a callback function? If it does, how should it be written? I'm asking this because in each of these cases: -

[PHP] configure php-module over iis

2001-05-24 Thread Marcos
hi to @all, i would like to know how can i install php module over iis. i would like to know also how does php work on sql server. best regards, marcos

Re: [PHP] Constantly running?

2001-05-24 Thread Plutarck
http://www.phpwizard.net/projects/phpIRC/ phpIRC uses such functionality to run such a daemon without having to use crontab. However, PHP just doesn't do it all that fantastically on it's own. phpIRC can often run for 3-4 days, but after that it tends to die off or stop functioning. Meaning you

[PHP] VariableName

2001-05-24 Thread Martin Thoma
Hello ! I want to make a dynamic formular, on which the user can enter a different number of names. So to make the form I do: for ($i = 0; $i $anzahl; $i++) { printf (INPUT TYPE=\TEXT\ NAME=\Name%.0d\ VALUE=\\ SIZE=20\\n, $i); } Now I want to set all the Varables Name0, Name1, Name2 etc. to

[PHP] Excel

2001-05-24 Thread Ron
I was looking for a way to build a spreadsheet (Excel) dynamically with data from a table, and I was curious about doing it in PHP .. I prefer to use PHP, but I know in ASP it can be done. If I'm running PHP on Linux (can't use the COM functions), is there a way this can be done? Preferably

[PHP] PLZ HELP with LOCK connection using MySQL

2001-05-24 Thread Marian Vasile
I have a database and couple php scripts. I'm going to update some tables inside of this database. The server is a fast one (with 256Mb) I don't think there are too many updates but I get an error very strange. Many connections get LOCKED. After some time, the system is going down. I'm using

Re: [PHP] How to manage login ???

2001-05-24 Thread Plutarck
Well, you're getting the reason for the security methods mixed up. First, SSL only means that no one can know what data is being sent between you're computer and the destination server. If a site doesn't use SSL than someone can, technically, 'sniff' your username and password and thus gain

Re: [PHP] VariableName

2001-05-24 Thread Plutarck
If the variable's names will be $Name1, $Name2, etc, then you'd do something like this: for ($i = 1, $i = $n) { /* $n will be how many variables you have. So if you have 5 variables, $n should equal 5 */ ${Name . $i} = $default_value; } So if $n was 3 and $default_value was 0, you'd have three

[PHP] File upload - disappearing variables

2001-05-24 Thread Steve Cook
Hi folks, I've been banging my head against a problem with file uploads for the last few days. Perhaps someone here has seen this before. My problem is that when handling my file uploads, I can print out the values of my form variables, both using HTTP_POST_VARS[var] and $var. I can also see

Re: [PHP] A web server query

2001-05-24 Thread Christian Reiniger
On Thursday 24 May 2001 10:49, Parag Mehta wrote: i would like to know if there is any smal webserver like boa or thttpd which supports php ? Yes. thttpd for example. Read the manual for more info -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) I sat laughing snidely into my

Re: [PHP] VariableName

2001-05-24 Thread Martin Thoma
Very nice solution. Thank you ! Plutarck schrieb: If the variable's names will be $Name1, $Name2, etc, then you'd do something like this: for ($i = 1, $i = $n) { /* $n will be how many variables you have. So if you have 5 variables, $n should equal 5 */ ${Name . $i} = $default_value; }

[PHP] vpopmail

2001-05-24 Thread Aadish Shrestha
The online documentation doesn't contain any api regarding vpopmail. Where can i find it?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] New session...

2001-05-24 Thread Martin Thoma
Hello ! I want the user to have a chance to reset the session and get a new session_id on one page. I tried: session_name(MyId); session_register(MyId); session_unregister(MyId); session_register(MyId); But it doesn't worked. session_destroy doesn't work, too. What I want is, the PHP

[PHP] Merits of Nusphere vs Abriasoft's PHP/Mysql/Apache packages?

2001-05-24 Thread Johnny Smith
Wondering if anyone out there has used both of these packages and would care to comment on the relative merits of each, especially 'ease of install and configure'. I'm building a Mysql/PHP box for a database building project that will never be connected to the internet. All advice is

[PHP] COM and type mismatch

2001-05-24 Thread G Hughes
Does anyone know the reason for the type mismatch error which often seems to happen when using COM objects? The only piece of info I've seen suggested that a COM object can't be passed as a variable to a second COM object. Is this true, and if it is how might this be worked around. Thanks for

[PHP] pdf libraries

2001-05-24 Thread serge grekhov
Hi! Are there any libraries for pdf constructing but pdflib and clibpdf free for commercial use? and what tools exists to sign pdf documents? Serge Grekhov [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] All URL's calling one script

2001-05-24 Thread Simon Kimber
Hi All This is possibly more of an apache/linux question... does anyone know a way to force ANY url to run ONE PHP script on a virtual server... eg. the same script is run if a user goes to www.myserver.co.uk or www.myserver.co.uk/dfkgjdfl/ or www.myserver.co.uk/hello.htm or WHATEVER!!! :o)

Re: [PHP] All URL's calling one script

2001-05-24 Thread Ron
You can try to set the 404 error page to that ... I don't know how safe that is, but it might work.. -Ron Simon Kimber [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi All This is possibly more of an apache/linux question... does anyone know a way to force

RE: [PHP] Excel

2001-05-24 Thread Neil Kimber
Probably not exactly the answer that you're looking for, but you can do the following. Output your data in PHP to a webpage that consists of purely a table of your data. Open Excel, go to : Data-Get External Data-New Web Query Type in the URL for the page with your data. Select which

RE: [PHP] A web server query

2001-05-24 Thread Jason Lotito
http://badblue.com/ That should be what you are looking for. Jason Lotito www.NewbieNetwork.net PHP Newsletter: http://www.newbienetwork.net/ciao.php PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more -Original Message- From: Parag Mehta [mailto:[EMAIL PROTECTED]]

[PHP] Building a Chat Room

2001-05-24 Thread ryan.barnett1
Hey All, Does anyone know where I can find a nice PHP chat room script? Will I need MySQL database access? How much coding is required? (I'm an average programmer, just not got too much time) - Also, which is best...? * java applet that

RE: [PHP] All URL's calling one script

2001-05-24 Thread Leavell Digital Design
Here is a good article on that topic: http://www.phpbuilder.com/columns/tim2526.php3 Note: if you have to use the Files local appoach, php must be running as a module. Kevin Leavell Leavell Digital Design Inc. P 406.829.8989 C 406.240.4595 --- -Original Message- --- From: Ron

Re: [PHP] Building a Chat Room

2001-05-24 Thread Pavel Jartsev
ryan.barnett1 wrote: Hey All, Does anyone know where I can find a nice PHP chat room script? ... Have you tried this site: http://freshmeat.net/search/?q=php+chat -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Error: Supplied argument is not a valid MySQL result resource

2001-05-24 Thread Internaut
Hello I am in the process of learning php by following the examples out of the book, as I try to run this script an error message appears with the following: Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/vhtdocs/tosh/php/show_more_db.php on line 10 Here is the

Re: [PHP] Tutorial on connecting to a MSSQL 7 or 2000 database.

2001-05-24 Thread Martin Cabrera Diaubalick
Hello Brandon, for Version 7, have a look at http://www.knowledgeisland.com/inet/php/php.php look in the PHP Databases section HTH Regards - Original Message - From: Brandon Orther [EMAIL PROTECTED] To: PHP User Group [EMAIL PROTECTED] Sent: Monday, May 14, 2001 6:12 PM Subject:

Re: [PHP] installing php4

2001-05-24 Thread AJDIN BRANDIC
No luck, I have compiled php4, made changes to httpd.conf LoadModule php4_module /usr/lib/apache/libphp4.so AddModule mod_php4.c and also IfModule mod_php4.c AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps /IfModule Apache starts OK but it doesn't

[PHP] PhpDEV

2001-05-24 Thread Brett Shaw
for those of you who are interested im developing a web site for php developers to share resources and information. you wont need to be a member or commit yourself to anything its totally free. you can view the site at the following URL: - http://www.oosha.com/phpdev/index.php3 Its empty at

Re: [PHP] ereg questions

2001-05-24 Thread Ker Ruben Ramos
Thanks alot, now i know what are thos \\$NUM but one more thing, where're those \\0 come from? just found it on some scripts using \\0. seems to confuse me a bit. Thanks - Original Message - From: Dan Lowe [EMAIL PROTECTED] To: Ker Ruben Ramos [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

[PHP] PHP-Developers: imap_open fails on PHP4, ok on PHP3

2001-05-24 Thread mheumann
Hi, I'm afraid this is a rather tough one, as nobody has answered so far. I'm growing rather desperate about this issue that's been causing me several sleepless nights already. All I want is to be able to use IMAP to access POP3 mailboxes with PHP4 (4.0.5). I had no trouble compiling both imap

Re: [PHP] session problem

2001-05-24 Thread Robert Schaller
Hi all, just for the record.found the problem.the partition was full*blush*:O\ -Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

Re: [PHP] input type=image name=done value=done doesnt work as expected

2001-05-24 Thread Chris Lee
ok Im having a hard time reading my own writing, the headers for both are correct. what I didnt take 10sec to see was that done2 was not being sent, done2.x and done2.y is being sent. oi. ?php echo $done1_x $done1_y $done2_x $done2_y form method='post'

[PHP] php over netscape

2001-05-24 Thread Marcos
hi, i have to run php over Netscape Enterprise Server 3.6. is there any module to run it there? thanks in advance, marcos

[PHP] CGI Error when processing form

2001-05-24 Thread seth
Hi, I'm really new to PHP and i'm not too smart!..., I pulled some from code out of scripts.com for processing forms just to test. this is on an IIS server 4.0 server this is the error I get after clicking on the tell us button... CGI Error The specified CGI application misbehaved by not

[PHP] NEED BOOK: DB Abstaction

2001-05-24 Thread Erich Reimberg N.
Hello, Can anyone here, please, recommend me a good book that covers the DB abstracion that has PHP4? Most of the books only deal with MySQL, and that's not always my choice for a DB administrator. So I need to program scripts that can connect to any DB. I use this in ASP: I write a tiny

[PHP] Interesting Problem (Sessions and Cookies)

2001-05-24 Thread Jason Caldwell
Is there a way to store users input on *another* page (i use frames), in hidden fields, then be able to update those hidden fields as the user goes along, also, be able to extract that data when a user returns back to a previous form? I'm thinking of using this instead of Sessions or Cookies.

Re: [PHP] Interesting Problem (Sessions and Cookies)

2001-05-24 Thread Peter Dudley
You can indeed do this in javascript. You need to put a FORM on the page in the other frame and then access the data elements in that form with the syntax parent.frame[x].formname.elementname.value or something along those lines. This gets pretty ugly pretty quickly, IMO. Also, I think you

[PHP] Compiler advice please!

2001-05-24 Thread Gerry
Hi this is probably of the scope of the list since it is a c++ question. (sorry) I'm trying to learn a few things about c++ and I'm using gcc on my Linux box. The problem I encountered is with the floating point manipulation classes or functions like fixed and showpoint, I get a compile error

[PHP] ereg function

2001-05-24 Thread Jay Paulson
hello- I have a pretty easy question for some of you. I'm using the ereg function and it's not returning a true or false after it runs. Below is the code snippet I'm using. echo ereg(^[a-zA-Z]$, $fname); as you can see I'm just looking to make sure the variable $fname just has characters

Re: [PHP] Re: [PHP-DEV] Fork() in php? (äâà óäàðà - 8 äûðîê?)

2001-05-24 Thread ~~~i LeoNid ~~
On 21 May 2001 10:06:41 -0700 impersonator of [EMAIL PROTECTED] (Zeev Suraski) planted I saw in php.general: At 08:24 21/5/2001, Rasmus Lerdorf wrote: You are assuming they even read this mailing list. *ping* (in Tokyo, so it took me a while to catch up on my Email) Zeev Sorry for _an_

[PHP] fdf and pfd functions in PHP

2001-05-24 Thread David A Castillo
Okay, I'm trying to teach myself how to utilize fdf and insert into pdf and I have a question for y'all. When using pfd forms to submit to an fdf file, the php script uses the variable $HTTP_RAW_POST_DATA as the source to write to the fdf file. If I use an HTML form to do the same thing, what

Re: [PHP] fdf and pfd functions in PHP

2001-05-24 Thread mheumann
Hi, I think this is more complicated. You'll need to create the FDF file manually pertaining to the format specifications. You will have to use the data posted from the HTML form, but just writing them out to the file won't do the trick. I haven't done this with PHP yet, maybe the fdf

RE: [PHP] NEED BOOK: DB Abstaction

2001-05-24 Thread Jon Haworth
PHP 4 Bible (Converse/Park, IDG Books) has a chapter on OO programming that contains sample code for an entire DB layer... Failing that you can knock your own up really easily, using include() to stick it in whatever script you fancy. HTH Jon -Original Message- From: Erich Reimberg

[PHP] a little ot, mysql binary fields

2001-05-24 Thread Christian Dechery
How do I backup a blob field in mysql? Every time I dump it (to a text file via phpMyAdmin)... it creates insert lines but the binary data is all screwed up and when I load it it gives me error messages... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Form security

2001-05-24 Thread phpman
Since nobody answered my last question (or any of them for that matter). Let me rephrase it a little different. Other then checking the referer (to make sure the posted data came from the right page) and user agent (to see if it exists), is there any other way to secure a form from having other

RE: [PHP] Form security

2001-05-24 Thread James Stevens
Another way to do this is to have a form element with an odd name and value that you can check for before processing the post. This is not too secure if someone knows the name and value though. In that case you can use the referer _and_ a unique element name and value that is related to the

Re: [PHP] Form security

2001-05-24 Thread Peter Dudley
Are you using sessions? You can register a tracking variable on the form page and then check that variable on the processing page. If the posted data comes from any page other than the one that you want it to, the variable will not be set. Not 100% sure, but I think this covers what you've

[PHP] .htaccess and secure image directory

2001-05-24 Thread bill
If I upload images to a web directory using PHP, how can I prevent a web browser from getting a file list of the directory while still allowing it to be polled for specific images? kind regards, bill hollett -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] pg_fetch_object() and composite field names

2001-05-24 Thread Arcady Genkin
Suppose I have a query like this: $query = select A.id, B.id from foo A, bar B where A.bleh=B.blob;; $result = pg_exec( $db, $query); $obj = pg_fetch_object( $result, 0 ); My question is: How do I access the field names in the $obj now? I know that I can transform the query to avoid this

Re: [PHP] Form security

2001-05-24 Thread mheumann
Hi, you could use an additional parameter containing a checksum of the entire URL, that you check at the beginning. Of course, somebody with the right motivation could find out your checksum scheme (I would use a subset of the md5 function), but at least it won't be simple anymore. You could

Re: [PHP] ereg function

2001-05-24 Thread CC Zona
In article 002e01c0e46c$ec2459a0$6e00a8c0@webdesign, [EMAIL PROTECTED] (Jay Paulson) wrote: echo ereg(^[a-zA-Z]$, $fname); as you can see I'm just looking to make sure the variable $fname just has characters a-zA-Z and nothing else. Actually, you're checking whethere the variable is a

Re: [PHP] Form security

2001-05-24 Thread phpman
I'm not trying to keep my script secure, I'm trying to get into another script, using cURL. I sent all of the POST fields, set my REFERER to be their referer page, even set my AGENT to be ie 5 on a Win2K box. Damn script is still not returning the right screen. When I copy the HTML code to my

Re: [PHP] out file

2001-05-24 Thread Hasan Niyaz
Hi, This is not very php related but if anyone can let me this simple question. I'm using a dos window to communicate with my MySQL server. What if i want to save the results in file. What is the command i should use. Thanks, Hasan -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] advice on 'Nusphere Mysql Package' appreciated

2001-05-24 Thread scott [gts]
mandrake is easy to install, yes. :) mandrake is a full distribution... it's everything that most people need kernel, Xwindows, servers, apps, games, dev. libraries, languages, etc. etc... you can customize which programs get installed from the install program. it's a great system

[PHP] Re: [PHP-DEV] version numbers

2001-05-24 Thread Andrei Zmievski
On Wed, 23 May 2001, Dennis Gearon wrote: I wonder about the version numbers because of some of the alphanumeric values in them. Are the version numbers chosen such that ANY version higher can be checked for by the following code: if ( strcmp($ver_running_under, $min_version) 0){ use

Re: [PHP] regex

2001-05-24 Thread Dan Lowe
Previously, Gyozo Papp said: metacharacter. Is a '.' inside of a [] a literal '.', or a 'any character' A period inside a character class (i.e. inside a [] block) is just a period, and not a metacharacter. -dan -- Don't let it end like this. Tell them I said something.

[PHP] advice on 'Nusphere Mysql Package' appreciated

2001-05-24 Thread Geoff Caplan
Johhny wrote: Which version of Redhat did you install it on? 6.2 Did you have to install all the 'updates' for the Redhat version 'before' doing the install of Nusphere? Nope - worked fine for me. Another thing I forgot to mention - by default Nusphere sets up a virtual domain which