Re: [PHP] Cookie problem

2001-09-19 Thread Richard Baskett
Here use this cookie that I wrote, it works in every browser, every os. function NextYear () { $today = gmdate("l, d-M-"); $today .= gmdate("Y")+1; $today .= gmdate(" H:i:s")." GMT"; return $today; } $on

[PHP] Re: text editing (parsing)

2001-09-19 Thread _lallous
you can also use Regular Expressions, just post the text you want to parse (no matter how complex) and we will see how we can help you out. "Jonas K" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need some help with parsing text. very simple. I have a text

Re: [PHP] Newbie Question: Array Comparison ---

2001-09-19 Thread J.T
"David Robley" <[EMAIL PROTECTED]> wrote: > in_array might be one tool - loop through $Foo and print $Foo[n] if it's > not in the array $donotprint [cut] > And doubtless there are other, better ways. Offers, anyone? Look at array_diff http://download.php.net/manual/en/function.array-diff.php

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

2001-09-19 Thread nico_oreka
I've got a script too using cookies, md5 and and a 'shadow' text-file or an 'account' SQL table ... (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Diadon <[EMAIL PROTECTED]> To: Sheridan Saint-Michel <[EMAIL PROT

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

2001-09-19 Thread nico_oreka
I made a chatboard script that i use on two websites (http://nayco.free.fr , http://luxregina.free.fr ) One thing important to know is that you MUST NOT use a text file : When two people write together, messages are scrambled and the script displays wierd things > use SQL, as it's faster,

[PHP] Cookie problem

2001-09-19 Thread Murat
hi, i have a problem with cookie. true login page -> decide page -> main page | false | login page username and password are posted by login page to decide page, if it's true, main page wi

Re: [PHP] delete element from an array

2001-09-19 Thread Philip Olson
Here's an example using unset() and array_splice(), notice the subtle difference : a [2] => c $bar = array('a','b','c'); $piece = array_splice ($bar, 1 ,1); print_r($piece); // [0] => b print_r($bar);// [0] => a [1] => c ?> Regards, Philip Olson On Thu, 20 S

[PHP] delete element from an array

2001-09-19 Thread Miroslav Figlar
Hi, what is the best way to delete element from an array? Suppose i have an array called $numbers: $numbers = array(a => 10, b => 20, c => 30, d => 40); I want to delete the third element from that array. Thank you Miro Figlar -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] how to use MYSQL date type string in php?

2001-09-19 Thread mydata
thank you very much Could you offer me some available link about dealing datetime string in php? "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > hi, I 'm new developer in php > > I always need to get the date or time from mysql ,and dead it

[PHP] php extensions

2001-09-19 Thread Cristóvão Dalla Costa
I'm trying to create an extension to PHP to provide an access interface to the proprietary database server my company uses. However, I cannot seem to suceed even at the simplest module, the one provided by ext_skel. I run buildconf, configure and compile the module, however dl() won't load the res

Re: [PHP] Going blind? Plz hlp w/ parse error

2001-09-19 Thread ReDucTor
Which line is line 10?!? - Original Message - From: "Anthony Rodriguez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 20, 2001 2:34 PM Subject: [PHP] Going blind? Plz hlp w/ parse error > Please help! There is a parse error in like 10: > > > // file: "root/reg

Re: [PHP] Going blind? Plz hlp w/ parse error

2001-09-19 Thread Brian White
At 00:34 20/09/2001 -0400, Anthony Rodriguez wrote: >Please help! There is a parse error in like 10: > > >// file: "root/reg/add_2.php", updated: 08/25/01 > >$connection=@mysql_connect("localhost","afrodriguez","xxx") or die ("No >connection!"); > >$db=@mysql_select_db("sbwresearch",$connection)

RE: [PHP] Going blind? Plz hlp w/ parse error

2001-09-19 Thread Lawrence . Sheed
For a start use 's much easier to read eg $qry_1="select * from cust_info where username=\"$username\""; should be $qry_1="select * from cust_info where username='$username'"; this looks like a guilty line - $qry_2="insert into cust_info (username,password,mother) values ("$username","$p

[PHP] newbie include question

