[PHP] Re: [PHP-DEV] RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread Andi Gutmans
Can you try the latest snapshot from snaps.php.net and let us know if it works for you now? Andi At 06:01 PM 5/6/2001 +0800, Jude wrote: >wel then it's up to you.. goodluck! > >=) > >-Original Message- >From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] >Sent: Friday, May 11, 2001 11:25 AM

Re: [PHP] multiselects and arrays

2001-05-10 Thread elias
Here if you want, you can access the names with '[]' as: _sel1 = eval("document.myform.SEL1[]"); _sel1.itemIndex .. . . . -elias ""Max Vysotskiy"" <[EMAIL PROTECTED]> wrote in message 9deame$cj3$[EMAIL PROTECTED]">news:9deame$cj3$[EMAIL PROTECTED]... > Hi. > Why doesn't PHP convert mutiselect va

Re: [PHP] multiselects and arrays

2001-05-10 Thread elias
How can i access names with '[]' w/o eval() or seeking in form's element? -elias "Rouvas Stathis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Actually, you *can* use brackets ([]) in names and javascript can handle > them just fine. > -Stathis. > > Max Vys

[PHP] Please help me with this.

2001-05-10 Thread Johan Vikerskog (ECS)
ok. I have this problem of mine which i dont know how to solve. therefor i use this great mailing list. Lets say i have a URL that looks something like below. This URL was generated from a program that starts netscape with this adress. This adress is of course wrong. http://adam:9000//usr/loca

[PHP] Posted earlier no reply

2001-05-10 Thread Adrian D'Costa
Hi, I am trying to write a php and javascript that will pick up data from a table and display and scroll it. I seem to have run out of ideas how to make the script work. I don't get any display on the screen. I use rand() limit 1 so only one row is selected. Can some one tell me where I went

Re: [PHP] Re: Reliability of Window-version of PHP

2001-05-10 Thread Chris Fry
I thought that the terms "Windows" and "Stable/Robust" were mutually exclusive? Chris nyon wrote: > I'm planning to use PHP for Windows on Windows 2000 Advanced Server as CGI. > Wondering if Php on Windows is stable/robust enough for a 1 million hits per > month site ? > > Nyon -- Chris Fry Qu

[PHP] Re: Reliability of Window-version of PHP

2001-05-10 Thread nyon
I'm planning to use PHP for Windows on Windows 2000 Advanced Server as CGI. Wondering if Php on Windows is stable/robust enough for a 1 million hits per month site ? Nyon

Re: [PHP] MD5 password

2001-05-10 Thread Anuradha Ratnaweera
On Fri, 4 May 2001, Thimo von Rauchhaupt wrote: > > Hi there assume that I had a password field in md5 format like this > > $1$uJ8d$jJKOHnfh^79824/. > > how do i compare an input password to the password that I sore in database > > > > so it can return right or wrong password > > Just compare t

RE: [PHP] Need to know this

2001-05-10 Thread Anuradha Ratnaweera
On Fri, 4 May 2001, S.J. Black wrote: > > People Hate Perl ;) > > That's gorgeous! I like that too:) Anuradha -- http://www.bee.lk/people/anuradha/";>home page -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

Re: [PHP] Sorry, what is "PWS"

2001-05-10 Thread Anuradha Ratnaweera
On Wed, 9 May 2001, hassan el forkani wrote: > i have tried both PWS and Apache on a windows98 machine, and franckly > Apache is much much better just grab a binary distribution install it > and go through the httpd.conf to configure it (that's the trikiest > part but the file is very well comme

Re: [PHP] "Free" Database Design Program

2001-05-10 Thread Anuradha Ratnaweera
On Sat, 5 May 2001, Augusto Cesar Castoldi wrote: > Anyone know a "Free" database Design program? I'm needing to organize my > MySQL databases and design new databases. In what sence do you mean "Free"? Just curious;> Anuradha -- http:/

Re: [PHP] Strange

2001-05-10 Thread paket
* smacks self in head * - actually, that's what I did, when I read this. thanks In article <01051022101201.00596@chrisbig>, [EMAIL PROTECTED] wrote: > On Wednesday 09 May 2001 19:32, paket wrote: >> Hello. >> >> This is a script fragment that I am working on. It's purpose is to >> validate

Re: [PHP] Mysql sequence help (OOT)

2001-05-10 Thread Zak Greant
Use an auto_increment field. ie. create table foo ( id mediumint unsigned not null auto_increment primary key, namechar (16) not null, ... ) --zak - Original Message - From: "Reuben D Budiardja" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 10,

[PHP] How to let PHP cgi find oracle TNS?

2001-05-10 Thread Jude Chen
I use PHP (version 4.0.3pl1) as a cgi on my IIS web server with NT4.0. But I find when I try to connect a distant Oracle database, PHP can not find the correct TNS name, quoted as followings:   Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve service name) in E:\

