[PHP] Can somebody explain this scripts to me?

2002-08-01 Thread L.Jacquiline
I have attached. begin 666 grab.txt M/#]P:' -"@T*)'5R;" ](")H='1P.B\O=W=W+F-N;BYC;VTO5$5#2"\B.PT* M#0HD9F0](&9R96%D*&9O<&5N*"1UPT*#0H@(" @)'-T87)T/2!S=')P;W,H)&9D+" G/'-P86X@ M8VQAhttp://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why Protect PHP coding?

2002-08-01 Thread Manuel Lemos
Hello, On 08/02/2002 01:47 AM, Php @ Banana wrote: > Just out of curiosity when and why? When you want to sell your PHP applications or otherwise do not want to disclosed the knowledged embedded in the code. >>Is there any method to encrypt PHP files. -- Regards, Manuel Lemos -- PHP Ge

Re: [PHP] passing arrays between pages with serialize

2002-08-01 Thread DoL
Hi Valeri Thanks for your advise. I am new to php and have never used $_SESSION, is this the one that I need to session_register the variables/arrays? Thanks again. Dominic - Original Message - From: "Valeri Felberg" <[EMAIL PROTECTED]> To: "DoL" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED

Re: [PHP] passing arrays between pages with serialize

2002-08-01 Thread DoL
Thanks, I found the problem was with the creation of the 2-di array. - Original Message - From: "Martin Towell" <[EMAIL PROTECTED]> To: "'DoL'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 12:21 PM Subject: RE: [PHP] passing arrays between pages with serialize

[PHP] authorize.net

2002-08-01 Thread ed
Hey all. I have an app that I need to integrate with an online payment service. I read an article here http://www.devshed.com/Server_Side/Administration/CREDIT/page4.html that uses authorize.net as the example and suggests that you don't need an account to test your app with their service. Does a

Re: Re[2]: [PHP] Need help to choose hosting!

2002-08-01 Thread 1LT John W. Holmes
Why not get your own box? Then you can have whatever you want. I think you can get them from rackshack.com for $99. ---John Holmes... - Original Message - From: "Mantas Kriauciunas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 3:00 AM Subject: Re[2]: [PHP] Ne

Re: [PHP] still need help with crash on make

2002-08-01 Thread EdwardSPL
Yes, there are many users they recommend to use apache 1.3.26 and php 4.2.2 ! What useful of CVS ? Bob Lockie wrote: > >Thanks, Tyler, I will if I have to, but is there someone out there who has > >done this on Linux? > > There are a bunch of people (I use 1.3.26) because Apache 2 support is exp

Re[2]: [PHP] Need help to choose hosting!

2002-08-01 Thread Mantas Kriauciunas
Hello Justin, >> Hey php-general, >> >> i want to buy hosting. but i can't find good one for me. maybe >> someone could point some links. but this is what i need! >> >> Storage up to 100MB >> normal transfer limit(best would be without) >> CGI/Perl/PHP/SSI/SSL >> MySQL database (can be only 1)

Re[2]: [PHP] Need help to choose hosting!

2002-08-01 Thread Mantas Kriauciunas
Hello Justin, heh... sorry about that ASP thing... i copied from one hosting site and just paste it hare. forgot about ASP :) i'll check out that experthost.com :) thanks JF> Aside from shell, ssh & background processes, i can recommend experthost.com JF> How do you expect to get ASP (assuming

Re: [PHP] Why Protect PHP coding?

2002-08-01 Thread php @ banana
Just out of curiosity when and why? >Is there any method to encrypt PHP files. > >Nyon > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > --__-__-__ eat pasta type fasta -- PHP General Mailin

RE: [PHP] Need help to choose hosting!