2001-09-19 Thread Peter WIlk
I am very new to PHP and I've come across a little problem. When I'm using an include (), such as: http://www.petewilk.com/temp/xyz.inc";; ?> I get the following text in the resulting HTML file. "Last-Modified: Thu, 20 Sep 2001 04:46:25 GMT ETag: "6464fa-15-3ba974a1" Accept-Ranges: bytes Conte

[PHP] Going blind? Plz hlp w/ parse error

2001-09-19 Thread Anthony Rodriguez
Please help! There is a parse error in like 10: etc. Thank you! -- 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] how to use MYSQL date type string in php?

2001-09-19 Thread Rasmus Lerdorf
> hi, I 'm new developer in php > I always need to get the date or time from mysql ,and dead it in php,but I > found it defficult to deal mysql date type string in php. mysql date type > string always like "-mm-dd",in php4.06 I can use strtotime fuction > convert it to unixtimestamp,but in php

RE: [PHP] how to use MYSQL date type string in php?

2001-09-19 Thread Lawrence . Sheed
Not quite what you are looking for, but here are some Chinese sites on PHP to look at, they also have forums in chinese (?) www.phpuser.com www.phpx.com www.php2000.com www.phpease.com www.chinaasp.com/php ??! ??? () -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] how to use MYSQL date type string in php?

2001-09-19 Thread mydata
hi, I 'm new developer in php I always need to get the date or time from mysql ,and dead it in php,but I found it defficult to deal mysql date type string in php. mysql date type string always like "-mm-dd",in php4.06 I can use strtotime fuction convert it to unixtimestamp,but in php4.0 ,strto

[PHP] how to use the function "strtotime"

2001-09-19 Thread mydata
Hi, I'm php developer beginner in China,but I am confused with function "strtotime". yes ,I know the usage of function "strtotime" in php manual. But description of php manual about it is too little.I want to know more about it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] 2 decimal places

2001-09-19 Thread nate
number_format($variable, 2, '.', '') something like that i believe - Original Message - From: "Kurth Bemis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 19, 2001 7:22 PM Subject: [PHP] 2 decimal places > i'm looking for a php function to add 2 decimal place st

Re: [PHP] Newbie Question: Array Comparison ---

2001-09-19 Thread David Robley
On Thu, 20 Sep 2001 14:30, Jeremy Moles wrote: > I don't quite understand what you're saying. I'm really sorry. > > Could you show me some code? Original problem: > This is a simple question, but I'm having trouble figuring out a > solution. > > Let's say I have 2 arrays: > > $DoNotPrint=array("

RE: [PHP] 2 decimal places

2001-09-19 Thread Kurth Bemis
At 10:24 PM 9/19/2001, Jack Dempsey wrote: Thank You! >look into printf and number_format > >-Original Message- >From: Kurth Bemis [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, September 19, 2001 10:23 PM >To: [EMAIL PROTECTED] >Subject: [PHP] 2 decimal places > > >i'm looking for a php f

RE: [PHP] 2 decimal places

2001-09-19 Thread Jack Dempsey
look into printf and number_format -Original Message- From: Kurth Bemis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 19, 2001 10:23 PM To: [EMAIL PROTECTED] Subject: [PHP] 2 decimal places i'm looking for a php function to add 2 decimal place sto a number. if the number alread

[PHP] 2 decimal places

2001-09-19 Thread Kurth Bemis
i'm looking for a php function to add 2 decimal place sto a number. if the number already have one decimal place then one more zero should be added to make it two decimal placesanyone know of a quick way to do this? ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Newbie Question: Array Comparison ---

2001-09-19 Thread Jeremy Moles
I don't quite understand what you're saying. I'm really sorry. Could you show me some code? -- 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 PROTECT

Re: [PHP] Newbie Question: Array Comparison ---

2001-09-19 Thread David Robley
On Thu, 20 Sep 2001 14:07, Jeremy Moles wrote: > This is a simple question, but I'm having trouble figuring out a > solution. > > Let's say I have 2 arrays: > > $DoNotPrint=array("a","b","c"); > $Foo=array("c","d","e"): > > What is the best way to print every value in $Foo that does NOT match a >

RE: [PHP] mysql_pconnect()

2001-09-19 Thread Jack Dempsey
i agree...i wish things were more like microsoft where you could search for days and never find something, and i think bill gates should really stop being involved closely with the development...i mean, where else can you find that? i wonder if he could code a hello world script in C#.. -

[PHP] Newbie Question: Array Comparison ---

2001-09-19 Thread Jeremy Moles
This is a simple question, but I'm having trouble figuring out a solution. Let's say I have 2 arrays: $DoNotPrint=array("a","b","c"); $Foo=array("c","d","e"): What is the best way to print every value in $Foo that does NOT match a value in $DoNotPrint? For instance, in this example, "c" should

Re: [PHP] mysql_pconnect()

2001-09-19 Thread Kurth Bemis
its barley decent :-) ~kurth >We have gone to some trouble to provide decent documentation for PHP. > >http://www.php.net/manual/en/features.persistent-connections.php > >-Rasmus > >On Thu, 13 Sep 2001, Christian Dechery wrote: > > > what is the real advantage or use of mysql_pconnect() ?? > > >