Re: [PHP] php and asp

2001-05-10 Thread Michael Kimsal
Generally, you'd have to use a COM object written specifically to deal with files. There are some ways to look at the raw data from an image and file and extract that info, but it's frankly beyond me at this time of night. :) If you have control over the server the ASP code is on, you might con

[PHP] Mysql sequence help (OOT)

2001-05-10 Thread Reuben D Budiardja
Hello, Sorry for a litle bit out of topic. But can anyone tell me how to create sequence in mysql? For example, if I have table with column ID, NAME. I want ID to be incremented by one (say starting from 100) everytime I insert a new row to the table. How can I do that in mysql? I'm only use

[PHP] php and asp

2001-05-10 Thread todd kennedy
i've got a problem...i've written some stuff in PHP and now the person I wrote it for is looking for an ASP version to play with as well... I've gotten most of it working in ASP now (eek. VBScript is downright archaic compared to php4), but I'm having problems finding an equivelent for one PHP f

Re: [PHP] split string

2001-05-10 Thread Jack Dempsey
http://www.php.net/manual/en/function.explode.php explode on the comma... you could use while loop and variable variables to take care of the naming... -jack Jacky wrote: > > I got series of string value like this 1,2,3. And the seires are dynamaic, which >means it is not always 1,2,3 but co

RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread Jude
wel then it's up to you.. goodluck! =) -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 11:25 AM To: '[EMAIL PROTECTED]'; 'Vlad Krupin' Cc: 'PHP General List. (E-mail)'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] RE: [PHP-DEV] WEI

[PHP] split string

2001-05-10 Thread Jacky
I got series of string value like this 1,2,3. And the seires are dynamaic, which means it is not always 1,2,3 but could be more, but always in this format that is separated by "," . How do I pick each of value in the series and assign it into new vairiable, like from: $test = 1,2,3; and assign t

Re: [PHP] read($sock, $buf, $n) reads nothing on port 23

2001-05-10 Thread Grishick
Thanks a lot. "Don Read" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On 11-May-01 Grishick wrote: > > I'm trying to make a telnet client with php. The strange thing happens: > > "read" does not get anything from socket if I connect to port 23 (telnet), > >

[PHP] Has anyone tried to make telnet client with php?

2001-05-10 Thread Grishick
Has anyone ever tried to make a telnet client with PHP? Any ideas how to make it? Tried to make it with socket, fsockopen, fputs, freads - does not work for telnet. Probably cURL will help? Deadly need an advice. Thanks. Grishick. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.n

RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread Maxim Maletsky
nope, I won't give up. disabling '//' is so bad.. just think how much trouble I'm creating for my team. (Although, I in fact never use '//', I use '#' instead. That is why I noticed the problem so late = 20 minutes of downtime yesterday) Cheers, Maxim Maletsky -Original Message-

RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread Jude
or simply you can use another comment tags.. like /* */ =) -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 11:09 AM To: '[EMAIL PROTECTED]'; 'Vlad Krupin' Cc: 'PHP General List. (E-mail)'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [P

RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread Maxim Maletsky
But why? 1. on 4.0.1pl2 it worked. 2. I noticed it even on a function(); // comment as well. I will restart experimenting later again. I think I should upgrade my apache first, then recompile PHP, and try it again. It seems to me more of a stupid problem, I have no idea why that happen. Everyth

[PHP] update statement

2001-05-10 Thread Jacky
I got a series of string value in this format ie: 1,2,3, say pretend that these are telephone number, which is one feild in user table. I need to update this telephone number field, I got 3 user ID in series like this too, ie: 3,4,5 and normally it is like update set where userID IN (3,4

RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread Jude
hi why not try to enclose the parameters to () or try this? "); ?> -- 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 PROTECTED]

[PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread Maxim Maletsky
well, I don't think that was the reason... because '; ?> will print me: // please no... echo ''; any further ideas? Maxim Maletsky -Original Message- From: Vlad Krupin [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 7:12 AM To: Maxim Maletsky Cc: 'PHP General List. (E-mail

Re: [PHP] mysql: UPDATE statment

2001-05-10 Thread Mark Charette
Reading the MySQL manual on the UPDATE statement (my, what a concept - actually looking at a manual, especially when you have no clue ...) would show you that your statement is invalid and why. Something about using a "set column-name=data" rather than an invalid "values()" statement. Mark C. ---

[PHP] Passing Objects Vol II

2001-05-10 Thread tcuhost
hmm well I tried it perhaps another step is in order. Once I can see it work once I will be happy. // // index.php contains: // client . "\n"; echo $myInstance->user . "\n"; echo $myInstance->password . "\n"; echo $myInstance->allowed . "\n";

RE: [PHP] read($sock, $buf, $n) reads nothing on port 23

2001-05-10 Thread Don Read
On 11-May-01 Grishick wrote: > I'm trying to make a telnet client with php. The strange thing happens: > "read" does not get anything from socket if I connect to port 23 (telnet), > but with other ports (21, 80) it works OK. > Grishick. > [EMAIL PROTECTED] > Telnet is a bit more complex than th

[PHP] read($sock, $buf, $n) reads nothing on port 23

2001-05-10 Thread Grishick
I'm trying to make a telnet client with php. The strange thing happens: "read" does not get anything from socket if I connect to port 23 (telnet), but with other ports (21, 80) it works OK. Grishick. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

Re: [PHP] PHP Editor

2001-05-10 Thread Grishick
Nothing is better then HomeSite Gregory. "Daniel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Just wondering whether you guys use any type of editor when programming in > PHP? if so what have you found to be useful? > > > Thanks > > > Daniel > > > --

Re: [PHP] Call-time pass by reference has deprecated

2001-05-10 Thread Aaron Tuller
ummm, not to be insensitive but that error told you everything you want to know. passing by reference at call time is putting an & in front of a variable. if you want to make it work, either modify your script to not need call time pass by reference (you can change the function declaration t

RE: [PHP] mysql: UPDATE statment

2001-05-10 Thread Peter Houchin - SunRentals Australia
UPDATE user_polls SET value='$value',value1='$value1',etc for more values WHERE id=$id Peter Houchin [EMAIL PROTECTED] = _ __ /\ /_/_/_\/ |_/ \ /_/_/_

[PHP] mysql: UPDATE statment

2001-05-10 Thread PeterOblivion
why isnt this working i need to get 5 values updated in a table called 'user_polls' how do I do this? i have UPDATE user_polls WHERE id = '$id' VALUES($1, $2. and so on im getting a SQL error anyone? - Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

[PHP] fopen() and persmissions

2001-05-10 Thread Christian Dechery
as I've seen PHP running as Apache module cannot create or update files... it gives me 'permission denied'... so I've tried these solutions: * fopen("ftp://user:[EMAIL PROTECTED]/directory/newfile.ext","w";); this actually works... but only for "w"... if I wanna update this file, like "a", it

RE: [PHP] Can PHP send MSmail????

2001-05-10 Thread Don Read
On 11-May-01 ah leung wrote: > Hi all, > > How can I send MSmail (Intranet) using PHP script? > I know there is a command "mail" in PHP to send Internet mail, are there any > similar command to send MSmail using PHP script? > > If there is no way to do it in PHP, are there any other web solutio

Re: [PHP] Old PHP.net website..

2001-05-10 Thread Luke Welling
""Ender"" <[EMAIL PROTECTED]> wrote: > Does anyone remember the previous php.net website where you would hold > your cursor over a menu bar and it would pop up info? Does anyone know > how to do that or where the script for it is? See http://www.php.net/FAQ.php#13.1 -- PHP General Mailing L

[PHP] Call-time pass by reference has deprecated

2001-05-10 Thread Mr. Adam ALLEN.
I have just recevied the following error, on version 4.0.3pl1. ( Linux sustain5.cobalt.com ) I have not seen the error while running the same script on version 4.05 (Win32), 4.0RC1, R.0PL1 or 3.0.14 I'm not sure what the error is trying to tell me, or how to fix it (or make the error go away) W

[PHP] Can PHP send MSmail????

2001-05-10 Thread ah leung
Hi all, How can I send MSmail (Intranet) using PHP script? I know there is a command "mail" in PHP to send Internet mail, are there any similar command to send MSmail using PHP script? If there is no way to do it in PHP, are there any other web solution able to generate and send MSmail? Urgent!

Re: [PHP] PHP Editor

2001-05-10 Thread Stuart J. Browne
"Daniel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Just wondering whether you guys use any type of editor when programming in > PHP? if so what have you found to be useful? > I tend to stick with Vim, with syntax highlighting enabled. bkx --

RE: [PHP] PHP Editor

2001-05-10 Thread Daniel Goldin \(E-mail\)
xemacs has a php-mode which is okay, syntax highlighting and so on. -Original Message- From: Daniel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 4:53 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor Hi, Just wondering whether you guys use any type of editor when programmi

[PHP] Changing Page Layout

2001-05-10 Thread Ashley M. Kirchner
Say I have a (graphics) template that will have a 'text only' link where, when clicked upon will take the same content and format it without all the graphics. And let's also imagine that the graphics version has sidebars with notes, related links and such in them. Now, I'd like to be able t

[PHP] coding brain fade

2001-05-10 Thread Jerry Lake
umm, what am I missing ? I can't get the userfile to name itself when copying... "; echo $userfile; copy($userfile, "c:/apache/htdocs/".$userfile); } else { echo "Possible file upload attack: filename '$userfile'."; } ?> Jerry Lake Interface Engineering Technician Europa Commun

RE: [PHP] PHP Editor

2001-05-10 Thread Peter Houchin - SunRentals Australia
depends what os? .. on windows i like Homepage 4.5 Peter Houchin [EMAIL PROTECTED] = _ __ /\ /_/_/_\/ |_/ \ /_/_/___ __ __ __ / \

Re: [PHP] PHP Editor

2001-05-10 Thread Ryan Christensen
I personally use EditPlus (v2).. I really like it's syntax highlighting.. I've also heard good things about PHPed.. Ryan Christensen - Original Message - From: Daniel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 4:52 PM Subject: [

[PHP] PHP Editor

2001-05-10 Thread Daniel
Hi, Just wondering whether you guys use any type of editor when programming in PHP? if so what have you found to be useful? Thanks Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To conta

[PHP] Perl 2 PHP

2001-05-10 Thread Ryan Christensen
Does anyone know of a Perl to PHP converter? (I'm just about to start searching the net.. but wanted to see if I could save myself some time by looking here..) Thanks! Ryan Christensen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
:-) :-) Got it working - thanks heaps everyone :-) Out of interest - here's my current redirect.php... and the updated referring code... http://www.fusion.org.au";>test link Whew! Now to work on the hits counter bit... swadie ~~~ Steve Wad

[PHP] Reversing of key/val in array

2001-05-10 Thread Dennis Gearon
I have a configuration array that looks like: var $allowed_states = array( "startup", "null", "waiting_user_bleh", "processing_user_drek" .. blah .. .. blah .. ); I don't want the programmer to have to know anything except the starting 'state' is always going to be t

[PHP] Re: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread Vlad Krupin
That's most likely because you have newlines that PHP does not understand (it should in 4.0.6). In particular, the newline just before the // comment that got printed out where it should not is probably mac-style '\r' instead of unix-style '\n' or dos-style '\r\n'. Fix those newlines and every

Re: [PHP] Is the CGI-only Win32 binary compiled with --enable-sockets?

2001-05-10 Thread Michael Stearne
If you make a page with phpinfo() you will see all the compile options that were used for the particluar build you have (at the top of the page). Michael Todd wrote: >I'm trying the example client code under Socket Functions in the >documentation and I get the error: > >Fatal error: Call t

RE: [PHP] OT question..

2001-05-10 Thread scott [gts]
besides, if anyone here dislikes hitler, they should certainly not emulate him by trying to silence opinions that they disagree with ironic that some of the people that hate hitler the most act so much like him... dont be like hitler: support freedom of speech. > -Original Message--

Re: [PHP] OT question..

2001-05-10 Thread sono
umm...it is just a quote people. I think you are trying to read things into it becuase it was stated by Adolf Hitler. Ummthough I could easily see how that could be done:)as would I prolly do the same. But still..it just a quote.:) Sheesh. Sono On Wed, 9 May 2001, Christian Reiniger

[PHP] Socket functions

2001-05-10 Thread Peter Sorger
Hello, I cannot make the Example 1 (Socket example: Simple TCP/IP server) from the sockets php manual page (http://www.php.net/manual/en/ref.sockets.php) work :( It always closes the connection after one line passed throug the server script :( I'm running it on 4.0.3pl1 CGI version. Am I doing

[PHP] native sessions questions

2001-05-10 Thread Dennis Gearon
When native sessions saves a registered object: 1/ Does it run the constructor? 2/ If a variable in an object had a global reference stored in it, Is this reference by name or address, and is it any good when the object gets 'thawed'? 3/ Do ALL variables get saved, no choices like

Re: [PHP] it didn't upgrade to 4.0.5

2001-05-10 Thread Alexander Wagner
Joseph Bannon wrote: > Thanks Shawn, that worked :-) Oops, didn't see that... > Next thing. I tried to upgrade PHP to 4.0.5 but when I do "php -v", I get > "4.0.4". What do I need to check to make sure it was upgraded? Apparently you cgi-binary is still 4.04. When you configure PHP without any

Re: [PHP] starting up apache with php

2001-05-10 Thread Alexander Wagner
Joseph Bannon wrote: > Thanks Wagner for the help on the other issue. It worked :-) Sure it did :-) > Cannot load /usr/lib/apache/libphp4.so into server: libmysqlclient.so.10: > cannot open shared object file: No such file or directory > > I have the "libmysqlclient.so.10" file in the "/usr/lib/

