Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread Tyler Longren
Yeah...probably too much. Sending 5000 individual e-mails would really bog the system down...no matter what it is. Personally, I wouldn't do it. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Thu, 16 Aug 2001 18:34:11 +0200 Jimmy Bäckström [EMAIL

Re: [PHP] Mail method?

2001-08-15 Thread Tyler Longren
Is it not working for you? Do you have an smtp server of some sort set up? If you're using Win98/NT/2000, you can specify an smtp server to use (usually your ISP's). If you're using *nix, install sendmail. Good luck, Tyler Longren Captain Jack Communications [EMAIL PROTECTED

Re: [PHP] How to find out which function caused an error

2001-08-15 Thread Tyler Longren
Can you post the error so we can have a look at it? If it didn't provide a function, it's probably a parse error (missing semi-colon, missing quote). Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Wed, 15 Aug 2001 18:43:49 +0100 Justin Finkelstein [EMAIL

Re: [PHP] Connecting to Sybase on Linux

2001-08-15 Thread Tyler Longren
Here ya go: http://www.php.net/manual/en/ref.sybase.php Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Wed, 15 Aug 2001 16:30:16 -0500 Kansas Territory [EMAIL PROTECTED] wrote: Could someone point me to any information regarding connecting PHP on linux

Re: [PHP] PHP to embed font

2001-08-14 Thread Tyler Longren
I don't believe so. I think you'd just have to let them dl the font. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 14 Aug 2001 14:22:06 -0400 admin [EMAIL PROTECTED] wrote: Is there anyway to use PHP to embed font types into web pages

Re: [PHP] Loop though email list

2001-08-14 Thread Tyler Longren
); } Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 14 Aug 2001 16:09:22 -0500 Erich Kolb [EMAIL PROTECTED] wrote: I am a total newbie, so please forgive the simplicity! I have a huge list of email addresses in a text file and also in a MySQL DB

Re: [PHP] URL Rewrite Problems...

2001-08-13 Thread Tyler Longren
You forgot to add a method=POST into your form tag. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Mon, 13 Aug 2001 09:35:39 -0500 Brendan P. Caulfield [EMAIL PROTECTED] wrote: Hello Everyone, I have recently written a script to change htpasswd via

Re: [PHP] The secrecy of PHP code

2001-08-13 Thread Tyler Longren
of: www.zend.com Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Mon, 13 Aug 2001 07:43:17 -0700 James Shaker [EMAIL PROTECTED] wrote: Greetings, How safe is the code written in PHP? For instance, if I have an equation or some algorithm with some constants

Re: [PHP] new one is it ??

2001-08-13 Thread Tyler Longren
No, that's the rather old one. That would be CR1. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Mon, 13 Aug 2001 22:27:06 +0800 Mark Lo [EMAIL PROTECTED] wrote: 208.251.146.123 - - [13/Aug/2001:22:24:27 +0800] GET /default.ida

Re: [PHP] UPDATE syntax

2001-08-13 Thread Tyler Longren
yeah...jibberish. Should be this: UPDATE mpn_asklee SET reply='$Reply[$i]', Post='$post[$i]' WHERE ID='$counts' On Mon, 13 Aug 2001 15:20:17 -0400 Gerard Samuel [EMAIL PROTECTED] wrote: I have a database with 5 columns and cols 1,2,3 5 are filled. I want to insert into 4 and change 5.

Re: [PHP] Sockets in Win98.

