Re: [PHP] Oracle - Win32

2003-10-11 Thread John Nichel
[EMAIL PROTECTED] wrote: Hello mailing list, I want to use Oracle function in PHP parser in Win32 OS, but I don't know how to install it, in the official documentation tell this: Installation You have to compile PHP with the option --with-oracle[=DIR], where DIR defaults to your environmment

Re: [PHP] Oracle - Win32

2003-10-11 Thread imran
-Edit the php.ini file GET THE DLLs: The Dlls for mssql and others (oracle, sybase, etc.) are NOT included in the installation (Install Shield Wizard) in the root folder. Get the other package for windows systems (NO Install shield!). Just plain files. After unzipping the file, look for the

[PHP] off-list topic: Debian vs. Redhat

2003-10-11 Thread Wang Feng
Greetings, Have been working with Windows for many years, I'm planning to *migrate* to Linux. Googled Debian vs. Redhat. Found that more commercial software vendors support Redhat rather than Debian. Why does this happen? Also, Debian contains more than 8000 packages, which is much more than

Re: [PHP] off-list topic: Debian vs. Redhat

2003-10-11 Thread Curt Zirzow
* Thus wrote Wang Feng ([EMAIL PROTECTED]): Greetings, Have been working with Windows for many years, I'm planning to *migrate* to Linux. Googled Debian vs. Redhat. Found that more commercial software vendors support Redhat rather than Debian. Why does this happen? $$$ and marketing.

Re: [PHP] Re: CSV file with PHP

2003-10-11 Thread Eugene Lee
On Fri, Oct 10, 2003 at 03:06:53PM -0700, Curt Zirzow wrote: : : On Fri, 10 Oct 2003 18:38:04 -0300, Cesar Aracena [EMAIL PROTECTED] : wrote: : : Does anybody knows how to make a CSV (comma separated values) file : with PHP based on results fetched from MySQL? I need it to import it : with

[PHP] recompiling libphp4.so because of modssl??

2003-10-11 Thread Merlin
Hi there, I have just installed modssl and recompiled apache. When I start apachessl, I do get following warnings: Loaded DSO libexec/libphp4.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) [Sat Oct 11 13:21:23 2003] [warn] Loaded DSO

Re: [PHP] Sessions

2003-10-11 Thread Nelson Goforth
The Session documentation IS difficult to understand. I wrestled with it for some time (and still am). There's just no clear cookie_lifetime variable! All of Lowell Allen's instructions are the same that I've discovered, save that I set the 'session.gc_maxlifetime' to a large number - I was

Re: [PHP] recompiling libphp4.so because of modssl??

2003-10-11 Thread daniel
lol from the php source, it compiles the so module into the destination apx (apache) directory, try ./configure --help in the source of php for more Hi there, I have just installed modssl and recompiled apache. When I start apachessl, I do get following warnings: Loaded DSO

Re: [PHP] How to fire off a unix command WITHOUT waiting for it to return (I want to use )

2003-10-11 Thread Marek Kilimajer
Try exec(/bin/scan /dev/null 2/dev/null); Daevid Vincent wrote: How can I cause PHP to fire off a unix program and NOT wait for a reply. Basically I want to use the love the unix provides, but it seems that exec, passthrough, system and even ` ` all wait for a return despite my putting

[PHP] Detecting devices i.e. PDA, Mobile

2003-10-11 Thread Shaun
Hi, I have created an online system, and have created a WAP version, and am currently crreating a PDA version. What I wuold like to to do is give out the same URL instead of domain.com for normal use, domain.com/wap/ or domain.com/pda/. Is there a way of detecting what device is loading the site

Re: [PHP] Detecting devices i.e. PDA, Mobile

2003-10-11 Thread Raditha Dissanayake
The easiest is to detect the browser because this is what really matters. Then the dimensions of the display come into the picture. There is a db of these browser capabilities and detecting and using them etc in a sourceforge project call wurlf all the best Shaun wrote: Hi, I have created

Re: [PHP] XML / XLS application

2003-10-11 Thread Raditha Dissanayake
Very true curt, since he the message seems to be about XSL and not about XLS (which i understand to be a ms excel file format) Orlando, head off to w3schools where you will find a map :-) Curt Zirzow wrote: * Thus wrote Ray Hunter ([EMAIL PROTECTED]): So what is your questions concerning

Re: [PHP] [xml] character data

2003-10-11 Thread Raditha Dissanayake
What Tom has to say + you should note that character data may be called more than once for each call to startElement. Tom Rogers wrote: Hi, Saturday, October 11, 2003, 6:26:01 AM, you wrote: DA I do not understand why this line does not work : DA $info[$element] = $content; DA but yet this

Re: [PHP] Am I asking too much?