Re: [PHP] Setting paths in PHP

2001-05-10 Thread Johan
Tnx for your help, Johan -- 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 PROTECTED]

[PHP] Is the CGI-only Win32 binary compiled with --enable-sockets?

2001-05-10 Thread Todd
I'm trying the example client code under Socket Functions in the documentation and I get the error: Fatal error: Call to undefined function: socket() Is there any way to enable this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: [PHP] Binary Data File reading

2001-05-10 Thread Zak Greant
Try using unpack() --zak - Original Message - From: "Chris Mattmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 10, 2001 2:54 PM Subject: [PHP] Binary Data File reading > Hi there- > > Does anyone have any clue as to what may be causing this problem. I am

[PHP] it didn't upgrade to 4.0.5

2001-05-10 Thread Joseph Bannon
Thanks Shawn, that worked :-) Next thing. I tried to upgrade PHP to 4.0.5 but when I do "php -v", I get "4.0.4". What do I need to check to make sure it was upgraded? Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[PHP] Binary Data File reading

2001-05-10 Thread Chris Mattmann
Hi there- Does anyone have any clue as to what may be causing this problem. I am trying to read from a binary data value that has temperature values stored in it in short integer format. So basically, for every 2 bytes of binary data, that value in short integer is the temperature va

RE: [PHP] StripSlashes

