[PHP] test

2001-02-08 Thread Plamen Slavov
test -- 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: Wierd OCI Problem... [Urgent, and please help]

2001-02-08 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

Re: [PHP] looping variables

2001-02-08 Thread Michael Dearman
Hey Wen, Had me going there for a bit, cause I had just put down a book on C, where variables are not preceded by such things as $. But for PHP, your missing a few $'s on your variables. And, your taking care of matching that javascript opening tag from where your calling this function? MD Wen

[PHP] Raspuns: [PHP] indexing text

2001-02-08 Thread Ovidiu EFTIMIE
Try here http://www.searchtools.com/tools/tools-unix.html Ovidiu -Mesaj original- De la: Robert Mena [mailto:[EMAIL PROTECTED]] Trimis: Friday, February 09, 2001 4:35 AM Catre: php mailing list Subiect: [PHP] indexing text Hi, i am trying to store some digital books under mysql and giv

RE: [PHP] Web Based Project Management Tools

2001-02-08 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

[PHP] Raspuns: [PHP] Cron + PHP

2001-02-08 Thread Ovidiu EFTIMIE
0 20 * * * lynx -dump http://localhost/file.php every day at 20:00 this file will be executed Ovidiu -Mesaj original- De la: GAYTAN BAHAMONDEZ DANIEL EDUARDO [mailto:[EMAIL PROTECTED]] Trimis: Friday, February 09, 2001 12:37 AM Catre: [EMAIL PROTECTED] Subiect: [PHP] Cron + PHP How ca

Re: [PHP] echo vs print

2001-02-08 Thread Philip Olson
On Thu, 8 Feb 2001, Todd Cary wrote: > I have "Profession PHP Programming" and I see that echo() and print() > are used alomst interchangeably. When should each one be used? What is the difference between echo and print ? ---

[PHP] looking for a class to replace our own tags with it's HTML equivalent

2001-02-08 Thread Maxim Maletsky
Hi, I refer to: http://forums.devshed.com/index.php?action=bbcode Do you guys know who has written something like that before? I am looking for a class that could do that kind of job. What I am trying to do is to parse articles replac

Re: [PHP] Super SQL problem! Please advise!

2001-02-08 Thread Graham Reeves
Sandeep try this SELECT d.id, d.thedate, d.topic, d.entry, count(c.id) AS comments FROM diary d left outer join comments c on (d.id = c.id) WHERE d.month='$month' GROUP BY c.id ORDER BY d.id DESC " Cheers _ Graham Reeves Consultant PQ Africa - Q Data C

Re: [PHP] include("blah.php?var=this"); doesn't work?!

2001-02-08 Thread Dean Hall
> Uh, why? Adding ?asin$asin makes absolutely no sense in an include since > included files share the same namespace as the parent file. You can > simply do: Er, Rasmus. Do you mean "scope"? You're usually right on target with your comments, so I'm sure that's what you meant :-) Speaking o

Re: [PHP] Converting CFML to PHP

