[PHP] php from the command line

2001-09-25 Thread Jimmy Bäckström
Hi! I was wondering how you could run php from the command line, and how it works! Just out of curiosity =) Thanks /Broder

[PHP] the apache log file

2001-09-25 Thread Jimmy Bäckström
Hey! I know the question is somewhat missplaced thought I think someone on this list should be able to answer me. I'm doing a statistics application wich uses the apache http-acces.log file. One line looks like this: 195.58.118.234 - - [03/Oct/2000:09:39:04 +0200] GET /temp/odenresor HTTP/1.1

[PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Hi list! I'm about to write an application that takes about 5000 mailadresses from a database, and then sends a mail to each one of them. I haven't done this kind of apps before, so I don't know if it's a good idea. Does anyone have any suggestions? /Jimmy

SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Hmm I knew that =) I just wondered if it's such a good idea. 5000 mail is very much you know. /Jimmy - Original Message - From: Tyler Longren [EMAIL PROTECTED] To: Jimmy Bäckström [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 6:25 PM Subject: Re: [PHP] Sending

SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Hmm that's what I thought about. But I think the system I'll be using uses qmail. I've heard that qmail does things better than sendmail? /Jimmy - Original Message - From: Daniel Adams [EMAIL PROTECTED] To: Jimmy Bäckström [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August

SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Can't you queue mails somehow? So that all mails isn't sent at the same time? -- 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]

SV: SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
- From: Tim [EMAIL PROTECTED] To: Jimmy Bäckström [EMAIL PROTECTED] Cc: Tyler Longren [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 9:39 AM Subject: Re: SV: [PHP] Sending alots of mail I have a system where we send periodic batches of 60,000

[PHP] Newline in a guestbook

2001-04-24 Thread Jimmy Bäckström
Hey guys! I'm writing a guestbook with mysql. My probblem is that when user enter at long word like blablablablablablablablablablablabla my html-tables gets screwed up. If someone is just fooling around the whole page design can be destroyed. I want to know how I can make sure that no word is

[PHP] include_path

2001-04-09 Thread Jimmy Bäckström
eyo! I was wondering if it is possible to have the include_path directive in php.ini (I am using win98) pointing to path so that a file in an underlying dir, also can be included? I have tried to set the include_path to c:\program\apache\htdocs so that I can have all the files in the webroot

[PHP] Changing within a file

2001-03-25 Thread Jimmy Bäckström
Yo! Does anyone know how I can change a line in a textfile? I want to find a specific line, and then change it a bit...

[PHP] Create a Bulletin Board

2001-03-20 Thread Jimmy Bäckström
Yo! I'm thinking of writing a bulletin board and I wonder about threads. I want the board to be built on threads but I don't know how to do it. I want it to look something like this: subject 1 | |__ reply1 to 'subject 1' | | | |__ reply1 to 'reply1 to subject 1' |

[PHP] Please help!! how to compare an array with another

2001-03-04 Thread Jimmy Bäckström
Shu! I am currently working on a site where I want to randomly show pictures. I am using sessions to save the id's of the pictures that a user has seen during his/hers visit. My first question is: Can I use an array as a session variable? like this: $arr = array(1, 2, 3, 4, 5); session_start();

[PHP] Function to compare an array with another array

2001-03-04 Thread Jimmy Bäckström
Shu! I need some help here. I have a script where I want to compare two arrays with eachother, and return one value from that does not exists in both arrays. I have an array of pictures id number created from a database query. I use sessions to save id numbers of pictures into an array. I want

[PHP] ImageGif: No GIF support in this PHP build

2001-03-01 Thread Jimmy Bäckström
Shu! When I try to use the function ImageGif() I get the following error: Warning: ImageGif: No GIF support in this PHP build... I'm using win2k with php4 width the gd module enabled in php.ini What can I do to make this problem go away? Thanks in advance /Broder

[PHP] Session: use cookies or not

2001-02-19 Thread Jimmy Bäckström
Yo! I was wandering if there is someway to change the setting whether cookies should be used or not when using session, in the php code rather than in php.ini. Thankful for answers /Broder

[PHP] assigning an array to a array

2001-01-27 Thread Jimmy Bäckström
Yo! I was wondering if it is possible to assign an array another array, I mean like this: $arr1 = array(1, 2, 3, 4, 5); $arr2 = array() $arr2[0] = $arr1; so that the element of $arr2 contains $arr1 like: $arr2[0][0] == 1 I've tried this, but it does not work. Does anyone have any ideas how this

Re: [PHP] Session problems

2001-01-23 Thread Jimmy Bäckström
Yeah I used a path name with '\' instead of '/' but it still does not work. Help! "Johannes Janson" [EMAIL PROTECTED] wrote in message 94kpfm$4cc$[EMAIL PROTECTED]">news:94kpfm$4cc$[EMAIL PROTECTED]... you have to set the 'session.save_path' in your php.ini. be careful with the slashes you

[PHP] mysql_fetch_row() and mysql_fetch_array()?

2001-01-17 Thread Jimmy Bäckström
Yo! I am wondering what the difference is between mysql_fetch_array and mysql_fetch_row. I tried using this code: $result = query("SELECT * FROM index1"); while ($row = mysql_fetch_row($result)) {... but $row[] does not contain any data, but when I changed it to: $row =