2001-08-09 Thread Tyler Longren
If you get the call to undefined function error, I'd say that it doesn't have the socket functions built in. I'm not positive, that'd be my guess though. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Thu, 09 Aug 2001 15:19:40 +0100 Michael Quinn [EMAIL

Re: [PHP] require using url

2001-08-08 Thread Tyler Longren
What's on line 51? The error is on line 51 in survey.php. require() Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com isn't on line 51. The error occurs because there's no login() function. On Wed, 8 Aug 2001 10:08:01 -0600 (Mountain Daylight Time) [EMAIL

Re: [PHP] ICMP Ping

2001-08-07 Thread Tyler Longren
exec(ping 127.0.0.1); -- +-+ |Tyler Longren| | Captain Jack Communications | |[EMAIL PROTECTED]| | www.captainjack.com | +-+ On Tue, 7 Aug 2001 17:11:36 +0100 James Crowley [EMAIL PROTECTED] wrote: Hi

Re: [PHP] PHP INSTALL

2001-08-07 Thread Tyler Longren
I suggest you uninstall everything that apache installed and do it all from source. It always seems to be much easier that way. Good luck, Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 7 Aug 2001 12:06:57 -0700 (PDT) Christian Cresante [EMAIL

Re: [PHP] MySQL connection

2001-08-07 Thread Tyler Longren
If the SQL server is down how will he hack it? That's like hacking a webserver that doesn't exist. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 7 Aug 2001 21:35:58 +0200 BRACK [EMAIL PROTECTED] wrote: I just wanned to bring the issue of security

Re: [PHP] close browser

2001-08-07 Thread Tyler Longren
PHP can't do that because php is serverside. You would need Javascript. I'm not even sure if Javascript can do this. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 7 Aug 2001 16:10:51 -0400 Jeremy Morano [EMAIL PROTECTED] wrote: Hi, Can anybody

Re: [PHP] close browser

2001-08-07 Thread Tyler Longren
-Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 1:12 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] close browser PHP can't do that because php is serverside. You would need Javascript. I'm not even sure

Re: [PHP] IP security check

2001-08-07 Thread Tyler Longren
$REMOTE_ADDR will give you the user's IP...it can't get the un-spoofed ip though. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 7 Aug 2001 15:37:09 -0500 matt [EMAIL PROTECTED] wrote: For secure payment pages, I need for the code to determine

[PHP] remote image uploads.

2001-07-25 Thread Tyler Longren
in /home2/aanr.com/www/cyber_bulletin/admin/add.php on line 86 couldn't be opened (or created), please try again. Anyone know how to fix this? I'm uploading an image from a windows hd to a linux server. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com -- PHP

Re: [PHP] remote image uploads.

2001-07-25 Thread Tyler Longren
Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Tyler Longren [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 11:24 AM Subject: [PHP] remote image uploads. Hello everyone, I've hunted on google

Re: [PHP] PHP scripting

2001-07-25 Thread Tyler Longren
Also, px.sklar.com www.phpbuilder.com www.hotscripts.com/PHP Anyone else? Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Lara J. Fabans [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 3:46 PM Subject

Re: [PHP] PHP scripting

2001-07-25 Thread Tyler Longren
Those scripts do stuff. Some of us have submitted code to those places. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Kyle Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 11:57 PM Subject: Re

RE: [PHP] php stand alone

2001-07-24 Thread Tyler Longren
when you configure php, don't specify a web server to use. ./configure --with-mysql would do the trick. ./configure --with-apxs=/path/to/apxs --with-mysql would not do the trick Tyler -Original Message- From: Adrian D'Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001

[PHP] bad word filter

2001-07-24 Thread Tyler Longren
); for ($i=0; $icount($word); $i++) { $replace = str_replace($word[$i], , $string); } } $string = Ass monkey; filterWords($string, $result); print $result; ? How can I scan for the $badwords in $string and replace $badwords with ? Thanks, Tyler Longren

Re: [PHP] bad word filter

2001-07-24 Thread Tyler Longren
I waste my time because the clients pay me to. ;-) They get what they want. I told them there would very easy ways around the filters. but they insisted. Thanks! Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Ryan

[PHP] Re: bad word filter

