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
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
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.
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
?
$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]
).
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
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
-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
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
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
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
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
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
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
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
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
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:
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
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
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
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]
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'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
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
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]
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,
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
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
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
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'
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
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
I don't know if this was mentioned but you can do it all in MySQL with the
password() function.
Ex:
INSERT INTO users (username,password) VALUES ('tyler',PASSWORD('testpass'));
Also:
SELECT * FROM users WHERE username='$username' AND
password=PASSWORD('testpass');
Good luck,
Tyler Longren
Are you sure that isn't a custom function in your code (assuming you're
using somebody else's code)?
It could be an alias to: mysql_db_query()
It has the same handlers, ex:
$rez=mysql_db_query($dbname,$query);
Tyler Longren
- Original Message -
From: Dennis Moore [EMAIL PROTECTED
Hello,
I did this once with ping:
exec(ping -c $count $host, $result);
for ($i=0; $i count($result); $i++) {
$data .= $result[$i]br;
}
print $data;
That might work for ya.
Good luck,
Tyler Longren
- Original Message -
From: Daniel Masur [EMAIL PROTECTED]
To: [EMAIL PROTECTED
Hi Bill,
I don't believe there are any.
Tyler
- Original Message -
From: bill [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 05, 2001 1:42 PM
Subject: [PHP] xml header
What is the proper header to send when presenting dynamic xml pages to
the browser?
--
/apach2/bin/apxs --with-mysql
do this:
./configure --with-mysql
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
- Original Message -
From: John Kolvereid [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 06, 2001 12:24 AM
Subject: [PHP] PHP
Everything looks good to me...try this:
$result = mysql_query(UPDATE table SET value1='$value1',value2='$value2'
WHERE id='$id');
Although I doubt MySQL cares if certain words are capitalized.
Good luck though,
Tyler Longren
- Original Message -
From: Greg Sidelinger [EMAIL PROTECTED
I believe you're correct Martin. I think newer versions of MySQL
automatically strip them out. Just use php's stripslashes() and
addslashes() functions when you need them.
Good luck Steve,
Tyler Longren
- Original Message -
From: Martin Towell [EMAIL PROTECTED]
To: 'Steve Cayford
I'm not sure, but I'd check the Error level settings in php.ini. It might
be set to display stupid little warnings like this.
Good luck,
Tyler Longren
- Original Message -
From: Andy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 30, 2001 1:37 PM
Subject: [PHP
You've got too many parameters in the mysql_connect() and mysql_select_db()
functions. You don't need the %s stuff. Here's what it should be:
$conn = mysql_connect($connectie,$uid,$pwd);
mysql_select_db($database,$conn);
Good luck,
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED
Hi Mike,
If you installed from source (and didn't use the --prefix= option), PHP
should have been installed in /usr/local/lib/php, not /usr/local/bin/php.
If it truly is missing, just reinstall.
Good luck,
Tyler Longren
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
the '#' at
the beginning of the line. If those lines don't exist, add them. Save
httpd.conf, then restart apache. It should work then.
Good luck,
Tyler Longren
- Original Message -
From: Hai Nguyen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 29, 2001 6:35 PM
Subject: [PHP] help php
Hi Joel,
You could do the --with-mysql=/path/to/mysql. But you could also
do --with-mysql. I usually just do --with-mysql and it all works prefectly.
Good luck!
Tyler Longren
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 28, 2001 7:24 PM
-else
Good luck,
Tyler Longren
--
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]
Set up a crontab that uses wget to hit that page everyday at midnight.
You should use the flag in wget that tells it to delete the page that it
downloads. I use that method sometimes.
Tyler
- Original Message -
From: Gab [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November
/packages/devel/php-4.0.6/sapi'
make: *** [all-recursive] Error 1
Know how to fix/why that happens?
Thanks,
Tyler Longren
- Original Message -
From: Vincent Stoessel [EMAIL PROTECTED]
To: Jobarr [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, November 17, 2001 9
Hello everyone,
I have a pretty big list of codes that need to be put into a mysql db. The
numbers range from 100 to 1223109. Here's the PHP I wrote to put these
codes into a database:
?
$connection = mysql_connect(blah,blah,blah);
$db = mysql_select_db(db_to_use, $connection);
$value1 =
to, I'll do this in PERL,
but would much rather do it in PHP.
Thanks everyone,
Tyler
- Original Message -
From: Evan Nemerson [EMAIL PROTECTED]
To: Tyler Longren [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, November 12, 2001 9:41 PM
Subject: Re: [PHP] for loop problem?
My word why all
...
Martin T
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 2:53 PM
To: Evan Nemerson; [EMAIL PROTECTED]
Subject: Re: [PHP] for loop problem?
To everyone that said it had something to do with the quotes:
that has nothing to do
and others can run your exact copy
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 11:22 PM
To: Martin Towell; [EMAIL PROTECTED]
Subject: Re: [PHP] for loop problem?
I removed all of the quotes that could be affecting it. Still, it loops
, here I come perl!
Thanks,
Tyler
- Original Message -
From: Jack Dempsey [EMAIL PROTECTED]
To: Tyler Longren [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, November 12, 2001 10:43 PM
Subject: RE: [PHP] for loop problem?
ran it (without mysql queries) and worked finereal strange
|P100
82145 |P100
209398 |P100
Shouldn't the ID's be further apart than that? Know what I'm saying?
Tyler
- Original Message -
From: Martin Towell [EMAIL PROTECTED]
To: 'Tyler Longren' [EMAIL PROTECTED]; Jack Dempsey
[EMAIL PROTECTED]
Cc: PHP-General [EMAIL
---
1 |P100
82145 |P100
209398 |P100
Shouldn't the ID's be further apart than that? Know what I'm saying?
Tyler
- Original Message -
From: Martin Towell [EMAIL PROTECTED]
To: 'Tyler Longren' [EMAIL PROTECTED]; Jack Dempsey
Hello list,
I tried to compile apache 2.0.16 with php 4.0.6. Here's my ./configure line
for apache:
./configure --prefix=/usr/local/apache2 --enable-module=so
And here's my ./configure line for PHP:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --disable
-debug
It might just be your browser. I've viewed png's in IE before and it tried
to make me download them instead of displaying them.
Tyler
- Original Message -
From: Luz Lopez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 31, 2001 12:38 AM
Subject: [PHP] show png in the
application/x-httpd-php-source .phps
That tells apache to parse .php and .php3 files. The .phps files will
show the syntax highlighted version of the code.
Good luck,
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Wed, 31 Oct 2001 17:22:47 +1300
J W W L
Hi Mark,
I don't think you can download an entire directory at once. You'll probably
have to get a directory listing, and download each file in that directory.
I'm not sure though.
Good luck,
Tyler
- Original Message -
From: Mark Lo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
are appreciated...thanks,
Tyler Longren
--
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]
Hello all,
Does anyone know of any javascript that will display scrolling news? I'd
like to manipulate this js code with php so it can display whatever's in the
database.
Thanks everyone,
Tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
print $HTTP_USER_AGENT;
will print the browser the person is using.
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
- Original Message -
From: wm [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 25, 2001 5:54 PM
Subject: [PHP] browser
. How do you people usually go about doing percentages?
Thanks,
Tyler Longren
--
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]
Thanks for that. Assigning a type to that variable never even occured to
me. :-)
Tyler
- Original Message -
From: Matt Greer [EMAIL PROTECTED]
To: Tyler Longren [EMAIL PROTECTED]; PHP-General
[EMAIL PROTECTED]
Sent: Saturday, September 22, 2001 4:52 PM
Subject: Re: [PHP] percentage
Hello,
I tried using the ceil() and floor() functions. They did not help much.
Ceil() set everything to 1%. I tried this:
$percent = $num_games/$total_games;
$percent = round($percent, 1);
But again, some of the percentages are:
0.7%
I also tried assigning the $percent variable the int
,
Tyler Longren
--
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]
Well, if you're just doing this with an anchor tag:
a href=mailto:[EMAIL PROTECTED]?subject=TheSubject;Mail me/a
If you're looking for php's mail function, look at www.php.net.
Tyler Longren
[EMAIL PROTECTED]
Captain Jack Communications
www.captainjack.com
- Original Message -
From
That will stop fread from producing errors. So, if you don't want to see
any error's from fread, put a in front of it. This can also be done
with other functions:
$db = mysql_select_db(dbname);
Tyler Longren
On Sat, 25 Aug 2001 15:03:49 +1000
GaM3R [EMAIL PROTECTED] wrote:
can anyone
IIS is the web server software that comes with WindowsNT/2000.
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Wed, 22 Aug 2001 19:22:16 +0430
nafiseh saberi [EMAIL PROTECTED] wrote:
hi.
what is IIS?
thanks.
--
PHP General Mailing List (http
Well, it's not a good idea to put something (like an echo) before a
header()...even for testing because that will prevent the header() from
working at all. You should have gotten an All headers have been sent or
some similar error.
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED
, and chmod +x it:
#!/usr/local/lib/php/bin/php
$connection = mysql_connect(localhost,user,pass);
$db = mysql_select_db(db_to_use, $connection);
$sql = mysql_query(UPDATE table SET name='name', email='email');
Then do ./test.php from the command line.
--
Tyler Longren
Captain Jack Communications
You could use str_replace().
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Mon, 20 Aug 2001 20:15:54 +0200
Jens [EMAIL PROTECTED] wrote:
When I use Javascript with PHP i run into one problem. When I get the
data i
need from the database it often has
header(Location: http://location.com/blah.php;);
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Mon, 20 Aug 2001 13:56:25 -0500
RoyW [EMAIL PROTECTED] wrote:
Hi,
I am sure there is an easy way to do this...
But when my script is done doing
Well, what's the error?
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Fri, 17 Aug 2001 15:57:13 +0200
Dennis van Zanten [EMAIL PROTECTED] wrote:
I wanna do this Insert:
INSERT INTO sysdba_product_link VALUES ('','Y4DHVA0Q','CV/
Boiler','','010
addslashes() might help you.
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Fri, 17 Aug 2001 17:16:18 +0200
Dennis van Zanten [EMAIL PROTECTED] wrote:
It's MYSQL I allready have located the problem but I still doesn't have
a
sollution?
The problems
$string = Hello everyone!brHow are you today?;
$result = str_replace(br, br/, $string);
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Fri, 17 Aug 2001 17:40:07 +0200
Jan [EMAIL PROTECTED] wrote:
Hi out there!
I have got a problem with PHP's
the $HTTP_USER_AGENT variable will be of some use to you.
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Fri, 17 Aug 2001 16:14:40 -0500
Christopher Raymond [EMAIL PROTECTED] wrote:
PHP Folks:
Does PHP provide some mechanism for browser detection
[name];
// code to send email (use the mail() function)
}
Good luck,
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Thu, 16 Aug 2001 18:29:04 +0200
Jimmy Bäckström [EMAIL PROTECTED] wrote:
Hi list!
I'm about to write an application that takes about
101 - 200 of 275 matches
Mail list logo