2003-10-11 Thread John Taylor-Johnston
Any ideas? I want to avoid having two mysql_query($sql). I'm basically looking for better functionality and wanting to learn how to clean up my code. John Taylor-Johnston wrote: So I should break it up my two queries? $sql = 'insert into '.$db2.'.'.$table2.'(KW,AUS,GEO,AN,RB,CO,RR) select

Re: [PHP] Re: CSV file with PHP

2003-10-11 Thread Curt Zirzow
* Thus wrote Eugene Lee ([EMAIL PROTECTED]): On Fri, Oct 10, 2003 at 03:06:53PM -0700, Curt Zirzow wrote: : : On Fri, 10 Oct 2003 18:38:04 -0300, Cesar Aracena [EMAIL PROTECTED] : wrote: : : Does anybody knows how to make a CSV (comma separated values) file : with PHP based on results

Re: [PHP] Encryption question

2003-10-11 Thread Jason Sheets
I wouldn't use crypt, instead use one of the proven more secure hashes like md5 or sha1. For password hashing I'd use md5 (PHP 3 and 4) if you want broad support or sha1 for a little more security (sha1 hasn't been in PHP as long (only since 4.3.0) so you will lose some compatability, Ryan

Re: [PHP] Am I asking too much?

2003-10-11 Thread Curt Zirzow
* Thus wrote John Taylor-Johnston ([EMAIL PROTECTED]): Any ideas? I want to avoid having two mysql_query($sql). I'm basically looking for better functionality and wanting to learn how to clean up my code. there are a couple options, the insert has a extra option, 'ON DUPLICATE KEY':

Re: [PHP] Am I asking too much?

2003-10-11 Thread Curt Zirzow
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]): * Thus wrote John Taylor-Johnston ([EMAIL PROTECTED]): Any ideas? I want to avoid having two mysql_query($sql). I'm basically looking for better functionality and wanting to learn how to clean up my code. Oh, and IMO, there isn't anything

Re: [PHP] phpmyadmin form onsubmit

2003-10-11 Thread John Taylor-Johnston
What about some javascript to alert() and decide if the form executes like phpmyadmin does: http://ccl.flsh.usherbrooke.ca/example.jpg This would save me time coding PHP. How can I accomplish this? What does the onsubmit look like? John * Thus wrote John Taylor-Johnston ([EMAIL PROTECTED]):

Re: [PHP] Am I asking too much?

2003-10-11 Thread John Taylor-Johnston
Curt Oh, and IMO, there isn't anything unclean about having two sql query() statements. It keeps the code more readable as to what you're trying to doing. I agree. I also think I should just try to emulate what phpmyadmin does. KISS principle. Thanks!!! John -- PHP General Mailing List

Re: [PHP] Sessions

2003-10-11 Thread Curt Zirzow
* Thus wrote Nelson Goforth ([EMAIL PROTECTED]): The Session documentation IS difficult to understand. I wrestled with it for some time (and still am). agreed! I am currently trying to come up with a re-write of the session documentation, to resolve issues like this. The problem is there

[PHP] Howto ? Local/Master Value

2003-10-11 Thread ada
Hi all, I m note a great php config hacker. But I notice thing that i doesnt have to notice before :) In my phpinfo i notice 2 column ; Local Value Master Value http://www.dealgates.com/phpinfo.php So you can make several config judging from the current account ? I dont found anything about

php-general Digest 11 Oct 2003 18:26:23 -0000 Issue 2349

2003-10-11 Thread php-general-digest-help
php-general Digest 11 Oct 2003 18:26:23 - Issue 2349 Topics (messages 165835 through 165857): Re: XML / XLS application 165835 by: Curt Zirzow 165847 by: Raditha Dissanayake Re: Oracle - Win32 165836 by: John Nichel 165837 by: imran off-list topic: Debian

[PHP] PNG to GIF conversion

2003-10-11 Thread John Ryan
How do I do this?? I have the latest version of GD with PNG, but no GIF. But I *have to* be able to convert images to gif. Is there any standalone php script that'll do it, or a cgi??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PNG to GIF conversion

2003-10-11 Thread Evan Nemerson
Well there's a stand alone program called ImageMagick Michael Still wrote an article on it which may be useful. There should still be a link for it on the main page @ stillhq.com On Saturday 11 October 2003 01:50 pm, John Ryan wrote: How do I do this?? I have the latest version of GD with

Re: [PHP] PNG to GIF conversion

2003-10-11 Thread John Ryan
no, i mean a on-the-fly conversion in php. unless its a unix program... is it? Evan Nemerson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Well there's a stand alone program called ImageMagick Michael Still wrote an article on it which may be useful. There should still be a link

Re: [PHP] PNG to GIF conversion

2003-10-11 Thread John Ryan
and i cant see the article your talking about on stillgq.com Evan Nemerson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Well there's a stand alone program called ImageMagick Michael Still wrote an article on it which may be useful. There should still be a link for it on the main

[PHP] php5.0.0beta1

2003-10-11 Thread Dennis Heuer
Hello - Is there some documentation of the new xml-api available somewhere? Regards Dennis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PNG to GIF conversion

2003-10-11 Thread Evan Nemerson
Yes. On Saturday 11 October 2003 02:13 pm, John Ryan wrote: no, i mean a on-the-fly conversion in php. unless its a unix program... is it? Evan Nemerson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Well there's a stand alone program called ImageMagick Michael Still wrote

Re: [PHP] PNG to GIF conversion

2003-10-11 Thread Evan Nemerson
Then try stillhq.com, as stillgq.com won't get you too far. Fourth article down, Command line image procesing[sic] If you would have actually read a bit of the page I sent you to, perhaps you would have found that out without having to ask. Your last question could have been answered by a

RE: [PHP] Sessions

2003-10-11 Thread James Johnson
Hi, I checked the session settings with phpinfo(); I get the following values: session_save_path = /tmp session.use_cookies = On session.use_trans_sid = 1 I've created a folder on the same level as all the pages called ccb_sessions and have CHMOD it to 777. I have added the following snippet

[PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-11 Thread PHP Webmaster
Shaun [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have created an online system, and have created a WAP version, and am currently crreating a PDA version. What I wuold like to to do is give out the same URL instead of domain.com for normal use, domain.com/wap/ or

[PHP] Age from date field?

2003-10-11 Thread DvDmanDT
Does anyone have a good solution on how to get the age of someone from a date column in mysql... This is what I have, but it's not really the truth... What's the right way to do it? floor((time()-$a[born])/(3600*24*365.25)) where $a[born] is the timestamp of the birthdate... Current query:

[PHP] Search for an exact string inside of another string

2003-10-11 Thread PHP Webmaster
Hi all, I have a little problem that I hope you can help me with. I have the following strings: $str1 = Bob; $str2 = My Name Is Bob; How can I get PHP to look for $str1 inside of $str2? Also, what about if Bob inside of $str2 is in different places? I would like something like: if ($str1 IS

RE: [PHP] Sessions - more testing

2003-10-11 Thread James Johnson
I've read Nelson's message and have added the following lines: ini_set('session.save_path','ccb_sessions'); ini_set('session.use_trans_sid','off'); ini_set('session.gc_maxlifetime', '3600'); And still get the same page not found error. James -Original

Re: [PHP] Howto ? Local/Master Value

2003-10-11 Thread Jason Wong
On Sunday 12 October 2003 02:26, ada wrote: So you can make several config judging from the current account ? I dont found anything about that ... Kind of. How several configs are maintained in a mutual web server ? Surely one php.ini for all and some little hacks on vhosts config ?

[PHP] Re: Search for an exact string inside of another string

2003-10-11 Thread Manuel Vázquez Acosta
Try: if (strpos($str2, $str1) !== false) echo $str1 is inside $str2; else echo could not find $str1 inside $str2; Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I have a little problem that I hope you can help me with. I have the following strings:

[PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-11 Thread Manuel Vázquez Acosta
Take a look at what is printed by: var_dump($_SERVER); Maybe the HTTP_USER_AGENT can lead you to somewhere out of this problem. Manu. Shaun [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have created an online system, and have created a WAP version, and am currently

Re: [PHP] PNG to GIF conversion

2003-10-11 Thread John Ryan
Loser Evan Nemerson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Then try stillhq.com, as stillgq.com won't get you too far. Fourth article down, Command line image procesing[sic] If you would have actually read a bit of the page I sent you to, perhaps you would have found

[PHP] Re: Search for an exact string inside of another string

2003-10-11 Thread PHP Webmaster
Manuel VáZquez Acosta [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try: if (strpos($str2, $str1) !== false) echo $str1 is inside $str2; else echo could not find $str1 inside $str2; Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all,

Re: [PHP] Sessions

2003-10-11 Thread Lowell Allen
I checked the session settings with phpinfo(); I get the following values: session_save_path = /tmp session.use_cookies = On session.use_trans_sid = 1 I've created a folder on the same level as all the pages called ccb_sessions and have CHMOD it to 777. I have added the following snippet

Re: [PHP] Detecting devices i.e. PDA, Mobile

2003-10-11 Thread Tom Rogers
Hi, Saturday, October 11, 2003, 10:02:31 PM, you wrote: S Hi, S I have created an online system, and have created a WAP version, and am S currently crreating a PDA version. What I wuold like to to do is give out S the same URL instead of domain.com for normal use, domain.com/wap/ or S

Re: [PHP] Re: Echo $PHP_SELF not working

2003-10-11 Thread Justin French
Actually, that should make no difference... you don't need a ; if it's the last instruction before the close of PHP. Try ?php echo $_SEVER['PHP_SELF']? or ?=$_SEVER['PHP_SELF']? Justin On Saturday, October 11, 2003, at 09:29 AM, Al wrote: Put a ; [no quotes] after such as: echo $PHP_SELF;