Oops -- that was a typo, I did have it On in the last directive.. I was
changing it all around before I sent the email..
On Saturday, September 7, 2002, at 08:45 PM, Jason Reid wrote:
> Change off to on in the last container or omit it if php is
> enabled by default. thats probaly where the
I'm trying to use imagecopyresized to generate a thumbnail image and then
store the image in the proper place, but I'm running into some problems.
I'm using the standard code:
$src_img =
imagecreatefromjpeg("../php/images/".$HTTP_POST_FILES['imagefile']['name']);
if (imagesx($src_img)<$max_widt
I would like to have a dynamic graph of market
indices. Where I can get this data (free and paid).
I have found several applications that grab yahoo
finance data, but I don't think this flies very well
with yahoo.
CBS MarketWatch seems to be quite pricey. Can anyone
recommend a source?
Thanks,
Change off to on in the last container or omit it if php is
enabled by default. thats probaly where the problem is.
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
- Original Message -
From: "Mitch Vincent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, Septembe
Though the manual says it's possible I have bene unable to turn the PHP
engine on and of per *directory*..
Towards the top of the httpd.conf file I have :
Options FollowSymLinks
AllowOverride None
php_flag engine off
Then further down for a directory I need PHP in I have
You have be a little clearer. What do you want to return on true?
a) the card number appears to be numerically valid
b) the card has enough credit left on it to place the order
I'll assume A.
You need to decide what cards are going to be accepted, and look for a class
or set of functions which
on 08/09/02 5:04 AM, M1tch ([EMAIL PROTECTED]) wrote:
> Why not just use IP?
> I created a nice system, whereby if your IP is changed (or someone is
> hacking your session), the session is destroyed, and the user must log in.
> Does not add much overhead either.
large ISPs like AOL use variable
Hi:
is this a bug?
[win98se + apache2.0.40 + PHP4.2.3 + IE6.0]
download1.php:
works well
download2.php:
please pay attention to header("Content-Disposition: ...")
if you click this URL, for example "download2.php?id=1", then click the "save" button,
your browser will suffer a
Can't you make a form?
Lets say you have a lexical database for categories like:
IDNAME
1 Anime
2 Action
etc...
then in the form so:
$row[1]";
}
free_result($result)
?>
This would send to the form action page the numerical representation of
the categoried selected from the drop do
Hi,
I would like to know if there is a way that I can pass on an information
from a pull down menu into a sql query. Right now I have to right a PHP page
for each piece I am wanting to pass on. Example I have a movie database and
now if I want to see what is in my Anime Category that starts with
php-general Digest 8 Sep 2002 01:46:44 - Issue 1572
Topics (messages 115599 through 115634):
Array - Match
115599 by: N. Pari Purna Chand
115601 by: Bas Jobsen
115613 by: Jed Verity
Re: How to set the file premission by using CHMOD?
115600 by: Brad Bonkoski
Can someone please tell me specifically who can answer if
http://www.php.net/manual/en/security.php is based on the most recent PHP
4.2.3? Or are there new bits of information that have not been added to this
chapter, yet?
Vania
_
Vania Smrkovski
Internet Design and Progr
Does it change the IP address while the user is connected? I didn't think
that was possible...
I only use sessions to store username/password and other limited variables,
it's only if they log off and back in again that's they have to log out, and
separate cookies automatically handle the login th
try this:
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "Alex Shi" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, September 07, 2002 11:45 PM
Subject: Re: [PHP] Link for downloading?
> http://www.zend.com/zend/trick/t
Re: Warning: Could not execute mail delivery ¡K
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
On 09/07/2002 06:03 PM, Jeff Lewis wrote:
>> I know it's been posted here several times and I've looked through the
>> archives but I just need something very simple for this. I have a form
>> that already takes in user information but now before accepting the
>> information, I'd like t
Check out http://www.analysisandsolutions.com/code/ccvs-ph.htm
At 05:03 PM 9/7/2002 -0400, Jeff Lewis wrote:
>I know it's been posted here several times and I've looked through the
>archives but I just need something very simple for this. I have a form
>that already takes in user information bu
Hello,
On 09/07/2002 06:03 PM, Jeff Lewis wrote:
> I know it's been posted here several times and I've looked through the archives but
>I just need something very simple for this. I have a form that already takes in user
>information but now before accepting the information, I'd like to pass th
==> [EMAIL PROTECTED] (Noah Spitzer-Williams) ªº¤å³¹¤¤´£¨ì:
> PHP Warning: Could not execute mail delivery program in /htdocs/...
> Any suggestions on how to fix this?
> - Noah
check your php.ini file.
if should be safe_mode = Off
--
[m[1;32m* Origin: LastLoveSong
Hello,
On 09/07/2002 12:55 PM, Kurtis Harper wrote:
> I am serious, I will send a donation (small- I am not a rich man :o) )
> through PayPal, if someone is kind enough to help me out. What I need it
> to create a thumbnail of an uploaded picture. I am not fussy on how the PHP
> script accompl
You could create a scema, or module that is called with each page load, that
checks for messages when the user is logged in. So when the message is
stored into the databace, when the user loads the anypage while logged in it
checks for new messages, and if the user has messages then the window po
Hello, this question is about dynamic communication between browsers.
I have a site to meet people (PHP/Mysql).These people have their
profiles and pictures stored into the site.
I would like to make some kind of chat (very single chat), so when
people log into system, I can trace their nicknames
I'm not sure if what you mean is something like this:
Say, you have a table with 2 columns (1) "id" and (2) "contact". And your
table is populated in this way:
id contact
1 a
2 b
3 c
4 d
5 e
And, let's say that your "id" is auto_incremented. Also, the contacts are
shown ORD
Hello Chandu,
You can use in_array(needle, haystack) for this. For example,
if (in_array("abc",$subs)) {item found, do stuff...}
HTH!
Jed
On the threshold of genius, N. Pari Purna Chand wrote:
>
> I have $sub = "abc";
>
> and
>
> $subs[0] = "cde";
> $subs[0] = "iyu";
> $subs[0] = "abc";
>
At 9/7/2002, you wrote:
>the example I have below.. I'm able to get working using the 'echo' command.
>But I would like to know how to format the same using the 'print' command.
>I am familiar with both. but with this one instance I am not sure how to
>format the print command correctly to get th
Hello,
On 09/06/2002 12:10 PM, Kai Hinkelmann wrote:
> Hi,
>
> we are sending plain-text-emails from php not using the mail-command but
> with port-operations. Everything works fine BUT outlook 2000 eats the
> linefeeds. We tried several things: copying the header from an original
> (functional)
PHP 4.2.3 has been released. It is a maintenance release and includes a
large number of fixes for the previous 4.2.2 version. 4.2.3 is a
recommended upgrade for all users of PHP, and particularly Windows users.
Full list of changes:
- Enabled strcoll() on win32. (Markus)
- Fixed possible ASCI
Dear all:
Until I read the article "PHP Session security"
(http://www.webkreator.com/php/configuration/php-session-security.html)
I haven't noticed how insecure PHP Sessions are.
Basically there're 2 problems:
*) It's possible to hijack a session if you know the
SID (session id)
1) If you
Hi Jay,
MySQL deserves some more respect. It's language is quite potent.
Have you had a look on COUNT()? It is suited well for... well,
counting.
I would like to be able to sum up a collumns values already in
MySQL. The following query will sum up all values of the column
'id':
SELECT @idsu
Dear guru's,
Hit a problem while developing a CMS with php/mySQL. Part of this is a
contact list and this works ok (add/edit/delete with
insert/update/delete queries). Now the client has requested a new
feature: ability to change the order in which the contacts are being
presented in the public p
PHP Warning: Could not execute mail delivery program in /htdocs/...
Any suggestions on how to fix this?
- Noah
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could use a SUB NET (o; to block a group of users ie 202.*.*.* would
kill most of New Zealand and Oz
- Original Message -
From: "Dave at Sinewaves.net" <[EMAIL PROTECTED]>
To: "PHPlist" <[EMAIL PROTECTED]>; "M1tch" <[EMAIL PROTECTED]>
Sent: Sunday, September 08, 2002 8:34 AM
Subject:
Why not just use IP?
I created a nice system, whereby if your IP is changed (or someone is
hacking your session), the session is destroyed, and the user must log in.
Does not add much overhead either.
Also, I built it using database (using my own session functions in
savehandler), that stores the
Huh? I think date() will return different values, but gmdate()
will not, since it returns GM time.
Lallous,
maybe it is something about summertime/wintertime?
Timo
Am Freitag den, 6. September 2002, um 16:36, schrieb Naintara Jain:
> lets say,
>
> ServerOne has TimeZone GMT+2
> ServerTwo
I know it's been posted here several times and I've looked through the archives but I
just need something very simple for this. I have a form that already takes in user
information but now before accepting the information, I'd like to pass the credit card
information to a function and return tr
You're going to be shutting out a lot of AOL users (bah! who needs em! ;p)
if you do that, as AOL changes a user's IP address about as often as you
read the word "the"...
Dave
-Original Message-
From: M1tch [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 07, 2002 12:05 PM
To: [EMAI
I'd start by having a look at Manuel's class at phpclasses.org... called
mimeMial or something...
Justin
on 07/09/02 9:32 AM, josh ([EMAIL PROTECTED]) wrote:
> Hey all
>
> I have seen many tutorials on sending HTML email, and sending email with
> attachments, but have found nothing on sending
Hi Gang,
I am serious, I will send a donation (small- I am not a rich man :o) )
through PayPal, if someone is kind enough to help me out. What I need it
to create a thumbnail of an uploaded picture. I am not fussy on how the PHP
script accomplishes this as long as it works. I tried running Im
Somewhere in an article or the manual it *strongly* advises using in {} not
[] for access of a certain character in a string.
Justin
on 07/09/02 5:34 AM, Robert Cummings ([EMAIL PROTECTED]) wrote:
>
> Some time ago i wrote some code where I used the now deprecated
> form of accessing characte
http://www.zend.com/zend/trick/tricks-august-2001.php
the stuff he does with mime types and headers is all relevant to what you
want to do...
Justin
on 07/09/02 1:56 AM, Alex Shi ([EMAIL PROTECTED]) wrote:
> Thanks for your reply! Still have another question: How to use
> header() to generate
on 07/09/02 1:51 AM, N. Pari Purna Chand ([EMAIL PROTECTED])
wrote:
> $newstr = ereg_replace ("\n", "", $newstr);
Instead, I think you'd have to escape the slash: "\\n"... but it's
irrelevant, because there's a function that does this for you:
$newstr = nl2br($newstr);
Also, you should try to
Sessions are now being registered, but I have a problem unregistering them.
This is the code that I'm using to test it:
kill.php
session_start();
print("ID = ".$_SESSION['id']); //The value is printed
print("PERMISOS = ".$_SESSION['permisos']); //The value is printed
unset($_SESSI
the example I have below.. I'm able to get working using the 'echo'
command.
But I would like to know how to format the same using the 'print'
command.
I am familiar with both. but with this one instance I am not sure how
to format the print command correctly to get the same results as the
ech
Hi Olli,
I think the query string is missing an ";"
Timo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= 4.0.5 && < 4.2.0
if(is_null(($b=array_search($sub,$subs echo 'not found!';
else echo 'found! In $sub['.$b.']';
//or for PHP 4 >= 4.2.0
if(($b=array_search($sub,$subs))) echo 'found! In $sub['.$b.']';
else echo 'not found!';
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubs
man chown
(change ownership) (i.e. chown my_username:my_groupname )
-or-
man chmod
(change permissions)(i.e. chmod uga+w -or- chown 4777
)
-Brad
Bryan wrote:
> Situation:
> I want to create a file to a directory, but the premission denied, how to
> solve this problem by using CHMOD?
>
> Bryan
I have $sub = "abc";
and
$subs[0] = "cde";
$subs[0] = "iyu";
$subs[0] = "abc";
..
..
..
$subs[50] = "xyx";
How to find whether $sub matches with any one of $subs[$i]
I have used a for loop but it is
returning true when $subs[$i] = "xabc".
/Chandu
php-general Digest 7 Sep 2002 11:55:16 - Issue 1571
Topics (messages 115578 through 115598):
Re: Object composition and reference
115578 by: Dan Ostrowski
email with html and images
115579 by: josh
115582 by: Manuel Lemos
Re: php4 w/ apache2 using module
11
i can't visit http://phplib.netuse.de
Dear All
The calendar will be used to see when something is booked and you can assign
messages to it as well which the general user cannot see. In this respects I
have created 2 pages - welcome .php for the general viewer and admin_welcome
for the updating of the calendar.
What I would like to d
Looks good if your keen to shear the code we could have a tinkle with it and
see if we can work it out.
Phil
- Original Message -
From: "Ray Healy (Data Net Services)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 07, 2002 10:11 PM
Subject: [PHP] Enhancement of sc
Dear All
I have recently downloaded a calendar from CST (which is no longer
supported ) and I have made a few changes to the script.
The calendar will be used to see when something is booked and you can assign
messages to it as well which the general user cannot see. In this respects I
have crea
Situation:
I want to create a file to a directory, but the premission denied, how to
solve this problem by using CHMOD?
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
53 matches
Mail list logo