2001-02-08 Thread Dean Hall
Seeing as how CFML is just more markup and PHP is an embedded language, your task will be interesting. IMHO, CFML is the worst thing out; it's not a real scripting language, and it blurs the distinction between markup and logic. Sorry I couldn't help. (Just wanted to voice my opinion -- no flameb

Re: [PHP] PEAR

2001-02-08 Thread Dean Hall
> Can anyone point me in the direction of a good site documenting PEAR? There is none. Although you should look at . Also see . Also check out the stuff in the pear directory of the source installation. Dean. -- PHP General Mailing

[PHP] PHP support for hexadecimal

2001-02-08 Thread Michael
Hi, I have a question about PHP's support for unsigned integers. I was trying out the following code fragment $val = 0x8000; $hexval_str = sprintf("%X", $val); echo $hexval_str; result= -8000 It seems here that I can not represent $val as an unsigned integer. Since settype does not

Re: [PHP] PHP File Uplaod Path

2001-02-08 Thread Ankur Verma
The default file upload path is the Temporary directory of your system. But the problem that I percieve in your case is that when PHP uploads the file, it gives it a temporary file name ( such as /tmp/shsgtW ). if you are loooking to store the files in an intelligent manner, I would suggest that

Re: [PHP] UN-Escaping text from a form submit?

2001-02-08 Thread Ankur Verma
there are two ways of achieving thi - stripslashes($data) or if you want this to be global, then set magic_quotes_gpc = Off in php.ini file hope that helps regards Ankur Verma > - Original Message - > From: "John Vanderbeck" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: T

[PHP] looping variables

2001-02-08 Thread Wen Ni Leong
Please help me to solve this problem. I have looping selected menu and I want to use javascript to control each function. For example if select Text Form,the javascript will automate to open new window. Right now my problem is I can't differentiate from which menu or location I had selected beca

[PHP-CVS] cvs: php4 /sapi/caudium caudium.c

2001-02-08 Thread David Hedbor
neotron Thu Feb 8 21:32:42 2001 EDT Modified files: /php4/sapi/caudium caudium.c Log: Fixed PHP authentication and some other minor things. Index: php4/sapi/caudium/caudium.c diff -u php4/sapi/caudium/caudium.c:1.8 php4/sapi/caudium/caudium.c:1.9 --- php4/sap

RE: [PHP] echo vs print

2001-02-08 Thread Maxim Maletsky
If you search archives you'll find some blody battles on this kind of issues, there are some slight differences but work both well and are very similar in performance - so this is the question of style. You see, Professional PHP Programming was written by 5 young guys (including Sascha) and that

[PHP] TCP/IP Question

2001-02-08 Thread JCampell
I'm working on a TCP/IP server using PHP, but the example I found on www.php.net is only a one connection. Does anyone have an example of a multiple connection php script? I'd really appreciate looking at it.. www.PictureArena.com === The lack of humility before nat

[PHP] version'ng problem with php4 and apache 1.3.17 ...

2001-02-08 Thread The Hermit Hacker
I feel so dense :( I've gotten into a habit of upgrading my apache with a simple 'make install-program', but, of course, php needs 'make install-include' to happen as well ... so, my include files for apache was out of sync with the server, causing the problem ... all appears well now ...

RE: [PHP] echo vs print

2001-02-08 Thread Jeff Oien
>From recent posts: http://www.zend.com/zend/tut/using-strings.php also see the doc for print in the PHP manual: http://www.php.net/manual/en/function.print.php Jeff Oien > I have "Profession PHP Programming" and I see that echo() and print() > are used alomst interchangeably. When should each o

php-general Digest 9 Feb 2001 04:28:08 -0000 Issue 501

2001-02-08 Thread php-general-digest-help
php-general Digest 9 Feb 2001 04:28:08 - Issue 501 Topics (messages 38776 through 38894): Re: gif support 38776 by: Chris Lee Re: radiobutton 38777 by: Jon Haworth 38778 by: Reuben D Budiardja 38816 by: James, Yz Re: splitting a class across separate files?

Re: [PHP] test for undefined variables & renaming variables

2001-02-08 Thread Ankur Verma
you can test for undefined variables using isset($var) or empty($var) look into the php manual for more details on these functions yes php does provide you with an option to create variables from variables themselves refer to the following http://www.php.net/manual/en/language.variables.var

Re: [PHP] Insert Data AS400

2001-02-08 Thread Richard Lynch
> I'm having troubles inserting records into our AS400. I've tried just about > every combination I can think of when trying to insert a record, but nothing > is working. Here is the most recent error I keep getting: > > Warning: SQL error: [IBM][CLI Driver][AS] SQL7008N REXX variable "WBO230P "

Re: [PHP] interoperating with perl

2001-02-08 Thread Richard Lynch
> I have some web agent type stuff to do for which there are some handy perl > modules. I can just wrap them in scripts and system() them of course, but > I though I'd check if there is some more elegant approach to integrating > with perl before I do that? http://php.net/virtual may or may not

Re: [PHP] PHP not sending email

2001-02-08 Thread Richard Lynch
> sendmail_path = /usr/lib/sendmail -t > ;for unix only, may supply arguments as well (default is 'sendmail -t -i') Those apostrophes on the default setting are not just for show. sendmail_path = 'usr/lib/sendmail -t' Actually, I use " not ', but either should work. An .ini file delimits on a

Re: [PHP] Should this work?

2001-02-08 Thread Richard Lynch
> foreach($some2DArray as &$refToArrayRow) > { > } > > It won't even parse with an error of > Parse error: parse error, expecting `T_VARIABLE' or `'$'' in > ./myFile.php on line 473 > > > Can you not use a reference within a foreach loop? With the & removed, > it works fine but then when I updat

Re: [PHP] Php (&mysql) & different char-sets

2001-02-08 Thread Richard Lynch
> Is it possible to make three textareas on one page (of course it is, but > read til the end, you`ll get the point) and let the user type into each > box in a different language with different charsets. > > For example, lets say I want to insert three versions of one text on one > page (without s

Re: [PHP] Mysql connection problems

2001-02-08 Thread Richard Lynch
> Warning: MySQL Connection Failed: Can't connect to MySQL server on > 'localhost' (10061) in c:\arquivos de > programas\apache group\apache\htdocs\db_connect.php on line 3 > Couldn't connect. Is the MySQL deamon running? IE, is there a black MS-DOS window (maybe minimized) that has something not

Re: [PHP] PHP function using a WML variable from a select list as to access the right data in a MYSQL database

2001-02-08 Thread Richard Lynch
I'm not sure I'm following the purpose, but you need to access a whole 'nother page (or, at least, a whole 'nother HTTP connection) to select HELP1 or HELP2 from your phone. It seems like you're trying to get your WAP to execute PHP somehow, and that won't happen. [This week, anyway :-)] Disclaim