2001-05-10 Thread Don Read
On 10-May-01 Sterling wrote: > H- > > I'd like to be able to strip the slashes from all the imported > HTTP_POST_VARS. > > I found the $string = stripslashes($string); command. > > But this becomes very tedious if I have 20 vars and I need to code each > one with its own stripslashes line.

RE: [PHP] StripSlashes

2001-05-10 Thread Altunergil, Oktay
You can make the variables into a class and have the object call the same function with all its variables. Or turn magic quotes GPC on (and remove the addslashes() calls) Oktay Altunergil -Original Message- From: Sterling [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 4:12 PM To

Re: [PHP] Strange

2001-05-10 Thread Christian Reiniger
On Wednesday 09 May 2001 19:32, paket wrote: > Hello. > > This is a script fragment that I am working on. It's purpose is to > validate a user by checking a database to see if the userid and > password match what has been supplied. Here it is: > > if ($userid && $password) > { > $r

[PHP] StripSlashes

2001-05-10 Thread Sterling
H- I'd like to be able to strip the slashes from all the imported HTTP_POST_VARS. I found the $string = stripslashes($string); command. But this becomes very tedious if I have 20 vars and I need to code each one with its own stripslashes line. Which I am currently doing in a function. So I

[PHP] Security issue with index.php3

2001-05-10 Thread Michael J. Seely
HI If I make a file called index.php3 in a directory and have several other files 'hidden' in that same directory, is it possible for anyone to get the names of these files? How would they do this? How can I stop a spider or robot from finding these hidden files? Thanks - Mike -- _/_/_/_/

Re: [PHP] Setting paths in PHP

2001-05-10 Thread Miles Thompson
Johan, Use a combination of getcwd() and chdir(). It's well worth while checking out the functions offered for both directory and file. #The following index.htm contains links, see below. >$link = "data/data.htm"; >$fd = fopen ($link, "r"); >echo fread

RE: [PHP] ereg issues

2001-05-10 Thread Jerry Lake
Cool, thanks Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack Dempsey Sent: Thursday, May 10, 2001 12:39 PM To: s

Re: [PHP] Apache error when installing PHP 4.0.5

2001-05-10 Thread Christian Reiniger
On Thursday 10 May 2001 00:58, Mark Maggelet wrote: > On Wed, 9 May 2001 15:49:51 -0500, Joseph Bannon > > ([EMAIL PROTECTED]) wrote: > >> you need to point to the apache-source install > >> ie: ./configure --with-apache=../apache-1.3.19 > > > >But what if I have apache already installed? I have a

[PHP] Setting paths in PHP

2001-05-10 Thread Johan
My question: how do you set a path using php or html? I need it for the following code: index.php - --- data.htm -- Download it now! -

[PHP] starting up apache with php

2001-05-10 Thread Joseph Bannon
Thanks Wagner for the help on the other issue. It worked :-) Here is my next error when I try to start Apache... Cannot load /usr/lib/apache/libphp4.so into server: libmysqlclient.so.10: cannot open shared object file: No such file or directory I have the "libmysqlclient.so.10" file in the "/

