. 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
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
$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
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
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
$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
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
- 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
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
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'
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
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
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
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
$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,
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?
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
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,
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
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]
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
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
?
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
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]
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
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]
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
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
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
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:
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,
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
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
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
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
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
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?
?
) 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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
).
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
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
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
. 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
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
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
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
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
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
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
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
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
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
/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
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
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
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
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
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
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
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
, 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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
?
$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]
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
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.
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
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
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
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
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
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
Because I'm kinda stupid. :)
tyler
- Original Message -
From: Evan Nemerson [EMAIL PROTECTED]
To: Tyler Longren [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, April 22, 2002 10:53 PM
Subject: Re: [PHP] remove last character in a string
Why get strlen involved???
$string
1 - 100 of 275 matches
Mail list logo