[PHP] Mcrypt Coding Problem

2001-07-20 Thread John Peebles
Hi Everyone, When I try to execute the code below, I don't get any errors, but the data is never decrypted. I have tried tons of different people's code, but to no avail. Any help would be appreciated. Here is my code: $data= mcrypt_ecb(MCRYPT_TripleDES, $key, $data, ENCRYPT); echo data: $data;

Re: [PHP] php 4.0.6

2001-07-20 Thread Rasmus Lerdorf
Did you compile php using --with-readline ? On Thu, 19 Jul 2001, Adrian D'Costa wrote: Hi, I am trying to use the socket or readline functions but get a message: call to undefined function readline(). Why? Is this not implemented in 4.0.6. Adrian -- PHP General Mailing List

Re: [PHP] Help..Parse error

2001-07-20 Thread Jack Sasportas
Actually that is the default setting under 4, and the rest of the code works with the short tags, it's definately something code related... I don;t think it likes that code, but can't find anything to help me resolve the problem. I was hoping not to re-write the code just yet... Thanks Steve

Re: [PHP] php hosting provider that supports libswf module?

2001-07-20 Thread Rasmus Lerdorf
Does anyone know of a reputable PHP web hosting company that also supports the libswf (i.e. Flash) module? And, specifically, does anyone know if Pair.com does/doesn't? (yes, I'm going to ask them directly as well) Any provider which runs on a sane platform and doesn't disable the dl()

Re: [PHP] redirect to another page in PHP???

2001-07-20 Thread Dave Freeman
On 20 Jul 01, at 0:03, Doug wrote: Ok maybe I'm just retarded and can't find it but I'm looking for a way to do a redirect in a php page to another page, similar to asp's response.redirect function. Is there one in php??? No doubt there's plenty of options... here's what I'm using: I have

[PHP] Simple (I hope) updating contents question

2001-07-20 Thread Er Galvão Abbott
Greetings. First of all I'm a PHP bginner so take it easy on me :) I'm trying to make a script that does the following: * open a text file * read its contents * For each line on the file make a input tag with its contents, like input type=text name=line1 value=foo is what we use to ask

[PHP] File Upload Abject Misery Solved

2001-07-20 Thread Jason Rennie
Thank you for everybody tried to help with the file uploading problem. I figured out the problem. Don't you hate it how the obvious mistakes are the hardest to find. The answer was, it is ENCTYPE not ENC_TYPE doh! Thanks again everybody Jason -- PHP General Mailing List

Re: [PHP] Simple (I hope) updating contents question

2001-07-20 Thread David Robley
On Fri, 20 Jul 2001 16:36, Er Galvão Abbott wrote: Greetings. First of all I'm a PHP bginner so take it easy on me :) I'm trying to make a script that does the following: * open a text file * read its contents * For each line on the file make a input tag with its contents, like input

[PHP] Re: Simple (I hope) updating contents question

2001-07-20 Thread Paul A. Procacci
The fgets length is like this: It's the number of bytes read from a file OR up to a new line character. Which ever comes first. It's as simple as that. Try this: ? $file = filename.txt; // Name of file $fp = fopen($file, r); if(!$fp){ echo Couldn't open file for reading.; } else{ $i =

Re: [PHP] File Upload Abject Misery Solved

2001-07-20 Thread David Robley
On Fri, 20 Jul 2001 18:49, Jason Rennie wrote: Thank you for everybody tried to help with the file uploading problem. I figured out the problem. Don't you hate it how the obvious mistakes are the hardest to find. The answer was, it is ENCTYPE not ENC_TYPE doh! Thanks again

RE: [PHP] Prevent user to close web browser

2001-07-20 Thread Taylor, Stewart
That should not be a problem because if a user shuts down their web browser this means they no longer want to see the report. -Stewart -Original Message- From: Mihailo Dzigurski [mailto:[EMAIL PROTECTED]] Sent: 19 July 2001 23:06 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE:

Re: [PHP] Email Software

2001-07-20 Thread Paul A. Procacci
I have just recently wrote a php script that strips email address's off of websites, and will continually follow links until a certain depth. You can easily modify the script to mail or log all entries found. The script also discards duplicates found. Sounds Interesting? Let me know. The

