[PHP] Re: php on apache on win2k

2002-09-27 Thread Brian McGarvie
on www.php.net you need to download the zip file for php, this will include the missing files... Vic [EMAIL PROTECTED] wrote in message 01c265e6$c3a2b920$a3a96518@jumpy">news:01c265e6$c3a2b920$a3a96518@jumpy... I used to have php 4.2.3 on iis on 200 and xp and it worked fine, but I

[PHP] parsing PHP to create HTML only page

2002-09-27 Thread Tony Burgess
Hi All, I'm really just looking for some advice! I am looking to build a website which users will be able to logon and have a template based website generated for them, the output will have to be HTML so that these sites can be indexed by search engines, it will also have to change Apache conf

[PHP] Instalation problem

2002-09-27 Thread Alicia Molina (ABS)
Hi! I'm installing PHP 4.2.3, I have already installed version 4.0.5 working without problems. Once installed version 4.2.3, I'm using the order phpinfo() and continues appearing the old version of PHP 4.0.5 how if it continued installed and it had not been updated. What can be happening?

Re: [PHP] Instalation problem

2002-09-27 Thread Chris Hewitt
Alicia Molina (ABS) wrote: Hi! I'm installing PHP 4.2.3, I have already installed version 4.0.5 working without problems. Once installed version 4.2.3, I'm using the order phpinfo() and continues appearing the old version of PHP 4.0.5 how if it continued installed and it had not been updated.

[PHP] Re: remote files to servers

2002-09-27 Thread Simon Angell
From: Brad Bonkoski [EMAIL PROTECTED] Sure, see fopen() and fread() and fwrite() -Brad I Have looked through the manual at these and have got the general idea of it, but how do i join the commands to do the function i am after? -- Cheers -

[PHP] php-Re: Remote files to servers

2002-09-27 Thread Simon Angell
From: Brad Bonkoski [EMAIL PROTECTED] Sure, see fopen() and fread() and fwrite() -Brad I Have looked through the manual at these and have got the general idea of it, but how do i join the commands to do the function i am after? -- Cheers -

[PHP] setting .htaccess authentication with PHP

2002-09-27 Thread Javier Montserat
Hello Everyone, I've developed a feature which allows clients to upload files to a dir on the server. I want to allow clients to email a url to the file as follows :- http://www.mysite.com/clientX/file01.jpg I want to setup challenge / response authentication on the client folder so that

Fw: [PHP] php on apache on win2k

2002-09-27 Thread Sascha Braun
- Original Message - From: Sascha Braun [EMAIL PROTECTED] To: Vic [EMAIL PROTECTED] Sent: Friday, September 27, 2002 10:02 AM Subject: Re: [PHP] php on apache on win2k Hi Vic, the Apache DLL resides in the php/sapi folder. But if you use Apache Version 2000 and above you have to

RE: [PHP] mobile number