Re: [PHP] mysql_pconnect()

2001-09-19 Thread Rasmus Lerdorf
We have gone to some trouble to provide decent documentation for PHP. http://www.php.net/manual/en/features.persistent-connections.php -Rasmus On Thu, 13 Sep 2001, Christian Dechery wrote: > what is the real advantage or use of mysql_pconnect() ?? > > can I do transactions between pages or som

[PHP] mysql_pconnect()

2001-09-19 Thread Christian Dechery
what is the real advantage or use of mysql_pconnect() ?? can I do transactions between pages or something? Cuz other than that, I don't see the point of having a persistent connection... performance maybe? _ . Christian Dechery . . Gaita-L Owner / Web Developer . . h

Re: [PHP] MySQL Connectivity test

2001-09-19 Thread David Robley
On Thu, 20 Sep 2001 09:39, Jason Bell wrote: > What is the *SIMPLEST* way to test connectivity to a database? > Shouldnt there be a mysql_connection_test command or something? :) > > -Jason Trying to connect is usually a good indicator :-) mysql_connect returns a positive link identifier on su

[PHP] Re: problem uploading files

2001-09-19 Thread Paul Morin
Any help would be appreciated "Paul Morin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a problem with file uploads in php. My code seems to run fine if I > am on the local area network but seems to fail when I try from the outside. > My server seem

Re: [PHP] MSSQL Support

2001-09-19 Thread Michael Kimsal
Jason Wilson wrote: >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? > >+---+

Re: [PHP] MSSQL Support

2001-09-19 Thread Frank M. Kromann
Hi Jason You can download and install FreeTDS (www.freetds.org). Then you can compule with the option --with-sybase=/usr/local/freetds. Thsi way you get the Sybase extension and this includes aliases for mssql_*. Be aware the FreeTDS can be used with MSSQL server 4 and 6 and in some cases also

[PHP] MySQL Connectivity test

2001-09-19 Thread Jason Bell
What is the *SIMPLEST* way to test connectivity to a database? Shouldnt there be a mysql_connection_test command or something? :) -Jason

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

2001-09-19 Thread Chris Lee
more likley then not what your seeing is the browser cache the results of page 1. If I am understanding this correctly. post link and link.src and I'll have a look. without code, there isnt anything more then guess. header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Last-Modified: '. g

[PHP] Re: Modularity--Optimizing Includes and Libs

2001-09-19 Thread Chris Lee
ok, everytime a page is called php loads all the file that are requested, php then compiles the whole thing, and only runs what you tell it to (obviously). if you have a library with 100 huge functions yet you dont use not one of those functions other then loading time to load that huge file, the

[PHP] Re: Sockets

2001-09-19 Thread Chris Lee
is this even a php related question? post some code and an example site and we'll see what we can do. -- Chris Lee [EMAIL PROTECTED] "Jonathan Hilgeman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I run a web application that opens a socket using cU

[PHP] Re: Thank you Rebecca

2001-09-19 Thread Adam
actually i've had that problem... i converted all # signs to "&numsym" before entering it into the db and then converted back to # on the page after retrieving the values. -A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] magic_qoutes_gpc and cobolt linux causing problems

2001-09-19 Thread Ari Nepon
I am hosted on a Linux cobalt machine running Apache/1.3.12 Cobalt release 10312100 and PHP 4.0.3pl1. I have two virtual hosted accounts on this computer. The problem I am having is this: I added a .htaccess file to the root web folder of one site, the file contains one line: php_value magic_quo

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

2001-09-19 Thread Rasmus Lerdorf
Sascha's ircg (http://schumann.cx/ircg) actually works really well. As well as any Java-based ones I have seen. -Rasmus On Wed, 19 Sep 2001, Matthew Simpson wrote: > I whole-heartedly agree with this statement. There are several great Java > clients (including IRC clients) for chatting, but I

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

2001-09-19 Thread Matthew Simpson
I whole-heartedly agree with this statement. There are several great Java clients (including IRC clients) for chatting, but I have never seen a server side scripting chat implementation worth anything. - Original Message - From: "Emile Bosch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

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

2001-09-19 Thread Emile Bosch
for the interaction and performance of a chat room i would choose for java, php is stateless and therefore it's not easy to see when a user is logged in or out or anything like that.. with the help of JAVA it's possible to build fairly easy an client and a server class which does the communicatio

[PHP] PHP code critique

2001-09-19 Thread Matthew Simpson
I'm new to PHP. I have been heavily modifying a webmail POP client written in PHP by someone else for my use. Anyway, I wrote the following administration script from scratch and if someone has time to critique my code that would be great. If I'm doing anything majorly wrong I'd like to know

Re: [PHP] hrm..loop trouble

2001-09-19 Thread Philip Olson
Modulus will come in handy here, here's an example use : ". $row['foo'] ."\n"; if (($i++ % 5) === 4) { echo "\n\n"; } } ?> Regards, Philip Olson On Wed, 19 Sep 2001, Kurth Bemis wrote: > i'm trying to get a chunk of code to look 5 times then print

Re: [PHP] Weird results from Left Shift

2001-09-19 Thread Rasmus Lerdorf
> $num = 8; > $num = decbin($num); > echo "Number is $num"; > $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 n

[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 n

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 mi

Re: [PHP] Weird results from Left Shift

2001-09-19 Thread Sheridan Saint-Michel
I already tried that before posting the question. "; $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 www.foxjet.com - Original Message - From: "Rasmus Ler

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: > > Cus

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 any

[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

[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 Enhanc

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 th

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 > > $num = "0001000"; > echo "Number is $num"; > $num = $num << 1; > echo "Shifted Number is $num"; > ?> > > I get the output > > Number is 0001000 > Shifted Number is 2000 > > What am I

[PHP] subscibe me please

2001-09-19 Thread Dennis Persoons

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 th

[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 the

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 > > $num = "0001000"; > echo "Number is $num"; > $num = $num << 1; > echo "Shifted Number is $num"; > ?> > > I get the output > > Number is 0001000 > Shifted Number is 2000 > > What

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

[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 "; $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 Website Administrator FoxJet, an I

[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 is

[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 then 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 row of t

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, prima

[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] 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 _yo

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 i

[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 /home/darius/insta

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. Keepin

[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 admin

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 pages,

[PHP] PHP Email Handler

2001-09-19 Thread Wee Chua
Hi all, Can anyone please show me how to write a simple email handler for company website? Basically, it is for customer to submit information throught the website without using client email software. Thank you. Calvin Chua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

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: <

[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] 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

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

2001-09-19 Thread Diadon
Please, tell me how to secure chat system, using login and password in the hidden input of frame or using sessions? > There actually isn't much technology in a chat room. It is a fairly simple > program. > Basically you have a webpage which checks retrieves all > the messages from and prin

[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 co

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: http://www.digital

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 retrieves all the messages from and prints them, then provides a place for the user to enter stuff into . can be any number of things such as a flat file, or a MySQL

[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] 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] Odp: Returning a specific 'record' from an XML file

2001-09-19 Thread ZeNDeR-X
hi ;) it's pretty simple to do something like this using the DOM functions that handle XPath expressions. when you have that xml loaded in a variable $xml_source all you have to do is: $doc=xmldoc($xmlsource); $xpath_ctx = xpath_new_context($doc ); // show all objects echo "Xpath All"; $result = x

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,

[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]

[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 da

[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

[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 t

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

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

[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 120

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: <[EMAI

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 consider

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 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 Sept

[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 fin

[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` M'P```04!`0$!`0$`

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 fe

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 PROTE

[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 ad

  1   2   >