Re: [PHP] Array into database

2002-06-12 Thread Leon Mergen
Stuart Dallas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... As far as I know, serialize will handle multi-dimensional arrays. If I were you I would suck it and see. And how should I store a serialized variable in my database? As String or as Blob? -- PHP

[PHP] Stylesheet to query an xml file

2002-06-12 Thread William S.
I am looking for an example or an explanation of how to set up a stylesheet so it will enable a user to query content in an XML file. For instance. Have an XML file with names and addresses and the user would be able to search for a name and get back a list of matches. This would need to work

[PHP] tutorials

2002-06-12 Thread Adriaan . Putter
hi i want to start learning this PHP, i've got the manual but i need a kind of a starting point? any suggestions Adriaan Putter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] converting some perl script to php

2002-06-12 Thread rdkurth
How can I do this in PHP. Could somebody just point me in the write direction open (REQ, |$Openssl_cmd req -new -config /usr/lib/openssl.cnf . -key $cert_dir/key -days $days -out $cert_dir/request 12) || return

RE: [PHP] tutorials

2002-06-12 Thread Niklas Lampén
Well, it depends on how well you know the basics of programming. If you're a total newbie, first of all learn how you use variables, conditional statements and loops. Without these you're powerless! :) One way is to just create a simple form on one page and then try thingies you can do with the

RE: [PHP] tutorials

2002-06-12 Thread Adriaan . Putter
im not a newbie programmer, not all the stuff just want something on standards on PHP and how to start a script, or something to start with in the end i will use the manual on all the functions just need some basics on PHP... -Original Message- From: Niklas Lampén [mailto:[EMAIL

[PHP] get results twice for UPDATE and INSERT

2002-06-12 Thread Tommi Trinkaus
Hi everybody, i installed php(4.2)/mysql(2.2.3) on my local server and when i send a query using UPDATE or INSERT to the database, i almost got the results twice. When i put the same Database on a public webserver (hosteurope), everythin works fine. What is the mistake? thank you for any

RE: [PHP] tutorials

2002-06-12 Thread SP
Here are some tutorials: http://www.devshed.com/Server_Side/PHP/ http://www.phpbuilder.com/ http://www.phpdeveloper.org/tutorial.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: June 12, 2002 4:06 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] tutorials im

Re: [PHP] Postgres query problem

2002-06-12 Thread 1LT John W. Holmes
Double check that you have a.title, and not just title by itself. Two tables must have a title column, so make sure you specify which one you mean. ---John Holmes... - Original Message - From: Aaron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 12:40 AM

RE: [PHP] Installation and/or configuration problems w 4.2.1 on N T

2002-06-12 Thread George Pitcher
Ed, That's possible. I'm on NT running IIS4. I've followed all the guide without any success. This site is due to go live and take over from one in my office in the next 2 weeks. Help please someone? George Lazor, Ed [EMAIL PROTECTED] wrote: I don't know the answer, but... It sounds

[PHP] checking some presence lines continuously using php

2002-06-12 Thread Uma Shankari T.
Hello, Can anyone please tell me how to do the following... I am having one text file..by checking some presence lines continuously i have to extract that line and manipulate them..how i will do this..Can anyone please suggest me how do i go about with this... For example First: ..

[PHP] Re: Email with PHP.

2002-06-12 Thread Septic Flesh
Well I reinstalled the latest php with sendmail installed this time and it works... Thanks.. -- Sapilas@/dev/pinkeye Septic Flesh [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well I have install the second version from the

[PHP] Re: WHAT IS NEW to PHP 4.2.1

2002-06-12 Thread Septic Flesh
Thanks .it was the registers_global = Off.. But how on earth we can implement a better way ? I mean how to move variables around safely ? -- Sapilas@/dev/pinkeye Septic Flesh [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: [PHP] checking some presence lines continuously using php

2002-06-12 Thread 1LT John W. Holmes
I don't understand what you want at all, but you can use fopen() to open your file and read it from there... www.php.net/fopen ---John Holmes... - Original Message - From: Uma Shankari T. [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 6:46 AM Subject: [PHP]

[PHP] Fw: Hosting_submission

2002-06-12 Thread The_RadiX
Well anybody who wants to join Liam Mackenzie's hosting... Here's the touching response I got... .. Shows a great deal of maturity... Thankfully he doesn't start some sort of hosting company... After all customers would be very very upset if there was some kind of publicity stunt

[PHP] Help with forms data please

2002-06-12 Thread Bret L Conard
I need to send the data from a form without taking the surfer to that page. ie: form on ' formPage.php ' with form name='foo' method='post' action='../newUser.php' but leave the user on ' formPage.php' Any way to do that? Thanks

[PHP] convert encoding from unicode to EUC-JP

2002-06-12 Thread Simon De Deyne
Hi, is there a way (php function, class, or a stand alone program (non-php) to easily convert unicode text that represents Japanese words in romaji into EUC_JP or SHIFT_JIS? thanks, Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Help with forms data please

2002-06-12 Thread Jay Blanchard
[snip] I need to send the data from a form without taking the surfer to that page. ie: form on ' formPage.php ' with form name='foo' method='post' action='../newUser.php' but leave the user on ' formPage.php' Any way to do that? [/snip] At the end of newUser.php do a header redirect, i.e.

[PHP] bulk mail()

2002-06-12 Thread Justin French
Hi all, I've got a mailing on a website, with email address' / names / etc in a MySQL table. I think there's around 120 on it at the moment. I've been noticing a growing lag on the sending of mail though... I've got a script which takes a message from a form, then runs a while loop through the

Re: [PHP] Fw: Hosting_submission

2002-06-12 Thread Liam MacKenzie
I am providing a free hosting service for PHP Developers. This is something that costs me a considerable amount of money and time to maintain, and I am giving it away for free. After being abused by you time and time again, I removed your account from my servers and declined your request to

[PHP] Re: bulk mail()

2002-06-12 Thread Manuel Lemos
Hello, On 06/12/2002 08:44 AM, Justin French wrote: If I didn't want to personalise the emails, I'm sure the script would run a lot quicker with every address in the Bcc header, but since we personalise each email, I can't see any option other than using mail() 200 times... and it's only

RE: [PHP] bulk mail()

2002-06-12 Thread Niklas Lampén
One solution could be this: You only need on page for this: 1) create an array of recipients 2) get value from array like array[$pos]; 3) send mail to this receiver 4) now some javascript, unless ofcourse if $pos is bigger than count($array): location.href =

[PHP] vars and ocibindbyname

2002-06-12 Thread Laurent Drouet
Hi everbody, I use Php 4.0.6 with oci and when I try to use OcibindByname php function I receive the following warning : Warning: Call-time pass-by-reference has been deprecated . The problem is that this function requires the use of vars Any advice on the subject ? Laurent Drouet --

Re: [PHP] Fw: Hosting_submission

2002-06-12 Thread The_RadiX
Abusing you??? I am quite sorry but I am lost as to when I abused you? I simply had a form of service on your system and after I tried to keep updated with what was going on I was kicked off.. If you couldn't handle the load.. Don't blame me.. I was patient.. All I wanted was a reply..

Re: [PHP] browser timeouts with file upload

2002-06-12 Thread Lowell Allen
From: Dave [EMAIL PROTECTED] have created multiple file upload scripts in the past... all work like a charm, always used with files less than a meg or two. have a use for it now where the user requires upload of a 6-10mb file and we are running into problems with browser timeouts(for

[PHP] forcing file downloads

2002-06-12 Thread Justin French
I know this has been discussed many times, but I've been hunting through the archives with very little resolution on the issue. I've found the following note in the annotated manual: Additional notes to my workaround on Q266305: I have tested my findings with PDF, XLS, DOC and ZIP. However

Re: [PHP] Fw: Hosting_submission

2002-06-12 Thread Justin French
Can we take this off list PS: you only get what you pay for Justin French on 12/06/02 10:49 PM, The_RadiX ([EMAIL PROTECTED]) wrote: Abusing you??? I am quite sorry but I am lost as to when I abused you? I simply had a form of service on your system and after I tried to keep

[PHP] Array questions...

2002-06-12 Thread Leon Mergen
Hello, Assume I have the following array: $array = array ( apple = cherry, foo = bar, wom = bat ); How could I easy remove the key and the value of the key foo from that array? Also, what is the best (and quickest) way to add a key with a value to the end of this array? Thanks in advance,

AW: [PHP] Array questions...

2002-06-12 Thread Martin Lucas
hi leon, Hello, Assume I have the following array: $array = array ( apple = cherry, foo = bar, wom = bat ); How could I easy remove the key and the value of the key foo from that array? unset ($array[foo]); Also, what is the best (and quickest) way to add a key

RE: [PHP] forcing file downloads

2002-06-12 Thread Jared Boelens
20% represents a space. -Jared -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 9:01 AM To: php Subject: [PHP] forcing file downloads I know this has been discussed many times, but I've been hunting through the archives with very little

RE: [PHP] Help with forms data please

2002-06-12 Thread Jonathan Rosenberg
How about if you just return the user to the same page? Will that work? -Original Message- From: Bret L Conard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 7:33 AM To: [EMAIL PROTECTED] Subject: [PHP] Help with forms data please I need to send the data from a form

[PHP] Else/For loop

2002-06-12 Thread Roberts, Mark
Being relatively new to php, I discovered the following after about 2 hours of debugging last night and was wondering why??? I had the following code: if ( $num_results = 0 ) { echo no records found; } else { for ($i=0; $i $num_results; $i++) { display

RE: [PHP] Help with forms data please

2002-06-12 Thread Niklas Lampén
That's how I do it when I need to handle the data and return user to the same page. Use header(Location: blah); in the end of the handler page. Then even 'back'-button won't take user back to the handler page, and refresh won't send data again. Niklas -Original Message- From: Jonathan

Re: [PHP] Else/For loop

2002-06-12 Thread Justin French
Wouldn't you need if ( $num_results == 0 ) not if ( $num_results = 0 ) if you do the latter, it will allways be true, because you're setting the var... easy mistake to make! check out comparisons in the manual for more info. Justin French on 12/06/02 11:19 PM, Roberts, Mark ([EMAIL

RE: [PHP] Else/For loop

2002-06-12 Thread Niklas Lampén
If you still have an error there, change if ($num_results = 0) to if ($num_results == 0) See the difference? Realize the error? Niklas -Original Message- From: Roberts, Mark [mailto:[EMAIL PROTECTED]] Sent: 12. kesäkuuta 2002 16:20 To: [EMAIL PROTECTED] Subject: [PHP] Else/For loop

Re: [PHP] Fw: Hosting_submission

2002-06-12 Thread Steve Buehler
Ok guys. Please take this OFF THIS LIST. Your fight, in itself, has nothing to do with PHP. If you want service, than be smart and don't go to a free service. If you do go to a free service, than don't expect great service. Actually, if you go to a free service, you don't have a right

RE: [PHP] Else/For loop

2002-06-12 Thread Christoph Starkmann
Hi Mark! Being relatively new to php, I discovered the following after about 2 hours of debugging last night and was wondering why??? I had the following code: if ( $num_results = 0 ) { echo no records found; } else { for ($i=0; $i $num_results; $i++) {

RE: [PHP] Else/For loop

2002-06-12 Thread Roberts, Mark
Thanks to everyone who replied. Of course it should be '=='. I was too focused on why the for was not working and overlooked the obvious. Mark Roberts Sr. Systems Analyst LanApps/Web Development The Williams Information Services Corporation 918-573-1706 [EMAIL PROTECTED] -Original

[PHP] XML with PHP?

2002-06-12 Thread Scott Fletcher
Hey! Which PHP option should I use for compiling with the XML support. I'm using the standard XML support on the web and I found there are 4 or 5 different PHP option for XML. Which should I use? The example of the XML is .. -- clip -- ?xml version=1.0 encoding=UTF-8? NetConnectRequest

Re: [PHP] Unlink question more or less

2002-06-12 Thread Tom Ray
Any word on when glob() will be in the production version? thanks for the help Miquel. - Original Message - From: Miguel Cruz [EMAIL PROTECTED] To: Tom Ray [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 2:01 AM Subject: Re: [PHP] Unlink question more or less

Re: [PHP] get results twice for UPDATE and INSERT

2002-06-12 Thread Analysis Solutions
Hi Tommi: On Wed, Jun 12, 2002 at 10:54:16AM +0200, Tommi Trinkaus wrote: i installed php(4.2)/mysql(2.2.3) on my local server and when i send a query using UPDATE or INSERT to the database, i almost got the results twice. When i put the same Database on a public webserver (hosteurope),

Re: [PHP] apache/oracle/php

2002-06-12 Thread Michael P. Carel
Yes Miguel, i've set all the required environment to the .bash_profile for the user oracle. What im wondering are , i've also installed oracle/php/apache in AIX server and my php scripts with ora function just work. But for the RedHat Linux i should run apache as oracle/dba. I've also set all the

[PHP] Call for Papers: International PHP Conference 2002

2002-06-12 Thread Björn Schotte
Dear Sirs/ Madams, dear friends, the PHP Center and the Software Support Verlag are pleased to announce the International PHP Conference 2002 in Frankfurt, Germany. Like last year, for the first International PHP Conference, we want to present an interesting and various programme to the

Re: [PHP] forcing file downloads

2002-06-12 Thread Mark Gallagher
Justin French wrote: snip force code / 1. Is this a widely accepted practice for forcing downloads (a pop-up window to download a file), given the problems with older versions of IE? I believe so. Sad, really :o). Y'see, what you're doing is forcing your own preferences on the user

Re: [PHP] forcing file downloads

2002-06-12 Thread cal
Justin French wrote: snip force code / 1. Is this a widely accepted practice for forcing downloads (a pop-up window to download a file), given the problems with older versions of IE? I believe so. Don't. 2. Can someone tell me what the %20 is there for? You can try typing

Re: [PHP] forcing file downloads

2002-06-12 Thread Dan Hardiker
2. Can someone tell me what the %20 is there for? The %20 (I forget the exact explanation, sorry) is basically code for the space. % in a URL means thats its gonna be followed by a 2 digit hex number referencing directly to the ascii table. 20 is the hex equivelant for . You could rewrite

Re: [PHP] Compare 2 resultsets of db-query

2002-06-12 Thread Danny Kruitbosch
Analysis Solutions wrote: Hey Danny: On Mon, Jun 10, 2002 at 10:09:12PM +0200, Danny Kruitbosch wrote: Query1: SELECT FIELD1, COUNT(FIELD2) AS TOTAL from TABLE GROUP BY FIELD1 Query2: SELECT FIELD1, COUNT(FIELD2) AS SUB from TABLE WHERE FIELD2=1 GROUP BY FIELD1 Now I want to print a

[PHP] MSSQL/PHP Query Help

2002-06-12 Thread Michael
Hey guys... I'm currently using PHP, FreeTDS, and Sybase libraries to access a database on an MS SQL 2000 server. Things are going fine, except for my more complex queries. Here is an example: SELECT Servers.Name, Nics.MAC FROM Servers INNER JOIN Nics ON Servers.ServerId = Nics.Server WHERE

RE: [PHP] MSSQL/PHP Query Help

2002-06-12 Thread Leotta, Natalie (NCI/IMS)
have you tried Nics.MAC in (xxx,xxx,xxx,xxx)? There's a lot less room for error in that, because it's so much tidier. -Natalie -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 10:56 AM To: [EMAIL PROTECTED] Subject: [PHP] MSSQL/PHP Query Help

Re: [PHP] Help with forms data please

2002-06-12 Thread 1LT John W. Holmes
Make the target of the form a blank window. process the form, then generate some javascript to close the window. original window remains unchanged. ---John Holmes... - Original Message - From: Bret L Conard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 7:33 AM

[PHP] Sudden timeouts

2002-06-12 Thread Pedro Pontes
Hello all, I'm getting sudden timeouts in a site that makes use of sessions to keep login information. In every page, a function is called that does: session_set_cookie_params (1200); session_start(); These timeouts don't seem to present any time or place pattern, they occur randomly, before

Re: [PHP] bulk mail()

2002-06-12 Thread 1LT John W. Holmes
Do it just like you would with prev/next links. Use LIMIT in your query to get out 50 or so at a time. Loop through them, sending mail, then use header to automatically redirect to the next page, incrementing the number to use in LIMIT. ---John Holmes... - Original Message - From:

[PHP] Fork and multi-thread in PHP?

2002-06-12 Thread Nathan Cassano
Hi PHP folks, I have a program that sends out email by making socket connection to our email server. The problem is that the program is very slow because it has to finish talking to the email server until it can proceed with the next email (as opposed to the mail() function that just

[PHP] Detecting Usernames

2002-06-12 Thread Carl Whittaker
Ive asked this question in another group with no luck so maybe you guys have an answer. Im looking for a way to detect the clients Win2k network username, im using Apache2 PHP4.2.1 on a Win2K network with a domain, ive tried REMOTE_USER and that just prints a hyphen. This whole issue has been

Re: [PHP] Fork and multi-thread in PHP?

2002-06-12 Thread Rasmus Lerdorf
That's one of the main reasons you would want to use the mail() function. I wouldn't advise a fork() here, but if you really insist, see the pcntl extension - http://php.net/pcntl -Rasmus On Wed, 12 Jun 2002, Nathan Cassano wrote: Hi PHP folks, I have a program that sends out email by

Re: [PHP] Compare 2 resultsets of db-query

2002-06-12 Thread Analysis Solutions
On Wed, Jun 12, 2002 at 04:54:30PM +0200, Danny Kruitbosch wrote: Analysis Solutions wrote: Hey Danny: On Mon, Jun 10, 2002 at 10:09:12PM +0200, Danny Kruitbosch wrote: Query1: SELECT FIELD1, COUNT(FIELD2) AS TOTAL from TABLE GROUP BY FIELD1 Query2: SELECT FIELD1, COUNT(FIELD2) AS SUB

[PHP] sending 1000 emails to subscribed members via php?

2002-06-12 Thread andy
Hi there, I am wondering whats wrong with my php script. I am trying to write a newsletter to 150 members. Therefore I did seperate the adresses with a , After about 1 minute php gave up telling me mail has failed. Is there a restriction on sening mail via mail(xx) via php? Anyway what do I do

[PHP] Re: sending 1000 emails to subscribed members via php?

2002-06-12 Thread andy
additional comment: some did recieve the email, some did not. does anybody know a good solution? andy Andy [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi there, I am wondering whats wrong with my php script. I am trying to write a newsletter to

[PHP] Re: sending 1000 emails to subscribed members via php?

2002-06-12 Thread Leon Mergen
Andy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Anyway what do I do if I would have 1 members. This might take lots of cpu?! So I would like to keep it via my webinterface, but be able to email to all members. Hello Andy, My suggestion is to just

Re: [PHP] Re: sending 1000 emails to subscribed members via php?

2002-06-12 Thread Scott
Is your mail server timing out? Do you need to put a set_time_limit() at the top of your script? Another possibiity is to only send a few at a time, some ISP's do not permit more than a set amount of messages to leave per minute. On Wed, 12 Jun 2002, andy wrote: additional comment:

Re: [PHP] sending 1000 emails to subscribed members via php?

2002-06-12 Thread Duncan Hill
On Wed, 12 Jun 2002, andy wrote: Hi there, I am wondering whats wrong with my php script. I am trying to write a newsletter to 150 members. Therefore I did seperate the adresses with a , After about 1 minute php gave up telling me mail has failed. Why re-invent the wheel when there are

[PHP] small problem

2002-06-12 Thread savaidis
Where in config have I to change something to make Apache understand /root/index.php as /root/ ? Thanks Makis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Array Sorting

2002-06-12 Thread Steve Buehler
I have looked through php.net and the books that I have and I am confused, so I hope that someone can help me out here. I am trying to sort an array that I have. I use a while statement to fill the array: $teams[++$i][team_id]=$row-team_id; $teams[$i][name]=$row1-name;

Re: [PHP] small problem

2002-06-12 Thread Analysis Solutions
On Wed, Jun 12, 2002 at 12:49:36PM +0300, savaidis wrote: Where in config have I to change something to make Apache understand /root/index.php as /root/ ? To make the directive specific to that directory and all directories under it: In /root make a file called .htaccess In that

RE: [PHP] XML with PHP?

2002-06-12 Thread Lazor, Ed
--xml -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 6:57 AM To: [EMAIL PROTECTED] Subject: [PHP] XML with PHP? Hey! Which PHP option should I use for compiling with the XML support. I'm using the standard XML support on the web

[PHP] Re: Fork and multi-thread in PHP?

2002-06-12 Thread Manuel Lemos
Hello, On 06/12/2002 12:13 PM, Nathan Cassano wrote: Hi PHP folks, I have a program that sends out email by making socket connection to our email server. The problem is that the program is very slow because it has to finish talking to the email server until it can proceed with the

[PHP] Automatic user login under NT

2002-06-12 Thread Barajas, Arturo
Greetings, everyone. I'm new on the list (not so on PHP). I'm stuck with a little problem, I'm trying to implement some PHP pages at work, where ASP is used. The platform is NT 4.0 SP6, with PHP 4.2.1. My problem is that with ASP I can have something like Request.ServerVariables(LOGON_USER).

[PHP] unset($array[value]) does not work?

2002-06-12 Thread Leon Mergen
Hello, I am currently testing out some things with removing elements from arrays, and I find it strange that the following statement does not work for me: unset($array['element']) I wrote a little test script, you can see the source at http://www.antrophia.com/test.txt and the executable at

[PHP] Email - Php !

2002-06-12 Thread Septic Flesh
I use the following php.ini config. Do I need to configure the sendmail seperatly to successfully send an email ? with Linux ? In my win32 os email works ok..but in the linux box nothing is sent.. ~~php.ini [mail function] ; For Win32 only.

[PHP] Re: Email validation

2002-06-12 Thread Pedro Pontes
function checkEmail($strEMailAddress) { return eregi(^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+$, $strEMailAddress); } You have it now :). Regards, Pedro Alberto Pontes Jeroen Timmers [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is there a

RE: [PHP] Array into database

2002-06-12 Thread Lazor, Ed
Depends on the average size of data that you're working with. You have to count how many bytes each array take up. I think the sizeof function will do this for you. -Ed -Original Message- And how should I store a serialized variable in my database? As String or as Blob?

Re[2]: [PHP] netscape wont show form result

2002-06-12 Thread Stuart Dallas
On Wednesday, June 12, 2002 at 5:48:02 AM, you wrote: An 'exit' directive had secretly sneaked into the script! which caused ns to abort the rest of the script (as it should) while ie blissfully ignored it(??). Anyway it all works now. Thanks again. Just thought I'd point out an error in

[PHP] Equivalent of this in php

2002-06-12 Thread rdkurth
What would be the equivalent of this in php. Mostly the open (REQ and the print REQ USER_INFO; to the close REQ; Could somebody just point me in the write direction. open (REQ, |$Openssl_cmd req -new -config /usr/lib/openssl.cnf . -key $cert_dir/key -days $days

Re[2]: [PHP] Array into database

2002-06-12 Thread Stuart Dallas
On Wednesday, June 12, 2002 at 7:18:18 AM, you wrote: And how should I store a serialized variable in my database? As String or as Blob? Since serialize returns a string, I would guess that you store it in a mongoose. Sorry for the sarcasm, but it's getting late and that info is on the manual

RE: [PHP] unset($array[value]) does not work?

2002-06-12 Thread Lazor, Ed
It is working. The last two tests you were running weren't actually the same, which was confusing your testing results. I've altered the code a little for ease of testing. It's included below. -Original Message- You will see that $unserialized['foo'] still exists! Can anyone explain

RE: [PHP] vars and ocibindbyname

2002-06-12 Thread Ford, Mike [LSS]
-Original Message- From: Laurent Drouet To: [EMAIL PROTECTED] I use Php 4.0.6 with oci and when I try to use OcibindByname php function I receive the following warning : Warning: Call-time pass-by-reference has been deprecated . The problem is that this function requires the use of

[PHP] Re: Equivalent of this in php

2002-06-12 Thread Philip Hallstrom
not checked, but something like: $fp = popen(|$Openssl_cmd req -new -config /usr/lib/openssl.cnf . -key $cert_dir/key -days $days -out $cert_dir/request 12) || return(doh!); fputs($fp, $subject['C'] . \n); ... ... ... pclose($fp); On Wed, 12 Jun 2002 [EMAIL PROTECTED] wrote:

Re: [PHP] Email - Php !

2002-06-12 Thread Miguel Cruz
On Wed, 12 Jun 2002, Septic Flesh wrote: I use the following php.ini config. Do I need to configure the sendmail seperatly to successfully send an email ? with Linux ? ; For Unix only. You may supply arguments as well (default: sendmail -t -i). sendmail_path =/usr/sbin/sendmail -t

RE: [PHP] sending 1000 emails to subscribed members via php?

2002-06-12 Thread Lazor, Ed
Kind of an off-shoot question, but has anyone created functions to interface PHP and one of the popular mailing list management software packages like Majordomo or Mailman? -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 10:29 AM To: andy

Re: [PHP] Detecting Usernames

2002-06-12 Thread Miguel Cruz
On Wed, 12 Jun 2002, Carl Whittaker wrote: Ive asked this question in another group with no luck so maybe you guys have an answer. Im looking for a way to detect the clients Win2k network username, im using Apache2 PHP4.2.1 on a Win2K network with a domain, ive tried REMOTE_USER and that

[PHP] Re: Automatic user login under NT

2002-06-12 Thread Manuel Lemos
Hello, On 06/12/2002 01:43 PM, Arturo Barajas wrote: Greetings, everyone. I'm new on the list (not so on PHP). I'm stuck with a little problem, I'm trying to implement some PHP pages at work, where ASP is used. The platform is NT 4.0 SP6, with PHP 4.2.1. My problem is that with ASP I

[PHP] Forum / Web Mail Combined?

2002-06-12 Thread Lazor, Ed
Ilia and I were discussing FUDForum and general forum features. That made me wonder... Are there forums that integrate pop3 web mail support? -Ed This message is intended for the sole use of the individual and

Re: [PHP] Fw: Hosting_submission

2002-06-12 Thread Miguel Cruz
On Wed, 12 Jun 2002, The_RadiX wrote: Well anybody who wants to join Liam Mackenzie's hosting... Here's the touching response I got... After all customers would be very very upset if there was some kind of publicity stunt against his company. wouldn't they? * snigger snigger *

RE: [PHP] Re: Automatic user login under NT

2002-06-12 Thread Barajas, Arturo
From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Hi, Manuel. I don't agree and even think that it is a stupid thing to say because open source is not about excluding Windows users even if there are much less open source developers with Windows knowledge there is no point in making Windows

Re: [PHP] Forum / Web Mail Combined?

2002-06-12 Thread Jeff Lewis
Ed, Currently none to my knowledge, however, YaBB SE 2 which is in development has this feature roughed in already. However, it's still in development. Jeff - Original Message - From: Lazor, Ed [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 1:35 PM Subject: [PHP]

[PHP] form post

2002-06-12 Thread Kris Vose
Is there a way to post input types that are hidden with out using a html form in php? I know you can do it in java script with Form.submit(). So... if I have three hidden fields can I post them without pressing a button that uses a form by using a php function? Thanks in advance. Kris

RE: [PHP] form post

2002-06-12 Thread Lazor, Ed
No, because PHP is server-side. -Original Message- From: Kris Vose [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 11:28 AM To: [EMAIL PROTECTED] Subject: [PHP] form post Is there a way to post input types that are hidden with out using a html form in php? I know you can do

[PHP] Re: form post

2002-06-12 Thread Scott Hurring
There's no way to for PHP to say Yo, let's ride... submit that form Client-side manipulations must be done client-side, with javascript or something similar. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- Kris Vose [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] form post

2002-06-12 Thread Chris Boget
There's no way to for PHP to say Yo, let's ride... submit that form Client-side manipulations must be done client-side, with javascript or something similar. But you can use a function/library called PostToHost() (or something like that). Search on phpbuilder.com for it. This issue has

RE: [PHP] Equivalent of this in php

2002-06-12 Thread Jaime Bozza
PHP has heredoc capability, though it'll look a little strange since you'll need the () around the parameters. It's also used a little bit differently. Here's the code: $fp = popen($Openssl_cmd req -new -config /usr/lib/openssl.cnf . -key $cert_dir/key -days $days -out

[PHP] Emptying a Single Array Value

2002-06-12 Thread Martin Clifford
Howdy, If someone out there could tell me how to get rid of a single key/index pair within an array, it would be great. I've tried both unset() and empty(), but both destroy the entire array. Please CC me directly, as I'm on the digest. Thanks in advance! Martin -- PHP General Mailing

[PHP] Querying for MAX

2002-06-12 Thread César Aracena
I’m sorry if this mensaje is posted twice. I sent it yesterdays, but then my ISP had problems with e-mail and I lost dozens of them and don’t know if sent OK. Hi all, What I’m trying to do here is not inside PHP nor MySQL books I have. I need to query the DB to look the max result in a column.

RE: [PHP] Querying for MAX

2002-06-12 Thread Lazor, Ed
select MAX(fieldname) from table; You can also insert data in tables with auto_increment fields to account for yourneed to insert old member ids. insert into tablename (ID, Name) values ('$OldID', '$Name'); -Original Message- From: César Aracena [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Querying for MAX

2002-06-12 Thread Leotta, Natalie (NCI/IMS)
is select MAX(column name) what you are looking for? I know it works on numeric columns, I'm not sure if it works on non-numbers, you'd have to look it up in a SQL Tutorial somewhere. Good luck! -Natalie -Original Message- From: César Aracena [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Querying for MAX

2002-06-12 Thread César Aracena
Thanks Natalie Ed. This Works just fine. What I want to do, is let a person subscribe new affiliates without having to look up what the last affiliate's number was and show the next one in the new affiliate form. César Aracena IS / MCSE+I Neuquén, NQN (0299) 156-356688 (0299) 446-6621

Re: [PHP] Re: Automatic user login under NT

2002-06-12 Thread Manuel Lemos
Hello, On 06/12/2002 02:48 PM, Arturo Barajas wrote: I don't agree and even think that it is a stupid thing to say because open source is not about excluding Windows users even if there are much less open source developers with Windows knowledge there is no point in making Windows users feel

Re: [PHP] bulk mail()

2002-06-12 Thread Paul Roberts
I find a few bad addresses can slow mail() down, i write to a log file if mail returns true or to a bad mail file if false, try the bad emails later and then take them off the list if still bad. you can increase your time out with set_time_limit(), i'd also send when the server isn't too busy.

Re: [PHP] Emptying a Single Array Value

2002-06-12 Thread Damian Harouff
This is all i've ever been able to do: function ck_removeValueFromArray($array, $value) { $key = array_search($value, $array); if ($key) { $array[$key] = ; rsort($array); // rsort() puts blank values at the end reset($array);

Re: [PHP] Emptying a Single Array Value

2002-06-12 Thread Philip Olson
unset() works for this, how are you using it exactly? Please post a short test script that misbehaves for you. $arr = array('foo','bar'); unset($arr[0]); print_r($arr); // only $arr[1] = 'bar' exists now See also: http://www.php.net/unset http://www.php.net/array_splice

Re: [PHP] Emptying a Single Array Value

2002-06-12 Thread Kevin Stone
$nums = array ('one', 'two', 'three'); $nums = remove_array_element($nums, 1); function remove_array_element($array, $index) { unset($array[$i]); // Unset selected index return array_values($array); // Return reindexed array } P.S. The empty() function returns true or false depending

  1   2   3   >