2002-09-27 Thread Ford, Mike [LSS]
-Original Message- From: Ryan A [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 17:26 Hey, It used to be that 07xxx = vodafone ... and 07yyy = orange - but now it could be anything. DAMN, that sounds bad, any fixed numbers in the UK atleast? My cousins number is +44

[PHP] what do you think?

2002-09-27 Thread Arminas
about http://smanager.web1000.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Send mail in HTML

2002-09-27 Thread Christian Ista
Hello, I use the mail function to send mail. On my development PC, I receive the mail in HTML, with the high priority,... I put the files on the production server, a linux machine, when I receive the mail is not in HTML but in plain text, I don't see the high priority. I receive that :

[PHP] GD Fonts

2002-09-27 Thread Jonathan Rosenberg
I've just started using the GD library in PHP to do some graphic manipulation/creation. I find myself quite confused about how to work with fonts. I believe that I have both FreeType TrueType enabled, since my phpinfo() says '--with-freetype-dir=/usr' '--with-gd'

RE: [PHP] what do you think?

2002-09-27 Thread Ford, Mike [LSS]
-Original Message- From: Arminas [mailto:[EMAIL PROTECTED]] Sent: 27 September 2002 11:38 about http://smanager.web1000.com/ I think the page needs a drastic proof-read and grammar check -- I have trouble understanding what some of it is even trying to say. And I haven't a clue

[PHP] Re: Displaying full array contents

2002-09-27 Thread Brad Harriger
OK. Now I have something I can work with. Thanks everyone. Brad Brad Harriger wrote: I'm trying to write a function that will display the full contents of an array. If one of the keys contains a value that is an array, the full array (all indices) should be shown. As an example,

Fw: [PHP] Re: php on apache on win2k

2002-09-27 Thread karthikeyan
snip Cannot load blah blah module blah blah LoadModule php4_module c:/php/sapi/php4apache.dll /snip This means you need to put php4ts.dll which will be PHPDir to Window/System(98) WinNt/System32(NT) directory. If you do that you wont get that error. Hope this helps. karthikeyan. -

RE: [PHP] what do you think?

2002-09-27 Thread Miles Thompson
Fully concur. mt At 01:26 PM 9/27/2002 +0100, Ford, Mike [LSS] wrote: -Original Message- From: Arminas [mailto:[EMAIL PROTECTED]] Sent: 27 September 2002 11:38 about http://smanager.web1000.com/ I think the page needs a drastic proof-read and grammar check -- I

Re: [PHP] Encrypted MySQL passwords

2002-09-27 Thread Richard Fox
Rodolfo Gonzalez [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Thu, 26 Sep 2002, Brad Bonkoski wrote: also might be better then sending it in the clear. But I guess that the original poster wanted to know how to avoid the clear text session originated

[PHP] Mobile Number - End of thread.

2002-09-27 Thread Ryan A
Hi all, well, time to explain, I am just practiceing my programming skills in PHP and was bored...so I wondered why not do the mobile thing as I have not seen it in any sites...now i know why...its coz its a pain in the ass as pointed out by so many of you. Thank you. Since I am not a person

Re: [PHP] parsing PHP to create HTML only page

2002-09-27 Thread Marek Kilimajer
You can use phpnuke or similar to achieve this, all you need is to decide which database to use (you may use Host: header, or directory). But sure, this won't change your dns records or Apache conf files. Tony Burgess wrote: Hi All, I'm really just looking for some advice! I am looking to

[PHP] Bus Schedule / Time table

2002-09-27 Thread Craig
I have been given the task to program a site in php that displays the timetable of a local bus company Does any one have any suggestions into where to look for any info or advice? Thanks craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Update involving a list field

2002-09-27 Thread Marek Kilimajer
You mean enum column type? There is nothing special about it, besides you cannot change it to anything else. echo your update query and see what it looks like. Shiloh Madsen wrote: Hi, Im using a form that updates a database entry. In it one of my fields is a drop down/list field. Whenever

[PHP] Re: Encrypted MySQL passwords (new info from MysQL list)

2002-09-27 Thread Richard Fox
Hi Andrew and Richard, The password and connection info is scrambled up. You can look, If you want to check it out for your self look in the source code of ./mysql-3.23.XX/libmysql search for the following functions. especially in 'mysql_real_connect' function. It is not the best

RE: [PHP] what do you think?

2002-09-27 Thread Chase Urich
Ditto. Chase On Fri, 2002-09-27 at 07:34, Miles Thompson wrote: Fully concur. mt At 01:26 PM 9/27/2002 +0100, Ford, Mike [LSS] wrote: -Original Message- From: Arminas [mailto:[EMAIL PROTECTED]] Sent: 27 September 2002 11:38 about

[PHP] Web Caching

2002-09-27 Thread Scott Fletcher
Hi! Any web browsers that establish a SSL connection with Apache. What I understand is that any webpages through SSL would not be cache after the web browser received it. But I noticed that only any webpage that use html form tag follow by the method like Get or Post would effectively not

[PHP] php mysql fulltext search min word length = 3

2002-09-27 Thread ROBERT MCPEAK
Much to my dismay, I've learned that the mySQL minimum indexable/searchable word length is 3 characters. This is a real problem for me. Anybody know a workaround, or how to tweak mySQL to allow for matches of words 3 chars or less. From the online mysql docs

[PHP] 4.0.2 = 4.2.3, form vars are empty?

2002-09-27 Thread Qmail List
Hello List, I'm putting a php app that has been off-line for about 18 months back on-line. During my absence from php I had heard about some security issues, so figured I'd try the latest 4.2.3 release. Sessions and the DB are fine, but GET/POST vars are continually empty. I mean a form

[PHP] exec issue - return value 127

2002-09-27 Thread christian haines
hi all, i am having a problem with exec. every command i try to run returns 127 (seg fault i think) but no array with info. what could be causing this problem? i have tried running the complete path to the command e.g. usr/bin/ls -l etc but with no luck. could this be something to do with my

Re: [PHP] Instalation problem

2002-09-27 Thread Chris Hewitt
Alicia Molina (ABS) wrote: Yes! I have restarted my server, my webserver and all. I have red hat 6.2 and Apache 1.3.20 Alicia Molina (ABS) wrote: I'm installing PHP 4.2.3, I have already installed version 4.0.5 working without problems. Once installed version 4.2.3, I'm using the order

[PHP] Re: 4.0.2 = 4.2.3, form vars are empty?

2002-09-27 Thread Erwin
Qmail List wrote: Hello List, I'm putting a php app that has been off-line for about 18 months back on-line. During my absence from php I had heard about some security issues, so figured I'd try the latest 4.2.3 release. Sessions and the DB are fine, but GET/POST vars are continually

Re: [PHP] 4.0.2 = 4.2.3, form vars are empty?

2002-09-27 Thread Scott Houseman
This is almost certainly due to the new superglobals arrays which are used in newer versions of php. in short, you will not be aqble to use the value 'name' from a posted form by simply refering to '$name', but should rather use '$_POST[name]'.See the php manual for more info. To solve this

Re: [PHP] 4.0.2 = 4.2.3, form vars are empty?

2002-09-27 Thread ed
I recently have experienced the same thing in upgrading from 4.0.0 to 4.2.3 All variables are now stored globally and can only be retrieved using $_POST['var'] or $_GET['var'] declarations i.e. $username = $_POST['username']; or get if your method was get in the form. On Fri, 27 Sep 2002,

RE: [PHP] Re: 4.0.2 = 4.2.3, form vars are empty?

2002-09-27 Thread Jesse Cablek
Erwin mailto:[EMAIL PROTECTED] scribbled; Qmail List wrote: Hello List, I'm putting a php app that has been off-line for about 18 months back on-line. During my absence from php I had heard about some security issues, so figured I'd try the latest 4.2.3 release. Sessions and the DB

[PHP] $_SESSION[] and register_globals=on

2002-09-27 Thread Andre Dubuc
A short question: My IP informed me that they have register_globals=on in their php.ini. Is this going to cause problems with my scripts that were written using $_POST, $_SESSION, etc? Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] php mysql fulltext search min word length = 3

2002-09-27 Thread Marek Kilimajer
The only option is to recompile mysql ROBERT MCPEAK wrote: Much to my dismay, I've learned that the mySQL minimum indexable/searchable word length is 3 characters. This is a real problem for me. Anybody know a workaround, or how to tweak mySQL to allow for matches of words 3 chars or less.

[PHP] Re: exec issue - return value 127 (more)

2002-09-27 Thread christian haines
ok.. i found that i need to check the httpd error_log and it tells me that it can't find the file or directory for the command. how do i fix this? i tried a full pathname to the command but it still says it cannot find dir or file etc c. Christian Haines wrote: hi all, i am having a

[PHP] Getting part of a string

2002-09-27 Thread ed
I've got a situation where I need to pull a string from a variable but I can't seem to get it figured out. I.e. value of $a = /realtor/Remax/Ed/files/ I need to get the string between the second and third / (slash) What I need: Remax Thanks, Ed -- PHP General Mailing List

[PHP] Re: $_SESSION[] and register_globals=on

2002-09-27 Thread Leon Mergen
Andre Dubuc [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... A short question: My IP informed me that they have register_globals=on in their php.ini. Is this going to cause problems with my scripts that were written using $_POST, $_SESSION, etc? No, if

php-general Digest 27 Sep 2002 15:32:45 -0000 Issue 1610

2002-09-27 Thread php-general-digest-help
php-general Digest 27 Sep 2002 15:32:45 - Issue 1610 Topics (messages 117809 through 117859): Re: length function 117809 by: Smith, Benjamin 117816 by: . Edwin 117817 by: . Edwin 117818 by: . Edwin 117819 by: . Edwin no $PATH_INFO by using URLs with

[PHP] FW: problem with new_xmldoc()

2002-09-27 Thread Davíð Örn Jóhannsson
I ran into a problem using new_xmldoc() function I just set up PHP v 4.2.3 because the 4.0.1. version resulted: Fatal error: Call to undefined function: new_xmldoc() and so dose the new version v.4.2.3 Any Ideas??

Re: [PHP] Getting part of a string

2002-09-27 Thread Marek Kilimajer
reg_match('^/[^/]*/([^/]*)/',$a, $match) $match[1] should contain what you need [EMAIL PROTECTED] wrote: I've got a situation where I need to pull a string from a variable but I can't seem to get it figured out. I.e. value of $a = /realtor/Remax/Ed/files/ I need to get the string between

Re: [PHP] Getting part of a string

2002-09-27 Thread debbie_dyer
I'm not an expert on regex but this seems to work:- ereg(^/[^/]*/([^/]*)/.*$, /realtor/Remax/Ed/files/, $regs); if (isset($regs[1])) { print $regs[1]; } Debbie - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 27, 2002 4:23 PM Subject:

[PHP] mailing-list and forum combination?

2002-09-27 Thread taylor
hi, does anyone know of a php-based combined mailing list and bulletin board/forum? something like a php lovechild of majordomo and yabbse? any pointers greatly appreciated! taylor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] quick mysql question

2002-09-27 Thread Doug Parker
where can i find info on setting up a mysql database on a remote server? i know how to set them up on a local machine, but i can't figure out how to get to the command line setting on a remote server... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] FW: problem with new_xmldoc()

2002-09-27 Thread Marek Kilimajer
What does php_info() say, was php compiled --with-dom Davíð Örn Jóhannsson wrote: I ran into a problem using new_xmldoc() function I just set up PHP v 4.2.3 because the 4.0.1. version resulted: Fatal error: Call to undefined function: new_xmldoc() and so dose the new version v.4.2.3 Any

RE: [PHP] quick mysql question

2002-09-27 Thread Jon Haworth
Hi Doug, where can i find info on setting up a mysql database on a remote server? i know how to set them up on a local machine, but i can't figure out how to get to the command line setting on a remote server... me@mybox:~$ ssh my.remote.server Or am I missing something? Cheers Jon

Re: [PHP] Re: session cookies

2002-09-27 Thread Jeff Bluemel
Chris and I have been working on this through private emails, and we (I mean he) finally figured out what the problem was... session.cookie_path was set to /tmp instead of /. I wanted to thank him for taking the time to help me work through this... Jeff Chris Shiflett [EMAIL PROTECTED] wrote

[PHP] Re: length function

2002-09-27 Thread Jeff Bluemel
thanks Edwin... I had looked through the function list, but couldn't find the command... Jeff @ Edwin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing

Re: [PHP] quick mysql question

2002-09-27 Thread Doug Parker
jon - thanks for the reply. i tried this: prompt ssh server.net i got an open failed: no such file or directoy does that mean that ssh is not enabled on the server? i pinged the server and it said it was alive... Jon Haworth wrote: Hi Doug, where can i find info on setting up a mysql

RE: [PHP] Getting part of a string

2002-09-27 Thread Ford, Mike [LSS]
-Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] I've got a situation where I need to pull a string from a variable but I can't seem to get it figured out. I.e. value of $a = /realtor/Remax/Ed/files/ I need to get the string between the second and third / (slash)

