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

[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

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

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

[PHP] setcookie()

2002-01-06 Thread Tyler Longren
Hello, I need to set a cookie to store a username, password, and passcode forever (never expires). I don't really know how to use the setcookie() function. Could someone show me the proper way to use the setcookie() function to do this? Thanks, Tyler -- PHP General Mailing List

Re: [PHP] Re: setcookie()

2002-01-06 Thread Tyler Longren
- Professional Web Design www.x-playin.f2s.com Tyler Longren [EMAIL PROTECTED] wrote in message 000901c196e7$71df35b0$0101a8c0@nightengale">news:000901c196e7$71df35b0$0101a8c0@nightengale... Hello, I need to set a cookie to store a username, password, and passcode forever (never

Re: [PHP] PHP4.1.1 can't connect to SQL Server 7 SP3 on NT/2000

2002-01-13 Thread Tyler Longren
When you upgraded to SP3 did it remove the 'scott' user? Just a thought, I'm not really very experienced with MSSQL stuff. Tyler - Original Message - From: Quan Tran [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 13, 2002 9:54 PM Subject: [PHP] PHP4.1.1 can't connect to

Re: [PHP] Does any have the 'edit_member.php' script ....

2002-01-17 Thread Tyler Longren
Perhaps you could post the error and the line that it occurs on. Someone here might be able to offer some help. tyler - Original Message - From: Mike C [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 17, 2002 7:48 PM Subject: [PHP] Does any have the 'edit_member.php'

Re: [PHP] Increment help..please

2002-01-24 Thread Tyler Longren
Why don't you just set auto_increment on the id field in the database table? Tyler - Original Message - From: will hives [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 1:43 PM Subject: [PHP] Increment help..please please help I'm a newb and this is really

Re: [PHP] this list has been mutated to a lamers paradise

2002-01-31 Thread Tyler Longren
Agreed. - Original Message - From: Jason Murray [EMAIL PROTECTED] To: 'Gregor Welters' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 7:14 PM Subject: RE: [PHP] this list has been mutated to a lamers paradise just wanted to point this out. And these kinds

Re: [PHP] general question...

2002-02-04 Thread Tyler Longren
if (eregi(page_user_has_to_come_from,$HTTP_REFERER) != ) { print You didn't come from the right page, please go back.; } else { print Congrats, you came from the right page!; } Tyler - Original Message - From: jas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January

Re: [PHP] Picking a random record from a database.

2002-02-04 Thread Tyler Longren
SELECT * FROM table ORDER BY rand() LIMIT 1; Tyler - Original Message - From: Philip J. Newman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 04, 2002 10:37 PM Subject: [PHP] Picking a random record from a database. I have a database of Jokes. I have 30 Jokes I would

Re: [PHP] Limit 15 where Newest

2002-02-04 Thread Tyler Longren
$sql=select author, title, chapter from table order by date DESC limit 15; That's how you'd go about getting the 15 most recent table entries. The next 15 thing will require a bit more though. Tyler - Original Message - From: WIll [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

Re: [PHP] Can PHP read system installation?

2002-02-04 Thread Tyler Longren
Well, if you know the box is running Linux, you can get the kernel info by doing this: system(uname -a); Tyler - Original Message - From: Ryan F. Bayhonan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 04, 2002 10:51 PM Subject: [PHP] Can PHP read system installation?

Re: [PHP] Can PHP read system installation?

2002-02-04 Thread Tyler Longren
Well, the OSTYPE variable contains some useful info. As do the LC_ALL, HOSTTYPE, MACHTYPE, and SERVER_SOFTWARE variables. Check php_info() for more useful variables. Tyler - Original Message - From: Ryan F. Bayhonan [EMAIL PROTECTED] To: Tyler Longren [EMAIL PROTECTED]; [EMAIL

Re: [PHP] Differences between PHP, ASP, JSP

2002-02-06 Thread Tyler Longren
PHP could be used for online banking. Banks use ASP because there is software already written in ASP for what they need. Also, they use it because it's from Microsoft. Tyler - Original Message - From: Ben Clumeck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 06,

Re: [PHP] Checking for plus signs?

2002-02-07 Thread Tyler Longren
What's the error? Tyler - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 7:40 PM Subject: [PHP] Checking for plus signs? I'm trying if(eregi(+,$variable)){, but it gives me an error. What do I do? -- PHP General

Re: [PHP] Checking for plus signs?

2002-02-07 Thread Tyler Longren
Actually, all you need is this: if(eregi(\+,$variable)) You only need to escape the + sign once. Tyler - Original Message - From: Jim Lucas [php] [EMAIL PROTECTED] To: Leif K-Brooks [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 7:39 PM Subject: Re: [PHP]

Re: [PHP] php

2002-02-13 Thread Tyler Longren
you could just: exec(chown user.group directory); That is, if you're on a unix box of some type. Tyler - Original Message - From: Uma Shankari T. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 13, 2002 3:29 AM Subject: [PHP] php Is there any function to give

Re: [PHP] how to require php file in a.html file

2002-02-15 Thread Tyler Longren
If you're using apache, make sure .html is included as an extension that gets parsed by PHP. Tyler - Original Message - From: mysqlphp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 15, 2002 8:08 AM Subject: [PHP] how to require php file in a.html file Hi, How do

Re: [PHP] how to send variable with direct link?

2002-02-15 Thread Tyler Longren
? print a href=page.php?ip=$ip_from_mysqlServer/a; ? Whatever value $ip_from_mysql holds will be accesible on page.php as the $ip variable. Tyler - Original Message - From: Hawk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 15, 2002 4:45 PM Subject: [PHP] how to send

Re: [PHP] code

2002-02-18 Thread Tyler Longren
make sure you're doing it like this: if ($inst == 1) { // do this } else { // do something else } instead of this: if ($inst = 1) { // do this } else { // do this } Just a thought. Tyler - Original Message - From: John Gurley [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [PHP] Timed Redirect

2002-02-18 Thread Tyler Longren
header(Location: http://www.google.com/;, 5); That would redirect you to www.google.com in 5 seconds. Tyler - Original Message - From: Steven Walker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 18, 2002 2:16 PM Subject: [PHP] Timed Redirect Is there way to have a

Re: [PHP] PHP binary file

2002-02-19 Thread Tyler Longren
If you installed it with apache or some other webserver, and you didn't use the --prefix option, it's probably here: /usr/local/lib/php/ Somewhere in that directory would be my guess. I think that's where mine is located. Tyler - Original Message - From: Hunter, Ray [EMAIL PROTECTED]

Re: [PHP] problems with replacing line breaks

2002-03-01 Thread Tyler Longren
why don't you just use the nl2br() function? Tyler - Original Message - From: Tom Kincaid [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 01, 2002 9:11 AM Subject: [PHP] problems with replacing line breaks I'm trying to replace line breaks with html code and am having

Re: [PHP] PHP Security Update

2002-03-04 Thread Tyler Longren
There's probably no real easy to tell. If there was, CERT would most likely have it on their website (www.cert.org). Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Xavier Paz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP] Can anybody help me?

2002-03-07 Thread Tyler Longren
Did you recieve an error? If so, what was it? Tyler - Original Message - From: Balaji Ankem [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 7:23 AM Subject: [PHP] Can anybody help me? Hi friend, from morning onwards I am facing the problem with

Re: [PHP] Can someone tell me about database....

2002-03-08 Thread Tyler Longren
I suggest you buy a book. There's too much to simply tell you how to do it. I recommend PHP Essentials by Julie C. Meloni. That was the first PHP book I bought, and was really helpful. tyler - Original Message - From: GENESiS DESiGNS [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP] Get row number from mysql

2002-03-13 Thread Tyler Longren
Hello, How can I get the number of the current row, something like this: ? $sql = mysql_query(SELECT * FROM table ORDER BY id DESC); while ($row = mysql_fetch_array($sql)) { $id = $row[id]; $name = $row[name]; print $current_row_number. $nameBr; } ? I can't just use the id field,

Re: [PHP] Re: Get row number from mysql

2002-03-13 Thread Tyler Longren
hmmm, I never thought of that. Thanks for the help. ;-) Tyler - Original Message - From: michael kimsal [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Tyler Longren [EMAIL PROTECTED] Cc: PHP-General [EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 9:57 PM Subject: [PHP] Re: Get row number

[PHP] putting a url in an anchor tag

2002-03-14 Thread Tyler Longren
Hello, I've been playing with this since lastnight. I have a string of text...Example: This is a test string of test, please go to http://www.google.com now. I need something that will catch the http://www.google.com; part, and make into a link instead of just plain text. Does anyone know how

Re: [PHP] Text Editor

2002-03-24 Thread Tyler Longren
If you want a regular text editor, I suggest Textpad or Context. If you want an IDE, I suggest Maguma. Tyler - Original Message - From: Hiroshi Ayukawa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 24, 2002 7:27 PM Subject: [PHP] Text Editor Hello, What text editor

Re: [PHP] MySQL Connection Error - mysql_select_db

2002-03-30 Thread Tyler Longren
I don't think those variables are readable in the function. Not totally sure though. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Patrick Hartnett [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 30, 2002 10:02

Re: [PHP] mail() function.

2002-03-30 Thread Tyler Longren
Actually, that type of stuff is at the top of all e-mails. You'd always see it if you set your e-mail client to show you the headers. So, it may be something with your e-mail client. Can you provide the code you're using to send the e-mail? The mail() part would suffice. Tyler Longren

Re: [PHP] APACHE + SSL + PHP

2002-03-31 Thread Tyler Longren
This isn't a correct apache configure flag: -enablemodule-ssl/so I suggest you use this howto: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html It gives you step by step examples on how to do exactly what you want to. Tyler Longren Captain Jack Communications [EMAIL

Re: [PHP] Has anyone looked at phpinfo today?

2002-04-01 Thread Tyler Longren
hm. I've seen that before by appending something to the end of the url (not sure what though). Tyler - Original Message - From: James Arthur [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 01, 2002 8:46 AM Subject: [PHP] Has anyone looked at phpinfo today? ?

Re: [PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-01 Thread Tyler Longren
) or exit (Error occrued:br$php_errormsg); odbc_close($db); ? Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Dr. Shim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 01, 2002 10:41 PM Subject: [PHP] Variable Appended

Re: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Tyler Longren
You could use a form and have a hidden vield that contains a value. The user would have to click the submit button for the variable/value to carry over though. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Daniel Alsén [EMAIL

Re: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Tyler Longren
That might not be such a good idea then. Tyler - Original Message - From: Daniel Alsén [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Tuesday, April 02, 2002 9:11 AM Subject: SV: [PHP] Passing a variable invisibly via a href? You could use a form and have a hidden vield that

[PHP] reading excel file

2002-04-02 Thread Tyler Longren
way to do it through a web browser. Thanks for any suggestions, Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reading excel file

2002-04-02 Thread Tyler Longren
Thanks Jason, that is a pretty good idea. Any idea how well PHP handles large ammounts of data like that? There'll be about 25,000 lines in every excel file, and they come in groups of 5 or 6. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original

Re: [PHP] New Server, Bad Attitude

2002-04-03 Thread Tyler Longren
to be before php can send e-mails. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Liam Gibbs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 1:47 PM Subject: [PHP] New Server, Bad Attitude My friends

Re: [PHP] MCAL for Windows

2002-04-03 Thread Tyler Longren
I'm not sure if there is a Window version. I checked the MCAL website (http://mcal.chek.com), but they don't seem to have anything for Windows. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Joshua E Minnie [EMAIL PROTECTED

Re: [PHP] Query from POST_VARS

2002-04-03 Thread Tyler Longren
From what I've experienced, you're correct. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: chris allen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 2:00 PM Subject: [PHP] Query from POST_VARS

Re: [PHP] how to make php 4.0 ftp lib work

2002-04-03 Thread Tyler Longren
There is no ftp_connection() function. You're meaning to use ftp_connect(); Read more about it here: http://www.php.net/manual/en/function.ftp-connect.php Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Wo Chang [EMAIL

Re: [PHP] how to make php 4.0 ftp lib work

2002-04-03 Thread Tyler Longren
using php's filesystem functions: http://www.php.net/manual/en/ref.filesystem.php Other than that, I don't any suggestions. Good luck. ;-) Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Wo Chang [EMAIL PROTECTED] To: Tyler

Re: [PHP] request for comments

2002-04-03 Thread Tyler Longren
First thing I noticed: Website looks VERY similar to www.php.net. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Lee Doolan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 7:11 PM Subject: [PHP] request

Re: [PHP] Strange entries in logfiles?

2002-04-03 Thread Tyler Longren
A memory leak in php_smart_str.h maybe? I'm not sure though. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Jason Murray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 11:13 PM Subject: [PHP] Strange

Re: [PHP] PHP on Apache 2.0 -- Does it work?

2002-04-06 Thread Tyler Longren
until the php group releases a new version for Apache 2. ;-) Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Steve Magruder, D2 Director [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 06, 2002 12:52 PM Subject: [PHP

Re: [PHP] What's wrong with php??

2002-04-06 Thread Tyler Longren
It's very possible something went horribly wrong with your entire box when your ps went out. Was is a violent outing (sparks), or was is silent (no sparking or explosions)? I've had violent ps failures really screw up some of my machines before. Tyler Longren Captain Jack Communications [EMAIL

Re: [PHP] PHP .PDF .ZIP ???

2002-04-07 Thread Tyler Longren
-only functions, you could use exec() or system() to zip your files. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Jason Caldwell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 07, 2002 12:57 PM Subject: [PHP] PHP .PDF

Re: [PHP] xml-rpc for windows?

2002-04-07 Thread Tyler Longren
Hi, I think the file you're looking for is located somewhere in the zip file for Windows. At least I've heard it was in php 4.1.0. Good luck, Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: dietrich [EMAIL PROTECTED

Re: [PHP] automatic check if MySQL is running

2002-04-09 Thread Tyler Longren
If you're on a unix box, you could: ps -aux | grep mysql do that from an exec() or system() function. Tyler - Original Message - From: Manu Verhaegen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 8:08 AM Subject: [PHP] automatic check if MySQL is running How

Re: [PHP] Error accessing class

2002-04-12 Thread Tyler Longren
). Good luck, Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: Andrew Schoenherr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 13, 2002 12:54 AM Subject: [PHP] Error accessing class Hello, PHP Version: 4.1.0, Apache

Re: [PHP] redirection

2002-06-05 Thread Tyler Longren
I think that's pretty much your only option. You could use javascript to redirect if you wanted. Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: Renaldo De Silva [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 05

[PHP] days between two timestamps

2002-06-05 Thread Tyler Longren
Hi, I have two different timestamps: 20020603164114 and 20020605054710 Is there a simple way to get the number of days between the two dates? thanks, tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] days between two timestamps

2002-06-05 Thread Tyler Longren
. Holmes [EMAIL PROTECTED] To: Tyler Longren [EMAIL PROTECTED]; php-general [EMAIL PROTECTED] Sent: Wednesday, June 05, 2002 10:09 AM Subject: Re: [PHP] days between two timestamps Since those look like MySQL timestamps, I would suggest you do it in your query. SELECT TO_DAYS(column1) - TO_DAYS

Re: [PHP] Best way to store 1000 char in a database

2002-06-06 Thread Tyler Longren
What do you mean the best way? Do you mean which data type you should give the field? A bit more info please. :-) Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 06

Re: [PHP] Problem with MySQL

2002-06-14 Thread Tyler Longren
you need to put your $myrow in a while loop: while ($myrow = mysql_fetch_array($result)) { $title = $myrow[title]; $videoid = $myrow[videoid]; $catergory = $myrow[catergory]; $appraisal = $myrow[appraisal]; // blah blah blah everything else } Tyler Longren Captain Jack Communications

Re: [PHP] Need help

2002-06-18 Thread Tyler Longren
If you don't have cURL Installed yet, you can get it for Win32 here: http://curl.haxx.se/download.html On Tue, 2002-06-18 at 09:30, Barbara wrote: I want to know how I have to install cURL on my apache server. My apache server is running on Windows ME. Thanks for all. Barbara Guillen. Spain

Re: [PHP] Error Reporing Questions with Mac

2002-06-18 Thread Tyler Longren
Perhaps it was a typo, but parse error on line 1 does state the line number. tyler On Tue, 2002-06-18 at 09:57, Kevin Ruiz wrote: I'm running php 4 on a unix server and am experiencing a problem with error reporting I'm getting on my mac. When I get a parse error it won't tell me what line

Re: [PHP] linux: how can I check if php/mysql is working properly?

2002-06-18 Thread Tyler Longren
Just for future reference, you don't actually need to put the 'echo' before the phpinfo(). Calling phpinfo() by itself will print the desired info. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 18 Jun 2002 15:30:38 -0400 (EDT) Scott [EMAIL

Re: [PHP] php 4.3 and php_pgsql.dll

2002-06-18 Thread Tyler Longren
Why don't you just use 4.2? I wouldn't use 4.3 on a linux box, let alone a windows xp machine. Give it a try with 4.2. If it works, then it is indeed a version conflict. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 18 Jun 2002 21:30:22 -0700

Re: [PHP] increasing max size to upload

2002-06-20 Thread Tyler Longren
Change upload_max_filesize in php.ini to the value you desire. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Thu, 20 Jun 2002 12:12:33 -0400 Anil Garg [EMAIL PROTECTED] wrote: hi, how can i change the maximum size of the file being uploaded

Re: [PHP] display_error=Off in php.ini

2002-06-21 Thread Tyler Longren
Did you restart your webserver after you made the change in php.ini? If you didn't, make sure you restart it now. Restarting your webserver should fix it. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Fri, 21 Jun 2002 12:57:34 -0400 Anil Garg [EMAIL

Re: [PHP] Security problem?

2002-06-25 Thread Tyler Longren
that who's gonna steal your mysql username/password. They can't just say: Download http://yoursite.com/file_with_good_info.php and get the php-source, all they'd get is the HTML source. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 25 Jun 2002 20:46:04

[PHP] Uploading files

2002-06-27 Thread Tyler Longren
/htdocs/cj/aanr/admin/passcode_admin.php on line 146 The $data = line is line number 146. Does anyone seen anything wrong with this? Thanks, -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] forms and files

2002-07-02 Thread Tyler Longren
Hi, I have a form kinda like this: form action=$PHP_SELF?option=Massaction=add method=POST enctype=multipart/form-data input type=file name=passcodeFile the rest of the form is there too. And $PHP_SELF is set to $PHP_SELF = $_SERVER[PHP_SELF] at the top of the page. When I select a

Re: [PHP] forms and files

2002-07-02 Thread Tyler Longren
On Tue, 2 Jul 2002 23:45:56 +0800 Jason Wong [EMAIL PROTECTED] wrote: On Tuesday 02 July 2002 23:34, Tyler Longren wrote: Hi, I have a form kinda like this: form action=$PHP_SELF?option=Massaction=add method=POST enctype=multipart/form-data input type=file name=passcodeFile You

Re: [PHP] Help - I'm New

2002-07-02 Thread Tyler Longren
you must be tired from searching the manual all day for your answer. :) Check here: http://www.php.net/manual/en/install.apache.php There's a section on installing with Win32 -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 2 Jul 2002 17:14:32

Re: [PHP] Stupid install ???

2002-07-09 Thread Tyler Longren
I'll assume you're using Apache. Did you add (or uncomment) the relavent lines in httpd.conf? Check the php installation manual for the lines to add. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 9 Jul 2002 12:02:27 -0500 Hopp3r [EMAIL PROTECTED

Re: [PHP] SQL field problem

2002-07-10 Thread Tyler Longren
I think you want to use group by: SELECT * FROM table GROUP BY kat; -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Wed, 10 Jul 2002 19:40:11 +0200 [EMAIL PROTECTED] wrote: Hello I have a problem with mysql.I create a table with a field kat.In

Re: [PHP] HTTP_USER_AGENT?

2002-07-10 Thread Tyler Longren
It works for you because you have register_globals set to on in php.ini. If you set it to off it won't work any longer. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Thu, 11 Jul 2002 08:07:48 +0530 Balaji Ankem [EMAIL PROTECTED] wrote: It is working

Re: [PHP] need help about this

2002-07-10 Thread Tyler Longren
Table 'book_auth' already exists means that you're trying to create the 'book_auth' table again, even though it already exists. Remove the old 'book_auth' table to create the new one. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Thu, 11 Jul 2002 13

Re: [PHP] php4apache.dll...

2002-07-11 Thread Tyler Longren
, they can probably help you out more. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Thu, 11 Jul 2002 16:22:27 +1000 Peter [EMAIL PROTECTED] wrote: Howdy can any one remember where to get the apache2 ver of php4apache.dll? Cheers Peter the only

Re: [PHP] Table Making

2002-07-11 Thread Tyler Longren
I'm not sure if you can do that because you have to go row by row when writing html, not column by column. I could be mistaken though. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Wed, 10 Jul 2002 22:34:15 -0800 Jason Soza [EMAIL PROTECTED] wrote

Re: [PHP] compiling with mysql

2002-07-11 Thread Tyler Longren
I've never compiled php with the path to mysql. I've done this on lots of different servers, and it always works. I don't know if it's the proper way of doing things, but it does work. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Fri, 12 Jul 2002 10

Re: [PHP] compiling and php.ini

2002-07-11 Thread Tyler Longren
after running the configure script. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Fri, 12 Jul 2002 09:56:52 +0930 (CST) Michael Hall [EMAIL PROTECTED] wrote: I've just compiled PHP 4.2.1 with Apache 1.3.24 on RedHat 7.2. Everything works just fine

[PHP] uploads work sometimes

2002-07-11 Thread Tyler Longren
Hi, I have a form: input type=file name=pdfFile And the code that processes the form: if ($_FILES['pdfFile']['name'] == ) { print You must select a file to upload; } else { // code to add data to db } This works on my server at home (when I select a file to upload, it sees the

Re: [PHP] Apache 2.0 + PHP

2002-07-15 Thread Tyler Longren
In a production environment: no for fun: yes -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 16 Jul 2002 09:13:41 +0930 (CST) Michael Hall [EMAIL PROTECTED] wrote: I've had a hunt through the mail archives but can't find a definite answer

Re: [PHP] PHP 4.3.x..

2002-07-15 Thread Tyler Longren
You could have found the answer to this question right on the front page of php.net. 4.3.x is indeed the current development version. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Mon, 15 Jul 2002 14:00:26 -0230 Kondwani Spike Mkandawire [EMAIL

Re: [PHP] Password in script

2002-07-18 Thread Tyler Longren
It's fine. There's no other way to do it really. Somebody would have to be able to see the source to the php file before they could see the password for mysql. They won't get it just by viewing the webpage that's already been parsed by php. -- Tyler Longren Captain Jack Communications [EMAIL

Re: [PHP] Password in script

2002-07-18 Thread Tyler Longren
. Tyler Longren [EMAIL PROTECTED] wrote: It's fine. There's no other way to do it really. Somebody would have to be able to see the source to the php file before they could see the password for mysql. They won't get it just by viewing the webpage that's already been parsed by php

Re: [PHP] php 4.2.1 and MySQL

2002-07-22 Thread Tyler Longren
Using password: NO. Go into mysql and make sure the username/password haven't been changed and make sure the machine that php is on is allowed to connect to the mysql server. Good luck, -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Mon, 22 Jul 2002 08:32:35

Re: [PHP] PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and 4.2.1

2002-07-22 Thread Tyler Longren
I actually enjoy all the security releases. They give me something to do at work! tyler On Mon, 22 Jul 2002 11:55:31 -0500 (CDT) Greg Donald [EMAIL PROTECTED] wrote: On Mon, 22 Jul 2002, Marko Karppinen wrote: PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and 4.2.1

Re: [PHP] Image upload into database

2002-07-24 Thread Tyler Longren
Are you trying to upload the same image as you did at home? If so, size isn't the problem if you can do it from home. It might be a timeout issue. There might be something in php.ini you can set for timeout. You can specify the max filesize to upload in php.ini also. Good luck, Tyler On

[PHP] pdf to html

2002-07-25 Thread Tyler Longren
Hi, I've been searching around for ways to convert pdf to html. I haven't had much luck. I have a client that has a bunch of pdf's stored in a mysql table. They don't want their users to have to download the pdf file, they want the pdf to be displayed in the web browser all the time. Google

Re: [PHP] Paying Job...

2002-07-25 Thread Tyler Longren
Charge by which ever will get you the most money. tyler On Thu, 25 Jul 2002 11:46:38 -0400 Gerard Samuel [EMAIL PROTECTED] wrote: Basically, someone is looking to get a database driven site built, and Ive never written code for money before. Im looking for advice, as to how the experienced

Re: [PHP] Paying Job...

2002-07-25 Thread Tyler Longren
the worst.? Jesus. Martin Tyler Longren [EMAIL PROTECTED] 07/25/02 11:44AM Charge by which ever will get you the most money. tyler On Thu, 25 Jul 2002 11:46:38 -0400 Gerard Samuel [EMAIL PROTECTED] wrote: Basically, someone is looking to get a database driven site built

Re: [PHP] calculating US holidays

2002-04-15 Thread Tyler Longren
? $month = date(m); $day = date(d); if ($month == 10 $day == 31) { print It's Halloween!; } ? you could do something similar to that. tyler - Original Message - From: Tom Beidler [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Monday, April 15, 2002 2:17 PM Subject: [PHP]

Re: [PHP] viewing get/post variables

2002-04-16 Thread Tyler Longren
You shouldn't have to do anything to php.ini to get that. You should have a variable called $var1 on index.php already. Just: if ($var1 != ) { print $var1; } else { print var1 is empty; } Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original

Re: [PHP] creating table help

2002-04-19 Thread Tyler Longren
I checked the php manual, and there doesn't seem to be a pg_exec function. You'll probably be able to use pg_query instead. But that error makes it sound like pg_exec is a valid function for your version of PHP, maybe it's not in newer versions.

Re: [PHP] Learning PHP

2002-04-20 Thread Tyler Longren
I suggest you buy a book called PHP Essentials by Julie C. Meloni. That's a great book for php beginners. It comes with a bunch of example code. It's really well written. Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: Victor

Re: [PHP] Submit Form

2002-04-22 Thread Tyler Longren
Are you using method=post in your form tag? Sometimes, if you leave that out, some weird stuff will appear in the URL. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: dengach [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday

Re: [PHP] MySQL query

2002-04-22 Thread Tyler Longren
of mysql_query(). It's worth a shot though. Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: Lee P Reilly [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Monday, April 22, 2002 3:07 PM Subject: [PHP] MySQL query Hi, Can someone

Re: [PHP] PHP 4.2.0?

2002-04-22 Thread Tyler Longren
Give em a few minutes. They probably just put the PHP 4.2.0 has been released announcement up on the index page. They may not have put the files up yet. Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: Sebastian A. [EMAIL

Re: [PHP] remove last character in a string

2002-04-22 Thread Tyler Longren
First, you'll need to get the length of the str with the str_len() function. After you have that, use the substr() function like Rasmus mentioned. Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: Craig Westerman [EMAIL PROTECTED

Re: [PHP] remove last character in a string

2002-04-22 Thread Tyler Longren
Yeah, I thought about that and said to myself That's not right. But I had already clicked the Send button and the message was no longer in my outbox. :) tyler - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Tyler Longren [EMAIL PROTECTED] Cc: Craig Westerman [EMAIL

  1   2   3   >