[PHP] content type:text/html

2001-07-20 Thread GLEE
recently i made a simple mail program with php. and there is problem. when i send mail with html type, there is unexpected character !. and that is cause cracked link. i don't know what is cause this problem. my english is very poor... but hope your help... thanks -- PHP General Mailing

[PHP] Re: Restoring a backup

2001-07-20 Thread Paul A. Procacci
Not usre if anyone answered your question yet, but, first off, I'm not positive. I would try mysql -u root -p !database_name! !filename! ignore the (!) characters. :) paul Don wrote: Hi, I have a cron script that issues a: mysqldump --opt -ppassword myfile_db

Re[2]: [PHP] System() and PGP

2001-07-20 Thread Maxim Derkachev
Hello David, Friday, July 20, 2001, 5:50:32 AM, you wrote: DP I'm using apache, so is there away to get the output sent to PHP? Someone DP suggested using system(pgp 21); but all I get is: DP Pretty Good Privacy(tm) Version 6.5.1i (c) 1999 Network Associates Inc. DP Export of this

Re: [PHP] php 4.0.6

2001-07-20 Thread Adrian D'Costa
What would be the ideal setting to compile Adrian On Fri, 20 Jul 2001, E. Peter K. Chan wrote: Seems the library hasn't been compiled into your installation or need to change php.ini to point to the proper include folder. Try a search on google.com for call to undefined function. -

Re: [PHP] redirect to another page in PHP???

2001-07-20 Thread Tomas
I add this way to the list: header(Refresh: 0;url=$myurl); (it´s really the same that using META tag!) Ok, I want to make you note that: 1) echo META HTTP-EQUIV='Refresh' CONTENT='0; URL=$myurl'; 2) header(Refresh: 0;url=$myurl); Work fine when sending cookies... (setcookie function) ...

[PHP] RE: screen2

2001-07-20 Thread Tim Ward
look at the output buffering. You'll need to have this active to do what you want. ob_start() echo(fred); if (ok_to_send()) { ob_end_clean(); } else { ob_end_flush(); } I ought to say at this point that I've never had to use these functions, but if they don't do what you want then

[PHP] RE: is this right?

2001-07-20 Thread Tim Ward
looks to me like like GLOBAL $company should be partr of the php code, not sql. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html -Original Message- From: Jeremy

RE: [PHP] Using mod_rewrite with PHP

2001-07-20 Thread Matt Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been wrestling with mod_rewrite and trying to understand how to use it for my particular purpose. I've got two php URLs I'd like to rewrite to make them search-engine friendly. Currently they look like: Example 1:

[PHP] Timeout features of PHP

2001-07-20 Thread BlackLord
Hi, instead of max_execution_time, what are the other features of PHP to time out running PHP script ? For example, does keep-alive feature related with running of PHP script? I want to disable all timeout features so that my script will run hours and hours... Thanks... -- PHP General

Re: [PHP] Ocifreestatement() and shared memory error?

2001-07-20 Thread Thies C. Arntzen
On Thu, Jul 19, 2001 at 08:56:18PM +0300, Rouvas Stathis wrote: Michael Champagne wrote: We recently ran into Oracle error ORA-04031 which has something to do with your shared memory being filled up or thrashed (I'm not a DBA so I'm vague on this.) I noticed that a lot of the PHP code

[PHP] PWS setup with PHP

2001-07-20 Thread Minardi boy
I'm desperate! I have tried hard to set up PHP4 on my computer in order to go on with the book I bought (Beginning Php4 from wrox press) And it doesn't work. I can't get into the php test screen I got some failure messages when I installed the pws (failure with the transaction server) Can

RE: [PHP] Can't think of a topic(but help)