Re: [PHP] mailing-list and forum combination?

2002-09-27 Thread John Wards
Well Phorum.org can sort of do it but its not very well documented. It has a script in the scripts dir called phroum mail. Which takes email in and posts it to the selected forum and you can then set the forum to email all posts to an address I have yet to get my head around it but I

[PHP] file truncation when generating tar file for download ...

2002-09-27 Thread Monique Y. Herman
Thanks in large part to some of the recent discussions on this list, I've finally implemented some stuff that allows me to select a bunch of files and tar them up. This works great for smaller archives. If the resulting archive is very large, the download begins normally, but halts at 40-41MB.

Re: [PHP] FW: problem with new_xmldoc()

2002-09-27 Thread Marek Kilimajer
That's likely an old name, look at the docs Davíð Örn Jóhannsson wrote: Don't know it's a just downloaded the win32 binary package -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] Sent: 27. september 2002 15:58 To: PHP Subject: Re: [PHP] FW: problem with

[PHP] PHP/Java: Type Casting

2002-09-27 Thread Gardner Lloyd Bickford III
Hello, I am using php 4.2.3 with the jdk1.3.1_04 running on RedHat 7.2 and apache 1.3.22. The terms Factory and Proxy are similar to their respective design patterns. I have a java Factory that creates Proxy objects. The Factory returns a base interface that can be cast as the class that was