2001-07-24 Thread Tyler Longren
That is a very good idea. I had never even thought of doing it that way. Perhaps I will talk with them about it. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Philip Hallstrom [EMAIL PROTECTED] To: Tyler Longren [EMAIL

Re: [PHP] mail priority

2001-07-24 Thread Tyler Longren
I'm not sure exactly what it is, but check the php manual for the mail() function. There's an example in there to set the message priority. Good luck, Tyler On Wed, 25 Jul 2001 10:41:44 -0500 Jack [EMAIL PROTECTED] wrote: Dear folks, I am doing the email using mail() command. I wonder if

Re: [PHP] Resolution

2001-07-23 Thread Tyler Longren
I don't believe you can get screen resolution with PHP. You'd need to use something client side, such as Javascript. Tyler - Original Message - From: Kyle Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 23, 2001 6:45 PM Subject: [PHP] Resolution is there a code to

Re: [PHP] Keeping fields out of URL

2001-07-23 Thread Tyler Longren
You forgot to put method=POST in your form action=blah.php should be: form action=blah.php method=POST Tyler - Original Message - From: Shrout, Ryan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 23, 2001 10:55 AM Subject: [PHP] Keeping fields out of URL How can I keep

[PHP] formatting host output

2001-07-20 Thread Tyler Longren
$data = exec(host $lookup); printf(pre%s/pre, $data); How can I format the output of that properly? Sometimes, it's all on one line, and it's fine. Other times, there's more than one line...like if there was an alias. Any way to format it like it is on the command line? Thanks, Tyler --

Re: [PHP] a good PHP editor

2001-07-18 Thread Tyler Longren
ConTEXT...free, simple, can load HUGE files. http://www.fixedsys.com/context/ Tyler - Original Message - From: doug [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 1:16 PM Subject: [PHP] a good PHP editor Hiya everybody, I'm relatively new to PHP and I'm

[PHP] sql query successful

2001-07-18 Thread Tyler Longren
Hello everyone, I've been writing database enabled site for quite a while now. One thing I have never figured out it how to determine if a sql query is successful. This works: if ($connection = mysql_connect(host,username,password)) { print Successful connection: } else { print No

Re: [PHP] sql query successful

2001-07-18 Thread Tyler Longren
Successful. I know I could use mysql_affected_rows(), but why doesn't this work??? Tyler - Original Message - From: Mark Roedel [EMAIL PROTECTED] To: Tyler Longren [EMAIL PROTECTED]; php-general [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 1:30 PM Subject: RE: [PHP] sql query

Re: [PHP] What PHP function to use to clean up PGP encoded text under Outlook Express?

2001-07-18 Thread Tyler Longren
str_replace(\n,\r\n,$input) ?? Tyler - Original Message - From: Scott Brown [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 4:27 PM Subject: [PHP] What PHP function to use to clean up PGP encoded text under Outlook Express? I've got PHP a routine that encodes

[PHP] wordwrap()

2001-07-17 Thread Tyler Longren
Maybe I'm not using it right, but I'm using the sample in the manual. Here's the code: ? $text = A very long wrd.; $newtext = wordwrap( $text, 8, \n, 1); echo $newtext\n; ? Here's the output: A very long wooo ord. Here's what the manual says the output should be: A very long

Re: [PHP] wordwrap()

2001-07-17 Thread Tyler Longren
this is a silly question, but you're not looking at it thru a web browser, are you? browsers are for HTML and markup code. the output on my computer is the same as the manual output: A very long wooo ord. -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED

[PHP] return

2001-07-16 Thread Tyler Longren
Here's my code: ? function expDate($date) { $month = substr($date, 0, 2); $len = strlen($date); $year = substr($date, $len-2, $len); return $month; return $year; } expDate(11/2002); print $month $year; ? I know this isn't the correct usage of return, but

Re: [PHP] Rename a File?

2001-07-11 Thread Tyler Longren
mv filename newfilename - Original Message - From: Randy Johnson [EMAIL PROTECTED] To: Randy Johnson [EMAIL PROTECTED]; Chris Lambert - WhiteCrown Networks [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 13, 2001 12:53 PM Subject: [PHP] Rename a File? How do I rename a file on

Re: [PHP] Trouble with php 4.06 and Apache

2001-07-11 Thread Tyler Longren
I would also like to know what's going on with that error. I have gotten that while compiling on FreeBSD. Tyler - Original Message - From: Heiko Maiwald [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 3:06 PM Subject: [PHP] Trouble with php 4.06 and Apache Hi,

Re: [PHP] Variables

2001-07-10 Thread Tyler Longren
? James -- Tyler Longren [EMAIL PROTECTED] Currently Unemployed www.noworkfortyler.com -- 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] PHP as a shell script

2001-07-09 Thread Tyler Longren
Just don't compile it with apache or some other web server. It should create the executable then. Tyler - Original Message - From: Kevin Pratt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 09, 2001 12:01 PM Subject: [PHP] PHP as a shell script Can anyone direct me to a

Re: [PHP] Question

2001-07-06 Thread Tyler Longren
That sounds more client side...maybe javascript. Tyler - Original Message - From: James W Greene [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 10:02 AM Subject: [PHP] Question Hello, I am in the need to do the following: A web form in which A user clicks

Re: [PHP] Problem writting to file...

2001-07-06 Thread Tyler Longren
Any errors being given to you? Tyler - Original Message - From: James Bartlett [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 1:15 PM Subject: [PHP] Problem writting to file... Hi, I'm trying to write data to a file but for some reason it will not store numbers

Re: [PHP] Help Please

2001-07-03 Thread Tyler Longren
yes...do this: print HTTP_REFERER; tyler - Original Message - From: John Holcomb [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 03, 2001 4:17 PM Subject: [PHP] Help Please Is there an environmental variable like in Active Server Pages ( HTTP_REFERRER ) that tells you

Re: [PHP] Help Please

2001-07-03 Thread Tyler Longren
Sorryyou'll need a '$' before the HTTP_REFERER part - Original Message - From: Tyler Longren [EMAIL PROTECTED] To: John Holcomb [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, July 03, 2001 4:23 PM Subject: Re: [PHP] Help Please yes...do this: print HTTP_REFERER; tyler

RE: [PHP] question about forms

2001-07-01 Thread Tyler Longren
check out the mail() function. Tyler -Original Message- From: Jason Brashear [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 01, 2001 11:08 PM To: [EMAIL PROTECTED] Subject: [PHP] question about forms I have a question. I am using PHP MySQL. I am able to quary to DB and edit

[PHP] php, mod_ssl, apache

2001-07-01 Thread Tyler Longren
process (it's not running). But it infact IS running. When I do a 'ps -ax' there are a few -httpd processes (which is normal). Thanks everyone, Tyler Longren -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] pc/mac and ie/nav

2001-06-30 Thread Tyler Longren
use the $HTTP_USER_AGENT variable. Search through it to see if it contains Mac. If it does, then it's a Mac. Tyler - Original Message - From: Wilbert Enserink To: [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 7:07 AM Subject: [PHP] pc/mac and ie/nav Hi

[PHP] date - day

2001-06-25 Thread Tyler Longren
Hello, I have something like this: $Month = 6; $Year = 2001; $Date = 1; Is there any relatively simple way to get the day out of that? For example, the day for 6-1-2001 would be Friday. Thanks, Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] mcrypt_cbc()

2001-06-22 Thread Tyler Longren
] To: Tyler Longren [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 4:47 PM Subject: Re: [PHP] mcrypt_cbc() Tyler Longren pressed the little lettered thingies in this order... Hello list, Is there a special tirgger to enable the mcrypt_cbc() function when you ./configure

[PHP] recompiling libphp4.so with -DEAPI

2001-06-22 Thread Tyler Longren
Hello, I recompiled php/apache/openssl/mod_ssl yesterday on a server (exact same as I had done it before). Before apache started up with SSL with no problem. Now when I start (./apachectl startssl), I get this warning: [Fri Jun 22 10:59:03 2001] [warn] Loaded DSO libexec/libphp4.so uses plain

[PHP] mcrypt_cbc()

2001-06-21 Thread Tyler Longren
Hello list, Is there a special tirgger to enable the mcrypt_cbc() function when you ./configure PHP? Or how do I get that function to work? I get the error: call to undefined function. Thanks, Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] mcrypt error

2001-06-21 Thread Tyler Longren
Here's the error: Warning: mcrypt module initialization failed in /home2/golfballs.net/www/includes/crypt_lib.php on line 35 Here's line 35: $result = mcrypt_cbc($cipher, $key, $cc_num, $mode); Becuase of the above warning, credit card numbers can't be viewed on the 'recieved orders' page.

Re: [PHP] mysql error, dont see why.. please help

2001-05-22 Thread Tyler Longren
Shouldn't it be: mysql_query(UPDATE user_polls SET url = '$file_name' WHERE uid = '$UserName' AND type = '$type) or die (mysql_error()); Maybe I'm wrong. -- Tyler Longren [EMAIL PROTECTED] Currently Unemployed www.noworkfortyler.com On Tue, 22 May 2001 17:00:35 EDT [EMAIL PROTECTED] wrote

RE: [PHP] Date (Year) .. adding..

2001-05-22 Thread Tyler Longren
? $x=0; $year = date(Y); while($x 20) { $year = $year+1; print($year . \n); $x++; } ? Try that. Tyler -Original Message- From: Jason Caldwell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 11:20 PM To: [EMAIL PROTECTED] Subject: [PHP] Date (Year) .. adding..

[PHP] no connection to mysql

2001-05-16 Thread Tyler Longren
Hello everyone, PHP just stopped being able to connect to mysql. mysqld-nt is running, and is running alright becuase I can connect, select databases, and execute sql queries through the mysql client. However, when I try to establish a connection through PHP, the connection never gets made.

[PHP] Can't connect to mysql after applying MS Hotfix

2001-05-15 Thread Tyler Longren
Hello everybody, Lastnight, I was building a site. Multiple SQL queries were being made on every page. Everything worked nice and smooth. I downloaded and applied the patch for MS01-026 which effects IIS 4.0 and 5.0. I rebooted after applying the hotfix, and after that, NONE of my php

RE: [PHP] Uptime script?

2001-05-15 Thread Tyler Longren
exec(uptime); or system(uptime); Tyler -Original Message- From: Ryan Christensen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 11:43 PM To: [EMAIL PROTECTED] Subject: [PHP] Uptime script? I know I've seen one before, and before I go write my own version, does anyone

[PHP] problem with my sessions

2001-05-09 Thread Tyler Longren
. Can anybody offer me any help? I've been trying to get this to work for 48 hours now. I've re written this thing sooo many times. I almost had it once, but changed something and it stopped. Thanks, Tyler Longren -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] Strange

2001-05-09 Thread Tyler Longren
if ($userid $password) { $res = pg_exec($db, SELECT userid FROM users WHERE userid='$userid' AND password='$password'); $x = pg_numrows($res); if ($x==1) { $verified_user = $userid; session_register

RE: [PHP] URL redirection

2001-05-06 Thread Tyler Longren
if ($varTwo == $varOne) { header('Location: http://www.location.com/page.html'); } else { echo You stay right where you are!; } Tyler -Original Message- From: Jamie Saunders [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 5:21 PM To: [EMAIL PROTECTED]

RE: [PHP] if... then... else with HTML

2001-04-23 Thread Tyler Longren
? if (condition) { ? 1st HTML here ? } else { ? 2nd HTML here ? } ? -Original Message- From: Martin Thoma [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 7:41 AM To: [EMAIL PROTECTED] Subject: [PHP] if... then... else with HTML Hello ! I want to do something like

[PHP] Now, why doesn't this work?

2001-04-23 Thread Tyler Longren
Hello everybody, My host seems to be having some weird problems. Here's a piece of code: if (($this_month_sql = mysql_query(SELECT * FROM $mysql_shows_table WHERE month = '$thismonth' ORDER BY timestamp ASC)) ($next_month_sql = mysql_query(SELECT * FROM $mysql_shows_table WHERE month =

RE: [PHP] Now, why doesn't this work (update)?

2001-04-23 Thread Tyler Longren
Also, I ran this SQL on the regular mysql client, and it returned the correct data...for some reason if I run it in PHP, I get the SQL syntax error. Tyler -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 9:20 PM To: PHP-General Subject

RE: [PHP] Now, why doesn't this work? (this thread can die off now)

2001-04-23 Thread Tyler Longren
Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 9:27 PM To: 'Tyler Longren' Subject: RE: [PHP] Now, why doesn't this work? :) read the updated message..forgot to say that I've done that already in the orig message. You said you'd executed

[PHP] What's wrong with this code?

2001-04-22 Thread Tyler Longren
ver it works on is Win2k, IIS5, php4.0.4pl1. The server it doesn't work on is Linux, Apache, php4.0.4pl1. Any ideas why this won't work? Just to be sure, I did a chmod 777 about.inc, so file permissions isn't it. Thanks everyone, Tyler Longren -- PHP General Mailing List (http://www.php.net/)

[PHP] accepting credit cards

2001-04-15 Thread Tyler Longren
Hello everyone, I know this has been discussed many times before. I even read the past threads in the list archives. I've written a shopping cart/catalog that uses mysql on the backend. I need to be able to accept cc orders. Is Paypal a good choice? I've never really use any service like

RE: [PHP] send mail in HTML format in Mail Function

2001-04-01 Thread Tyler Longren
$recipient = "Recipient [EMAIL PROTECTED]" $headers .= "From: name [EMAIL PROTECTED]\n"; $headers .= "X-Sender: [EMAIL PROTECTED]\n"; $headers .= "X-Mailer: PHP\n"; $headers .= "X-Priority: 1\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; $message = "font face=Arial size=2This

RE: [PHP] php or phtml???

2001-03-28 Thread Tyler Longren
It doesn't really matter. Use whatever you think looks cooler. Tyler -Original Message- From: Costas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 7:53 AM To: [EMAIL PROTECTED] Subject: [PHP] php or phtml??? when should i use .php and when should i use .phtml. Thanks

[PHP] Weird problem with Win2k

2001-03-13 Thread Tyler Longren
library MSVCRT.dll. Does anybody have any idea why this occurs? This also happens when I try to run Paint Shop Pro. So it's not PHP itself. When PHP is started on boot, the error is logged to the event log. Anybody seen anything like this before? Thanks, Tyler Longren -- PHP General Mailing

RE: [PHP] mysql_fetch_array()

2001-03-07 Thread Tyler Longren
?php $connection=mysql_connection(...); $db=mysql_select_db(.); $sql="select * from my db"; $sql_result=mysql_query($sql,$connection); print "table"; while ($row=mysql_fetch_array($sql_result)) { print "tr"; foreach ($row as $field) print

[PHP] Next month

2001-03-06 Thread Tyler Longren
Hello, How do I get the number of the next month (Ex: 4). And when the current month reaches 12, the next month would be 1 and the next year would be 2002. Anybody know how I can accomplish this? Thanks, Tyler Longren -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] fread() a remote file

2001-02-09 Thread Tyler Longren
Hello everybody, Could you perform fread() on a remote file? Example: $file = fopen("http://www.myurl.com/test.html", "rb"); $data = fread($file, filesize('http://www.myurl.com/test.html')); ??? Thanks! Tyler Longren -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Searching HTML file for tr tags

2001-02-08 Thread Tyler Longren
Ah ha! So i see. :) thanks. -Original Message- From: Mukul Sabharwal [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 8:21 PM To: Tyler Longren; [EMAIL PROTECTED] Subject: Re: [PHP] Searching HTML file for tr tags Hi, You've forgot to put fread() : ? $file = fopen

RE: [PHP] Web hosting for PHP/MySQl development

2001-01-18 Thread Tyler Longren
. Good stuff. Tyler Longren -Original Message- From: Chris Lott [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 7:37 PM To: PHP General Subject: [PHP] Web hosting for PHP/MySQl development Any recommendations for a good, savvy host for doing some PHP/MySQL development

<    1   2   3