[PHP] Flatten/Unflatten arrays

2004-04-19 Thread OrangeHairedBoy
Hi all, In Perl there is a way to flatten an array into a string, and a matching function to unflatten the array. This is different from explode/implode because the function supports multidimentional arrays as well. The purpose is to be able to write an array to a flatfile, and when necessary, r

Re: [PHP] House for rent - Good price

2004-04-19 Thread OrangeHairedBoy
And he set the date to 12/7/2165. Can the message be deleted? I hate spam... "Oscar F" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Yeah this is no Real State List. Put up an ad on the newspaper. > > O. > > > Leif K-Brooks wrote: > > > [EMAIL PROTECTED] wrote: > > > >> Hello all

RE: [PHP] Flatten/Unflatten arrays

2004-04-19 Thread Chris W. Parker
OrangeHairedBoy on Monday, April 19, 2004 4:23 PM said: > In Perl there is a way to flatten an array into a string, and a > matching function to unflatten the array. i think you're looking for serialize() and unserialize(). http://php.net/serialize http://php/net/

Re: [PHP] Unwanted e-mails

2004-04-19 Thread Raquel Rice
On Fri, 16 Apr 2004 20:45:37 +0100 Lester Caine <[EMAIL PROTECTED]> wrote: > John W. Holmes wrote: > > > From: "Lester Caine" <[EMAIL PROTECTED]> > > > >>I am hitting reply, and EVERY php list sends a message back > >bouncing the>unsubscribe message ( along with every post I have > >tried to mak

Re: [PHP] Flatten/Unflatten arrays

2004-04-19 Thread OrangeHairedBoy
Ah! THANK YOU THANK YOU THANK YOU! I was going insane when I couldn't remember the names of the Perl functions either! :) Lewis "Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] OrangeHairedBoy on Monday, April 19, 2004 4:23 PM said: >

Re: [PHP] Why NNTP is not default protocol for php groups

2004-04-19 Thread Justin Patrin
T. H. Grejc wrote: Red Wingate wrote: Same here, just installed some Newsgroup Software and everything works just fine for me :-) OK then, I live in East Europe, so maybe my location is to blame for frequent news server down time. But, there is still question of bandwidth. Why php.net don't w

[PHP] Re:[PHP] Bookmark server

2004-04-19 Thread pan
"Chris W" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am planning on writing a "bookmark server" in php. The idea is I will > have a database that stores all my internet favorites on a web server > some where, so if I am doing some web browsing away from home and find a > site

Re: [PHP] Unwanted e-mails

2004-04-19 Thread Ryan A
> when i talked to my internet people about those sorts of emails like > btconnect and pandasoft virus warnings all they told me was that some > spammer person had probably tagged the php mailinglist database of email > addresses and are now bouncing emails around all the php mailing list > people

Re: [PHP] Unwanted e-mails

2004-04-19 Thread Andy B
they arent just coming from the people who want to unsubscribe?? they are going to people who just want to send a message to the list too... got rid of the info desk the advanced whatever and the pandasoft stuff but having problems with mysql mailing list myself too... same sort of problems... -

Re: [PHP] Unwanted e-mails

2004-04-19 Thread Andy B
hahahaha!! go for it grin!! - Original Message - From: "Ryan A" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, April 19, 2004 7:59 PM Subject: Re: [PHP] Unwanted e-mails > > > when i talked to my internet people about those sorts of emails like > > bt

Re: [PHP] Unwanted e-mails

2004-04-19 Thread Robert Cummings
On Mon, 2004-04-19 at 19:59, Ryan A wrote: > > > when i talked to my internet people about those sorts of emails like > > btconnect and pandasoft virus warnings all they told me was that some > > spammer person had probably tagged the php mailinglist database of email > > addresses and are now bou

[PHP] creation of php-cli and php-cgi

2004-04-19 Thread Carel, Michael P. (Digitel-GSM)
Hi, I'm having a problem compiling php with cli and cgi support. When i compiled php in redhat 7.3 it creates both php-cgi and php-cli in sapi/cgi and sapi/cli directories, but when i compiled it in Redhat Advance Server only php-cli was created. I used the same config command parameters in both

Re: [PHP] Unwanted e-mails

2004-04-19 Thread Raquel Rice
On Mon, 19 Apr 2004 20:14:22 -0400 "Andy B" <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Raquel Rice" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Monday, April 19, 2004 7:28 PM > Subject: Re: [PHP] Unwanted e-mails > > > > On Fri, 16

Re: [PHP] Unwanted e-mails

2004-04-19 Thread Ryan A
> > It is times like this when we all need to get together and pray to god... > . > > to burn the bastard spammers and their loved ones on earth and in hell. > > > Amen. > Hmmm... with 6 degrees of separation you're probably some spammer's > loved one -- crap, I probably am too! I demand that yo

[PHP] Program that'll parse HTML form with results and send HTML email?