2001-07-20 Thread Tim Ward
if you want to generate html versions try ... $flines = file(http://localhost/$path/$file.php;); $fhandle = fopen($file.html); foreach ($flines as $line) { fputs($fhandle, $line); } fclose($fhandle); Tim Ward Senior Systems Engineer Please refer to the following

[PHP] Re: Simple (I hope) updating contents question

2001-07-20 Thread Er Galvão Abbott
Tx, man. You helped a lot here, but now I'm having some problems updating the text file. I've made some changes in the code myself, so here it is: The reading process is made by this: ?php clearstatcache (); $file = /usr/local/.../news.txt; $abrir = fopen ($file, r); $i = 1; while($buffer =

Re: [PHP] Re: More upload Problems

2001-07-20 Thread Peter Clarke
Jason Rennie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Here is the total chunk of code to date. It does currently work, except for the file submission complaining about the no file uploaded. the current fragment of code to do with file submission is

Re: [PHP] Re: More upload Problems

2001-07-20 Thread Peter Clarke
Peter Clarke [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Jason Rennie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Here is the total chunk of code to date. It does currently work, except for the file submission

[PHP] Creating a .xxx via PHP

2001-07-20 Thread php fun
Hi! I've got installed an Apache+PHP server on my LinuxBox. I want to create a 'myname.foo' file, but generated via PHP. I mean: // ?php header(Content-type: FooType); -//- I modify my 'httpd.conf' file, and insert: AddType FooType .foo But when browsing

Re: [PHP] Using mod_rewrite with PHP

2001-07-20 Thread teo
Hi Miri! On Thu, 19 Jul 2001, Miri wrote: I'm using this no problem on a server running apache, but we have one client who insists on IIS and I have not been able to get it to work. Has anyone been able to get this to work with IIS? If so, any words of wisdom? :) I am using it w/ success

[PHP] Re: Creating a .xxx via PHP

2001-07-20 Thread Adam
make a .htaccess file and put this in it: Addtype application/x-httpd-php .foo then upload it to your root directory -- 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

Re: [PHP] PWS setup with PHP

2001-07-20 Thread Brave Cobra
Don't even try to get it working on PWS. Download the Apache Win 32 version instead (http://www.apache.org )or if that is too complicated for you, try Xitami (http://www.imatix.com). The latter is a great http server that is very easy to configure (only for Win32). The setup of PHP Win32 can

Re: [PHP] php 4.0.6

2001-07-20 Thread Adrian D'Costa
No. Just what would be the optimum settings. I have the following ./configure --target=i386-redhat-linux --prefix=/usr --with-config-file-path=/etc --disable-debug --enable-pic --enable-inline-optimization --with-apxs=/usr/sbin/apxs --disable-static --with-exec-dir=/usr/bin --with-regex=system

[PHP] hash in php vs java

2001-07-20 Thread Marcus Hartmann
-BEGIN PGP SIGNED MESSAGE- Does anyone know which algorithm is used in java to generate hash code? I think it´s md5(hopefully), but I´m not certain about it... Thanx -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com

RE: [PHP] oop thingie

2001-07-20 Thread Neil Kimber
Not sure about your code, but what you describe is perfectly faesible in PHP. If you are setting values in one part of your code and cannot see these values in another part of your code then I would suggest that you have reference problem somewhere. The code you provided looks fine, maybe the

[PHP] (another, not entirely)sessions question

2001-07-20 Thread Conor McTernan
Hey there, I'm currently writing a web app using php. I was just looking for some advice on one aspect. On this site, users will be able to log in and post messages, or articles, or replies etc, you get the idea. Anyway, I am storing some info about the users, the usual stuff, name, email,

Re: [PHP] (another, not entirely)sessions question

2001-07-20 Thread py
Hello, I would continue with the queries. That's what a database is made for. Optimize them and make shure the fields you search often ( the ones in the WHERE clause ) are index. Keep the sesion vars as small as possible. Cookies are quite a pain to program and if the user has disable them,

Re: [PHP] oop thingie

2001-07-20 Thread Jon Yaggie
okay sorry i didnt clarify what i meant by empty. meant when i do a var_dump() on it i get an empty array. i have searched most of the day but in actuality it is rather straight forward. $newpets() from user input. and when i print it it is just fine but immediately after i call this fuction

[PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Garth Dahlstrom
try $wordarr = explode( , $string); mmm... yeah... That's what I had before (acutally I was using the alias split)... it does NOT however preserve the areas of white space. Instead the target of: $wordsarr = ('This',' ','contans','','white',' ','space',' ','.') You get: $wordsarr

Re: [PHP] (another, not entirely)sessions question

2001-07-20 Thread teo
Hi Conor! On Fri, 20 Jul 2001, Conor McTernan wrote: Hey there, I'm currently writing a web app using php. I was just looking for some advice on one aspect. On this site, users will be able to log in and post messages, or articles, or replies etc, you get the idea. Anyway, I am

Re: [PHP] (another, not entirely)sessions question

2001-07-20 Thread Conor McTernan
cheers for the advice, I think what i'm going to do is, put the user name and their id in session vars. then i dont have to select on their id all the time. there wouldnt be any security issues with that would there? On Fri, Jul 20, 2001 at 07:49:56AM -0400, py wrote: Hello, I would

[PHP] Re: (another, not entirely)sessions question

2001-07-20 Thread Er Galvão Abbott
Just a sugestion here, that may sound strange, but I'd do it like this: Why don't you keep a simle text-counter file for each user? Why this HAVE to go trough SQL? Just creat a text file with 0 on it. When the user posts, retrieve the number from the file, increment it and then write it back...

[PHP] Zipping Output Before Sending To Browser

2001-07-20 Thread Corin Rathbone
Hi, I read a while ago somewhere that is possible in PHP to zip or gzip or just compress the output of a PHP file before sending it to a browser. Apparently the browser can then uncompress this and output the finished page. This would be very useful as one of my scripts outputs about

Re: [PHP] Re: (another, not entirely)sessions question

2001-07-20 Thread Conor McTernan
On Fri, Jul 20, 2001 at 11:52:36AM +, Er Galvão Abbott wrote: Just a sugestion here, that may sound strange, but I'd do it like this: Why don't you keep a simle text-counter file for each user? Why this HAVE to go trough SQL? i suppose i want it to go through SQL because I am storing

Re: [PHP] Re: (another, not entirely)sessions question

2001-07-20 Thread py
It would also be very good to look at what other similar web application are doing and learn from their success and mistake. I am thinking about phpnuke, phpslice, slashdot and the likes... py - Original Message - From: Conor McTernan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP] Re: a good PHP editor

2001-07-20 Thread James Crowley
I would recommend Developers Pad (http://www.developerspad.com/). It's free and open source. OK, I am the author, but I've had lots of positive comments about it :-) Regards, - James Editor, VB Web == Web - http://www.vbweb.co.uk Email - [EMAIL PROTECTED] ICQ# - 60612011 Fax

Re: [PHP] Hack on Server.

2001-07-20 Thread Jeff Bearer
Must of been some ome hacker to find an httpd.conf on an IIS server :) On Fri, Jul 20, 2001 at 10:12:25AM +1000, Brian White wrote: Maybe the hacker got into the httpd.conf and set the auto-prepend setting to a file that contained the message. Brian At 00:34 20/07/2001 +0300, [EMAIL

[PHP] Help! Parse error.....

2001-07-20 Thread Jack Sasportas
I have some code that runs under php3 perfectly, but now under 4 I get a parse error on this specific line, can't figure out how to resolve it. the code looks like this html stuff ? } ? more html stuff the error is in the middle line which is the end of a condition... Thanks in advance...

RE: [PHP] bug?

2001-07-20 Thread Mark Roedel
-Original Message- From: Jeremy Morano [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 4:07 PM To: [EMAIL PROTECTED] Subject: [PHP] bug? Does anybody know of a common bug where a variable contains what seems to be a generated random number instead of the input data

Re: [PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Stefan Rusterholz
If you'r using PHP 4 use preg_split. (works also with php 3 = 3.09) see http://www.php.net/manual/en/function.preg-split.php for detailed information. The split pattern you'd need is: $sometext2split = hello world witha lot ofwhitespaces!; $myarray = preg_split

RE: [PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Jack Dempsey
$text = This contanswhite space .; $matches = preg_split(/(\s+)/,$text,-1, PREG_SPLIT_DELIM_CAPTURE); echo implode('',$matches); try that jack -Original Message- From: Garth Dahlstrom [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 7:45 AM To: [EMAIL PROTECTED] Cc:

Re: [PHP] encryption

2001-07-20 Thread Sheridan Saint-Michel
How do you get around the Server and client running on different times? I would think that would screw up the system as they would be generating them at different times? Other than that possible problem I like the idea. However, I would like to point out that anything done client-side can not be

Re: [PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Stefan Rusterholz
Uuhmm, I'm sorry. I haven't read it throught to the end. The solution ist a bit different: use preg_replace to replace multiple spaces with single spaces: $sometext2split = preg_replace(|, ,$sometext2split); #make shure that the separator isn't in the text anywhere around $sometext2split =

RE: [PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Jack Dempsey
Several of these solutions are good ideas, but they don't preserve the whitespace as he desired. Preg_split with the capturing of the (\s+) delimiter does the trick. Jack -Original Message- From: Stefan Rusterholz [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 9:48 AM To:

Re: [PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Stefan Rusterholz
And after having read it thorugh I remark, that I'm going to disgrace myself... :-( Just forget my answer, Jack Dempsey is right. Sorry - Original Message - From: Stefan Rusterholz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 20, 2001 3:47 PM Subject: Re: [PHP] Re: split

[PHP] Cookies

2001-07-20 Thread Richard Baskett
I can set cookies on my mac browsers, but I cant seem to get them to work on PC's. I use the SetCookie function yet this does not seem to work. Any help would be appreciated! Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] Hack on Server.

2001-07-20 Thread King, Justin
I know this post is old by the list standards, so I don't know if you've gotten help, check in your php.ini for these lines ; automatically add files before or after any PHP document auto_prepend_file = auto_append_file= Does the auto_prepend_file line have something? If so check

Re: [PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Garth Dahlstrom
On Fri, 20 Jul 2001 09:32:00 -0400 Jack Dempsey wrote: $text = This contanswhite space .; $matches = preg_split(/(\s+)/,$text,-1, PREG_SPLIT_DELIM_CAPTURE); echo implode('',$matches); Nope that doesn't do it. here's the test: echo pre[$text]br[. implode('',$matches).]/pre; here's

Re: [PHP] Re: split on whitespace, preserving whitespace... (a rephrase of the question)

2001-07-20 Thread Garth Dahlstrom
On Fri, 20 Jul 2001 15:34:48 +0200 Stefan Rusterholz wrote: If you'r using PHP 4 use preg_split. (works also with php 3 = 3.09) see http://www.php.net/manual/en/function.preg-split.php for detailed information. The split pattern you'd need is: $sometext2split = hello world witha lot

RE: [PHP] Memory Leaks

2001-07-20 Thread Johnson, Kirk
-Original Message- From: Paul Strange [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: [PHP] Memory Leaks When we review the error_log from apache, we see the following alot: zend_hash.c(291) : Freeing 0x0812738C (65 bytes),

Re: [PHP] Stoping Frame Breakers

2001-07-20 Thread Sheridan Saint-Michel
I would actually suggest JavaScript, rather than PHP here. Try putting something like SCRIPT LANGUAGE=JavaScript TYPE=text/javascript if (parent.location != http://www.domain.com/frames.php;) window.location = http://www.domain.com/frames.php;; /SCRIPT In the Head of your framed pages

[PHP] Re: Zipping Output Before Sending To Browser

2001-07-20 Thread Steve Brett
yup. what you need is ob_start(ob_gzhandler); at the beginning of the bit you want to compress, usually at the top of the script and //ob_end_flush(); to send the output to the browser. bit of a time lag as the browser decompresses but should save you a bomb on bandwidth. check out the php

Re: [PHP] Re: split on whitespace, preserving whitespace...

2001-07-20 Thread Garth Dahlstrom
The workstation I'm on is only running 4.0.4... perhaps it's time to upgrade. :) I'll try it again. On Fri, 20 Jul 2001 10:30:18 -0400 Jack Dempsey wrote: Actually, it does. I just ran it again with that exact code. What version of php are you running? Here's a direct copy/paste of what I

Re: [PHP] Re: split on whitespace, preserving whitespace... (a rephrase of the question)

2001-07-20 Thread Stefan Rusterholz
I thought, Jack's solution should work (with php 4.05 and above), but however if you say it doesn't then there is another solution. I don't find it very hmm good, but it should work (I cannot test it, because a cant rund php on this machine): $text=your space containing text; $splittext =

Re: [PHP] Memory Leaks

2001-07-20 Thread Paul Strange
On Friday 20 July 2001 07:22, Johnson, Kirk wrote: -Original Message- From: Paul Strange [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: [PHP] Memory Leaks When we review the error_log from apache, we see the following alot:

Re: [PHP] Confirmation Requester

2001-07-20 Thread Sheridan Saint-Michel
I Just wrote a page that does basic file management. For the Delete part I used script LANGUAGE=JavaScript function confirmSubmit() { var agree=confirm(Deleted Files Cannot Be Recovered. Are You Sure?); if (agree) return true ; else return false ; } /script In my Head and Input Type=submit

Re: [PHP] Re: a good PHP editor

2001-07-20 Thread Paul Strange
On Friday 20 July 2001 05:48, James Crowley wrote: I would recommend Developers Pad (http://www.developerspad.com/). It's free and open source. OK, I am the author, but I've had lots of positive comments about it :-) Regards, - James Editor, VB Web == Web -

Re[2]: [PHP] SHA-1

2001-07-20 Thread Gianluca Baldo
Thanks Joe - I also searched php.net for SHA-1 but didn't found that page. I have had problems installing mhash libraries in my debian box so, for nowt, I solved the problem with a javasript implementation of the SHA-1 algorithm. Anyway thanks for you help. Cheers, Gianluca JC

Re: [PHP] Help! Parse error.....

2001-07-20 Thread Paul Strange
On Friday 20 July 2001 06:16, Jack Sasportas wrote: I have some code that runs under php3 perfectly, but now under 4 I get a parse error on this specific line, can't figure out how to resolve it. the code looks like this html stuff ? } ? more html stuff the error is in the middle line

Re: [PHP] a good PHP editor

2001-07-20 Thread Alex Tretjakov
Somebody known a good PHP editor with support of KOI8? -- 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

[PHP] Still need help, please. [was: Simple (I hope) updating contents question]

2001-07-20 Thread Er Galvão Abbott
I've made some changes in the code myself, so here it is: The reading process is made by this: ?php clearstatcache (); $file = /usr/local/.../news.txt; $abrir = fopen ($file, r); $i = 1; while($buffer = fgets($abrir, 18976) ) { print input type='text' name='line[$i]' size='60' value=' .

Re: [PHP] Help! Parse error.....

2001-07-20 Thread Jack Sasportas
Tried the alternative stuff with no luck... Looking for any crazy ideas that might work... Thanks ! Paul Strange wrote: On Friday 20 July 2001 06:16, Jack Sasportas wrote: I have some code that runs under php3 perfectly, but now under 4 I get a parse error on this specific line, can't

Re: [PHP] Hack on Server.

2001-07-20 Thread Ng Hak Beng
Hi! Not sure if it the same one, there's a new IIS exploit that'll change the main page.but only in memory. It's known as Code Red Worm at the cert.org site. I noticed it after I had lots of weird requests in my httpd logs for about 8 hours last night (+800) which I

[PHP] please remove me from the mail list

2001-07-20 Thread danny brown
thanks -- 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] a good PHP editor

2001-07-20 Thread ~~~i LeoNid ~~
On Thu, 19 Jul 2001 05:51:29 +0900 impersonator of Maxim Maletsky [EMAIL PROTECTED] planted I saw in mail.common: yeah I do, not for doing it, but for giving this stupid topic to the list. we should moderate ourselves, I think. And we'd better begin with NOT top-posting for better

Re: [PHP] a good PHP editor

2001-07-20 Thread ~~~i LeoNid ~~
On Thu, 19 Jul 2001 05:51:29 +0900 impersonator of Maxim Maletsky [EMAIL PROTECTED] planted I saw in mail.common: yeah I do, not for doing it, but for giving this stupid topic to the list. we should moderate ourselves, I think. And we'd better begin with NOT top-posting for better

Re: [PHP] encryption

2001-07-20 Thread Jeff Bearer
That is Complicated. if it's just for admins personal use, I'd say set up a secure sever and use your own certifiacate. On Fri, Jul 20, 2001 at 10:17:30AM -0400, Francis Fillion wrote: The best thing will be to sync clock, if it's in an other time zone just get your script to do +x or -x.

Re: [PHP] Memory Leaks

2001-07-20 Thread Zeev Suraski
Paul, First off, this is definitely not what's killing your server. The reason for this is simple - the leak reports you see in the error log are only for debug purposes. PHP takes care of these leaks automatically, and frees these blocks. Such leaks are not a good thing (they imply

[PHP] Storing Java Script Varable into php variable

2001-07-20 Thread Mike Mike
Hello, I look through the php-general list database but could not find the answer. My question is I have some java script I want to store the java script variable into a php variable so I can submit it into a database. Here is the Java sript code. -- function show(){ if

RE: [PHP] Storing Java Script Varable into php variable

2001-07-20 Thread Johnson, Kirk
-Original Message- From: Mike Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 9:34 AM To: [EMAIL PROTECTED] Subject: [PHP] Storing Java Script Varable into php variable My question is I have some java script I want to store the java script variable into a php variable

RE: [PHP] please remove me from the mail list

2001-07-20 Thread Seb Frost
Send a message to [EMAIL PROTECTED] to achieve this danny. - seb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of danny brown Sent: 20 July 2001 16:03 To: [EMAIL PROTECTED] Subject: [PHP] please remove me from the mail list thanks -- PHP General

[PHP] Unlink Woes

2001-07-20 Thread Sheridan Saint-Michel
I am working on a webpage that lets people manage certain files on the server. Everything is going pretty well, except everytime I run my Delete Code I get Warning: Unlink failed (Permission denied) in /home/www/foxjet/employees/admin.php on line 108 Here's the code if($submit == Delete)

[PHP] fsockopen doesn't time out for 10 minutes

2001-07-20 Thread Lance Lovette
I am calling fsockopen with a timeout parameter of 60 seconds. Despite the timeout value however fsockopen on some servers doesn't return for 10 to 13 minutes. The error given is usually Connection timed out and sometimes No route to host. Is this much of a delay to be expected? Is there any way

RE: [PHP] Storing Java Script Varable into php variable

2001-07-20 Thread Erik H. Mathy
Hi Mike! Generally the only way to send information from a clientside javascript to a serverside language (in this case PHP) is via a form submit or putting that value into an HREF the user will click. For example: !-- your javascript functions function show(){ if

Re: [PHP] Memory Leaks

2001-07-20 Thread Paul Strange
Zeev, Thank you for taking the time out of you busy schedule to help me. We have not been able to get 4.0.6 to work on the server. We can compile fine, but when we perform a check with phpinfo (), the server reports php-4.0.4pl1. We have configured PHP as a module to apache but do not know

RE: [PHP] split on whitespace, preserving whitespace...

2001-07-20 Thread Don Read
On 20-Jul-2001 Garth Dahlstrom wrote: Hi all, I'm trying to build a spell checker for a web form. What has got me stumped is being able to do a split so that whitespace and words are stored as seperate elements of the same array. ideally, I'd use some form of preg_split to put: This

[PHP] PHP MySQL

2001-07-20 Thread Erich Kolb
When you query a MySQL Database, how do you set the order alphabetically? -- 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] PHP MySQL

2001-07-20 Thread Alexander Wagner
Erich Kolb wrote: When you query a MySQL Database, how do you set the order alphabetically? SELECT whatever FROM wherever ORDER BY insert_fieldname_here regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] PHP MySQL

2001-07-20 Thread Marisol Díaz E.
select [campo] from [tabla] order by [campo] if you want for each leter select [campo] from [tabla] where [campo] like 'A' Marisol - Original Message - From: Erich Kolb [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 20, 2001 11:32 AM Subject: [PHP] PHP MySQL When you

Re: [PHP] PHP MySQL

2001-07-20 Thread Jason Bell
What's wrong with using ORDER BY in your sql statement? - Original Message - From: Erich Kolb [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 20, 2001 9:32 AM Subject: [PHP] PHP MySQL When you query a MySQL Database, how do you set the order alphabetically? -- PHP

Re: [PHP] Unlink Woes

2001-07-20 Thread [EMAIL PROTECTED]
on 7/20/01 11:48 AM, Sheridan Saint-Michel at [EMAIL PROTECTED] wrote: Warning: Unlink failed (Permission denied) in /home/www/foxjet/employees/admin.php on line 108 Here's the code if($submit == Delete) { for ($j = 0; $j $numfiles; $j++) { $checkname = $files[$j]; if

Re: [PHP] PHP MySQL

2001-07-20 Thread [EMAIL PROTECTED]
on 7/20/01 12:32 PM, Erich Kolb at [EMAIL PROTECTED] wrote: When you query a MySQL Database, how do you set the order alphabetically? If it's a text field just say DESC Susan -- [EMAIL PROTECTED] http://futurebird.diaryland.com -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Help! Parse error.....

2001-07-20 Thread rm
in the great big FWIW department, the error may not be on that line, it may only indicate the point where php recognized an error. I had one page with several includes and html code...php reported a parse error on the main page, I couldn't find it, however, eventually, I tracked the error to an

Re: [PHP] PHP MySQL

2001-07-20 Thread Steve Werby
[EMAIL PROTECTED] wrote: on 7/20/01 12:32 PM, Erich Kolb at [EMAIL PROTECTED] wrote: When you query a MySQL Database, how do you set the order alphabetically? If it's a text field just say DESC Anyone that tries would figure out, but I just wanted to clarify that what Susan suggested will

Re: [PHP] Unlink Woes

2001-07-20 Thread Steve Werby
[EMAIL PROTECTED] wrote: on 7/20/01 11:48 AM, Sheridan Saint-Michel at [EMAIL PROTECTED] wrote: Warning: Unlink failed (Permission denied) in /home/www/foxjet/employees/admin.php on line 108 snip I had this error to from unlink, it may be because your server is in safe mode /snip If

Re: [PHP] PHP MySQL

2001-07-20 Thread Jason Bell
Also, to add to this, it's worth noting that the opposite of DESC is ASC as in Descending and Ascending order - Original Message - From: Steve Werby [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 20, 2001 9:55 AM Subject: Re: [PHP]

Re: [PHP] Unlink Woes

2001-07-20 Thread Sheridan Saint-Michel
I know... that's why I included all the info about how I chmod'ed both the files and directories 777 If you're running PHP as an Apache module it runs as the owner that Apache runs as and can only unlink files owned by that user unless the file you are trying to unlink is world-writable.

RE: [PHP] Re: (another, not entirely)sessions question

2001-07-20 Thread Don Read
On 20-Jul-2001 Er Galvão Abbott wrote: Just a sugestion here, that may sound strange, but I'd do it like this: Why don't you keep a simle text-counter file for each user? Why this HAVE to go trough SQL? Just creat a text file with 0 on it. When the user posts, retrieve the number from

Re: [PHP] Unlink Woes

2001-07-20 Thread Sheridan Saint-Michel
How can I find out if my server is in Safe mode? Do I have to call my Host and ask them? Sheridan - Original Message - From: [EMAIL PROTECTED] To: Sheridan Saint-Michel [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 20, 2001 11:25 AM Subject: Re: [PHP] Unlink Woes on

RE: [PHP] PWS setup with PHP

2001-07-20 Thread Jerry Lake
Or there are some pre-configured executables that will install apache, MySQL, PHP and PhpMyAdmin all from one download go to www.hotscripts.com btw you can use php with PWS, but it is a pain. Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier

[PHP] how do you use a CLASS ???

2001-07-20 Thread sunny AT wde
ok, this must be the simplest question alive, but help me please?? i've seen loads of classes all over the net, and i want to use them, but not sure where to start! are class files independent of platform?? do you have to name your variables same as them? or do i just call it or something?

  1   2   >