[PHP] Re: exec issue - return value 127 (more and more)

2002-09-27 Thread christian haines
here is some more info i figured out the exec fails because php is running in safe mode. that is ok when i am at home developing (i can turn it off) however when i go to upload my app to my server which runs in safe mode.. what do i do then? is there a way around this? i tried using the

Re: [PHP] FW: problem with new_xmldoc()

2002-09-27 Thread Marek Kilimajer
I think the only way is to put the whole xml into a string and replace the first line Davíð Örn Jóhannsson wrote: Thanks but I found out what it was I just had to enable some dll's in the php.ini on my test enviroment. But You wouldn't have any Idea how to set encoding=iso-8859-1 whene you

Re: [PHP] Re: exec issue - return value 127 (more and more)

2002-09-27 Thread Marek Kilimajer
set *safe_mode_exec_dir *and put there your binaries christian haines wrote: here is some more info i figured out the exec fails because php is running in safe mode. that is ok when i am at home developing (i can turn it off) however when i go to upload my app to my server which runs in

[PHP] Re: quick mysql question

2002-09-27 Thread Gardner Lloyd Bickford III
If it's a linux or unix box use ssh or telnet to get a shell on the remote system then follow the instructions in http://www.mysql.com/documentation/mysql/full/index.html . If it's a windows box then you have to use pcAnywhere or go to the machine to set it up, unless there's a ssh or telnet

