Re: [PHP] PHP on one box, Apache on another?

2003-07-02 Thread Joel Rees
Hi, I told him that support for PHP was compiled into Apache and that it would be impractical. I asked if he wanted the DB on another box. I asked if he wated the scripts on another box. I am quite sure that there is no particular logic behind the request as I have not received any

Re: [PHP] PHP on one box, Apache on another?

2003-07-02 Thread Joel Rees
I don't know the details of this request (like why., but as soon as I know I'll tell you) but can Apache live on one box with all PHP requests being handled on another box? Yeah, but what you're likely to end up with is apache on one machine just passing requests to and from

[PHP] mysql detect

2003-07-02 Thread RoyD
helo all , what command in linux , to see default direcktory instalation mysql database dan mysql library ## With best regards ! Roy Daniel , ST IT Application Support Development Engineer - PT BERCA [EMAIL PROTECTED] // [EMAIL PROTECTED] ICQNumber

[PHP] Java Applet to PHP Communication

2003-07-02 Thread Sharat Hegde
Hello, I need to be able to communicate from a Java Applet to a PHP program on the server to enable Live Connect for data. This is what I intend to do: In my web application, a Java Script program will call a Java Applet which then calls the PHP program on the server. The PHP program works like

Re: [PHP] Java Applet to PHP Communication

2003-07-02 Thread justin gruenberg
Sharat Hegde wrote: Hello, I need to be able to communicate from a Java Applet to a PHP program on the server to enable Live Connect for data. This is what I intend to do: In my web application, a Java Script program will call a Java Applet which then calls the PHP program on the server. The PHP

[PHP] Re: mysql detect

2003-07-02 Thread Manuel Lemos
Hello, On 07/02/2003 04:05 AM, [EMAIL PROTECTED] wrote: what command in linux , to see default direcktory instalation mysql database dan mysql library ./configure ? -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List

Re: [PHP] Session vs Cookie Issues

2003-07-02 Thread Matt MacLeod
I've had similar issues using cookies. The cookie was storing my details but only for the duration of the session despite having set the expiry date to a time well into the future. Any ideas for why this may have happened? The only major flaw I've found with PHP's session support is that it

[PHP] Template Programme!

2003-07-02 Thread Jupiter Wen
Hello, Is there any template-processing programme designed for PHP5? Thanks! Jupiter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Performance questions

2003-07-02 Thread Sancar Saran
Hi, I'm working on a CMS like system. Its uses heavly SQL for page rendering. Yesterday I made a stress test. System stable for just 30 secs (for 60 request per sec, An Athlon750 with 320 mb ram). My investigation is Apache stalls when writing sessions. System uses sessions for store sniffed

Re: [PHP] online file management

2003-07-02 Thread Paul Chvostek
- Original Message - From: Paul Chvostek [EMAIL PROTECTED] I'm looking for a tool that will allow online file management, with a UI something like that of a traditional FTP client. The ideal candidate would authenticate based on a MySQL table and would be able to handle

Re: [PHP] safe_mode and file/directory ownership

2003-07-02 Thread Paul Chvostek
Jason, safe_mode_gid may indeed be the solution, though it seems to go way too far in relaxing things. It's the functionality of safe_mode that I want ... with the proviso that the web server should be able to read files that it writes. I will not consider turning off safe_mode entirely, any

Re: [PHP] Geting information from XML

2003-07-02 Thread Nabil
please i need like those classes , because i have to read from XML and insert into MySQL.. Nabil Stephen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] There are a lot of classes that parse XML files. I can send you a few functions I made myself to parse a paticular type of XML

[PHP] dynamic classes or dynamic extends ?

2003-07-02 Thread Torsten Rosenberger
Hello i plan to reorganize my CMS code. The idee is to only use classes for the hole system. There should be a Core class to handle the whole functionality (Login, Backend, Permission, Modules) Every Module as a class (News, Pictures ...) the construct should be like this class Core extends

RE: [PHP] Java Applet to PHP Communication

