t;assign("message","ERROR: There was an error deleting those
workers from the project.");
}
else {
$tpl->newBlock('message');
$tpl->assign("message","The workers have been deleted from the
project.");
}
If you (or anyone else) k
Hi Philip,
strlen() will work.
http://www.php.net/manual/en/function.strlen.php
Best Regards,
--
Tyler Longren
J.D. Web Services, L.C.
On Wed, 2004-01-07 at 01:25, Philip J. Newman wrote:
> can someone point me to the right place for a thing that would count charactors in a
>
t, if no WHERE clause is in the query, then it will
automatically return a 0. As you can see, my query above does have a
WHERE clause. Can anyone help me out?
Thanks!!!
Best Regards,
--
Tyler Longren
J.D. Web Services, L.C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
)part, I get parse errors when trying to read it:
> TL> ex: count($_POST['test[]']);
>
> TL> That doesn't even look right. Anyone understand what I'm tryin to get
> TL> at? Any help would be great.
>
> TL> Best Regards,
> TL> --
> T
me to RTFM
won't help cuz I've red that section. Don't tell me to STFA (search the
fuckin archives???), cuz I've done that also.
Thanks for your understanding!
tyler
On Mon, 2004-01-05 at 22:05, Tyler Longren wrote:
> Hi,
>
> http://www.php.net/manual/en/faq.html.p
the "test" field like this:
count($_POST['test']);
But since I have to have the [] in the name="" ()part, I get parse errors when trying to read it:
ex: count($_POST['test[]']);
That doesn't even look right. Anyone understand what I'm tryin to get
a
d the $i to the outside of the [] and it works now.
Thanks for everyone's input..helped me open my eyes a bit.
Tyler
On Mon, 2003-12-22 at 12:51, John W. Holmes wrote:
> Tyler Longren wrote:
> > Error:
> > Parse error: parse error, expecting `']'' in
> >
Hi Matt,
I put this right above like 871:
print "$_POST[domainregister_domain$i]";
So now that "print" line is 871. It produces the exact same error as
the mysql_query() line.
The reason I'm doin it like this is cuz I'm dynamically generating
forms, and lots of the fields are the same, just wit
type,years,price) VALUES
> >
> ('$_POST[domainregister_domain$i]','$_POST[domainregister_type$i]','$_PO
> ST[domainregister_years$i]','$_POST[domainregister_price$i]')");
> >
> > Anyone know why that parse error is happening?
'$_POST[domainregister_years$i]','$_POST[domainregister_price$i]')");
Anyone know why that parse error is happening? I can't find a missing
"]" anywhere.
Any help would be greatly appreciated.
Thanks,
Tyler Longren
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oblem is that I can't get the results to be printed to my $template,
or $home_tpl. $home_tpl is named home.tpl, and that's where the html code
is that displays the results from worker_projects();
Can anyone help me out here? If you need more info, just let me know.
Tyler Longren
[EMAI
hmmm...perhaps that was it. When I had this issue before, someone told me
to check mysql_affected_rows() when using issuing an UPDATE query. I'll
give that a shot.
Thanks!
Tyler
- Original Message -
From: "CPT John W. Holmes" <[EMAIL PROTECTED]>
To: "Tyler
Hi,
I'm running an UPDATE query on my table. After executing the query, I check
mysql_error() to see if there's any errors:
if (mysql_error() == "") {
// success
}
else {
// failure
}
mysql_error() is always empty even if the query didn't succeed. So it
always thinks it succeeds. I rem
any info that really applies to my question. This isn't exactly a PHP
related question, but php is hugely involved in this project.
Thanks!
Tyler Longren
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the latest stable version of PHP works just fine with Apache 2.0.47.
tyler
- Original Message -
From: "Jonathan Villa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 23, 2003 11:47 AM
Subject: [PHP] PHP5?
> Has anyone installed PHP 5 on Apache 2.0.47? What version o
/tyler/web/upload.php on line 28
And here's line 28:
$data = fread(fopen($_POST['binFile'], "r"), filesize($_POST['binFile']));
Am I doing that correctly? If you need to see more code, let me know.
Thanks everyone!
Tyler Longren
--
PHP General Mailing List (htt
Did you try taking a look at the manual?
Tyler
- Original Message -
From: "Lee Elenbaas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 1:06 PM
Subject: [PHP] Sessions?
> Hi,
>
> I have failed to find the information I am looking for on session
management
> b
why not just make the 'id' field in the table auto_increment?
tyler
- Original Message -
From: "Steve Marquez" <[EMAIL PROTECTED]>
To: "MySQL List" <[EMAIL PROTECTED]>
Cc: "PHP eMail List" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 2:40 PM
Subject: [PHP] Duplicate records
> Hello.
Hi,
I'm going to start encrypting credit cards with the mcrypt functions. I
encrypted the credit cards like so:
$key = 'test';
$cc = "1234567890123456";
$td = mcrypt_module_open ('tripledes', '', 'ecb', '');
$key = substr ($key, 0, mcrypt_enc_get_key_size ($td));
$iv_size = mcrypt_enc_get
The actual name of the variable in that message is display_errors, not
show_error.
tyler
- Original Message -
From: "Tyler Longren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 1:01 PM
Subject: [PHP] What do these errors mean?
&
Default location is:
/usr/local/lib/php.ini
You can also do a:
locate php.ini
Good luck,
Tyler
- Original Message -
From: "Kevin Paz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 1:03 PM
Subject: [PHP] Cannot find php.ini
>
> I've taken over a redhat se
Hi,
I was looking through php.ini and noticed that show_error was set to Off. I
turned it On, and now I see these errors on one of my pages:
Notice: Use of undefined constant option - assumed 'option' in
/usr/local/apache/htdocs/tyler/encodeDecode.php on line 37
Notice: Undefined index: option i
no
tyler
- Original Message -
From: "Daniel Guerrier" <[EMAIL PROTECTED]>
To: "php user group" <[EMAIL PROTECTED]>
Sent: Tuesday, February 18, 2003 4:59 PM
Subject: [PHP] Redirect without header or javascipt
> Is there any to redirect in php with using header()
> and without the use of
Hi,
I have this query:
$decode = mysql_query("SELECT decode(\"$data\", \"$password\")");
It decodes the $data using the $password. How do I go about printing the
result?
Thanks,
Tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yup, still experimental. But from what I've experienced, they work just
fine together. I run Apache 2.0.43 and PHP 4.3.0 together without any
problems what so ever. When you compile php with apache 2, remember to:
./configure --with-axps2
instead of
./configure --with-apxs
tyler
- Original
- Original Message -
From: "Richard A Downing" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 31, 2002 5:54 AM
Subject: [PHP] Missing logos
> I have just installed 4.3.0 with apache2.0.43.
> Running a standard test.php file consisting solely of:
>
>
>
> results in in
- Original Message -
From: "Doug Coning" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 3:26 PM
Subject: [PHP] Multiple forms
> Hi all,
>
> I have an update page that has a form in it.
>
> However, I want to add another form in the same page. My
- Original Message -
From: "Omar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 1:32 PM
Subject: [PHP] problem including a file
> I have an include line in all the php files i write
> something like --> include('connection.inc');
> The include path is d:\inc
latest version is:
4.2.3
not 7.2
tyler
On Wed, 2 Oct 2002 10:36:08 +0800 (CST)
¼ÒÎÄ ·½ <[EMAIL PROTECTED]> wrote:
> thanks.
>
> Can you email me???
>
> _
> Do You Yahoo!?
> "·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!"
> http://cn.ent.yahoo.com/s
You can get it out of this variable:
_SERVER["SERVER_SOFTWARE"]
tyler
On Tue, 1 Oct 2002 20:03:25 -0400
"Alex Shi" <[EMAIL PROTECTED]> wrote:
> Is there any way to report PHP version?
>
>
> --
> ---
> TrafficBuilder Network:
> http://www.bestadv.net/index.cfm?ref=702
yes, that would work much better.
tyler
On Tue, 01 Oct 2002 20:11:21 -0400
Brad Bonkoski <[EMAIL PROTECTED]> wrote:
> Sorry...
> I think:
> http://www.php.net/manual/en/function.phpversion.php
> will be more inline with what you want...
> -Brad
>
> Alex Shi wrote:
>
> > Is there any way to re
Did you even try to find the answer by yourself? You could have found
the answer to this on the PHPTriad(now called Sokkit) homepage:
http://www.phpgeek.com/sokkit/
The answer is listed under "Sokkit Requirements".
tyler
On Tue, 1 Oct 2002 17:19:13 -0500
"Stephen" <[EMAIL PROTECTED]> wrote:
>
How long does the script tend to run before it just "quits"? Perhaps
a timeout is set too low in php.ini.
Take a look at max_execution_time in php.ini
tyler
On Tue, 17 Sep 2002 23:14:46 +0100
Shane Wright <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi
>
You should check to make sure the variable isn't empty. And if it is
put some other name in there (like Bill Clinton).
Cuz if you go to just http://fuckedyourmum.com, you just get:
"fucked your Mum!!!" for text.
Just a suggestion,
Tyler
On Wed, 11 Sep 2002 12:08:03 +1000
"Liam MacKenzie" <[EMA
Try this:
$subdomain = $_SERVER["SERVER_NAME"];
And then get all the text before the first ".".
Tyler
On Wed, 11 Sep 2002 10:55:56 +1000
"Liam MacKenzie" <[EMAIL PROTECTED]> wrote:
> G'day everyone,
>
> I have a dilemma...
> I'm running BIND locally, with a wildcard A record.
> That means tha
$sql = mysql_query("SELECT * FROM table ORDER BY whatever");
echo(mysql_num_rows($sql));
that should do it.
tyler
On Tue, 10 Sep 2002 00:58:26 -0400
"Chuck \"PUP\" Payne" <[EMAIL PROTECTED]> wrote:
> I am wanting to do a count in PHP. I want to be able to count the
> number of records from a g
using exec() or system() will only be able to execute commands on the
machine php is installed on. I sometimes wonder how universities and
broadband isp's do this. I'd be interested in seeing how it works.
Sorry, I'm not much help anymore.
tyler
On Fri, 6 Sep 2002 01:24:07 +0200
<[EMAIL PROTE
This is the greatest php related question I have ever seen.
tyler
On Wed, 28 Aug 2002 15:23:48 -0400
[EMAIL PROTECTED] wrote:
>
> Hey,
> I am on a cable connection...and to connect to the net my provider
> gave me an address where my browser would get automatically
> configured...maybe because
>
> -----Original Message-
> From: Tyler Longren [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 11, 2002 4:15 PM
> To: RPS Internet
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Hacker?
>
>
> block his ip at the router.
>
> tyler
>
> On Sun,
block his ip at the router.
tyler
On Sun, 11 Aug 2002 16:21:07 -0600
"RPS Internet" <[EMAIL PROTECTED]> wrote:
> My server is getting odd request form an outside computer. Upon
> looking into the requests I have found his PHP Config file is point to
> my server as the HTTP_VIA and other vars. I
> Should this be asked in a mysql list ? Please suggest a NNTP server!
You could always take this to the mysql mailing list
[EMAIL PROTECTED]
tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It's called Google Magic.
I don't really know the answer to your question. Google does a lot of
really neat things (like converting pdf to html).
tyler
On Thu, 1 Aug 2002 08:17:35 +0100
"Lord Loh." <[EMAIL PROTECTED]> wrote:
> Google uses php to make a software download and installs it throug
Use apache 1.3.26 and it'll work. Just change the configure line:
./configure --with-mysql --with-apxs=/path/to/apxs
Apache 2 is troublesome.
tyler
On Wed, 31 Jul 2002 17:27:30 -0500
"Kirk Babb" <[EMAIL PROTECTED]> wrote:
> Could somebody help me with this?.I posted yesterday with only on
I'm not sure exactly what you're saying, but it sounds to me like you
didn't configure --with-mysql for the new server. You MUST do that.
./configure --with-apxs=/blah/blah --with-mysql
If you don't have --with-mysql compiled into the php binary, mysql
functions won't work.
Tyler
On Tue, 30 Ju
ichever will screw the client
> 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
>
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 experien
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 h
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 Wed
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.
mysql_connect()
function, it'd say "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
connections only from your server.
>
> 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
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 C
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&quo
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 fi
Hi,
I have a form:
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 filename in $_FILES['pdfF
mmended gets updated
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 o
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
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
the php-dev mailing list, 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 apac
"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]
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&quo
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 wi
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
"
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:
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:
> > > enctype=multipart/form-data>
> >
>
> You really should use &q
Hi,
I have a form kinda like this:
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 passcodeFile file to upload and click the "upload"
button, I am presented with this on the next page:
"You need to specify a fi
resource
in /usr/local/apache/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 (ht
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,
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
"
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 o
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:3
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
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
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.
> S
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
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: Thur
quot;1LT John W. 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,
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
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 PRO
Nope, no way to determine a MAC address through a browser.
tyler
- Original Message -
From: "Tom Beidler" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 12:58 PM
Subject: [PHP] determining where the computer is that posts to a db
> I have a time bi
Try the geektools w hois proxy at www.geektools.com:
http://www.geektools.com/cgi-bin/proxy.cgi
tyler
- Original Message -
From: "Marcel Besancon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 11:38 AM
Subject: [PHP] Not a PHP-Problem ...
> Hi everybody,
>
>
Is the image's location on the server saved in 'FIELD' or is the actual
image saved in 'FIELD'?
tyler
- Original Message -
From: "Félix García Renedo" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 12:08 PM
Subject: [PHP] Show an image
Hello everybody,
Those errors mean that PHP is trying to send headers to the browser after
something has already been made viewable in the browser. Make sure that the
header() functions are being used before anything gets output to the
browser.
Tyler Longren
Captain Jack Communications
www.captainjack.com
Try this thread on phpbuilder.com:
http://www.phpbuilder.com/forum/read.php3?num=4&id=6681&loc=0&thread=6681
One person suggests using fewer headers as windows can be picky about which
headers you're trying to send with your e-mail.
Good luck,
Tyler Longren
Captain Ja
I found this in the PHP FAQ:
http://www.cyscape.com/browscap/
http://www.php.net/manual/en/faq.obtaining.php
Tyler Longren
Captain Jack Communications
www.captainjack.com
[EMAIL PROTECTED]
- Original Message -
From: "Stefan Rusterholz" <[EMAIL PROTECTED]>
To: <[EMA
Is 'Server Error' all you get?
If there's more, please post the whole error message. ;-)
thanks!
tyler
- Original Message -
From: "Paul Cuthbertson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 28, 2002 9:06 AM
Subject: [PHP] Server error when executing mail() function
What kind of information? There's a whole bunch:
Browser
IP
Referer
Check phpinfo();
try
print "$_SERVER[HTTP_USER_AGENT]";
to get the users browser
print "$_SERVER[REMOTE_ADDR]";
to get the users IP
print "$_SERVER[HTTP_REFERER]";
to get the users r
Hi,
Just to prevent a bunch of non-helpful e-mails, I've already RTMF!
Now, to the point. When using the new variables in php 4.2.x, how should I
go about handling my variables?
Should I just _print "$_GET[var]"_ every time I need to print $var to the
screen, or would it be better to just do t
Hi list, it's been a while.
I want to see how many users are online. I store the users $PHPSESSID in a
database field (phpsessid) when they login. When they logout, the
$PHPSESSID value in phpsessid is removed. I could just see how many rows
have something in the phpsessid field, but if a user
'ASC' with 'DESC'.
Tyler Longren
Captain Jack Communications
www.captainjack.com
[EMAIL PROTECTED]
- Original Message -
From: "Cleeker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 9:11 PM
Subject: [PHP] MySQL and sortin
This might help you:
http://www.phpbuilder.com/columns/william19990908.php3?page=1
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
- Original Message -
From: "Thomas Edison Jr." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thu
No, this won't be a problem. I also suggest using a unix timestamp. It's
the easiest way of doing it.
tyler
- Original Message -
From: "Scott St. John" <[EMAIL PROTECTED]>
To: "John S. Huggins" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 07, 2002 8:55 AM
Subject: Re:
Hi Jason,
I'd just get it over with and make first_name and last_name fields in your
table. It will be so much easier to sort by last name that way. I do it
this way everytime. It won't take much time to implement either.
Good luck,
Tyler Longren
Captain Jack Communications
[EMAIL
Copy and paste the parse error into your e-mail. Also, try placing another
"}" at the end of the code. If you're missing a closing bracket somewhere,
that will take care of it.
Tyler Longren
Captain Jack Communications
www.captainjack.com
[EMAIL PROTECTED]
- Original Mes
Hi Antonio,
try this for your fopen():
$file=fopen("counter.txt","r+")
Incase you're interested, here's the code I use whenever I need to use a
simple text-file based counter:
Tyler Longren
Captain Jack Communications
www.captainjack.com
[EMAIL PROTECTED]
---
Just do it like you're installing new. You don't have to remove the old
one, just:
./configure --blah-blah
make
make install
restart apache.
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
- Original Message -
From: "Sebastian A." &l
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 charac
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: "
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 Westerma
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: "Sebast
1 - 100 of 286 matches
Mail list logo