[PHP] PHP and https no working recieving cookies and header info how to fix needed.

2002-09-27 Thread Jeffrey D. Means
I am using PHP 4.2.3 with Apache-SSL 1.3.26 and need some advice on how to get my scripts to receive the cookies that I am setting along with the POST and GET values from the preceding form. How do I go about this task? My thanks in advance for any help offered as I am totally stumped. Jeff

RE: [PHP] Encrypted MySQL passwords

2002-09-27 Thread Rodolfo Gonzalez
On Thu, 26 Sep 2002, John Holmes wrote: BTW (and I have not checked the CVS/TODO, so I ask here), is there planned support for SSL MySQL 4.x.x in PHP?. Yes. More info in Chapter 4.3.9.1 of the MySQL manual. Nope, I mean: support for SSL+MySQL4 in PHP's mysql_connect. I know that MySQL 4.0

[PHP] Multiple Inheritance Emulation

2002-09-27 Thread Julio Nobrega
I don't fully understand OOP, so my snippet might be wrong. But I need to emulate Multiple Inheritance for a script, so I've made the following, which I ask for opinions since I am not so sure if it will always work. class multipleInheritance { function callClass($class_to_call) {

RE: [PHP] Encrypted MySQL passwords

2002-09-27 Thread Rodolfo Segleau
- Message from [EMAIL PROTECTED] - Date: Fri, 27 Sep 2002 13:30:40 -0500 (CDT) From: Rodolfo Gonzalez [EMAIL PROTECTED] Reply-To: Rodolfo Gonzalez [EMAIL PROTECTED] Subject: RE: [PHP] Encrypted MySQL passwords To: John Holmes [EMAIL PROTECTED] On Thu, 26 Sep

RE: [PHP] Re: Multiple Inheritance Emulation

2002-09-27 Thread Steve Bradwell
LOL, thanks for the laugh on a friday afternoon =]. -Original Message- From: Julio Nobrega [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 3:17 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Multiple Inheritance Emulation Julio Nobrega em Friday 27 September 2002 15:40 foi

[PHP] Regular expression help converting doc to xml

2002-09-27 Thread Geoff
I have a fairly large html document that I need to convert to xml. The current format is is: DD A whole bunch of text DT Something else /DT (There is a new line in there before DT) Which I need to convert to DD A whole bunch of text /DD DT Something else /DT Any ideas?? --

[PHP] coding standards - control structures

2002-09-27 Thread ed
Hey all. I've read the pear coding standards. I assume that if php has any official coding standards then the pear standards would be them, correct? Anyways, the pear docs on coding standards show examples of using controls structures like the following: if ( !$var ) { do_something();

[PHP] echo writes number of chars written

2002-09-27 Thread David Busby
List, On my php.4.2.3, Apache 4.0.42 install my echo statements all output the number of characters written (in hex). So this code: echo addrone$id-addrone/addrone; echo addrtwo$id-addrtwo/addrtwo; echo city$id-city/city; Makes this XML: 1d addronePO BOX 698/addrone 13 addrtwo/addrtwo

[PHP] PHP and JavaScript on a form validation task

2002-09-27 Thread Riccardo Sepe
Hi every1 I'm buidin' up a form that should perform a couple of checks before submit. I used javascript but as the form has got option fields also and some field changes upon the checkbox chosen the script has to know when I'm just changing the option or when I'm tryin' 2 send the form... (in

[PHP] Sorting Quesiton

2002-09-27 Thread php
Hello All. I have a small 'to-do list' that is working just fine. the db-table structor is close to this: id datetime (for date of doing the task) into (quick title/intro about task) text (guts of work I have to do) active (is task active or done) Here is the question I've got: My

Re: [PHP] coding standards - control structures

2002-09-27 Thread Kevin Stone
I believe the standards are for coding PEAR modules so all code is presented in the same style. It really has no influence on the language or community at large. I say code the way you feel most comfortable with and damb to anyone who complains. :) -Kevin - Original Message - From: ed

Re: [PHP] PHP and JavaScript on a form validation task

2002-09-27 Thread Kevin Stone
Instead of check for $ready2be_checked, use a hidden form field instead of relying on the submit button to be pressed. If the Javascript auto-submits the form the hidden field will still be there. -Kevin - Original Message - From: Riccardo Sepe [EMAIL PROTECTED] To: php-general [EMAIL

Re: [PHP] coding standards - control structures

2002-09-27 Thread Robert Cummings
Kevin Stone wrote: I believe the standards are for coding PEAR modules so all code is presented in the same style. It really has no influence on the language or community at large. I say code the way you feel most comfortable with and damb to anyone who complains. :) -Kevin The best

Re: [PHP] coding standards - control structures

2002-09-27 Thread Kevin Stone
No I totaly agree. That's exactly the way I code! *ROTFLMAO* -Kevin - Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Kevin Stone [EMAIL PROTECTED] Cc: ed [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, September 27, 2002 2:40 PM Subject: Re: [PHP] coding standards -

RE: [PHP] Keeping your published script safe?

2002-09-27 Thread Stephen Craton
I found a good working program that does the trick. It does, however, eliminate the process making mods or editing the source for good. I found just encrypting the copyright part works great. Here's the program: http://www.rssoftlab.com/ It's called PHP Encoder and I'm pretty sure it's 100%

RE: [PHP] Encrypted MySQL passwords

2002-09-27 Thread Rodolfo Gonzalez
On Fri, 27 Sep 2002, Rodolfo Segleau wrote: Nope, I mean: support for SSL+MySQL4 in PHP's mysql_connect. I know that MySQL 4.0 supports SSL, but I don't know if PHP has/will have support for MySQL connections using SSL in future versions. Rodolfo (Tocayo!), Hola!, The PHP

RE: [PHP] $_SESSION[] and register_globals=on

2002-09-27 Thread John Holmes
My IP informed me that they have register_globals=on in their php.ini. Is this going to cause problems with my scripts that were written using $_POST, $_SESSION, etc? If you can turn it off via, .htaccess, you'd be better. The scripts will run fine with $_POST or whatever, but realize your

Re: [PHP] coding standards - control structures

2002-09-27 Thread Bill Farrell
LOL! Right! I figure that _I'm_ the one who has to look at my code the most. May as well leave it where I put it, how I put it. Thanks for the chuckle! B --- Kevin Stone [EMAIL PROTECTED] wrote: I believe the standards are for coding PEAR modules so all code is presented in the same style.

RE: [PHP] Regular expression help converting doc to xml

2002-09-27 Thread John Holmes
I have a fairly large html document that I need to convert to xml. The current format is is: DD A whole bunch of text DT Something else /DT (There is a new line in there before DT) Which I need to convert to DD A whole bunch of text /DD DT Something else /DT $new_text =

Re: [PHP] where's waldo

2002-09-27 Thread @ Edwin
Well, I didn't really mean to imply anything about people's honesty and so forth... I just wanted to say that validating (anything) on the client side is not normally a good (and reliable) idea. Of course, as always mentioned, validation on the server side is always better. - E "Kenneth Love"

Re: [PHP] $_SESSION[] and register_globals=on

2002-09-27 Thread Andre Dubuc
Thanks John, I had been debating which IP Iwould use for my site. With the information you've provided, I will use the one that has register_globals=off. One re-write of all my code is enough. Besides, the purpose of the default 'off' behavior is precisely why I'm using $_SESSION's anyway.

[PHP] using CURL to post data to a search engine

2002-09-27 Thread rdkurth
I am trying to use curl to post data to a search engine and then return the results in a variable so I can manipulate it. I have tried this but it does not seam to work properly. This is just an example of how I am trying to do this I don't have to use google for the search engine just

[PHP] Assigning data to fields

2002-09-27 Thread Ken
I am kind of new to PHP. I know how to use a select statement and a query to get data out of a table in MySQL, but how do I assign those fields to variables? I know this must be easy! Thanks in advance!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Assigning data to fields

2002-09-27 Thread Brad Bonkoski
I think this should be a good reference for you: http://www.php.net/manual/en/function.mysql-fetch-array.php HTH -Brad Ken wrote: I am kind of new to PHP. I know how to use a select statement and a query to get data out of a table in MySQL, but how do I assign those fields to variables? I

[PHP] HELP: Carriage returns don't display in HTML

2002-09-27 Thread Shane
Greetings folks. I need my carriage returns to show up in my HTML output from my text form field. There is a JavaScript function that will convert carriage return to BR tags, but is there a PHP function that will add BR or P tags to a text form field in place of the carriage returns a user

[PHP] seeking data validation class

2002-09-27 Thread Peter J. Schoenster
Hi, I looked at phpclasses but saw nothing as simple as I wanted. There's a Perl module which does just what I want and perhaps I'll have to port it. The class accepts an assoc array of name=value, and the key to another assoc array which describes the constraints for the assoc array I'm

Re: [PHP] Getting part of a string

2002-09-27 Thread Justin French
Assuming that it will always be in this format (/something/what you want/...), explode() the string by '/' into an array, and get the right element back. ? $a = /realtor/Remax/Ed/files/ $aa = explode('/', $a); echo $aa[2]; ? Enjoy Justin French on 28/09/02 1:23 AM, [EMAIL PROTECTED] ([EMAIL

[PHP] Re: seeking data validation class

2002-09-27 Thread Manuel Lemos
Hello, On 09/27/2002 09:50 PM, Peter J. Schoenster wrote: I looked at phpclasses but saw nothing as simple as I wanted. There's a Perl module which does just what I want and perhaps I'll have to port it. The class accepts an assoc array of name=value, and the key to another assoc array

[PHP] Re: Send mail in HTML

2002-09-27 Thread Manuel Lemos
Hello, On 09/27/2002 08:52 AM, Christian Ista wrote: I use the mail function to send mail. On my development PC, I receive the mail in HTML, with the high priority,... I put the files on the production server, a linux machine, when I receive the mail is not in HTML but in plain text, I

RE: [PHP] HELP: Carriage returns don't display in HTML

2002-09-27 Thread Jesse Cablek
Shane mailto:[EMAIL PROTECTED] scribbled; There is a JavaScript function that will convert carriage return to BR tags, but is there a PHP function that will add BR or P tags to a text form field in place of the carriage returns a user might add. nl2br() -jesse -- PHP General Mailing

Re: [PHP] HELP: Carriage returns don't display in HTML

2002-09-27 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Try nl2br(http://www.php.net/nl2br). ~Pauly On Friday 27 September 2002 08:19 pm, Shane wrote: Greetings folks. I need my carriage returns to show up in my HTML output from my text form field. There is a JavaScript function that will

Re: [PHP] Assigning data to fields

2002-09-27 Thread Ken
I used the examples you have lead me to and I get this error? I am stumped? mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pay.php on line 51 Have any idea what this means? Thanks! Brad Bonkoski [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] using CURL to post data to a search engine

2002-09-27 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, I don't think you'll get php to work with google unless you use the google api - I heard that google has filtered out the php(and others) user-agent. If you need more info on the google api just let me know. ~Pauly On Friday 27 September 2002

RE: [PHP] Assigning data to fields

2002-09-27 Thread John W. Holmes
I used the examples you have lead me to and I get this error? I am stumped? mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pay.php on line 51 You're query probably failed. Look at mysql_error(). www.php.net/mysql_error ---John Holmes... -- PHP

Re: [PHP] using CURL to post data to a search engine

2002-09-27 Thread Chris Shiflett
Google uses GET anyway, not POST. A simple fopen() is all you need, but then you'll be parsing HTML. The API is better for reliability. Paul Nicholson wrote: I don't think you'll get php to work with google unless you use the google api - I heard that google has filtered out the php(and

Re: [PHP] Re: seeking data validation class

2002-09-27 Thread Peter J. Schoenster
On 27 Sep 2002 at 22:09, Manuel Lemos wrote: Assumming that you tried the forms generation and validation class, what did you realize that was missing to match your needs? http://www.phpclasses.org/formsgeneration Well that's the first thing I found and I downloaded it. It does much more

php-general Digest 28 Sep 2002 03:33:23 -0000 Issue 1611

2002-09-27 Thread php-general-digest-help
php-general Digest 28 Sep 2002 03:33:23 - Issue 1611 Topics (messages 117860 through 117915): Re: problem with new_xmldoc() 117860 by: Davíð Örn Jóhannsson 117865 by: Marek Kilimajer 117873 by: Marek Kilimajer 117876 by: Marek Kilimajer Re: Getting part of

[PHP] .htaccess to change browscap setting

2002-09-27 Thread SpamSucks86
AllowOverride is set to All in apache, and when I put this in a .htaccess file, it changes the value: IfModule mod_php4.c php_value upload_max_filesize 750 /IfModule however, when I put php_value browscap /home/user/php/browscap.ini in there, it doesn't change the setting. Is

Re: [PHP] Assigning data to fields

2002-09-27 Thread Ken
Thanks John! That was it! John W. Holmes [EMAIL PROTECTED] wrote in message 01c26698$1abbc290$7c02a8c0@coconut">news:01c26698$1abbc290$7c02a8c0@coconut... I used the examples you have lead me to and I get this error? I am stumped? mysql_fetch_array(): supplied argument is not a

[PHP] field size for common data

2002-09-27 Thread Pablo Oliva
What amount of chars is reasonable and should I allow for each of the following fields in a database: company name: 30 chars address/street: 30 chars city: 30 chars Thanks.

[PHP] counting words in a string

2002-09-27 Thread rdkurth
I need to count how many times the word AVAILABLE appears in a string like this $string =AVAILABLE More Info AVAILABLE More Info; some time the string looks like this $string =UNAVAILABLE More Info AVAILABLE More Info; or $string =AVAILABLE More Info UNAVAILABLE More Info; when I use

Re: [PHP] field size for common data

2002-09-27 Thread Justin French
I'm no expert on MySQL field types, but I'd be going for a varchar field of 50-ish (maybe more???)... the reason is that (from what I understand) varchar fields only take up as much room as the content, plus one or two bytes, so making them 50 vs 30 will offer no advantage, but may become a

Re: [PHP] counting words in a string

2002-09-27 Thread Justin French
if this is your SPECIFIC problem, putting a space at the beginning of $srch will help, eliminating XAVAILABLE... but this will cause a problem with the word AVAILABLE appearing at the start of the string, so temporarily put a space at the start of the string: ? // UNTESTED $count =

  1   2   >