2004-04-19 Thread John W. Holmes
Does anyone know of a script that'll receive the results of a form, parse the original form and substitute the user supplied data in for the form elements and then send an HTML email of the "form"? For a static form, this obviously isn't too hard, but it'd be ideal if the program was dynamic en

[PHP] FW: Resizing Pictures

2004-04-19 Thread Ryan Schefke
How do you resize pictures once they're in a certain directory? I have the script to upload a picture, that's working fine. I just need some help with resizing it. Can someone help? Thanks!

[PHP] Looking for IM or Chat application

2004-04-19 Thread Tony Areghan
H fellas, This is my first post and I hope I'm doing this right! I'm working on a dating site where I'd like to give the users the opportunity to send an offline message to or chat with a person when they view the person's profile depending on whether the person is on or offline respectively).

Re: [PHP] Program that'll parse HTML form with results and send HTML email?

2004-04-19 Thread John W. Holmes
Justin French wrote: But I guess your motivation behind starting with the HTML is so that Joe Average can build a form in a WYSIWYG editor without caring about anything else, right? Yeah, that's the key. It'd be easy if I could just build everything from an XML file. I'm thinking that if I just

RE: [PHP] FW: Resizing Pictures

2004-04-19 Thread Warren Vail
If you don't mind doing them by hand, Window Paint can, use Image->Stretch/Skew and Stretch by the same percentage for horizontal and vertical dimensions to keep the same perspective (less than 100% will reduce the picture and more than 100% will stretch, but clarity of the image will suffer from e

RE: [PHP] FW: Resizing Pictures

2004-04-19 Thread Ryan Schefke
Hi Warren, Thanks for the reply; however, that wasn't the answer I was searching for. Using PHP, I would like to resize a file once it's store in a directory on a (my) webserver. Anyone know? -Original Message- From: Warren Vail [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 1

[PHP] Unsubscribing Was: Unwanted e-mails

2004-04-19 Thread Chris Shiflett
--- Raquel Rice <[EMAIL PROTECTED]> wrote: > If you look at the first post above, it appears he is hitting > "Reply" to list messages, trying to unsubscribe by sending a post > to the list. If you look at the text of the return that he passed on > to the list, it also indicates he was sending his u

[PHP] sessions getting destroyed for *Some* clients

2004-04-19 Thread Jaskirat Singh
Hi Guys, I have some thing weird happening with sessions here. They are getting destroyed/reset for *SOME* clients. I wrote a shopping cart which obviously needs sessions to work. It works perfectly fine on my development server .. but when I move it to my production server it starts behaving stra

[PHP] problem with SSL

2004-04-19 Thread adwinwijaya
Hello php-general, Before, our project didnt use SSL mode and it work perfectly. But now, when we want to use ssl mode, it didnt work as we expected.. for example, when I try to type https://localhost/ it display : Fatal error: Cannot instantiate non-existent class: smarty in /var/www/html/HOME/w

Re: [PHP] Program that'll parse HTML form with results and send HTML email?

2004-04-19 Thread Tom Rogers
Hi, Tuesday, April 20, 2004, 11:10:24 AM, you wrote: JWH> Does anyone know of a script that'll receive the results of a form, JWH> parse the original form and substitute the user supplied data in for the JWH> form elements and then send an HTML email of the "form"? JWH> For a static form, this ob

Re: [PHP] sessions getting destroyed for *Some* clients

2004-04-19 Thread Travis Low
Make sure it's not just a cookie-problem related to server name. The shopping cart session for "original-remote-control.co.uk" is different from the shopping cart for "www.original-remote-control.co.uk". If this is your problem, I think you can fix it by changing how you call "setcookie". Of

[PHP] Freelance PHP Bids

2004-04-19 Thread php-list
Hello, There is a person asking me where she can find a website developer that will create an e-commerce solution for her. I don't feel I'm ready to help her out in that area yet, but I still want her to be able to have other choices. I remember there was a main website where freelance programmer

[PHP] CURL Help

2004-04-19 Thread Monty
Hi, I'm trying to get a site working with our credit card merchant gateway's "direct mode" using CURL. But I'm not exactly sure if I'm doing it right. Here's what the gateway wants sent to it as a POST: POST /gw/sas/direct3.0 HTTP/1.0 Host: secure.gateway.com:1401 Content-Type: applica

[PHP] Re: Images & PHP

2004-04-19 Thread Nadim Attari
http://www.imagemagick.org/ Hope this will help !!! Regards, Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FW: Resizing Pictures

2004-04-19 Thread Daniel Rucci
Ryan Schefke wrote: How do you resize pictures once they're in a certain directory? I have the script to upload a picture, that's working fine. I just need some help with resizing it. Can someone help? Thanks! im creating a new image in this function, but you get the idea.. function ge

[PHP] Moving a file

2004-04-19 Thread Lukasz Leszek
Hello Is there a build-in function to move files in php ? or sholud i just open file A and copy it content to file B , then del file A. Thanks for help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Images & PHP

2004-04-19 Thread Nadim Attari
> http://www.imagemagick.org/ -- Forgot to include this link... http://pecl.php.net/package/imagick -- > Hope this will help !!! > > Regards, > > Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] Re: Resizing Pictures

2004-04-19 Thread Tom Reed
This will resize JPG images: function get_image_width($image) { $imgsize = getimagesize($image); return $imgsize[0]; } function get_image_height($image) { $imgsize = getimagesize($image); return $imgsize[1]; } function resize_image($originalimage, $dest_width, $save_path, $newfilename)

[PHP] Re: CURL Help

2004-04-19 Thread Manuel Lemos
Hello, On 04/20/2004 02:36 AM, Monty wrote: Do my CURL statements look correct based on what the gateway needs to receive?? I have PHP 4.3.2 and Apache 2.0 running on Red Hat ES 3.0. I suspect that the port should not be in the host header. Anyway, you may want to try using this HTTP client class

[PHP] Re: Moving a file

2004-04-19 Thread Nadim Attari
> Is there a build-in function to move files in php ? > or sholud i just open file A and copy it content to file B , then del file > A. > > Thanks for help. First http://www.php.net/copy to destination Then http://www.php.net/unlink source. -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Moving a file

2004-04-19 Thread Tom Rogers
Hi, Tuesday, April 20, 2004, 7:41:18 AM, you wrote: LL> Hello LL> Is there a build-in function to move files in php ? LL> or sholud i just open file A and copy it content to file B , then del file LL> A. LL> Thanks for help. rename() may do what you want -- regards, Tom -- PHP General Mail

RE: [PHP] FW: Resizing Pictures

2004-04-19 Thread Red Wingate
Maybe you should take a look at PHPs Image functions, finding out which function matches your needs is not that hard :-) If you don't find the right functions you can also take a look at this list's archives as this topic was raised around 5 times 04/04 :-p -- red [...] > Hi Warren, > > Thanks