2003-07-02 Thread Sharat Hegde
Thanks Justin, Do you have any leads on where I can get info on accessing XML data using SOAP from a Java Applet. I know how to parse XML data. Regards, Sharat Hegde Phone: 6575800 Ext 4610 Direct: 6566615 -Original Message- From: justin gruenberg [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] have some free time?

2003-07-02 Thread Ford, Mike [LSS]
-Original Message- From: Kyle Babich [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 00:19 I think this is short example of my problem... ?php $name = 'kyle'; function hello() { print 'hello ' . $name; $x = 1; } function bye() { if ($x == 1) print 'x = 1';

[PHP] Quickie - manipulating strings

2003-07-02 Thread Matt MacLeod
Hi, I need to manipulate a string to insert a space 3 characters from the right end. eg: turn 'ng23fgh' into 'ng23 fgh', or 'hfdgskfjgh23kj' into 'hfdgskfjgh2 3kj'. Any help gratefully received. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: dynamic classes or dynamic extends ?

2003-07-02 Thread Pete Morganic
off tangent slightly - Have u looked at smarty templates smarty.php.net Must admit I played with ITX and a few others but smarty wins for me pete Torsten Rosenberger wrote: Hello i plan to reorganize my CMS code. The idee is to only use classes for the hole system. There should be a Core class

[PHP] Re: Quickie - manipulating strings

2003-07-02 Thread Pete Morganic
from the manual Example 1. Basic substr() usage ?php $rest = substr(abcdef, 1);// returns bcdef $rest = substr(abcdef, 1, 3); // returns bcd $rest = substr(abcdef, 0, 4); // returns abcd $rest = substr(abcdef, 0, 8); // returns abcdef // Accessing via curly braces is another option $string =

[PHP] Re: php - printer button

2003-07-02 Thread nasar
thanks for all who respons my problem, i was found solution java script at http://javascriptsource.com/ with keyword printer button thanks again... rg nasar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql detect

2003-07-02 Thread Marco Tabini
locate mysql.lib? Can you be a bit more specific? Marco On Wed, 2003-07-02 at 03:05, [EMAIL PROTECTED] wrote: helo all , what command in linux , to see default direcktory instalation mysql database dan mysql library ## With best regards !

[PHP] Using INCLUDES in SAFE MODE

2003-07-02 Thread MIKE YRABEDRA
I currently have all my users in safe-mode to prevent them from running shell commands via php. I would still like for them to be able to access certain folders (i.e. PEAR, basic_functions, etc..) that reside out of their root. Since safe_mode prevents this, is there a way in the domain's

[PHP] Re: How can I get all vars

2003-07-02 Thread sven
get_defined_vars (); ? Slava wrote: Hi, Can somebody say how can I get all vars and their values from a script. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Forms PHP

2003-07-02 Thread Gary Ogilvie
Hello everyone, I have a form that gets filled out and within this form there is a link to add additional information in a new form. When this information is saved I would like the browser to redirect to the previous form (this I can do) but with all the details they have already filled out

[PHP] outputting xml declaration

2003-07-02 Thread Steven Apostolou
Hello, The folowing code gives an error: print ?xml version=\1.0\?; This is probably because I print a questionmark? How can I avoid that an error is generated? Besides it's not an error in the way that it gives an errorstring but it writes the output in the error_log of apache... Greetings,

Re: [PHP] outputting xml declaration

2003-07-02 Thread Adam Voigt
Question mark's are not special or reserved in strings like $'s are. That shouldn't be the problem. On Wed, 2003-07-02 at 09:33, Steven Apostolou wrote: Hello, The folowing code gives an error: print ?xml version=\1.0\?; This is probably because I print a questionmark? How can I avoid

RE: [PHP] Forms PHP

2003-07-02 Thread Jay Blanchard
[snip] I have a form that gets filled out and within this form there is a link to add additional information in a new form. When this information is saved I would like the browser to redirect to the previous form (this I can do) but with all the details they have already filled out still in the

RE: [PHP] outputting xml declaration

2003-07-02 Thread Jay Blanchard
[snip] print ?xml version=\1.0\?; This is probably because I print a questionmark? How can I avoid that an error is generated? Besides it's not an error in the way that it gives an errorstring but it writes the output in the error_log of apache... [/snip] Search the archives of this list, the

RE: [PHP] Forms PHP

2003-07-02 Thread Gary Ogilvie
[snip] By maintaining the POST (assuming you're using POST)variables and calling them into the form values when reloaded. If you go to the second page store the POST variables in hidden form input types, then grab them when the second page is POSTED. Does this make sense? Not enough caffeine for

RE: [PHP] Forms PHP

2003-07-02 Thread Jay Blanchard
[snip] By maintaining the POST (assuming you're using POST)variables and calling them into the form values when reloaded. If you go to the second page store the POST variables in hidden form input types, then grab them when the second page is POSTED. Does this make sense? Not enough caffeine for

RE: [PHP] Forms PHP[Scanned]

2003-07-02 Thread Michael Egan
If I've understood your initial email correctly another approach would be to save the contents of the form to your database and populate the form fields presented subsequently with information retrieved from the database. You can use the header function to redirect to whatever page you wish

RE: [PHP] Forms PHP

2003-07-02 Thread Gary Ogilvie
[snip] Not really, test for emptiness of the variable (isset())...if it is set display it, if not show it as blank. HTH! Jay [/snip] You'll have to forgive me as I am unfamiliar with PHP, still a beginner!! So if I have a page (page1.php) which is my first page with a form. When I click a

RE: [PHP] Forms PHP[Scanned]

2003-07-02 Thread Gary Ogilvie
Wouldn't I then be saving the contents of that page twice in the database? -Original Message- From: Michael Egan [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 14:53 To: PHP General Subject: RE: [PHP] Forms PHP[Scanned] If I've understood your initial email correctly another approach

Re: [PHP] Forms PHP

2003-07-02 Thread Greg Wiley
On Wed, 2 Jul 2003 14:45:27 +0100, Gary Ogilvie [EMAIL PROTECTED] wrote: [snip] By maintaining the POST (assuming you're using POST)variables and calling them into the form values when reloaded. If you go to the second page store the POST variables in hidden form input types, then grab them when

Re: [PHP] outputting xml declaration

2003-07-02 Thread Yann Larrivee
Disable short open tags. yann On Wed, 2003-07-02 at 09:33, Steven Apostolou wrote: Hello, The folowing code gives an error: print ?xml version=\1.0\?; This is probably because I print a questionmark? How can I avoid that an error is generated? Besides it's not an error in the way

RE: [PHP] Forms PHP

2003-07-02 Thread Gary Ogilvie
Ah I understand that - many thanks. -Original Message- From: Greg Wiley [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 14:59 To: Gary Ogilvie; 'PHP General' Subject: Re: [PHP] Forms PHP On Wed, 2 Jul 2003 14:45:27 +0100, Gary Ogilvie [EMAIL PROTECTED] wrote: [snip] By maintaining

RE: [PHP] Forms PHP

2003-07-02 Thread Jay Blanchard
[snip] You'll have to forgive me as I am unfamiliar with PHP, still a beginner!! So if I have a page (page1.php) which is my first page with a form. When I click a normal link within this form it takes me to page2.php. This page has another smaller form. When the submit button in this form is

[PHP] passthru() problem

2003-07-02 Thread david
I'm trying to get the output of a shell command with PHP This is the command I'm Trying to execute, I also tried using system instead of passthru ?php passthru(ftpwho -v, $return_var); echo $return_var; ? Both cases passthru and system Outputed 2 but should have

Re: [PHP] outputting xml declaration

2003-07-02 Thread Ray Hunter
you can always print like so... print '?xml version=1.0?'; Then the parser does not try to parse inside the line. However, I dont know what will happen when you have short_open_tags in your php.ini file turned on...i usually turn it all of.. -- BigDog On Wed, 2003-07-02 at 07:33, Steven

RE: [PHP] Java Applet to PHP Communication

2003-07-02 Thread Ray Hunter
you want to use either dom or saxon to parse the xml within java. So your applet can call some class that loads, parses and then does something with the xml. Usually you want to use a sax parser for the speed, however you can use a dom parser to manipulate the dom tree... -- BigDog On Wed,

Re: [PHP] states

2003-07-02 Thread Ray Hunter
On Tue, 2003-07-01 at 16:55, Matt Palermo wrote: Does anyone know of any built in functions or options for the US states? Nope no built in function for this... I want to make a drop down menu and some other things which have the 50 states in it. Is there any shortcut for this with PHP, or do

[PHP] Re: passthru() problem

2003-07-02 Thread Kristin Schesonka
I don't know much about System or passthru - but doesn't it have to be something like: passthru(ftpwho -v, $return_var); echo $return_var; Because it is a reference Parameter und without the the function can't put the value into $return_var. Greetings Kristin Schesonka passthru(ftpwho -v,

RE: [PHP] Forms PHP - Thanks

2003-07-02 Thread Gary Ogilvie
Thanks all, I shall try these methods now. I may be a while - the form is pretty large :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] outputting xml declaration

2003-07-02 Thread Adam Voigt
Ok never mind about what I said, brain lapse, I was focusing so hard on the ? that I didn't realize it was next to the . Doh. On Wed, 2003-07-02 at 09:43, Jay Blanchard wrote: [snip] print ?xml version=\1.0\?; This is probably because I print a questionmark? How can I avoid that an error

[PHP] Quick ? ... how come this doesn't work?

2003-07-02 Thread Anthony
I'm trying to get the 1st and last day of the current week. I ty to do this: $startofweek = date(Y-m-d,mktime (0,0,0,date(m) ,date(d)-date(w),date(Y))); $endofweek = date(Y-m-d,mktime (0,0,0,date(m) ,date(d,strtotime($startofweek))+6,date(Y))); echo $startofweek. --- .$endofweek; $startofweek is

Re: [PHP] 2values on form, help in catching as one.

2003-07-02 Thread Mark
It's not clear what you're trying to do. If the values are for a radio button or checkbox, use the same name for both buttons. The values have to be mutually exclusive for what you;re trying to do to work. You could do something like this: if (isset($_REQUEST['TemplateOne']) {

Re: [PHP] Using INCLUDES in SAFE MODE

2003-07-02 Thread Jim Lucas
if you are on a linux system, you could always symlink the folders into the public_html dir. Jim Lucas - Original Message - From: MIKE YRABEDRA [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 5:36 AM Subject: [PHP] Using INCLUDES in SAFE MODE I

Re: [PHP] outputting xml declaration

2003-07-02 Thread Jim Lucas
try this print \?xml version=\1.0\\?; This might fix it. - Original Message - From: Steven Apostolou [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:33 AM Subject: [PHP] outputting xml declaration Hello, The folowing code gives an error: print

RE: [PHP] Session vs Cookie Issues

2003-07-02 Thread Mike Migurski
based on what you're saying, I gather that if I were to choose to use cookies, and if cookies were rejected by the user, PHP will default to using sessions? If you chose to use sessions, and cookies were rejected by the user, then PHP would append the session ID to each internal link, in

Re: [PHP] Session vs Cookie Issues

2003-07-02 Thread Mike Migurski
The only major flaw I've found with PHP's session support is that it doesn't appear to be possible to force the data to be written without also closing the session. Mike - can you expand on your point above? I've running into this problem where--in an app with a lot of OOP and reference-passing,

[PHP] weird issues w/PHP install

2003-07-02 Thread Michael Geier
I have installed PHP numerous times using the same configuration and this is the first time I have run into this issue. solaris 2.8 on e3500 apache 1.3.27 ( --enable-module=so --prefix=/usr/local/apache) php 4.3.2 ( --with-apxs --with-mysql

php-general Digest 2 Jul 2003 16:10:52 -0000 Issue 2152

2003-07-02 Thread php-general-digest-help
php-general Digest 2 Jul 2003 16:10:52 - Issue 2152 Topics (messages 153655 through 153725): Re: Email troubles 153655 by: Manuel Lemos Re: online file management 153656 by: Suhas Pharkute 153685 by: Paul Chvostek Re: php - printer button 153657 by:

[PHP] Free Service to Secure PHP Code

2003-07-02 Thread Suhas Pharkute
Hello PHP Developers, Now a free service is available to secure PHP code. This service is located at http://encphp.sspsoft.com Now you can encrypt your PHP files with online encryptor and get one of loader module to run these files. This program is still under development, your

Re: [PHP] Free Service to Secure PHP Code

2003-07-02 Thread Adam Voigt
You sure thats a valid URL? Is it new? Because my DNS doesn't resolve it. On Wed, 2003-07-02 at 12:14, Suhas Pharkute wrote: Hello PHP Developers, Now a free service is available to secure PHP code. This service is located at http://encphp.sspsoft.com Now you can encrypt your PHP files

Re: [PHP] Free Service to Secure PHP Code

2003-07-02 Thread Suhas Pharkute
If your DNS is not resolveing http://encphp.sspsoft.com Please click here FIRST : http://ns1.webhostdns.us and then click here. http://encphp.sspsoft.com For some reason my webhost/DNS is not working properly. I hope they will solve this problem soon. Sorry for the inconvenience Suhas

[PHP] strip white space

2003-07-02 Thread Steve Buehler
I am not sure how to go about this and hope that someone can help here. I have a variable like the following: $team_name=BV Stars Black; it has two spaces between the words Stars and Black. What I am trying to do is to take this variable, check for and strip the following: 1. Leading spaces

[PHP] Re: PHP 5.0.0 Beta 1? better called alpha zero

2003-07-02 Thread Jaaboo
PHP5 Beta1? yesterday i have downloaded the bin version of php5 for windows. here are some problems that i have during my install / test. some of them i have solved but a few i can't figure out. 1. if you have installed apache1.3x and php4 before and want upgrade to apache 1.3.x and php5 then

[PHP] Re: [PHP-DEV] Re: PHP 5.0.0 Beta 1? better called alpha zero

2003-07-02 Thread Elfyn McBratney
On Wed, 2 Jul 2003, Jaaboo wrote: PHP5 Beta1? yesterday i have downloaded the bin version of php5 for windows. here are some problems that i have during my install / test. some of them i have solved but a few i can't figure out. 1. if you have installed apache1.3x and php4 before and want

RE: [PHP] strip white space

2003-07-02 Thread Ivo Pletikosic
would $team_name = trim(ereg_replace( +, , $team_name )); do it? -Original Message- From: Steve Buehler [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:50 AM To: PHP Subject: [PHP] strip white space I am not sure how to go about this and hope that someone can help here.

[PHP] Re: [PHP-QA] Re: [PHP-DEV] Re: PHP 5.0.0 Beta 1? better called alphazero

2003-07-02 Thread Derick Rethans
[note to all: do not crosspost this, [EMAIL PROTECTED] is the forum to discuss it] On Wed, 2 Jul 2003, Elfyn McBratney wrote: Due to the MySQL client library changing it's licensing terms from public domain to GPL it can no longer be included with PHP. A clause is being worked on to allow

[PHP] Re: outputting xml declaration

2003-07-02 Thread Pete Morganic
print '?xml version=1.0?'; Steven Apostolou wrote: Hello, The folowing code gives an error: print ?xml version=\1.0\?; This is probably because I print a questionmark? How can I avoid that an error is generated? Besides it's not an error in the way that it gives an errorstring but it writes

Re: [PHP] strip white space

2003-07-02 Thread Steve Buehler
Figures, right after I emailed this, I found it after looking for over an hour. Here is the result and some people had emailed me parts of this: $team_name= BV Stars Black; wsstrip($team_name); function wsstrip($str) { $str=ereg_replace (' +', ' ', trim($str));

Re: [PHP] Connect Active Directory using LDAP... please help :)

2003-07-02 Thread Ray Hunter
The big issue that you will face will be with getting the dn correct for it to work.. I have connected to ldap exchange to do authentication and pull user data and it was a real hassle to get the dn correct.. -- BigDog On Tue, 2003-07-01 at 15:41, Vince C wrote: Hi everyone, I tried to

[PHP] PHP and Mysql Limit

2003-07-02 Thread ed
I've created a script that reads a sorted mysql query and outputs specific results into text files defined by the start and limit of mysql. The database holds 178 records. I want to start my output on #9 with 10 records per page. Should leave me with 17 equal pages right? $count = 178 $start =

Re: [PHP] PHP and Mysql Limit

2003-07-02 Thread Chris Sherwood
It looks like your adding 10 to 8 thus getting 18... of course I maybe looking at this wrong - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:23 AM Subject: [PHP] PHP and Mysql Limit I've created a script that reads a sorted mysql

Re: [PHP] strip white space

2003-07-02 Thread Leif K-Brooks
Steve Buehler wrote: Another question is this. The in wsstrip($str). Does that mean that it takes the input to the function as Global and changes it Globally? I am assuming that because that is what the whole function seems to do for me. No, it means that it passes a reference to the

[PHP] print html code

2003-07-02 Thread Karina S
Hello, I want to make a php site which can generate a html code and display it on the screen. (Display the code itself.) I use htmlspecialchars() function. It works fine, but now I have to add about 200 lines of static html code to print it out. If I put all of the code in a string than it will

Re: [PHP] PHP and Mysql Limit

2003-07-02 Thread Jeff Harris
|- Original Message - |From: [EMAIL PROTECTED] |To: [EMAIL PROTECTED] |Sent: Wednesday, July 02, 2003 9:23 AM |Subject: [PHP] PHP and Mysql Limit | | | | I've created a script that reads a sorted mysql query and outputs specific | results into text files defined by the start and limit of

Re: [PHP] print html code

2003-07-02 Thread Leif K-Brooks
Karina S wrote: Hello, I want to make a php site which can generate a html code and display it on the screen. (Display the code itself.) I use htmlspecialchars() function. It works fine, but now I have to add about 200 lines of static html code to print it out. If I put all of the code in a

[PHP] php my sql question

2003-07-02 Thread Jerome A. Jackson/AC/VCU
I have a web site that has my sql installed. The web server is 1st host web and they do not provide much support other than referral to my sql and php web site. I know how to set up a database from a text file then upload to an sql database. Now I want to write code to make it open and access

[PHP] Re: print html code

2003-07-02 Thread erythros
try echo ie... echo pthis is a paragraph/pr\n\; the r\n\ is a return character and newline character. Karina S [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I want to make a php site which can generate a html code and display it on the screen. (Display the code itself.) I

Re: [PHP] Re: [PHP-QA] Re: [PHP-DEV] Re: PHP 5.0.0 Beta 1? bettercalled alph...

2003-07-02 Thread Derick Rethans
On Wed, 2 Jul 2003 [EMAIL PROTECTED] wrote: Well, I haven't figured out how to get it working on Windows yet. So, could you tell me how? There is a php_mysql.dll in the version on snaps, but it doesn't work. It gives an error: invalid library (maybe not a PHP library). So, I don't see any

[PHP] Re: PHP user group

2003-07-02 Thread erythros
there are php user groups hmmm... there should a listing for that. someone should start a list... i wish there was one near me... Erich Kolb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know of a PHP user group near Gurnee, IL. I found one in Chicago, but its a

[PHP] Re: have some free time?

2003-07-02 Thread erythros
your links don't work... Kyle Babich [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Any php programmers out there have a little free time? I've been trying to find the bug in my logging system forever and I've all but given up. If anyone else wants to try their luck then...

Re: [PHP] PHP and Mysql Limit

2003-07-02 Thread ed
Yes, the next page of results would start at #18. The page number only increments by 1. Ed On Wed, 2 Jul 2003, Chris Sherwood wrote: It looks like your adding 10 to 8 thus getting 18... of course I maybe looking at this wrong - Original Message - From: [EMAIL PROTECTED] To:

[PHP] comparing two arrays

2003-07-02 Thread Shena Delian O'Brien
Hi - I have two arrays that need to be compared. I need to know if their values match or not. Currently I have: $array1 = array(a, b, c, d); $array2 = array(c, d, e, f, g); $intersect = array_intersect($array1,$array2); $num1 = count($array1);

Re: [PHP] PHP and Mysql Limit

2003-07-02 Thread ed
On Wed, 2 Jul 2003, Jeff Harris wrote: Then, once you've done it enough times, $start = $count = 178. [code] while ($start = $count) { // when $start = $count = 178, you won't retrive any data [/code] The recordset would not alway contain an even number of records resulting in 10 records

Re: [PHP] print html code

2003-07-02 Thread Wendell Brown
On Wed, 2 Jul 2003 19:40:37 +0200, Karina S wrote: I want to make a php site which can generate a html code and display it on the screen. (Display the code itself.) See if this will do what you want: http://us2.php.net/manual/en/function.highlight-string.php or

RE: [PHP] Re: PHP user group

2003-07-02 Thread Dan Joseph
Searching google.com for 'php user groups' turns up dozens of links. -Dan Joseph -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 2:22 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP user group there use to be phpusergroups.org

[PHP] Hi All i need help..

2003-07-02 Thread Beogradjanin
Hi All I want to install PHP under Suse 8.2. How can I do it? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] converting between timezone

2003-07-02 Thread Mark McCulligh
Does anyone know of a function or class that can convert timeszones including daylight saving time (DST). You pass it the date/time and the current timezone and the new timezone and it returns the new date/time. I need it to work on a windows platform too. Thanks, Mark. -- PHP General

[PHP] Re: print html code

2003-07-02 Thread erythros
try echo ie... echo pthis is a paragraph/pr\n\; the r\n\ is a return character and newline character. Karina S [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I want to make a php site which can generate a html code and display it on the screen. (Display the code itself.) I

[PHP] Re: have some free time?

2003-07-02 Thread erythros
your links don't work... Kyle Babich [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Any php programmers out there have a little free time? I've been trying to find the bug in my logging system forever and I've all but given up. If anyone else wants to try their luck then...

[PHP] Re: PHP user group

2003-07-02 Thread erythros
there are php user groups hmmm... there should a listing for that. someone should start a list... i wish there was one near me... Erich Kolb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know of a PHP user group near Gurnee, IL. I found one in Chicago, but its a

RE: [PHP] Re: PHP user group

2003-07-02 Thread Jay Blanchard
[snip] there are php user groups hmmm... there should a listing for that. someone should start a list... i wish there was one near me... [/snip] If we knew where you were we might be able to point you in the right direction. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] comparing two arrays

2003-07-02 Thread Shena Delian O'Brien
Michael A Smith wrote: Look at array_diff() (http://php.net/array_diff). That ought to do what you want. Yes! Thank you :) -Michael On Wed, 2003-07-02 at 10:15, Shena Delian O'Brien wrote: Hi - I have two arrays that need to be compared. I need to know if their values match or not. Currently

Re: [PHP] passthru() problem

2003-07-02 Thread Jason Wong
On Wednesday 02 July 2003 22:04, david wrote: I'm trying to get the output of a shell command with PHP This is the command I'm Trying to execute, I also tried using system instead of passthru ?php passthru(ftpwho -v, $return_var); echo $return_var; ? passthru (et

Re: [PHP] Quick ? ... how come this doesn't work?

2003-07-02 Thread Jason Wong
On Wednesday 02 July 2003 22:37, Anthony wrote: Please use a descriptive subject! I'm trying to get the 1st and last day of the current week. I ty to do this: $startofweek = date(Y-m-d,mktime (0,0,0,date(m) ,date(d)-date(w),date(Y))); $endofweek = date(Y-m-d,mktime (0,0,0,date(m)

[PHP] Problem with PHP installation Under windows 2003

2003-07-02 Thread Dennis Verdaasdonk
Hi there i was bussy with installing the PHP package under windows 2003 when i do it with the CGI bin i ill always get error 404 and ca not find that problem when i use the ASPI way it's can not be loaded.. any idea please tell me. best regards Dennis Verdaasdonk Project Engineer Transics

Re: [PHP] print html code

2003-07-02 Thread Jim Lucas
You could always use PLAINTEXT at the top of the screen. Jim Lucas - Original Message - From: Wendell Brown [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Karina S [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 11:27 AM Subject: Re: [PHP] print html code On Wed, 2 Jul 2003 19:40:37 +0200,

Re: [PHP] Hi All i need help..

2003-07-02 Thread Jeff Harris
On Jul 2, 2003, Beogradjanin claimed that: |Hi All I want to install PHP under Suse 8.2. How can I do it? | | | |Thanks Unless you have a custom install, probably the easiest way is to install the rpms through YaST. -- Registered Linux user #304026. lynx -source

Re: [PHP] php my sql question

2003-07-02 Thread Jason Wong
On Thursday 03 July 2003 01:47, Jerome A. Jackson/AC/VCU wrote: I have a web site that has my sql installed. YOUR sql? You mean MySQL? The web server is 1st host web and they do not provide much support other than referral to my sql and php web site. I know how to set up a database from a

[PHP] Connect Active Directory using LDAP... please help :)

2003-07-02 Thread Vince C
Hi everyone, I tried to connect to Active Directory (AD) by using php. I heard that it could use LDAP to achieve it. I have written some code on my machine (Win2000) and try to connect to AD. It looks like the it could connect, bind, and even search (I determined base on the line I placed).

[PHP] Authentication system

2003-07-02 Thread Doug Essinger-Hileman
I am in the process of scripting a site which requires authentication. I've no problems with the scripts allowing folk to register, login, logout, change password, etc. However, this morning I've begun to work on providing some security in the form of preventing someone from registering as

Re: [PHP] print html code

2003-07-02 Thread Leif K-Brooks
Jim Lucas wrote: You could always use PLAINTEXT at the top of the screen. And violate every single HTML standard. AFAIK, plaintext was never a real tag. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent

Re: [PHP] print html code

2003-07-02 Thread Jim Lucas
So what, it would do what was requested. :) Jim Lucas - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: Jim Lucas [EMAIL PROTECTED] Cc: Wendell Brown [EMAIL PROTECTED]; [EMAIL PROTECTED]; Karina S [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 12:30 PM Subject: Re: [PHP]

Re: [PHP] Authentication system

2003-07-02 Thread Mike Migurski
At the point where they fill out the registration form, I am sending them an email, informing them that they have been registered. On many sites I've gone to, the process then includes a requirement that the person reply to the message. Now I need to learn how to take the incoming message and

[PHP] Browscap

2003-07-02 Thread Milan Reznicek
Hi everybody, I'm trying to get_browser() function, but everytime I get from my apache could not open browscap.ini for reading. Does someone know how to correct it, or is there any other way how to determine users browser type and OS without using browscap? Thanks Milan -- PHP General

Re: [PHP] print html code

2003-07-02 Thread Leif K-Brooks
In browsers that refuse to follow standards, maybe. Breaking standards is a bad thing. Jim Lucas wrote: So what, it would do what was requested. :) -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of

[PHP] phpDocumentor 1.2.1 release is imminent

2003-07-02 Thread Greg Beaver
Hello, Those of you who found bugs in release 1.2.0 (or 1.2.0a for those who used pear install), please acquire a copy of anonymous cvs, branch RELEASE_1_2_0, and verify that the bug has been fixed, we will be releasing the new version tomorrow or the next day. Anonymous CVS instructions are

[PHP] Calculating Largest Member of Array

2003-07-02 Thread John Wulff
I'd like to calculate the largest member of this array without taking into account the first value which is obvisouly not numeric. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >