[PHP] Download

2001-09-19 Thread Ashley M. Kirchner
Okay, so since www.php.net and de.php.net are unreachable, I hit us.php.net. Worked. Went to downloads, clicked on the Complete Source link and to my surprise it went back to trying to contact www.php.net. Well, that don't do me any good. Anyone have any suggestions for

[PHP] Re: Call a script without a return

2001-09-19 Thread _lallous
check lgwm.org goto reading comprehension section and then double-click or select any word on this page and see what happens! Yes it can be done what you're thinking of. Alex Shi [EMAIL PROTECTED] wrote in message 005d01c140b6$67c19550$0105050a@pony">news:005d01c140b6$67c19550$0105050a@pony...

Re: [PHP] Download

2001-09-19 Thread David Robley
On Wed, 19 Sep 2001 16:02, Ashley M. Kirchner wrote: Okay, so since www.php.net and de.php.net are unreachable, I hit us.php.net. Worked. Went to downloads, clicked on the Complete Source link and to my surprise it went back to trying to contact www.php.net. Well, that don't do me any

Re: [PHP] Download

2001-09-19 Thread Michael A. Peters
Try http://www.zend.com/ If not- http://24.5.29.77:10080/mirror/php-4.0.6.tar.gz please note- my bandwidth is limited, if zend.com has it, it will be a MUCH faster download. On Wed, 19 Sep 2001 00:32:27 -0600 Ashley M. Kirchner [EMAIL PROTECTED] wrote: Okay, so since www.php.net

Re: [PHP] Download

2001-09-19 Thread Rasmus Lerdorf
www.php.net is back (with a few pieces missing, but the downloads work) On Wed, 19 Sep 2001, Michael A. Peters wrote: Try http://www.zend.com/ If not- http://24.5.29.77:10080/mirror/php-4.0.6.tar.gz please note- my bandwidth is limited, if zend.com has it, it will be a MUCH faster

[PHP] prob with include file

2001-09-19 Thread Balaji Ankem
Hi! same is working on windows but on Lynux giving the following problem.. Warning: Failed opening 'admin.php' for inclusion (include_path='/www/inc') in /www/imac/authentication.php on line 46 -- if ($row-user_type=='A') {

Re: [PHP] form handling problem

2001-09-19 Thread Meir Kriheli
On Monday 17 September 2001 06:01, Nikola Veber wrote: Hi ! I have a form form target = ?php echo $PHP_SELF ?; METHOD = get Is there a way to open PHP_SELF in the same window, not in the new one ? It should be form action = ?php echo $PHP_SELF; ? METHOD = get target is used as the name of

[PHP] QtDom documentation

2001-09-19 Thread Federico Ragazzoni
Hi, someone knows where I can find documentation for QTDom functions in PHP? Tanks Federico Ragazzoni -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP] Problem installing GD on windows

2001-09-19 Thread Neil Freeman
Hi there, I have downloaded the windows version of GD (php_gd.dll) as I wish to use it's various image functions. I have edited my PHP.INI file in C:\WINNT and uncommented the line: extension=php_gd.dll Where is a suitable location for this .dll file? And what should I set this PHP.INI line

[PHP] Private functions

2001-09-19 Thread James Gregory
Hi, Is there a way to make a function 'private' in a php class? I'm guessing there isn't since I haven't been able to find reference to it in the php docs, but if this is the case, is there some way I can emulate private scoping? thanks, James. -- PHP General Mailing List

[PHP] Getting IP address

2001-09-19 Thread Andrew Semark
Can anybody tell me how to get the IP address of the remote machine looking at the web page. I have two versions of PHP 4 On the box with version 4.0.1 I can use $HTTP_SERVER_VARS[REMOTE_ADDR], but on the other server running 4.0.0 this don't work. Is there another way of doing this as it's not

[PHP] Returning a specific 'record' from an XML file

2001-09-19 Thread Stefen Lars
Hello all I am looking for a PHP example or tutorial that shows how it is possible to return one particular record (is that the correct terminology for an XML file?) from an XML file. For example, consider this very simple XML file: ?xml version=1.0? library book

[PHP] Re: Call a script without a return

2001-09-19 Thread CC Zona
In article 005d01c140b6$67c19550$0105050a@pony, [EMAIL PROTECTED] (Alex Shi) wrote: Suppose we have a page and on it a button link to a backend script. When click the button, at the server side the scritp will be called. My question is, how can we program the script that just let to do

[PHP] Getting IP address

2001-09-19 Thread Aniceto Lopez
this is working for me $REMOTE_ADDR Aniceto Lopez www.laMundial.net download and spread our music -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] Setting multiple values in a cookie

2001-09-19 Thread Sam
Hi all, I was wondering how you can set multiple values into a single cookie. Thanks in advance, Also could you reply straight to me as well, as I'm on the digest list. Cheers Sam Rose

Re: [PHP] Private functions

2001-09-19 Thread Alexander Skwar
So sprach »James Gregory« am 2001-09-19 um 19:27:27 -0400 : Is there a way to make a function 'private' in a php class? In PHP 4.0.x - no. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com |

Re: [PHP] Getting IP address

2001-09-19 Thread Andreas Gietl
On Wednesday 19 September 2001 11:37, Andrew Semark wrote: $addr = getenv('REMOTE_ADDR'); Can anybody tell me how to get the IP address of the remote machine looking at the web page. I have two versions of PHP 4 On the box with version 4.0.1 I can use $HTTP_SERVER_VARS[REMOTE_ADDR], but on

Re: [PHP] 4.0.7 = when?

2001-09-19 Thread Alexander Skwar
So sprach »Rasmus Lerdorf« am 2001-09-18 um 10:26:15 -0700 : open_basedir has been around for years. It is not a new 4.0.7 feature. Uhm, what does open_basedir do? I can't find it in the manual? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english)

Re: [PHP] Setting multiple values in a cookie

2001-09-19 Thread Alexander Skwar
So sprach »Sam« am 2001-09-19 um 11:08:24 +0100 : I was wondering how you can set multiple values into a single cookie. Well, per se a cookie contains only one value. But you can either set multiple cookies or you could try to put everything in an array and store that array in the cookie.

[PHP] developing sub menus

2001-09-19 Thread Scott
In thinking this through, would you recommend a function within the array to create a menu? I could pass a submenu id in the query string and if it is there build that menu. Here is the original message for thoughts. I want to be able to pull up all the items for navigation on the left menu,

Re: [PHP] Problem installing GD on windows

2001-09-19 Thread Girish Nath
hi copy the php_gd.dll into the extentions sub-directory where you installed php (you should already have a load of other .dlls in there too) change the extension_dir in php.ini to point to that sub-directory. for example : extension_dir = D:\Apache\php4\extensions\ that should do it.

RE: [PHP] Getting IP address

2001-09-19 Thread Jon Haworth
A better version would be: if (getenv(HTTP_X_FORWARDED_FOR)) { $ip=getenv(HTTP_X_FORWARDED_FOR); } else { $ip=getenv(REMOTE_ADDR); } This checks for proxy forwarding as well, if you just use REMOTE_ADDR you might end up with a proxy, not the real IP. Cheers Jon

[PHP] some hyper links

2001-09-19 Thread Adrian D'Costa
Hi, I have two table: policies: id == auto increment, primary key policy topics id == auto increment, primary key topic polid == linked from policies In the policies table I have 72 records in the topics 325. What I am trying to do is to display all the 72 record for the policies

Re: [PHP] Problem installing GD on windows

2001-09-19 Thread Neil Freeman
Hi Girish, I installed PHP within D:\PHP. This folder currently has two sub-directories 'sessiondata' and 'uploadtemp'. There does not appear to be an extensions sub-directory with a load of other dlls in there too. Anyway I created an 'extensions' sub-directory and placed the php_gd.dll into

[PHP] How to set the time for session??

2001-09-19 Thread Balaji Ankem
Hi, i want to expire the session if user sits 15 minutes idle without doing anything. Then how can i set the time for session?? Thanks in advance Regards -Balaji

Re: [PHP] Getting IP address

2001-09-19 Thread Tamas Arpad
On Wednesday 19 September 2001 13:13, Jon Haworth wrote: A better version would be: if (getenv(HTTP_X_FORWARDED_FOR)) { $ip=getenv(HTTP_X_FORWARDED_FOR); } else { $ip=getenv(REMOTE_ADDR); } This checks for proxy forwarding as well, if you just use REMOTE_ADDR you might end

[PHP] substr() in MySQL SELECT?

2001-09-19 Thread Tom Churm
hi, could someone please tell me why this doesn't work? i thought that string functions could be used in select statements? i dunno... SELECT User, SendDate FROM my_form WHERE substr(SendDate, 0, 2)=19; and i've tried the damn thing with brackets around all different parts. thanks much,

[PHP] changing post variable names

2001-09-19 Thread L Melville
Hi, I have a php page that accepts post values (ie; ./page.php?var1=0var4=5). Now there can be posted values between var(1) and var(10) and i want to check if they exist and also utilise them. Is there a way of accessing these values in a loop ie;- for($i=1;$i=10;$i++){ // do things

[PHP] Combining strings?

2001-09-19 Thread Daniel Alsén
Hi, i was trying to figure this out myself. But since the php-manual is down... I want to create a string with todays date and month in the format day/month (19/9). If i do: $date_time_array = getdate (time()); $date = $date_time_array[ mday]; $month = $date_time_array[ mon]; I get the day

RE: [PHP] Getting IP address

2001-09-19 Thread Jon Haworth
Well, presumably you could split $ip into an array based on whatever the delimiter is. I just use this snippet for our intranet where everything comes through exactly one proxy. Cheers Jon -Original Message- From: Tamas Arpad [mailto:[EMAIL PROTECTED]] Sent: 19 September 2001 12:54 To:

RE: [PHP] Combining strings?

2001-09-19 Thread Jon Haworth
Why not just do $today = date(j/m); ? Cheers Jon -Original Message- From: Daniel Alsén [mailto:[EMAIL PROTECTED]] Sent: 19 September 2001 12:55 To: php Subject: [PHP] Combining strings? Hi, i was trying to figure this out myself. But since the php-manual is down... I want to

Re: [PHP] Problem installing GD on windows

2001-09-19 Thread Girish Nath
Hi I've never seen an install that has only those two directories :) Anyway, try doing a search on your machine for files that match php_*.dll .It might help you track down where all the extensions have been installed. Regards Girish - Original Message - From: Neil Freeman [EMAIL

Re: [PHP] Combining strings?

2001-09-19 Thread Girish Nath
Hi $newstring = $date . / . $month; Girish - Original Message - From: Daniel Alsén [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Wednesday, September 19, 2001 12:54 PM Subject: [PHP] Combining strings? Hi, i was trying to figure this out myself. But since the php-manual is

Re: [PHP] Problem installing GD on windows

2001-09-19 Thread Neil Freeman
Light bulb appears, maybe. I have been using the 755kb PHP program which according to php.net doesn't include external extensions. Are you by any chance using the 4Mb complete package of PHP as this could well be where my problem lies. I will try and download this package in the meantime and let

Re: [PHP] How do I tell the mail function that the message content is HTML?

2001-09-19 Thread Jason Stechschulte
On Tue, Sep 18, 2001 at 05:24:37PM -0400, Salty Marine wrote: How do I tell the mail function that the message content is HTML? RTFM: http://www.php.net/manual/en/function.mail.php /* If you want to send html mail, uncomment the following line */ $headers .= Content-Type: text/html;

RE: [PHP] Combining strings?

2001-09-19 Thread Daniel Alsén
Thanks guys! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Problem installing GD on windows

2001-09-19 Thread Girish Nath
Hi I'm sure the full everything-and-the-kitchen-sink package will sort out the problem :) Regards Girish - Original Message - From: Neil Freeman [EMAIL PROTECTED] To: Girish Nath [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Wednesday, September 19, 2001 1:14 PM Subject:

Re: [PHP] changing post variable names

2001-09-19 Thread Jason Stechschulte
On Wed, Sep 19, 2001 at 12:57:07PM +0100, L Melville wrote: Hi, I have a php page that accepts post values (ie; ./page.php?var1=0var4=5). Now there can be posted values between var(1) and var(10) and i want to check if they exist and also utilise them. Is there a way of accessing

RE: [PHP] substr() in MySQL SELECT?

2001-09-19 Thread Don Read
On 19-Sep-2001 Tom Churm wrote: hi, could someone please tell me why this doesn't work? i thought that string functions could be used in select statements? i dunno... SELECT User, SendDate FROM my_form WHERE substr(SendDate, 0, 2)=19; and i've tried the damn thing with brackets

[PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Emile Bosch
I am a huge fan of php but i am kinda scared by c# i really like it's ability to make functions and variable not accessible and therefore force the user to use a function instead of accessing it indirectly. I am talking here about class talk { private function bla() { } } $t = new talk();

Re: [PHP] substr() in MySQL SELECT?

2001-09-19 Thread Tom Churm
hi, don: thanks a lot for the tip. and thanks even more for echoing the poor tone i used in my post--i will try to avoid writing such posts in the future. after looking at the documentation (many connection problems today), i was able to write this, like i wanted: SELECT User, SendDate FROM

[PHP] PHP vs M$.NET C#?

2001-09-19 Thread Emile Bosch
Could please tell me how PHP is gonna react against the release of MS C#? Stupid enough C# looks interresting.. Warm regards, Emile Bosch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Tim
This would certainly be a nice feature to have, especially if you've done any development with Java or C++ in the past. Many PHP class authors adopt a convention that variables or functions that start or end in an underscore (_) should be treated as private and used at your own risk, i.e. they

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Emile Bosch
thanks tim, but do you know wheter they are gonna implement such a feature cuz that's somethgin that the language actually must have to become really professional or somethign, i wish i could do cprogramming myself cuz then i would have implemented it a long time ago :-) Seen ur site by the way,

[PHP] Re: Returning a specific 'record' from an XML file

2001-09-19 Thread Emile Bosch
uhm i think XMLSLT sabletron thingie is the solution, it makes it possible to get records as u so call it from an XML file. It works pretty good as far as i know..! Good luck! Emile Bosch Stefen Lars [EMAIL PROTECTED] schreef in berichtnieuws [EMAIL PROTECTED] Hello all I am looking for a

[PHP] odbc_connect w/connectstring instead of DSN

2001-09-19 Thread Emile Bosch
Is it possible to connect with odbc_connect with an connectstring instead of an DSN? Warm regards, Emile Bosch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

Re: [PHP] 4.0.7 = when?

2001-09-19 Thread Alexander Skwar
So sprach »Felix« am 2001-09-19 um 09:07:04 -0500 : That was taken from the manual: Chapter 3 [configuration file] Ah, okay, I thought it would be a function :) So, no wonder I didn't find it in the functions list *G* Thanks! Alexander Skwar -- How to quote: http://learn.to/quote (german)

Re: [PHP] The Salty Marine's eMail eMuster Subscription

2001-09-19 Thread Chris Hobbs
[EMAIL PROTECTED] wrote: Thank you for subscribing to the Salty Marine's eMail eMuster newsletter, This can't be good... ;) -- ___ ____ _ Chris Hobbs / \ \/ / | | |/ ___\| __ \ Head Geek| (___ \ \ / /| | | | (___ | | | |

[PHP] bugs.php.net - xmltree

2001-09-19 Thread php
Hello all, bugs.php.net is down, and I want to know if there is a current bug in xmltree in the current cvs. Anyone know? Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] ...::: Vacation on us! :::...

2001-09-19 Thread Sheridan Saint-Michel
What do you mean decide who gets to go? You is proper english when addressing an entire group. Can anyone say PHPCon 2001? =P Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Jason Bell [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Jason Stechschulte
On Wed, Sep 19, 2001 at 03:24:31PM +0200, Emile Bosch wrote: thanks tim, but do you know wheter they are gonna implement such a feature cuz that's somethgin that the language actually must have to become really professional or somethign. The language is already quite professional. Yes a

[PHP] Problem with dropdownboxes allways ontop of layers!!!!! Please Help!!!!!

2001-09-19 Thread Coenraad Steenkamp
begin 666 BigProb.jpg M_]C_X `02D9)1@`!`0```0`!``#_VP!#``X*PP+0X,PP0#PX1%2,7%1,3 M%2L?(1HC,RTV-3(M,3 X/U%%.#Q-/3 Q1F!'35166UQ;-T1C:F-8:E%96U?_ MVP!#`0\0$!42%2D7%RE7.C$Z5U=75U=75U=75U=75U=75U=75U=75U=75U=7 M5U=75U=75U=75U=75U=75U=75U=75U?_P `1 $N`JX#`2(``A$!`Q$!_\0`

[PHP] Re: html anchors and form variables again

2001-09-19 Thread bill
http://yourwebsite.com/webpage.html#anchor?variable=1234 Rebecca Donley wrote: Hi all, Several days ago I asked for help with this problem and you gave me information on the output control functions, which was much appreciated and solved some of my problems. However, I can't seem to find

RE: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Neil Kimber
Private variables will be included in Zend 2.0 (99% likely) From what I've seen private functions will not be included. Protected (ala Java/C#) variables and functions aren't being considered yet. -Original Message- From: Jason Stechschulte [mailto:[EMAIL PROTECTED]] Sent: 19

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Tim
Private methods and variables are necessary for any serious language that supports class libraries, IMHO. There are currently some manual methods (i.e. naming conventions) of accomplishing this, but for the best results it should be enforced by the compiler/interpreter. Some might also say that

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Emile Bosch
thanks for the info! :-) Neil Kimber [EMAIL PROTECTED] schreef in berichtnieuws [EMAIL PROTECTED] Private variables will be included in Zend 2.0 (99% likely) From what I've seen private functions will not be included. Protected (ala Java/C#) variables and functions aren't being considered

Re: [PHP] Problem with dropdownboxes allways ontop of layers!!!!! Please Help!!!!!

2001-09-19 Thread Sheridan Saint-Michel
This is a known bug in both IE and Netscape. You can read more about it here http://www.webreference.com/dhtml/diner/seethru/ Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Coenraad Steenkamp [EMAIL PROTECTED] To: [EMAIL

[PHP] PHP 4.0.6 + Oracle9i + CPDF lib - large file problem (segmentation fault)

2001-09-19 Thread Marcin Floryan
Hello! I have a problem with my php script. I am creating a report in PDF based on data in the Oracle9i database. To access Oracle I use OCI and to create PDF files I use ClibPDF 2.02. The problem is with the ammount of data - there are currently some 2000 records and are expected to be some

Re: [PHP] PHP vs M$.NET C#?

2001-09-19 Thread Christian Reiniger
On Wednesday 19 September 2001 15:11, Emile Bosch wrote: Could please tell me how PHP is gonna react against the release of MS C#? Stupid enough C# looks interresting.. Not at all I'd guess. C# is MS's reaction to Java, which has been around for quite some years now. And there's nothing new /

RE: [PHP] Re: [PHP-DB] Cross site authentication

2001-09-19 Thread Hoover, Josh
A combonation of IP restriction and basic authentication over SSL, while not ideal, would probably be better than most alternatives I can think of. Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching for a new IT solution for your company? Need to improve your product marketing? Visit

[PHP] Re: PHP vs M$.NET C#?

2001-09-19 Thread John Lim
I believe there is a beta dotnet extension that allows you to call MS.NET class libraries directly by Sam Ruby. Check http://lxr.php.net So its extend and embrace :-) Regards, John Emile Bosch [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Could please tell me

[PHP] Re: odbc_connect w/connectstring instead of DSN

2001-09-19 Thread John Lim
Yes it is. See http://php.weblogs.com/odbc Bye, John Emile Bosch [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is it possible to connect with odbc_connect with an connectstring instead of an DSN? Warm regards, Emile Bosch -- PHP General Mailing

[PHP] Still no solution...can anyone help?

2001-09-19 Thread Michael O'Neal
Hi, I'm creating a PHP/MySQL photo gallery app and I'm having problem with my edit page. I want the user to be able to change any of the fields in the record. In this case there are two text fields, and two file fields where they can browse to replace the images that are currently in the

[PHP] Please help!!! Trying to write some chat script!

2001-09-19 Thread Diadon
Hi! Where are can read some information (not examples scripts) about chat technologies? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Mark Charette
- Original Message - From: Tim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 19, 2001 9:35 AM Subject: Re: [PHP] Protecting variables and functions? Like C# Private methods and variables are necessary for any serious language that supports class libraries, IMHO.

Re: [PHP] PHP vs M$.NET C#?

2001-09-19 Thread Alexander Skwar
So sprach »Christian Reiniger« am 2001-09-19 um 16:58:30 +0200 : now. And there's nothing new / innovative in C# Well, it's from M$ which will make quite some people like it, I suppose. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage:

[PHP] Putting PHP info into a variable

2001-09-19 Thread Power Programmer
How do I store the phpinfo() data into a variable so I can mail it to myself? Thanks Randy -Original Message- From: ZeNDeR-X [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 19, 2001 8:59 AM To: [EMAIL PROTECTED] Subject: [PHP] Odp: Returning a specific 'record' from an XML file

Re: [PHP] Please help!!! Trying to write some chat script!

2001-09-19 Thread Sheridan Saint-Michel
There actually isn't much technology in a chat room. It is a fairly simple program. Basically you have a webpage which checks Someplace retrieves all the messages from Someplace and prints them, then provides a place for the user to enter stuff into Someplace. Someplace can be any number of

Re: [PHP] Putting PHP info into a variable

2001-09-19 Thread Alexander Skwar
So sprach »Power Programmer« am 2001-09-19 um 12:23:48 -0700 : How do I store the phpinfo() data into a variable so I can mail it to myself? use output buffering Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage:

[PHP] Re: odbc_connect w/connectstring instead of DSN

2001-09-19 Thread Emile Bosch
thank you! !! =) John Lim [EMAIL PROTECTED] schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Yes it is. See http://php.weblogs.com/odbc Bye, John Emile Bosch [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is it possible to connect with

RE: [PHP] How to set the time for session??

2001-09-19 Thread Johnson, Kirk
Then how can i set the time for session?? See the php.ini file, for session.gc_maxlifetime setting: session.gc_maxlifetime= 1440; after this number of seconds, stored ; data will be seen as 'garbage' and ; cleaned

[PHP] text editing (parsing)

2001-09-19 Thread Jonas K
I need some help with parsing text. very simple. I have a text string like News, Bla, Blabla and i want to get the single words out of the string. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] text editing (parsing)

2001-09-19 Thread Anton Stroganov
split() function will do what you require. $string = News, Bla, Blabla; $textarray = split(, , $string); for more info see http://us.php.net/manual/en/function.split.php (the main php.net site seems to be down) good luck a. - Original Message - From: Jonas K [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Still no solution...can anyone help?

2001-09-19 Thread Anton Stroganov
I would suggest keeping one single image field, 'full size', and having the thumbnails use the same name as the full image, with a prefix (ie, large image: image1.jpg; thumbnail: tmb_image1.jpg). this way you would give a. less work to your user and b. avoid unnecessary clutter. and on your

[PHP] OpenSSL and PHP

2001-09-19 Thread Nael Mohammad
How can I call on openssl scripts written server to be called for in php? The idea is to generate certs with open ssl and php! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] PHP Email Handler

2001-09-19 Thread Anton Stroganov
My friend. I'm not quite sure I understand you correctly. Are you asking _us_ to do _your_ work for you? Do you want us to give you a complete script on a silver platter? This is a place where people like to see that you've done a little bit of preliminary work, and ask specific questions.

[PHP] Problem with compilation with GD support on OpenBSD 2.9

2001-09-19 Thread Martin Ambroz
Hi, I have problem with GD lib in PHP. I try compile PHP with Gdlib on OpenBSD 2.9. I download gd-1.8.4, freetype-2.0.4, libpng-1.2.0 and jpeg-6b. With compile gd i have some problems, but I thought it was OK. But during compilation php-4.0.6 has happened mistake. This: /bin/sh

Re: [PHP] Still no solution...can anyone help?

2001-09-19 Thread Anton Stroganov
Oh, I'm sorry, I thought you were having users choose from already uploaded files, not uploading their own. To answer this question, you can either a. code the image resizing script, creating the thumbnail dynamically and leaving one field to users, to upload the large image. or b. change your

RE: [PHP] PHP Email Handler

2001-09-19 Thread Niklas Lampen
A very good point. Niklas -Original Message- From: Anton Stroganov [mailto:[EMAIL PROTECTED]] Sent: 19. syyskuuta 2001 21:00 To: Wee Chua Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP Email Handler My friend. I'm not quite sure I understand you correctly. Are you asking _us_ to do

[PHP] session screw up - any experience/hints for me?

2001-09-19 Thread Wolfram Kriesing
i am saving data in the session lets say every page relates to specific session data, like: page 1 sets sess_x=1, page 2 sets sess_x=2 but if i use the history.back or the browsers back-button i can go from page 2 back to page 1 WITHOUT updating the session so what i finally have is page 2 where

Re: [PHP] some hyper links

2001-09-19 Thread slavko dervisevic
Hello Adrian, no short and simple solution select * from policies while(policies){ select count(*) from topics if(records) echo link else echo nolink } Wednesday, September 19, 2001, 12:11:05 PM, you wrote: ADC Hi, ADC I have two table: ADC policies: id == auto increment, primary

[PHP] hrm..loop trouble

2001-09-19 Thread Kurth Bemis
i'm trying to get a chunk of code to look 5 times then print something..then look 5 time more I really want to loop 5 times (making 5 cells) then print /trtrthen loop 5 more times for 5 cells...until the count is reachedlike if i have 22 things i want to have 4 rows of five and one

[PHP] preventing an include() from taking over?

2001-09-19 Thread LRW
I've got a complicated little thing going on here. I have page INDEX.HTM with a 2 column table. I want the entire page to remain the same, except column 1. In column 1 I have an include() which contains a javascript scrolling menu where on click of an option it calls up the selected page. As it

[PHP] Weird results from Left Shift

2001-09-19 Thread Sheridan Saint-Michel
Okay, from the manual I have $a $b - Shift the bits of $a $b steps to the left When I run the code ?php $num = 0001000; echo Number is $numBR; $num = $num 1; echo Shifted Number is $num; ? I get the output Number is 0001000 Shifted Number is 2000 What am I missing?!? Sheridan Saint-Michel

Re: [PHP] preventing an include() from taking over?

2001-09-19 Thread Rick Gardner
Liam, Assuming that you control the content that you are going to be feeding into your column 1, I would set your page up such that it accepted a variable passed in as part of the index.php url. I would then establish separate files on the server for anything that you would want as a choice of