[PHP] Wierd OCI Problem... [Urgent, and please help]

2001-02-08 Thread Chien-Pin Wang
Dear all, My server is running RedHat6.2/Apache 1.3.14/PHP 4.0.4pl1/Oracle 8.0.5. The way I make connection from PHP to Oracle is through php's Oracle 8 extension OCIPLogon. Since the server was made available to the public, *EVERY ONCE A WHILE* I got error messages logged in apache's

Re: [PHP] PHP4.0.4pl1 with Apache 1.3.17/SSL and Frontpage ...

2001-02-08 Thread The Hermit Hacker
On Thu, 8 Feb 2001, Larry Rosenman wrote: > * The Hermit Hacker <[EMAIL PROTECTED]> [010208 21:12]: > > > > Simple ... everything compiles cleanly, but as soon as I try and run it, I > > get: > > > > pegasus# /usr/local/apache/bin/httpsd > > httpsd: module "mod_php4.c" is not compatible with this

Re: [PHP] Web Based Project Management Tools

2001-02-08 Thread David Robley
On Fri, 9 Feb 2001 11:46, Nathan Cook wrote: > Do any of you know of a comprehensive web-based project management tool > written in php? > > Thank You! > .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. > Systems & Network Administrator :: Programmer > [ phone - 208.343.3110 ][ pager - 208.387.9983 ] K

Re: [PHP] indexing text