Re: [PHP] ereg issues

2001-05-10 Thread Jack Dempsey
print preg_replace('/^(.*?)([a-zA-Z]{2})(.*)/','\\2',$blah); try that -jack "scott [gts]" wrote: > > oh yeah. sorry... > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack > > Dempsey > > Sent: Thursday, May 10, 2001 3:15 PM > > To: ..s.c.o

RE: [PHP] ereg issues

2001-05-10 Thread scott [gts]
oh yeah. sorry... > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack > Dempsey > Sent: Thursday, May 10, 2001 3:15 PM > To: ..s.c.o.t.t.. [gts] > Cc: Php-General > Subject: Re: [PHP] ereg issues > > > isn't a \w a word character, meaning a-zA-Z_0

Re: [PHP] Problem with PHP 4.0.5

2001-05-10 Thread Jack Dempsey
strange...i just ran that and got Mozilla/4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) (using ns on rh linux...) what netscape you running, etc? -jack biscut wrote: > > Jack > All I am using is: > > > PHP Test > > ?> > > > > thats all that is in the file, and it was simply called "hello.

RE: [PHP] Check this out -> http://www.hotscripts.com/webpoll/results.php

2001-05-10 Thread Sveinn Erlendsson
What about this pool then ? http://www.hotscripts.com/webpoll/polls.php?mypollid=2 -Original Message- From: ..s.c.o.t.t.. [gts] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 5:18 PM To: Php-General Subject: RE: [PHP] Check this out -> http://www.hotscripts.com/webpoll/results.

