, 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
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
string
.);
}
else {
$tpl-newBlock('message');
$tpl-assign(message,The workers have been deleted from the
project.);
}
If you (or anyone else) know of another way I should be doing this,
please let me know. I'm open to any suggestions.
Best Regards,
--
Tyler Longren
J.D. Web Services, L.C
would be great.
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
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.php#faq.html.select-multiple
I read
what I'm tryin to get
TL at? Any help would be great.
TL Best Regards,
TL --
TL Tyler Longren
TL J.D. Web Services, L.C.
try $_POST['test'][]
or copy it to another array
$test = $_POST['test'];
print_r($test);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
[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
Sorry, should have mentioned that I tried quoting them already. That
gives a T_VARIABLES parse error.
Thanks for the reply,
Tyler
On Mon, 2003-12-22 at 12:30, Sam Masiello wrote:
Perhaps it doesn't like the fact that you don't have quotes around your
array keys?
--Sam
Tyler Longren
Hi Matt,
I put this right above like 871:
print brbr$_POST[domainregister_domain$i]brbr;
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,
.
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
/usr/local/apache/htdocs/UP/index.php on line 871
('$_POST[domainregister_domain$i
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 Longren [EMAIL PROTECTED]; [EMAIL
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
[EMAIL PROTECTED]
CODE
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
, but couldn't
find 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 of
/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 (http://www.php.net/)
To unsubscribe, visit: http
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
by PHP -
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.
I am
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
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 server
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?
Hi,
I was looking through
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 =
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
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
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 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:
?phpinfo(); ?
results in
- 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:\includes.
- 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 current
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:
Just
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 report PHP
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=7029
--
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!?
·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!
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
One of
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 that if someone
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 [EMAIL
$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 given
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
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 of
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 am
: 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, 11 Aug 2002 16:21:07 -0600
RPS Internet [EMAIL PROTECTED] wrote:
My server is getting odd
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
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 one
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 through
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
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
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
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
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
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
, 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
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
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
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
/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
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
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
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
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
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: Thursday, June 06
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
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,
I
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,
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 billing
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
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: [EMAIL PROTECTED]
Sent
Try this thread on phpbuilder.com:
http://www.phpbuilder.com/forum/read.php3?num=4id=6681loc=0thread=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 Jack Communications
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
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 referer.
Tyler Longren
Captain Jack Communications
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
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
the '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 sorting
Is there a way to extract lets say a bunch
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: Thursday, May 09, 2002 12:23 PM
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: [PHP]
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 PROTECTED
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 Message -
From
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. [EMAIL PROTECTED
($file, w+);
fputs($fp, $counter);
fclose($fp);
include($file);
?
Tyler Longren
Captain Jack Communications
www.captainjack.com
[EMAIL PROTECTED]
- Original Message -
From: Antonio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 8:48 PM
Subject: [PHP] file permissions
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
1 - 100 of 275 matches
Mail list logo