2001-02-08 Thread David Robley
On Fri, 9 Feb 2001 13:45, Steve Werby wrote: > "Robert Mena" <[EMAIL PROTECTED]> wrote: > > Besides htdig is there any other solution (perhaps > > written in php) to index a content of a TEXT field in > > order to have an "altavista-like" search engine for my > > use ? > > mnoGoSearch (formerly u

[PHP] echo vs print

2001-02-08 Thread Todd Cary
I have "Profession PHP Programming" and I see that echo() and print() are used alomst interchangeably. When should each one be used? Also, I see "http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

Re: [PHP] indexing text

2001-02-08 Thread Steve Werby
"Robert Mena" <[EMAIL PROTECTED]> wrote: > Besides htdig is there any other solution (perhaps > written in php) to index a content of a TEXT field in > order to have an "altavista-like" search engine for my > use ? mnoGoSearch (formerly udmsearch) will do the trick. It's written in C++, it's ver

Re: [PHP] PHP4.0.4pl1 with Apache 1.3.17/SSL and Frontpage ...

2001-02-08 Thread Larry Rosenman
* The Hermit Hacker <[EMAIL PROTECTED]> [010208 21:12]: > > Simple ... everything compiles cleanly, but as soon as I try and run it, I > get: > > pegasus# /usr/local/apache/bin/httpsd > httpsd: module "mod_php4.c" is not compatible with this version of Apache. > Please contact the vendor for the

[PHP] PHP4.0.4pl1 with Apache 1.3.17/SSL and Frontpage ...

2001-02-08 Thread The Hermit Hacker
Simple ... everything compiles cleanly, but as soon as I try and run it, I get: pegasus# /usr/local/apache/bin/httpsd httpsd: module "mod_php4.c" is not compatible with this version of Apache. Please contact the vendor for the correct version. The only thing I can find on the list archives deal

Re: [PHP] Files only available via HTTPS

2001-02-08 Thread Jason Brooke
http://www.modssl.org/docs/2.6/ssl_reference.html#ToC22 jason - Original Message - From: "Daniel Tryba" <[EMAIL PROTECTED]> To: "Michael Conley" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, February 09, 2001 12:24 PM Subject: Re: [PHP] Files only available via HTTPS > On

Re: [PHP] Files only available via HTTPS

2001-02-08 Thread Christopher Allen
> On Thu, Feb 01, 2001 at 04:29:09PM -0800, Michael Conley wrote: > > I have several PHP files that I only want users to be able to access via > > HTTPS. One way is to place these files only where the https server can see them. heres an example: . . DocumentRoot "/secure/secure_di

[PHP] indexing text

2001-02-08 Thread Robert Mena
Hi, i am trying to store some digital books under mysql and give a chapter/page access using php as scripting lanaguage. Besides htdig is there any other solution (perhaps written in php) to index a content of a TEXT field in order to have an "altavista-like" search engine for my use ? I've read

Re: [PHP] Files only available via HTTPS

2001-02-08 Thread Aaron Tuller
HTTPS is set to "on", at least on my Apache when SSL is enabled. it's undefined when it's not. this is what I would do (untested code below): function UsingHTTPS() { $HTTPS = getenv("HTTPS"); return ($HTTPS == "on"); } function UsingHTTP() // might be useful? { return

RE: [PHP] Searching HTML file for tags

2001-02-08 Thread Tyler Longren
Ah ha! So i see. :) thanks. -Original Message- From: Mukul Sabharwal [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 8:21 PM To: Tyler Longren; [EMAIL PROTECTED] Subject: Re: [PHP] Searching HTML file for tags Hi, You've forgot to put fread() : '; $data = fread($file

Re: [PHP] Files only available via HTTPS

2001-02-08 Thread Daniel Tryba
On Thu, Feb 01, 2001 at 04:29:09PM -0800, Michael Conley wrote: > I have several PHP files that I only want users to be able to access via > HTTPS. How can I control that on an Apache 1.3.14 server running on RedHat > 7? I have openssl and mod_ssl working fine. Currently, I can access all of >

Re: [PHP] Searching HTML file for tags

2001-02-08 Thread Mukul Sabharwal
Hi, You've forgot to put fread() : '; $data = fread($file, filesize('closings.html')); if (eregi('StratfordClosed', $data)) echo 'Stratford closed'; else echo 'Stratfor open'; ?> --- Tyler Longren <[EMAIL PROTECTED]> wrote: > Hello everybody, > > Here's my code: > > $file = fopen("clos

[PHP] Searching HTML file for tags

2001-02-08 Thread Tyler Longren
Hello everybody, Here's my code: "; if (eregi("StratfordClosed",$file)) { print "Stratford Closed"; } else { print "Stratford Open"; } } ?> The file closings.html has tables with weather related closings. I want to search closings

[PHP] Mysql connection problems

2001-02-08 Thread Felipe Lopes
When I try to connect mysql with the following code: MySql Connection The following error appear: Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in c:\arquivos de programas\apache group\apache\htdocs\db_connect.php on line 3

Re: [PHP] fopen warning error message

2001-02-08 Thread Chris Lee
@ sign is your friend. if ($file = @fopen('...', 'r')) { } else { } -- Chris Lee Mediawaveonline.com [EMAIL PROTECTED] ""Ade Smith"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > I am trying to open a file which exists remotely(code works), b

Re: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread Chris Lee
I would have to agree with you Johnathan, more of a browse then a hack. I think to qualify this as a hack you'd need a little more security on rswfires side no? and to call it a crack I think you would have to accually do something malicous, you didnt. Sorry rswfire, bump you security a little hi

Re: [PHP] ereg_replace with assoc array?

2001-02-08 Thread Jaxon
Thanks for the feedback! >From the docs it appears that I can do this: $string = file.tpl; //html mixed with {placeholders} $array = fetch_mysql_array($result, MYSQL_ASSOC); //array of field => values echo strtr($string, $array); //passing only 2 arguments means 2nd is array one thing - I wa

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread Jason Murray
> more clearly, if multiple instances occur, any new instance > of SELECTED will supersede any previous instance. In MSIE, yeah. Netscape ignores any subsequent SELECTED's. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread DanO
sorry for the spam, sometime's i'm stupid ;) yes nathan is indeed correct that SELECTED should only be used once in an index, on the item you want to show up first. more clearly, if multiple instances occur, any new instance of SELECTED will supersede any previous instance. DanO -Origina

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread DanO
wrong. you can put it on any element in the list. cut'n'paste and try for yourself: selected DanO -Original Message- From: Nathan Cook [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 5:10 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Dynamic Drop-d

Re: [PHP] Dynamic Drop-down list

2001-02-08 Thread Todd Cary
Many thanks! Works like a champ now... Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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: [EMAI

RE: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread Jonathan Sharp
P.S. in your phpMyAdmin config.inc.php file line 13 set: $cfgServers[1]['adv_auth'] = true; then you won't have any problems... -codeboy > -Original Message- > From: rswfire [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 08, 2001 3:20 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTEC

[PHP] Web Based Project Management Tools

2001-02-08 Thread Nathan Cook
Do any of you know of a comprehensive web-based project management tool written in php? Thank You! .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. Systems & Network Administrator :: Programmer [ phone - 208.343.3110 ][ pager - 208.387.9983 ] -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread Jonathan Sharp
Ok, I just checked my mail and found this thread... to clear this up... In one of your posts you posed a url to a script you were working on...and I backed up a directory and it gave me a directory listing...one folder was /admin/ it gave another listing...then showed phpMyAdmin and then it gave

Re: [PHP] Dynamic Drop-down list

2001-02-08 Thread Nathan Cook
Moreover, you can put SELECTED only on the item you want to show up first. .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. Systems & Network Administrator :: Programmer [ phone - 208.343.3110 ][ pager - 208.387.9983 ] - Original Message - From: "DanO" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]

Re: [PHP] Mail-Encryption

2001-02-08 Thread Richard Lynch
I don't know... Never used safe mode. I *think* you would have to have all the files under your web-tree, but that might make gpg rather unsuitable. If your private key-ring file is in your web-tree, it's maybe just a little too exposed... Maybe you can create a custome keyring for just the we

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread DanO
the 'SELECTED' attribute will select an item in a dropdown list. by default, with no SELECTED attribute, the first item will be shown and selected. make sense? DanO -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 5:00 PM To: [EMAIL PROT

RE: [PHP] security help

2001-02-08 Thread Thor M. Steindorsson
SAFE MODE!! That's exactly what I was looking for... It did the trick. Thanks Chris. -Original Message- From: Chris [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 4:18 PM To: php Subject: Re: [PHP] security help If you include a file as a link, so the browser sees: www.my

[PHP] Dynamic Drop-down list

2001-02-08 Thread Todd Cary
I create a Drop-down from a DB table. All works as expected *except* the default item (the one showing to the surfer) is the last in the list. Is there a way I can have the first item show? Todd /* Make a drop-down */ function make_dropdown($ddName, $itemList, $first) { if (count($i

[PHP] preg_match() vs. preg_match_all()

2001-02-08 Thread CC Zona
What is the functional difference between preg_match() and preg_match_all()? I've puzzled over the manual descriptions for both, checked the list archives and faqts.com, and still can't figure out why they seem to return different results for the same pattern searches. TIA -- CC -- PHP Ge

Re: [PHP] installing PHP 4.0.4pl1 on Redhat 6.2

2001-02-08 Thread Michael Hall
> Can you install PHP 4.0.4pl1 on Redhat 6.2 - Yes Also, apache will be installed > and configured with the installation of Redhat 6.2 so is PHP 4.0.4pl1 still > compatible with Redhat 6.2 and whatever version of Apache gets installed > with it?? Yes. Sort of. You need to f

Re: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread Philip Olson
> True, but none of which are applicable to me, as I've not slandered, defamed > or spoofed anything or anyone. As far as hacking is concerned, I wouldn't > know my arse from my elbow :) just a fyi, my post had nothing to do with you. or the other james (which that line you're referring too had

Re: [PHP] security help

2001-02-08 Thread Chris
If you include a file as a link, so the browser sees: www.myserver.com/sercuredir/image.jpg. Than yes, you will be asked for a user and pass. If you include the file in the code, like including another script file, or reading the raw image data and outputting it, then .htaccess will be ignored.

Re: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread James, Yz
> Your momma pays full commission! > > (sorry, couldn't resist) It's OK, I get referral fees :) -- 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 PRO

RE: [PHP] script doesn't work in netscape

2001-02-08 Thread Scott Brown
>Welcome back to the ColoradoPTAC website, $row['company']; ?>. > Please click target="_top">here to > complete the login process and begin using the site. > > > > I'm thinking that

RE: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread Chad Day
Your momma pays full commission! (sorry, couldn't resist) >As far as hacking is concerned, I wouldn't know my arse from my elbow :) > >James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread James, Yz
> > Whatever, James. > > Also, consider this word : > > sue > > As well as : > > defamation of character > > And also : > > Libel and Slander > > And lastly : > > Spoof > > All should be considered before posting anything anywhere. Especially a > public mailing list. It's impor

[PHP] script doesn't work in netscape

2001-02-08 Thread Erik Boles
When people log into the website in question, it passes the user ID and password to the login.php3 file, (included below). It works just fine in IE, but in Netscape (tested on 4.7) it gives a blank white screen. If we view source, all of the source code is there, and it shows no errors (errors f

Re: [PHP] PHP && mySQL

2001-02-08 Thread Chris Hayes
Hello Yui, I do not really understand your question. > initial condition > 1) three are many *html in my SQL ex:xxx.html,and yyy.html > 2)I have domain ex: abc (ex: http://www.abc.com) > 3)database name : aaa > 4)table name :bbb How is xxx.html in the SQL? > I want to try next step. > when

[PHP] installing PHP 4.0.4pl1 on Redhat 6.2

2001-02-08 Thread Scott Mebberson
Hi Guys, Can you install PHP 4.0.4pl1 on Redhat 6.2 - Also, apache will be installed and configured with the installation of Redhat 6.2 so is PHP 4.0.4pl1 still compatible with Redhat 6.2 and whatever version of Apache gets installed with it?? Does anybody know about MySQL aswell? Thanks Guys

Re: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread Matt McClanahan
On Thu, Feb 08, 2001 at 03:19:52PM -0800, rswfire wrote: > Whatever, James. > > The hackers name is Jonathan Sharp. He is a > regular member of this mailing list. I do > believe that people here would like to know they > have a hacker on their hands, don't you think? http://www.tuxedo.org/~e

Re: [PHP] ftp_fput

2001-02-08 Thread James, Yz
I've no idea what's wrong with this, and I'm a little tired to try and look into it, but omit any username / password / server info from anything you post anywhere that's accessible publicly! ;) James. ""Marisol Díaz E."" <[EMAIL PROTECTED]> wrote in message 008301c09225$4ce07e80$[EMAIL PROTECTE

Re: [PHP] security help

2001-02-08 Thread James, Yz
> > In addition, > > > > (if using .htaccess) They would only be able to read the .htpasswd from > > public directory if they had first authorised themselves. The browser will > > prompt them to identify before it allows files from a protected directory to > > be included. > > > > James, > > are

RE: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread Philip Olson
> Whatever, James. Also, consider this word : sue As well as : defamation of character And also : Libel and Slander And lastly : Spoof All should be considered before posting anything anywhere. Especially a public mailing list. It's important to be caref

[PHP] fopen warning error message

2001-02-08 Thread Ade Smith
Hi I am trying to open a file which exists remotely(code works), but there may be times when it may not exist, however when I change the url so that it purposely doesn't exist to test this situation I get an error message like the following: Warning: fopen("","r") - No error in test.php on line

Re: [PHP] Cron + PHP

2001-02-08 Thread Website4S
Hi, Yes just make the path lead to the file on your server. Regards Adrian -- 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]

Re: [PHP] [Newbie] PHP Variables

2001-02-08 Thread James, Yz
// Index.php file. // Page header // Page footer ... Difficult to tell what's going wrong with just a url. James. > I thought you can pass variables in PHP as in CGI. > > http://www.xy.com/index.php?contents=HOME > > contents should be available as variable, but it does not seem to work.

[PHP-CVS] cvs: php4 /ext/vpopmail php_vpopmail.c

2001-02-08 Thread Boian Bonev
bbonev Thu Feb 8 15:31:00 2001 EDT Modified files: /php4/ext/vpopmail php_vpopmail.c Log: fixed SIGSEGV in vpopmail_auth_user when optional arg apop is not set Index: php4/ext/vpopmail/php_vpopmail.c diff -u php4/ext/vpopmail/php_vpopmail.c:1.7 php4/ext/v

Re: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread James, Yz
Many hackers now go about their business to notify (or even test) administrators whether or not they've been up to no good. It's possible that you've mis-construed what he was up to. Nevertheless, your complaints should really go to the correct authorities (your server, the "hacker" and if neces

Re: [PHP] [Newbie] PHP Variables

2001-02-08 Thread Philip Olson
If register_globals is turned off, that will not work. See : http://www.php.net/manual/en/configuration.php#ini.register-globals Check phpinfo() For details on your settings, perhaps it is off. Try : And it should display : HOME : for you. Regards, Philip Olson http://www.

Re: [PHP] Events in HTML with PHP

2001-02-08 Thread Toby Butzon
Nope, this won't work. PHP is stricly server side; only JavaScript and other client side languages are capable of being called based on an event (as opposed to an HTTP request). --toby Francesco Rossi wrote: > > Hi, > How i can use the event OnChange of a tag for run a php script ? > Es. > Th

RE: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread rswfire
Whatever, James. The hackers name is Jonathan Sharp. He is a regular member of this mailing list. I do believe that people here would like to know they have a hacker on their hands, don't you think? It would appear the friendly Jonathan has another side to himself... Codeboy: Jonathan Sharp D

Re: [PHP] Generic cloner?

2001-02-08 Thread Toby Butzon
Umm, not sure I understand the question completely... but following the code below, why not just assign the object to a new variable? That'd give you an exact copy with a lot less code... --toby Richard Lynch wrote: > > > I'm wondering if there is an easy way to code a generic cloner at to

[PHP] ftp_fput

2001-02-08 Thread Marisol Díaz E.
Hi Please help me I don't knowk that is wrong, in this code, for ftp_fput Don't copy the archive, when copy the archive , this has other extension, and the size is 0kb. Thanks. Marisol Díaz E. Marisol Díaz E. Gerente de Aplicaciones Internet Tecnopro Cía. Ltda. www.tecnopro.net Pinta

Re: [PHP] Cron + PHP

2001-02-08 Thread Joe Stump
#!/path/to/php -q chmod +x foo.php 0 0 * * * /path/to/foo.php > /dev/null --Joe On Thu, Feb 08, 2001 at 07:36:57PM -0300, GAYTAN BAHAMONDEZ DANIEL EDUARDO wrote: > How can i make a crontab run a php file??? > should i add something like this in the file: > > path/to/file.php > > > Th

RE: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread James Moore
> > Today I noticed an entry in my database with the > username "codeboy" and the password "hacked" in > one of the authorization tables I have created. > I am shocked that someone could be so malicious > and insensitive! I am programming locally; I > realize there may be some security > vulnera

Re: [PHP] How to make PHP work in all sub-directories?

2001-02-08 Thread Toby Butzon
You might find more help on php-windows, but here's what I suspect... Take a look at your IIS management console and see if the subdirectory might've been configured differently from the root directory. Or, try changing the script mappings a little in the root and let them override the subdirecto

[PHP] To The Hacker: CodeBoy

2001-02-08 Thread rswfire
Today I noticed an entry in my database with the username "codeboy" and the password "hacked" in one of the authorization tables I have created. I am shocked that someone could be so malicious and insensitive! I am programming locally; I realize there may be some security vulnerabilities during

Re: [PHP] [Newbie] PHP Variables

2001-02-08 Thread Joe Stump
That should work just fine. Make sure that HOME doesn't have any spaces and is urlencode()'d --Joe On Thu, Feb 08, 2001 at 09:49:18PM +0100, Steve Haemelinck wrote: > I thought you can pass variables in PHP as in CGI. > > http://www.xy.com/index.php?contents=HOME > > contents should be availa

[PHP] Insert Data AS400

2001-02-08 Thread Karl J. Stubsjoen
Help! (if you can). I'm having troubles inserting records into our AS400. I've tried just about every combination I can think of when trying to insert a record, but nothing is working. Here is the most recent error I keep getting: Warning: SQL error: [IBM][CLI Driver][AS] SQL7008N REXX variab

[PHP] [Newbie] PHP Variables

2001-02-08 Thread Steve Haemelinck
I thought you can pass variables in PHP as in CGI. http://www.xy.com/index.php?contents=HOME contents should be available as variable, but it does not seem to work. Doe anyone has an idea why not? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Cron + PHP

2001-02-08 Thread GAYTAN BAHAMONDEZ DANIEL EDUARDO
How can i make a crontab run a php file??? should i add something like this in the file: path/to/file.php Thanks in advance... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the l

[PHP-CVS] cvs: php4 /pear/Mail Sendmail.php

2001-02-08 Thread Chuck Hagenbuch
chagenbuThu Feb 8 14:33:24 2001 EDT Modified files: /php4/pear/Mail Sendmail.php Log: die on backticks in an attempted from address, also. Index: php4/pear/Mail/Sendmail.php diff -u php4/pear/Mail/Sendmail.php:1.2 php4/pear/Mail/Sendmail.php:1.3

[PHP-CVS] cvs: php4 /pear/PHPDoc/renderer/html PhpdocHTMLRenderer.php

2001-02-08 Thread Chuck Hagenbuch
chagenbuThu Feb 8 14:30:09 2001 EDT Modified files: /php4/pear/PHPDoc/renderer/html PhpdocHTMLRenderer.php Log: fix a type - $templateRoot was meant, not $path. Index: php4/pear/PHPDoc/renderer/html/PhpdocHTMLRenderer.php diff -u php4/pear/PHPDo

Re: [PHP] security help

2001-02-08 Thread Ben Peter
"James, Yz" wrote: > > In addition, > > (if using .htaccess) They would only be able to read the .htpasswd from > public directory if they had first authorised themselves. The browser will > prompt them to identify before it allows files from a protected directory to > be included. > James,

[PHP] ereg_replace with assoc array?

2001-02-08 Thread Jaxon
Hi Can I do this $string = file.tpl; while (list($pattern, $replacement) = each($array)) { ereg_replace ($pattern, $replacement, $string); } echo $string; note some assumptions below: $array contains an assoc array: first foo second bar third rab fourth oof file.tpl is this: some

[PHP-CVS] cvs: php4 /pear/PHPDoc index.php

2001-02-08 Thread Chuck Hagenbuch
chagenbuThu Feb 8 14:23:05 2001 EDT Modified files: /php4/pear/PHPDoc index.php Log: the warning referred to here was fixed. Index: php4/pear/PHPDoc/index.php diff -u php4/pear/PHPDoc/index.php:1.2 php4/pear/PHPDoc/index.php:1.3 --- php4/pear/PHPD

  1   2   3   >