RE: [PHP] Weird results from Left Shift

2001-09-19 Thread Eric O'Connell
Okay, from the manual I have $a $b - Shift the bits of $a $b steps to the left When I run the code ?php $num = 0001000; echo Number is $numBR; $num = $num 1; echo Shifted Number is $num; ? I get the output Number is 0001000 Shifted Number is 2000 What am I missing?!?

[PHP] Sockets

2001-09-19 Thread Jonathan Hilgeman
I run a web application that opens a socket using cURL and sends data to a payment gateway and then receives confirmations, etc... Sometimes, a visitor clicks multiple times and I have the program check to see if a transaction is already in process, and if so, it redirects them to a page where

Re: [PHP] preventing an include() from taking over?

2001-09-19 Thread LRW
Unfortunately I just started teaching myself PHP like last weekend, and so far I only have include() and require() down pat. =) What in the php.net Manual is the concept of default function called? I see URL's all the time that end in something like index.php?pg=1 and I was hoping to learn what

[PHP] subscibe me please

2001-09-19 Thread Dennis Persoons

Re: [PHP] Weird results from Left Shift

2001-09-19 Thread Rasmus Lerdorf
Okay, from the manual I have $a $b - Shift the bits of $a $b steps to the left When I run the code ?php $num = 0001000; echo Number is $numBR; $num = $num 1; echo Shifted Number is $num; ? I get the output Number is 0001000 Shifted Number is 2000 What am I missing?!? Use:

Re: [PHP] PHP vs M$.NET C#?

2001-09-19 Thread Lic. Rodolfo Gonzalez Gonzalez
On Wed, 19 Sep 2001, Christian Reiniger wrote: Not at all I'd guess. C# is MS's reaction to Java, which has been around for quite some years now. And there's nothing new / innovative in C# Indeed, its their reaction against the lawsuit which MS lost. So, if they cannot have Java, they do thei

[PHP] MSSQL Support

2001-09-19 Thread Jason Wilson
I'm compiling PHP and have a request from one of my developers for MSSQL support in mod_php (4.0.6). However, I don't see a configure option for MSSQL. Is there a *secret* configure option or are the MSSQL functions built in by default? +---+ | +-+ Digitally

[PHP] french date

2001-09-19 Thread Marc-Andre Vallee
Hi i want to print the date in french i use the function setlocale (http://www.php.net/manual/en/function.setlocale.php) and then i use the function strftime (http://www.php.net/manual/en/function.strftime.php) but, on my slackware 8 distribution, compiled with php 4.0.6 apache 1.3.20 it doesn't

Re: [PHP] Re: [PHP-DB] Cross site authentication

2001-09-19 Thread Evan Nemerson
If you need the data to be secure, you could probably just encrypt it with mcrypt, if you want to make sure it wasn't forged, you want to have A sign the data, then have B check it. If I were you, I would look at GNU Privacy Guard. You can just use some backticks and you're set. If you have

Re: [PHP] Re: [PHP-DB] Cross site authentication

2001-09-19 Thread Evan Nemerson
SSL would be useless. It has no facilities for authentication, which is what we need here. Basically, SSL encrypts communications between two computers- it doesn't care which two and is therefore vulnerable to man-in-the-middle attacks. On Wednesday 19 September 2001 08:22, you wrote:

Re: [PHP] Weird results from Left Shift

2001-09-19 Thread Sheridan Saint-Michel
I already tried that before posting the question. ?php $num = 8; $num = decbin($num); echo Number is $numBR; $num = $num 1; echo Shifted Number is $num; ? Gives me the output: Number is 1000 Shifted Number is 2000 Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company

Re: [PHP] How to set the time for session??

2001-09-19 Thread speedboy
i want to expire the session if user sits 15 minutes idle without doing anything. On each page view, you could write a variable to the session file, so the last modified time is updated. Then run the session deletion script from: http://database.sourceforge.net/scripts/session.sh every

[PHP] Modularity--Optimizing Includes and Libs

2001-09-19 Thread Bora Paksoy
Hi; I have a question regarding includes and writing library modules in PHP. In one of the replies to my previous e-mail,I was told that PHP parses/compiles pages everytime a new request comes in. So, does this mean we have to minimize the amount of code per page (which also means to minimize

Re: [PHP] Weird results from Left Shift

2001-09-19 Thread Rasmus Lerdorf
?php $num = 8; $num = decbin($num); echo Number is $numBR; $num = $num 1; echo Shifted Number is $num; ? But you are using it wrong. decbin() returns a string with a binary pattern in it. You can't shift a string. You shift numbers. If you already know the decimal value of the number

Re: [PHP] hrm..loop trouble

2001-09-19 Thread Philip Olson
Modulus will come in handy here, here's an example use : table tr ?php $result = mysql_query(SELECT foo FROM bar); $i = 0; while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) { echo \ttd. $row['foo'] ./td\n; if (($i++ % 5) === 4) { echo /tr\ntr\n;

  1   2   >