2002-08-01 Thread Peter Houchin
> > How do you expect to get ASP (assuming you mean microsoft's Active Server > Pages) on a Unix box? > Justin, you can use ChilliSoft, http://www.chillisoft.com, by Sun Microsystems that is a ASP plugin that works with Apache as well as other browsers such as IBM's Websphere, and many others a

Re: [PHP] problems with random again

2002-08-01 Thread Tom Rogers
Hi, Friday, August 2, 2002, 5:03:19 AM, you wrote: H> Is there some easy way to make rand() only use each number once in a loop, H> to avoid getting the same values more than once? H> Håkan Have a look at shuffle() it may do what you want -- regards, Tom -- PHP General Mailing List (http:

Re: [PHP] Need help to choose hosting!

2002-08-01 Thread Justin French
Aside from shell, ssh & background processes, i can recommend experthost.com How do you expect to get ASP (assuming you mean microsoft's Active Server Pages) on a Unix box? Sure, PHP could be on a Windows box, but I think your chances of finding a solid host that supports ASP AND PHP on the one

[PHP] Need help to choose hosting!

2002-08-01 Thread Mantas Kriauciunas
Hey php-general, i want to buy hosting. but i can't find good one for me. maybe someone could point some links. but this is what i need! Storage up to 100MB normal transfer limit(best would be without) CGI/Perl/PHP/ASP/SSI/SSL MySQL database (can be only 1) some pop3 mailboxes fr

Re: [PHP] decrypting values in MYSQL

2002-08-01 Thread Glenn Sieb
At 09:44 AM 8/2/2002 +0800, Michael P. Carel posted the following... >so you mean there's no way to decrypt that. I wan't to create a Password >Reminder to my script, that would email them their password if ever they >forgot it. >Is there any suggestion/comments? You can, instead, have it email t

Re: [PHP] Undefined function: dbmopen() in loaded Windows binaries of PHP 4.2.1

2002-08-01 Thread Bob Lockie
>Hello. > >Say me pls, are there method to enable DBM support in loaded Windows binaries of PHP >4.2.1? > >I have "Fatal error: Call to undefined function: dbmopen() in ..." my .php file... :(( I thought DBM files were only available on Unix. Recompile from source. -- PHP General Mailing L

Re: [PHP] still need help with crash on make

2002-08-01 Thread Bob Lockie
>Thanks, Tyler, I will if I have to, but is there someone out there who has >done this on Linux? There are a bunch of people (I use 1.3.26) because Apache 2 support is experimental. Grab the latest source of Apache from CVS and it should work. >cheers > >Kirk > >"Tyler Longren" <[EMAIL PROTECTE

[PHP] Re: decrypting values in MYSQL

2002-08-01 Thread Aaron Ott
for future you could use mysql's encode and decode functions. serves your purpose though not as secure. http://www.mysql.com/doc/M/i/Miscellaneous_functions.html --aaron "Michael P. Carel" <[EMAIL PROTECTED]> wrote in message 001101c239c1$541db6a0$[EMAIL PROTECTED]">news:001101c239c1$541db6a0

Re: [PHP] Re: adding info to an array?

2002-08-01 Thread Jason Wong
On Friday 02 August 2002 06:30, Hawk wrote: > hahahaha, that was so stupid of me... should have put if (! $ra) { $ra = > array(); } but I seemed to have missed this.. lol :P > thanks for your help and sorry for being an idiot ;D It's better to initialise $ra outside of the for-loop. -- Jason W

Re: [PHP] decrypting values in MYSQL

2002-08-01 Thread 1LT John W. Holmes
This was just discussed. Either you reset the password a new one, and email them the new password... or, you send them a web page to change their email address. If they don't want to change it, they don't have to. Along the same lines, you can email them a code to enter somewhere to change their

Re: [PHP] Best way to save?

2002-08-01 Thread 1LT John W. Holmes
You can wrap some output buffering around your PHP script. Then flush the buffer at the end to a variable and write it to a .html file. Full details in the manual, I'm sure... ---John Holmes... - Original Message - From: "Shane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday

Re: [PHP] decrypting values in MYSQL

2002-08-01 Thread Justin French
on 02/08/02 11:44 AM, Michael P. Carel ([EMAIL PROTECTED]) wrote: > so you mean there's no way to decrypt that. I wan't to create a Password > Reminder to my script, that would email them their password if ever they > forgot it. > Is there any suggestion/comments? You can't! If you choose to en

[PHP] mail reading newbie and line lengths...

2002-08-01 Thread Jeff D. Hamann
I'm trying to read messages using php imap functions. I have emails that were sent as simple text but the line lengths are more than x characters. The orginal lines look like... F55232251820029 24006001 440023300 F55232251820029 18007

Re: [PHP] decrypting values in MYSQL

2002-08-01 Thread Michael P. Carel
so you mean there's no way to decrypt that. I wan't to create a Password Reminder to my script, that would email them their password if ever they forgot it. Is there any suggestion/comments? >You can't view it anymore. You can compare a string with >PASSWORD('string') to see if they match. >Juli

[PHP] Re: decrypting values in MYSQL

2002-08-01 Thread Julio Nobrega
You can't view it anymore. You can compare a string with PASSWORD('string') to see if they match. -- Julio Nobrega Pode acessar: http://www.inerciasensorial.com.br "Michael P. Carel" <[EMAIL PROTECTED]> escreveu na mensagem 001101c239c1$541db6a0$[EMAIL PROTECTED]">news:001101c239c1$541db6a0$[

[PHP] decrypting values in MYSQL

2002-08-01 Thread Michael P. Carel
Hi to all, How could i decrypt the encrypted data in MYSQL? I've inserted values in mysql using the PASSWORD( $userpassword ) function to encrypt all user password. Example: Insert into Users_Table set Password_Field=PASSWORD('$userpassword'); But i don't know how to select to view the $userpass

Re: [PHP] extending class then calling its original function

2002-08-01 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jason Wong) wrote: > On Wednesday 31 July 2002 18:36, lallous wrote: > > Hello when I extended a class and overwrite a function, can i after > > overwriting that function call it so it does what it used to do? > > > > for example in Delphi I say

[PHP] Re: Protect PHP coding

2002-08-01 Thread Manuel Lemos
Hello, On 08/01/2002 01:58 PM, Yc Nyon wrote: > Is there any method to encrypt PHP files. Use bcompiler which is free and is part of PEAR/PECL official PHP extensions repository: http://pear.php.net/package-info.php?pacid=95 -- Regards, Manuel Lemos -- PHP General Mailing List (http://ww

Re: [PHP] Protect PHP coding

2002-08-01 Thread Verdana Musone
And the server must install Zend Optimizer - Original Message - From: Martin Towell Sent: Friday, August 02, 2002 8:09 AM To: 'YC Nyon'; [EMAIL PROTECTED] Subject: RE: [PHP] Protect PHP coding One option is the Zend Encoder Martin -Original Message- From: YC Nyon [mailto:[EMAI

Re: [PHP] Example safe use of eval()

2002-08-01 Thread David Pratt
Thanks, Justin. I am really trying to figure something else out instead of eval. It is really too much of a security hole. I really appreciate the community to bounce ideas. Regards, Dave -- >From: Justin French <[EMAIL PROTECTED]> >To: David Pratt <[EMAIL PROTECTED]>, <[EMAIL PROTECTE

Re: [PHP] How much should this cost Or ...

2002-08-01 Thread Justin French
I suggest you look at the article restricting page access by Kevin Yank on http://sitepoint.com... I used it for the basis of what I use on every site now, and it will give you a better understanding of sessions, logging in, registering, etc etc. Other comments included in your email below: on

Re: [PHP] Example safe use of eval()

2002-08-01 Thread Justin French
You can't really do much to make sure the execution of eval is safe, it's more than you have to trust the string that you're about to eval(). So, as long as you and your production team were the only ones who put the code into the strings or tables, and tested the code before hand, then 90% there

Re: [PHP] A Fond Farewell

2002-08-01 Thread Bob Lockie
>Howdy List, > >Well, apparently we are no longer permitted to receive "personal" emails where I am >working, so I'm afraid I'll have to part ways with the lot of you. It's unfortunate, >considering I think this one of the best places to find information about PHP (and more!) on the internet.

RE: [PHP] Protect PHP coding

2002-08-01 Thread Martin Towell
One option is the Zend Encoder Martin -Original Message- From: YC Nyon [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 2:59 AM To: [EMAIL PROTECTED] Subject: [PHP] Protect PHP coding Is there any method to encrypt PHP files. Nyon -- PHP General Mailing List (http://www.php

[PHP] Protect PHP coding

2002-08-01 Thread YC Nyon
Is there any method to encrypt PHP files. Nyon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: attachements in mail()

2002-08-01 Thread Danny wall
This thing's pretty cool! Thanks! -Danny >From: Manuel Lemos <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: [PHP] Re: attachements in mail() >Date: Thu, 01 Aug 2002 17:43:04 -0300 > >Hello, > >On 08/01/2002 03:14 PM, Danny Wall wrote: >>I've looked, and can no

[PHP] Favorite Calendar Anyone?

2002-08-01 Thread Shane
Anyone have a favorite Calendar script out there they would like to share? - NorthBayShane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Best way to save?

2002-08-01 Thread Shane
Besides using fOpen to save the output of a script to a file, What would be your best recommendation for a way to save the output of a PHP script to an HTML doc. Images will be included. Thanks gang. - NorthBayShane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP] Re: adding info to an array?

2002-08-01 Thread Hawk
hahahaha, that was so stupid of me... should have put if (! $ra) { $ra = array(); } but I seemed to have missed this.. lol :P thanks for your help and sorry for being an idiot ;D "Hawk" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm a newbie at php, so

RE: [PHP] Can several different sessions coexist?

2002-08-01 Thread John Holmes
> I'd like to register a session and create several session variables. In > another part of my site, I'd like to register another session again > creating > session variables. After a bit, I'd like to destroy this second > registered > session keeping the first intact. Thus far, whenever I issue

[PHP] Re: adding info to an array?

2002-08-01 Thread Hawk
I'm a newbie at php, so dont tease me ;P first I have to input fields for $group and $amount and a textarea where you enter bla,blah,blabla etc $total = $amount*$group-1; $da = split (",", $textarea); for ($a = 1; $a <= $group; $a++) { print "Group $a:"; for ($b = 1; $b <= $amount; $b++) { $

Fw: [PHP] Re: adding info to an array?

2002-08-01 Thread Kevin Stone
It's all in the manual.. http://www.php.net Each one of these methods will assign two strings to the array and print the string, "mysecondvalue". -- $ra = array ("myfirstvalue", "mysecondvalue"); echo $ra[1]; -- $ra = array(); $ra[] = "myfirstvalue"; $ra[] = "mysecondvalue"; echo $ra[1]; -- $ra[

[PHP] Re: adding info to an array?

2002-08-01 Thread Aaron
can we see the code? -aaron "Hawk" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Tried that now, and with the same results > print_r($ra); still only shows the last info inserted in the array :/ > > "Aaron" <[EMAIL PROTECTED]> skrev i meddelandet > [EMAIL PR

[PHP] Re: adding info to an array?

2002-08-01 Thread Hawk
Tried that now, and with the same results print_r($ra); still only shows the last info inserted in the array :/ "Aaron" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > just assign the value to $ra[] > > > "Hawk" <[EMAIL PROTECTED]> wrote in message > [EMAIL

[PHP] Re: adding info to an array?

2002-08-01 Thread Aaron
just assign the value to $ra[] "Hawk" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a for loop, and an if that checks something, and if true, it's > supposed to add info to an array called $ra, but instead of adding it to the > array it seems like it'

[PHP] adding info to an array?

2002-08-01 Thread Hawk
I have a for loop, and an if that checks something, and if true, it's supposed to add info to an array called $ra, but instead of adding it to the array it seems like it's overwriting it, currently I'm using $ra[$r] = "$r"; where $r is a number.. after the for } I put a print_r($ra); and it only

[PHP] Re: attachements in mail()

2002-08-01 Thread Manuel Lemos
Hello, On 08/01/2002 03:14 PM, Danny Wall wrote: > I've looked, and can not find out how you send attachments using the > mail() function. I find it difficult to believe that this was left out, > so obviously I'm missing something right in front of my face. > > So my question is, how do you s

Re: [PHP] Readdir

2002-08-01 Thread Danny wall
>if ($handle = opendir('/my/directory')) { > echo "Directory handle: $handle\n"; > echo "Files:\n"; > > > > while (false !== ($file = readdir($handle))) { > echo "$file\n"; > } Everything is good, you just to make a slight addition to your echo. echo "$file" -Danny "You

[PHP] Sessions not expiring

2002-08-01 Thread Lee
Hi, I have having problems getting the session to automatically destroy itself after inactivity. Currently I am using the following code, just to test my setup before writing a bigger project. Current Cache Expire = " . session_cache_expire(); // currently set to 1 in php.ini ?> my php.in

Re: [PHP] Re: attachements in mail()

2002-08-01 Thread Danny wall
Ah ... well that's good. I thought I was just being an idiot. Thanks for the resources, a couple of the classes will do the job nicely. -Danny >From: Philip Hallstrom <[EMAIL PROTECTED]> >To: Danny wall <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: [PHP] Re: attachements in mail() >Da

[PHP] How much should this cost Or ...

2002-08-01 Thread PHP mail
If anyone responds to this thanks a lot because this is a lot to ask. I've never coded anything for a paying customer. I'll be using Apache, MySQL and php of course. Or... how about this application already exists somewhere?? Requirements/Design --- 1. Any page requiring authen

[PHP] Re: ARRRRGGGGHHHH! Weird Problems!

2002-08-01 Thread Aaron
What is the purpose of using the for loop? if I may make a suggestion for using the while loop. The code would look something like this: $lyric_array[1]"; echo "$lyric_array[3]"; echo "$num_comments"; echo "$lyric_array[2]"; echo "Buy at Amazon.com"; $ltotalv = $ltotalv + $

[PHP] Can several different sessions coexist?

2002-08-01 Thread DonPro
Hi, I'd like to register a session and create several session variables. In another part of my site, I'd like to register another session again creating session variables. After a bit, I'd like to destroy this second registered session keeping the first intact. Thus far, whenever I issue: ses

[PHP] Example safe use of eval()

2002-08-01 Thread David Pratt
I am trying to get code that I have saved as a string in a database to evaluate as code within a larger script with a loop. There are obvious security concerns with allowing users to input code into the field if it is not preprocessed before it is evaluated. The eval function appears to be the t

RE: [PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup & Texas PHP Users

2002-08-01 Thread Jay Blanchard
Well, the predictions have come true. In San Antonio only four folks signed up for the meetup, and the event was cancelled with no way to get in touch with the other local developers to make a go of it. Out of the 147 cities listed only 15 had enough people for meetup.com to do their thing. A nobl

[PHP] Re: problems with random again

2002-08-01 Thread Philip Hallstrom
No... that wouldn't really be random then would it? :) But you could always keep track of the previous random numbers and if you've seen it ask for another one. On Thu, 1 Aug 2002, Hawk wrote: > Is there some easy way to make rand() only use each number once in a loop, > to avoid getting the sa

[PHP] Re: attachements in mail()

2002-08-01 Thread Tony Harrison
Shouldnt there be some sort of MIME header for it? "Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You can't (in the sense that there's an $attachment argument), but I've > seen several classes that will let you do it. Check zend.com and > p

[PHP] Re: ARRRRGGGGHHHH! Weird Problems!

2002-08-01 Thread Tony Harrison
OK, the color works, but now I have 2 empty lines "Tony Harrison" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanx, I havent tried the loop yet, but the color will work im sure . > > "Aaron Ott" <[EMAIL PROTECTED]> wrote in message > [E

Re: [PHP] Readdir

2002-08-01 Thread Jason Wong
On Friday 02 August 2002 02:53, [EMAIL PROTECTED] wrote: > New To Php so please bear with me... :) > > I used the readdir function to read the files listed on a Apache server. > And it worked fine. > http://www.optimus7.com/findme.php is the result I get from the php > code below. Help! > > if

[PHP] problems with random again

2002-08-01 Thread Hawk
Is there some easy way to make rand() only use each number once in a loop, to avoid getting the same values more than once? Håkan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Readdir

2002-08-01 Thread Nicole Lallande
Change: echo "$file\n"; to: echo "$file\n"; Note the nested quotes -- outer quotes - ", inner quotes (around $file) single - ' Best, Nicole [EMAIL PROTECTED] wrote: >New To Php so please bear with me... :) > >I used the readdir function to read the files listed on a Apache server. And >it

RE: [PHP] Readdir

2002-08-01 Thread Matt Schroebel
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 01, 2002 2:54 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Readdir > > New To Php so please bear with me... :) > > I used the readdir function to read the files listed on a > Apache server. And > it worked fine. Now I

[PHP] Readdir

2002-08-01 Thread msmecca
New To Php so please bear with me... :) I used the readdir function to read the files listed on a Apache server. And it worked fine. Now I would like to be able to get the files the php code returns, to be links. Where the user can click the file and download it. Also for the files to sit within

Re: [PHP] randomize etc?

2002-08-01 Thread Kurth Bemis (List Monkey)
At 08:19 PM 8/1/2002 +0200, Hawk wrote: try using explode then walk through the array that explode makes :-) does that help? ~kurth >I'm trying to make a small script that I can use for randomizing teams and >stuff, I have one field where I enter how many teams, one for how many in >each team,

[PHP] Re: randomize etc?

2002-08-01 Thread Philip Hallstrom
split should work fine... Just do something like: $teamMembersArray = split(" ,;", $textarea); That will give you an array of the team members. Of course I'm assuming that their names don't include spaces and that you'll separate them with either a space, comma, or semi-colon. And you'll want

Re: [PHP] Help with fopen please.

2002-08-01 Thread eat pasta type fasta
check chmods, if the directory where you're saving the $fd2 is not 777 then it wont write, keep in mind it's a security issue however, use /tmp or instead of indicating paths in the file itself have include("file with the path to the dir") instead and put that .inc file off the reach of apache

[PHP] randomize etc?

2002-08-01 Thread Hawk
I'm trying to make a small script that I can use for randomizing teams and stuff, I have one field where I enter how many teams, one for how many in each team, and a to write down all the players in. This is where my brain stopped working, first I was thinking about using split, but I don't know

[PHP] Re: attachements in mail()

2002-08-01 Thread Philip Hallstrom
You can't (in the sense that there's an $attachment argument), but I've seen several classes that will let you do it. Check zend.com and php.resourceindex.com for the classes. On Thu, 1 Aug 2002, Danny wall wrote: > I've looked, and can not find out how you send attachments using the mail() > f

[PHP] attachements in mail()

2002-08-01 Thread Danny wall
I've looked, and can not find out how you send attachments using the mail() function. I find it difficult to believe that this was left out, so obviously I'm missing something right in front of my face. So my question is, how do you send attachments using the mail() fucntion? -Danny "You are

Re: [PHP] Help with fopen please.

2002-08-01 Thread Michael Sweeney
Shane, You haven't told us what the problem is, only that you're having trouble making it work. How is it not working? One other question: I have to assume that the script is running on a different server than the one your are trying to write to (otherwise, why use ftp?) - are you sure that the ft

[PHP] Re: [PHP-WIN] php cookie question

2002-08-01 Thread Damian Harouff
http://www.php.net/manual/en/ref.session.php php.net is rather interesting, in which you can do something like type in "php.net/" or "php.net/" and get the manual page for it... C> I want to ask user to login, and use cookie to save their userid and C> password C> what should i do? -- PHP Ge

Re: [PHP] Getting user's local TZ

2002-08-01 Thread Jason Wong
On Thursday 01 August 2002 23:10, Chris Boget wrote: > I looked in the predefined variable section of the manual and > couldn't find that there was a way to get this information from > that. If there was another way you could get this via PHP, I > couldn't find it anywhere else in the docs. > So,

Re: [PHP] SOAP client class that supports https????

2002-08-01 Thread Anson Smith
The class I am referring to in the original message is nuSphere's nuSoap class which works great over http by the way. ---Original Message--- From: Anson Smith Date: Thursday, August 01, 2002 12:38:47 PM To: [EMAIL PROTECTED] Subject: [PHP] SOAP client class that supports https???

[PHP] SOAP client class that supports https????

2002-08-01 Thread Anson Smith
I am working on a project that requires me to access a web service over https. I was wondering if anyone has any luck getting this class to work over https or if anyone knows of a soap client class that supports https?? thanks, Anson Smith

RE: [PHP] sort results into two columns

2002-08-01 Thread Brian V Bonini
link1linka linklinke I suppose an example of the sql query you attempting to use and perhaps an idea of how your db is structured would help a little.. ;-) > -Original Message- > From: kompresor [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 01, 2002 10:23 AM > To: [EMAIL PR

[PHP] Re: PHP mail() problems FIXED

2002-08-01 Thread John Williams
John Williams wrote: >I'm having a problem getting the mail() function working on php 4.2.2. > >I get the error message: >Warning: mail() is not supported in this PHP build > >I'm running Solaris 8 and have set the symlink for sendmail. I have >recompiled PHP, set the php.ini to point to sendmai

[PHP] DPHPEdit - PHP IDE - New version (0.9.2.4) available

2002-08-01 Thread Davor Pleskina
For all those interested - http://www.pleskina.com/dphped In newest version (0.9.2.4): a. You can now add multiple files to projects using Drag&Drop! b. Internal previewer enhanced c. BUG corrected on previewing single files Thanks everybody for suggestions and support! ___

Re: [PHP] Php Dynamic Pages & Apache Server

2002-08-01 Thread Nicole Lallande
This will read all '.pdf' files in a sub-directory and put them in a link - HTH, Nicole $dir."); while($entry = readdir($dir_stream)) { // get the file extention $ext = substr($entry, strrpos($entry,'.'));

Re: [PHP] Php Dynamic Pages & Apache Server

2002-08-01 Thread Lee
You could try using the readdir function to read a list of files (full docs available from http://www.php.net/manual/en/function.readdir.php) Here is an expanded version of the example give on the above link. File List $file"; } closedir($handle); } ?> This example assumes that the

[PHP] Re: ARRRRGGGGHHHH! Weird Problems!

2002-08-01 Thread Tony Harrison
Thanx, I havent tried the loop yet, but the color will work im sure . "Aaron Ott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > tony, > > regarding problem one, it looks like there is a problem in the code near: > for ($g = 0; $g < $num_lyrics; $g ++) { > > t

Re: [PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread Scott Fletcher
Thank you all for the feedback! I was trying to say the problem lie with the "?", not with the quote or double quote. Because PHP use " wrote in message 019701c23974$f29b78a0$0100a8c0@developerx">news:019701c23974$f29b78a0$0100a8c0@developerx... > $XML = "<\?xml version='1.0' > encoding='UTF-8'

[PHP] Php Dynamic Pages & Apache Server

2002-08-01 Thread msmecca
I am trying to create a php page that will show the files on an apache server. Each file will show up as a link on the page. When clicked, the user will be able to download the file. Is there anyone out there that can lead me in the right direction. -- PHP General Mailing List (http://www.php.n

Re: [PHP] .htaccess file

2002-08-01 Thread Neil Freeman
php_value register_globals "0" B i g D o g wrote: > ** > This Message Was Virus Checked With : SAVI 3.59 May 2002 > Last Updated 8th July 2002 > ** > >

Re: [PHP] .htaccess file

2002-08-01 Thread Nicole Lallande
it's php_flag register_globals off -- you can either place this within your tags in your httpd .conf file or in an htaccess file -- for more info see http://www.php.net/manual/en/configuration.php#AEN2390 best, Nicole Nicole Lallande wrote: > I think it is something like - can't remember if

[PHP] sessions

2002-08-01 Thread Tyler Durdin
I have a login page using sessions the old way. I have switched it to using $_SESSION['valid_user']and was wondering how to switch this (below) part of my code. In the if statement I am checking to see if the session is registered, but using $_SESSION[''] I do not understand how to do this or

Re: [PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread electroteque
heres how i do it $xml .= "\n"; "Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Friday, August 2, 2002, 2:03:18 AM, you wrote: > SF> Anyone know the workaround with the situation here? Here is the sample > SF> script. The problem is I inc

Re: [PHP] .htaccess file

2002-08-01 Thread Nicole Lallande
I think it is something like - can't remember if it's an underscore or dash between the 'php' and 'flag' php-flag register_globals off HTH, Nicole B i g D o g wrote: >Is it possible to set register_globals to off in the .htaccess file. If so >how do I do that? > > >.: B i g D o g :. > > > >

Re: [PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread Tom Rogers
Hi, Friday, August 2, 2002, 2:03:18 AM, you wrote: SF> Anyone know the workaround with the situation here? Here is the sample SF> script. The problem is I include the XML tag into the PHP variable and it SF> messed up everything. It all had to do with "?" here since PHP use it also. SF> --cli

Re: [PHP] include()

2002-08-01 Thread Lee
--snip-- > If you run your own server, you can set it up so that each webmaster is > locked into a private environment, but it's messy. According to me, you > would need a separate copy of apache for each site, each running under a > different user, and they would need to run on separate ports, w

[PHP] .htaccess file

2002-08-01 Thread B i g D o g
Is it possible to set register_globals to off in the .htaccess file. If so how do I do that? .: B i g D o g :. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mcrypt

2002-08-01 Thread Danny Shepherd
Try setting the database field type to 'BLOB' Danny. - Original Message - From: "Randy Johnson" <[EMAIL PROTECTED]> To: "Danny Shepherd" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 4:51 PM Subject: Re: [PHP] mcrypt > I found that the some of the high asc

RE: [PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread Mark Middleton
> $XML = "Apple"; > echo $XML; > ?> > Not sure if this is the best way, but it worked for me: $XML = "<"."?xml version='1.0' encoding='UTF-8'?".">Apple"; Hope this helps, Mark Mark Middleton Whirled Web -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] sort results into two columns

2002-08-01 Thread Simon Ritchie
> how can i sort data from mysql into two columns. Thanks. > > eg: > > link1linka > link linke Do you mean how can you get MySQL to present the data in sorted order or how can you get the browser to display the results in neat columns? Depending upon the question, you either want

RE: [PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread Matt Babineau
Apple"; echo $XML; ?> Try this? Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.criticalcode.com PO BOX 601 Manchester, NH 03105 -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Thursday, Au

Re: [PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread Danny Shepherd
Try: Apple"; echo $XML; ?> HTH Danny. - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 5:03 PM Subject: [PHP] Problem with "" inside the PHP code, due to "?" > Anyone know the workaround with the situation here?

[PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread Scott Fletcher
Anyone know the workaround with the situation here? Here is the sample script. The problem is I include the XML tag into the PHP variable and it messed up everything. It all had to do with "?" here since PHP use it also. --clip-- Apple"; echo $XML; ?> Thanks, FletchSOD -- PHP General Mai

Re: [PHP] mcrypt

2002-08-01 Thread Randy Johnson
I found that the some of the high ascii characters would not store right in the database or something cause when i went to compare them, the comparison would fail. Randy - Original Message - From: "Danny Shepherd" <[EMAIL PROTECTED]> To: "Randy Johnson" <[EMAIL PROTECTED]> Cc: <[EMAIL P

RE: [PHP] Re: Dynamically check radio buttons

2002-08-01 Thread Johnson, Kirk
If you made an array for your buttons, then you could use PHP's looping constructs to process the array. Write the input tag like this: Chicago The processing code will then have access to the array $Game indexed by the game number, e.g., $Game[1]. Good luck! Kirk > -Original Message

RE: [PHP] Re: Dynamically check radio buttons

2002-08-01 Thread Mark Middleton
It looks like your code could use "variable variables" to help you out. ::: OLD CODE > > for ($GameIdx = 1; $GameIdx <= 17; $GameIdx++) { > > /* instead "hardcoding each radio button name - just do it > programmatically > > by concatenating / creating the name */ > > $

RE: [PHP] mcrypt

2002-08-01 Thread Darren Gamble
Good day, > i started using crypt() > > then changed to mcrypt() > > which was not any good cause of the high ascii characters > > then i read about converting the high ascii characters to hex . > > Is this the ideal way to encrypt passwords or is their > something better. The crypt() funct

  1   2   >