[PHP] Re: Flatten/Unflatten arrays

2004-04-19 Thread Red Wingate
Orangehairedboy wrote: Hi, check out http://php.net/serialize and http://php.net/unserialize . hope this helps :-) -- red [...] > Hi all, > > In Perl there is a way to flatten an array into a string, and a matching > function to unflatten the array. > > This is different from explode/implode

Re: [PHP] FW: Resizing Pictures

2004-04-19 Thread Terence
You might want to try google, search for 'php resize image' or something along those lines. very often there is lots of code already out there. - Original Message - From: "Ryan Schefke" <[EMAIL PROTECTED]> To: "'Warren Vail'" <[EMAIL PROTECTED]>; "'Php-General-Help'" <[EMAIL PROTECTED]> S

Re: [PHP] Program that'll parse HTML form with results and send HTML email?

2004-04-19 Thread Red Wingate
Nice one here, got some class for this type of handling as well but it will also do some nice magic when it comes to checking for valid data or displaying the input again for validation :-) My way to go: 1. Display the form 2. Check all required fields (name start with req_) 2.1 ( ok ) Parse page

Re: [PHP] Unsubscribing Was: Unwanted e-mails

2004-04-19 Thread Lester Caine
Chris Shiflett wrote: If you look at the first post above, it appears he is hitting "Reply" to list messages, trying to unsubscribe by sending a post to the list. If you look at the text of the return that he passed on to the list, it also indicates he was sending his unsubscribe posts to the list

Re: [PHP] CURL Help

2004-04-19 Thread Curt Zirzow
* Thus wrote Monty ([EMAIL PROTECTED]): > Hi, I'm trying to get a site working with our credit card merchant gateway's > "direct mode" using CURL. But I'm not exactly sure if I'm doing it right. > Here's what the gateway wants sent to it as a POST: > > POST /gw/sas/direct3.0 HTTP/1.0 > Hos

Re: [PHP] Unwanted e-mails

2004-04-19 Thread Lester Caine
Chris W. Parker wrote: but your messages *ARE* getting accepted otherwise i would not be reading this email right now! NO THEY ARE NOT - This reply HAS to be sent via the newsgroup! The bounce messages I am getting are as a result of .php.net NOT accepting my perfectly valid posts! -- Lester Ca

Re: [PHP] Unwanted e-mails

2004-04-19 Thread Red Wingate
Is php.net bounceing your posts or does your ISP bounce your e-mails? maybe you could send us a copy to have a look? -- red Lester Caine wrote: > Chris W. Parker wrote: > >> but your messages *ARE* getting accepted otherwise i would not be >> reading this email right now! > > NO THEY ARE NOT

[PHP] show_source or highlight_string wrapping

2004-04-19 Thread Aidan Lister
Why do these functions wrap at approximately 80 chars? It's stupid! How can this be worked around? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2