Re: [PHP] ereg issues

2001-05-10 Thread Jack Dempsey
isn't a \w a word character, meaning a-zA-Z_0-9 (in perl)? if so, that wouldn't match the a-zA-z he originally intended... am i missing something? -jack "..s.c.o.t.t.. [gts]" wrote: > > print preg_replace('/(.*?)(\w{2})(.*)/', '\\2', $blah); > > works for: > > $blah = "*9 scott 777zxsdf"; > a

Re: [PHP] Check this out -> http://www.hotscripts.com/webpoll/results.php

2001-05-10 Thread Michael Kimsal
Do you trust a poll that classifies XML as a scripting language? SED wrote: > ...of course M$ is worried about PHP, see this: > > http://www.hotscripts.com/webpoll/results.php > > SED > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additi

RE: [PHP] Problem with PHP 4.0.5

2001-05-10 Thread biscut
Jack All I am using is: PHP Test thats all that is in the file, and it was simply called "hello.php", as I say, works fine in IE and not in netscape...I dont get it... Regards and thanks for your help biscut > -Original Message- > From: Jack Dempsey [mailto:[EMAIL PROTECTED]] > S

[PHP] exit code generation, php shell script/standalone

2001-05-10 Thread Dave VanAuken
to tie in web based scripts and database updates with some server side maintenance and authentication issues, we need to have a PHP script be called from another program. The program expects a return or exit value to be transmitted back on completion or termination of the script. 0 indicating su

RE: [PHP] Please help

2001-05-10 Thread Johnson, Kirk
I think this question was answered by Stewart Taylor earlier today. Here is his response: " This error occurrs when you start a session that recreates an object variable but does not know the class definition for it. You need to make sure you include the class source before you start the session.

[PHP] Please help

2001-05-10 Thread Rodrigo Reis da Rocha
Hi, I have a problem with the session variables. nome_usuario = "vazio"; $this->webmaster_mail = "[EMAIL PROTECTED]"; $this->acao = "inicio"; $this->url_sistema = "http://localhost/web/ "; } function autorizaSistema($param_usuario, $param_passwd){ //Verificar no banco se o usuario exis

Re: [PHP] Cannot find mysqlclient library

2001-05-10 Thread Alexander Wagner
Joseph Bannon wrote: > What exactly is the problem? I don't understand this error > message > > configure: error: Cannot find mysqlclient library under > /usr/local/mysql-3.23.37 Before installing PHP --with-mysql=/usr/local/mysql-3.23.37 , you have to install mysql there first. regards Wag

[PHP] Question on php.ini.max_execution_time

2001-05-10 Thread Johnson, Kirk
I have a PHP script that opens a socket to another (non-PHP) process. This process has been having problems of late, and can take 10 minutes or more to execute. I have max_execution_time set to 300 seconds in php.ini. However, users report to me that the PHP script does not always time-out after 3

[PHP] Cannot find mysqlclient library

2001-05-10 Thread Joseph Bannon
What exactly is the problem? I don't understand this error message configure: error: Cannot find mysqlclient library under /usr/local/mysql-3.23.37 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

RE: [PHP] Check this out -> http://www.hotscripts.com/webpoll/results.php

2001-05-10 Thread ..s.c.o.t.t.. [gts]
that's an extremely biased poll... considering that it's a *scripting* website. it's only logical that a majority of people going there would choose a scripting language (and since PHP is so newbie friendly, it also makes sense that it has such broad appeal to the newbie web-programmers at the si

RE: [PHP] bulletin board or forum

2001-05-10 Thread James Atkinson
http://www.phpbb.com :D - James > -Original Message- > From: Matt Williams [mailto:[EMAIL PROTECTED]] > Sent: May 10, 2001 3:14 AM > To: Kian On; [EMAIL PROTECTED] > Subject: RE: [PHP] bulletin board or forum > > > phorum.org > > M@ > > > -- > PHP General Mailing List (http://www.

RE: [PHP] regex pattern match and extract

2001-05-10 Thread ..s.c.o.t.t.. [gts]
use match_all to get an array of matches. $s = "[VET]We r NOT [PA]-Crew [TC]"; preg_match_all('/\[.*?\]/', $s, $matches); while (list($k,$v) = each($matches[0])) { print "$k = $v\n"; } prints: 0 = [VET] 1 = [PA] 2 = [TC] > -Original Message- > From: Michael Roark [mailto:[

RE: [PHP] ereg issues

2001-05-10 Thread ..s.c.o.t.t.. [gts]
print preg_replace('/(.*?)(\w{2})(.*)/', '\\2', $blah); works for: $blah = "*9 scott 777zxsdf"; and $blah = "scott"; > -Original Message- > From: Jerry Lake [mailto:[EMAIL PROTECTED]] > Subject: [PHP] ereg issues > > I'm feeling a bit stupid today > how do I truncate a string to the >

Re: [PHP] multiselects and arrays

2001-05-10 Thread Toby Miller
You can use javascript with this naming convention, just not the way you're probably doing it. Here's a working example: function getValue(field) { var form = document.testform; var temp = form[field].value; return(temp); } function getArrayValue(field, index) { var form

Re: [PHP] i need some help with extracting data from mysql

2001-05-10 Thread Steve Werby
"Sandeep Hundal" <[EMAIL PROTECTED]> wrote: > > my query is "SELECT group, name FROM $tablename WHERE approved='yes' > > GROUP BY folder ORDER BY folder; > > Sorry, substitute folder for Group. I just wrote that by mistake. > > Data is such: > 1 | friends | name1 | yes > 2 | misc| name2 | yes

Re: [PHP] PHP 4.0.5 Install problem and MySQL

2001-05-10 Thread Darron Froese
On 5/10/01 10:39 AM, "Dominic Schanen" <[EMAIL PROTECTED]> wrote: > With v4.0.4pl1, everything works great. With v4.0.5, everything builds and > compiles just fine. However, when I go to a page that try to access MySQL, > the page stops loading and the first instance of trying to access MySQL and

[PHP] PHP 4.0.5 Install problem and MySQL

2001-05-10 Thread Dominic Schanen
Hello, I'm attempting to upgrade my version of PHP from 4.0.4pl1 to 4.0.5. My configure command is the following for both versions: --- ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-zlib= /usr/local --with-gd=/usr/local --with-jpeg-dir=/usr --with-png-dir=/us

[PHP] regex pattern match and extract

2001-05-10 Thread Michael Roark
$sql="select nfo_gname from galaxy_nfo limit 1"; $result=db_query($sql); if ($result) { while (list($nfo_gname)=mysql_fetch_row($result)) { echo ("$nfo_gname"); ereg ("\[[a-zA-Z0-9]\]", $nfo_gname, $regs); echo $regs[1]; I'm trying to match any thing between [] and pull it from the string and

[PHP] Check this out -> http://www.hotscripts.com/webpoll/results.php

2001-05-10 Thread SED
...of course M$ is worried about PHP, see this: http://www.hotscripts.com/webpoll/results.php SED -- 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 P

[PHP] ereg issues

2001-05-10 Thread Jerry Lake
I'm feeling a bit stupid today how do I truncate a string to the first two [a-zA-Z] characters ? this sure isn't working $test = "jerry"; $test = ereg_replace("^\w*", "^[a-zA-Z]{2}" ,$test); Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Onli

RE: [PHP] i need some help with extracting data from mysql

2001-05-10 Thread Sandeep Hundal
-Original Message- From: Steve Werby [mailto:[EMAIL PROTECTED]] Sent: 10 May 2001 17:04 To: Sandeep Hundal; php Subject: Re: [PHP] i need some help with extracting data from mysql "Sandeep Hundal" <[EMAIL PROTECTED]> wrote: > i've got a simple problem, yet it doesn't work, so i hope so

Re: [PHP] Manipulating Images into JPG

2001-05-10 Thread Sterling
H- A good place to start would be GD.pm and ImageMagick http://stein.cshl.org/WWW/software/GD/GD.html http://www.wizards.dupont.com/ -- This is the website but it's not pulling up right now. There are many others but this will give ya a start. HTH, -Sterling Adam Plocher wrote: > > I want

  1   2   >