Alex,
You should either use png or jpg rather than gif. The most common builds of
the gd library support those image formats--go to the GD Library site to
find out why. The support of ttf fonts should be taken up with your host.
When testing whether the code in your image creation file works, us
> What I want to do is have the registration form, on submit, check the
> data validity right then, if there is an error, redisplay
> the form with an * next to the field that is incorrect.
This is the code logic rather than the actual working code:
---Start of PHP Page---
1. Check for form h
On Saturday 15 February 2003 04:49, Alex Shi wrote:
> I got following error msg when ran it:
>
>
> Warning: ImageTtfText: No TTF support in this PHP build in
> /home/dotkard/www/current_time.php on line 6
You need to configure/recompile php with TTF support.
> Warning: ImageGif: No GIF support
On Saturday 15 February 2003 05:01, [EMAIL PROTECTED] wrote:
> I have an ecommerce app (MAS200 eBusiness Manager) that works. I am
> updating my
> web site to php frames. Now when I want to connect to the eBusiness
> Manager server
Presumably you mean connect to that app with some php code?
> I g
Hi,
I've installed PHP 4.3.0 on a Win2k (SP3) IIS 5 server, as we were moving
the site to another server (old server was also win2k, php 4.3.0), and ODBC
calls no longer function correctly when served from the webserver, however
they work perfectly when called from the command line.
So http://sit
I am sending both text and HTML. The message I get looks like this:
boundary="=_ec9ac598a5bbb069fd9a696b254780ef"
--=_ec9ac598a5bbb069fd9a696b254780ef
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
TEST MESSAGE WAS HERE
--=_ec9ac598a5bbb069fd9a696b254780ef
Conten
There is a nice piece of software that you should get,
http://ems-hitech.com/mymanager/! It's not free, but you can download a
trial. (I would get it) It is great for building querys across tables.
-Original Message-
From: Zydox [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 11
> What is the syntax to have php redirect to another web site?
http://domain.com/";);
?>
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a problem writing a query that can select a Interest for a specific
user... There are tvo tables, IList and IIndex...
IList contains this :
ID SubID Interest Valid
Edit Delete 1 0 Datorer 0
Edit Delete 2 1 Spel 0
Edit Delete 3 2 Strategi 0
Edit Delete
What is the syntax to have php redirect to another web site?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Friday, February 14, 2003, 10:10:55 AM, you wrote:
F> Does PHP transforms an integer on a string?
F> Like: "78" onto "seventy eight"
F> How does it do it?
Here is a class I started to do that kind of transform
class num_to_text {
var $mode; //NUMERIC CURRENCY
var $words
On 2003.02.15 00:11 Peter Gumbrell wrote:
[...]
$option_block .= "
[...]
Are you sure it's a scope problem ?
You haven't instantiated any $option_block variable when the loop
starts, so you're concatenating a string to a bunch of uninitialized
memory :)
I can't run your script at the moment, so
not tested
> Basically, have the form action call itself hince the recursion.
> Any suggestion/examples?
method="POST">
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok ... here is the sitituation... I am creating a registration form.
What I have so far works ... the user registers using this form and the
form calls another page that will check the validity of the data
(checking for username availability, etc...). If there is an error,
display the error and ha
Hello,
On 02/14/2003 01:56 PM, Mark McCulligh wrote:
If I send a HTML email using either mail() or pear mail to an email account
of someone who is on my email server it does not get delivered right. But
if I send a HTML email to an external email address it is fine. It also
works fine with plain
Here is the string that is being used in this function example. Everything
print except the option_block
// Vendor string
$vendor_string .= <<
Select the vendor of your choice:
$option_block;
EOVS;
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: Friday, Fe
Hello,
I'm looking for a way to do something, not sure if someone can help me.
I would like to be able to "control", in a way, what a remote user is
seeing, almost like running a slideshow.
For example, user goes to website, it shows block of text or picture. I
login to admin area.I click "next"
Exactly where does $option_block get put into $string?
-Kevin
- Original Message -
From: "Peter Gumbrell" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Friday, February 14, 2003 4:11 PM
Subject: [PHP] function problem
> I have a function below which populates a select l
I am trying to figure out the whole XML/XSL thing and am experimenting with
the Gentoo docs which have a simple XSL sheet. I downloaded the XML, XSL
and DTD, and ran the files through the Sablotron module in php using:
$xp = xslt_create();
xslt_set_base($xp, 'file://c:/shared/mywebs/beta/test
I have a function below which populates a select list, based on the query
string and the field name. It then prints a string:
function populate_selects($query_name, $db_field, $link, $string)
{
$result = mysql_query($query_name, $link) or die ("Could not execute
query.");
while ($columns = mysql_f
--- [EMAIL PROTECTED] wrote:
> I have an ecommerce app (MAS200 eBusiness Manager) that works. I am
> updating my web site to php frames.
There is no such thing. Perhaps you mean HTML frames?
> Now when I want to connect to the eBusiness Manager server I get this error:
>
> Unsupported Browser
>
Hi List.
I have been working on a problem that is driving me crazy.
I have to create a process in which I upload some info to a table. Since I
have to add some different information to that table, I decided to do it
like this.
1.I create a temporary table copying the structure of my final table.
At 23:12 14.02.2003, Daniel Negron/KBE said:
[snip]
>have run into a problem now, that every page I have edited has somehow
>corrupted most/all of the and tags. so they look like this
>
> face="ARIAL, HELVETICA">
>
>Now when the page is read it actua
I'm unable to append using imap_append. I can access the account without a problem but
the append fails. Any ideas?
-
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
Hi all,
Slight problem, I have about 200 pages of HTML stored in a mysqlDB. I had
to manually edit some information on EVERY single page. I used MySQL-Front
and edited these pages. All of the tags were correct and I
have run into a problem now, that every page I have edited has somehow
corrup
On Fri, 14 Feb 2003, joe wrote:
>i searched and i tried and i failed. most of the functions dont work in safe
>mode, some didnt do what i wanted (returned the whole drive size instead of
>one directroy) etc.
>my head hurts already and i think i am on the verge on nervous breakdown
>because i have
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Saturday 15 February 2003 03:17, joe wrote:
>
> > now to the point...
> > i need a script. it should work on safe mode php so it should be as
simple
> > as possible.
> > it should calculate all the
forgot somethingwhen try following script in another server I got
500 internal server error.
Alex again
>
> I got following error msg when ran it:
>
>
> Warning: ImageTtfText: No TTF support in this PHP build in
> /home/dotkard/www/current_time.php on line 6
>
> Warning: ImageGif: No GI
I have an ecommerce app (MAS200 eBusiness Manager) that works. I am
updating my
web site to php frames. Now when I want to connect to the eBusiness
Manager server
I get this error:
Unsupported Browser
The browser you are using (PHP/4.2.3) is currently unsupported. Please
update your browser to
Hi, THanks for your reply.
I search the manual and created following script.
I got following error msg when ran it:
Warning: ImageTtfText: No TTF support in this PHP build in
/home/dotkard/www/current_time.php on line 6
Warning: ImageGif: No GIF support in this PHP build in
/home/dotkard/w
--- drparker <[EMAIL PROTECTED]> wrote:
> i need to escape all my apostrophes in values submitted to a mySQL
> database.
http://www.php.net/manual/en/function.addslashes.php
> is there a way i can loop thru all the post variables and replace the
> apostrophes?
Read about the magic_quotes setting
Has anyone used ACT or tried to integrate it with any other applications? I
need some advice, please respond.
Thanks,
Leonard.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Joe, you might try something like this instead of a slow PHP function. I
based it off of a user example on the PHP site. This is tested and I use it
often for various purposes. I think it may be ideal for you becuase it is
extremely fast. Requires Linux though I'm certain there's an equivilant
php-general Digest 14 Feb 2003 20:31:09 - Issue 1883
Topics (messages 135563 through 135599):
What's the proper way to open a file? File access permissions?
135563 by: Dunkel
135594 by: Jason Wong
php4ts.dll
135564 by: Kristyna Tuckova
135580 by: Philip Olson
i need to escape all my apostrophes in values submitted to a mySQL
database. i know how to do the string replace, but is there a way i can
loop thru all the post variables and replace the apostrophes? if so, do
i need to refer to my variables like "$_POST[$variable]" instead of
simply "$variable"
On Saturday 15 February 2003 03:17, joe wrote:
> now to the point...
> i need a script. it should work on safe mode php so it should be as simple
> as possible.
> it should calculate all the file sizes in the directory that it is in and
> in the subdirectories also (only 1 level subdirectories). i
Don't know if they have one, but you could try
http://www.thinkgeek.com/
Anthony Ritter wrote:
Jason Wong wrote in message:
Try the mysql website or the mysql list?
.
Yep. I went to the mysql site and they didn't have any promo material like
t-shirts, visors
Jason Wong wrote in message:
> Try the mysql website or the mysql list?
.
Yep. I went to the mysql site and they didn't have any promo material like
t-shirts, visors, etc.
My news server doesn't have any mysql newsgroups. SQL - yes - but not
mysql.
There was a shop
hi
first of all i think this is a great community here :)
now to the point...
i need a script. it should work on safe mode php so it should be as simple
as possible.
it should calculate all the file sizes in the directory that it is in and in
the subdirectories also (only 1 level subdirectories).
On Friday 14 February 2003 16:36, Dunkel wrote:
> How do I ensure that all file access permissions are allowed? What is
> the proper way to do it?
>
> - I tried to 'fopen' an existing text file but got "Permission denied"
> error.
> - I tried different parameters, same error
> - I tried to use 'ch
jpgraph professional license???
other FREE idea???
Jason Wong wrote:
On Saturday 15 February 2003 02:35, Lucas Lain wrote:
I am thinking in making some statistics graphics in php ... is there any
library that i can use?
thanks
jpgraph
--
Lucas Lain
[EMAIL PROTECTED]
--
PHP General Ma
On Friday 14 February 2003 22:57, Anthony Ritter wrote:
> My guiding season begins in April.
>
> Anybody out there know where I can purchase a nice mysql dolphin t-shirt?
Try the mysql website or the mysql list?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software System
On Saturday 15 February 2003 02:35, Lucas Lain wrote:
> I am thinking in making some statistics graphics in php ... is there any
> library that i can use?
> thanks
jpgraph
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * I
On Friday 14 February 2003 16:15, Michael P. Carel wrote:
> i've already installed gd but still recieving
> Fatal error: Call to undefined function:
> imagecreatefromjpeg() .
You need to configure --with-jpeg-dir.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Sy
Alex,
Easy to do what you want. Check out the "image" functions in the php
manual. There are some font limitations, specifically dealing with
alternate characters, but you'll find out what works and what doesn't soon
enough.
Hugh
- Original Message -
From: "Alex Shi" <[EMAIL PROTECTED]>
I am thinking in making some statistics graphics in php ... is there any
library that i can use?
thanks
L.L.
--
Lucas Lain
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I am thinking to create php script to dynamically convert a text string to
image. My questions are:
1. with a given text string, say "hello, world", is it possible to
dynamically
convert it to an image? and what php built-in functions can be utilized?
2. if I want to use true-type verdana
It transforms 78 into "78".
Francisco wrote:
Does PHP transforms an integer on a string?
Like: "78" onto "seventy eight"
How does it do it?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the l
Does PHP transforms an integer on a string?
Like: "78" onto "seventy eight"
How does it do it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yeh, I'd totally agree with this. Smarty is fantastic
The best one imho in PHP is Smarty.
> I'd rank it up there with Template::Toolkit. Take a look:
>
> http://smarty.php.net/
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I send a HTML email using either mail() or pear mail to an email account
of someone who is on my email server it does not get delivered right. But
if I send a HTML email to an external email address it is fine. It also
works fine with plain text email, only if you send a HTML format email.
I h
you could try the phplib libraries (which as well as authentication
implement other things such as database abstraction and templates) There is
some overhead involved in getting up to speed with phplib but there is a lot
of help out there (in the form of articles, email list etc..) I found phplib
v
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
Suse 8.0, ucdsnmp-4.2.3-145, tried both php-4.1.2 and 4.3.0, compiled
from source, snmp support enabled.
bash# snmpget 1.2.3.4 "communitystring" .1.3.6.1.2.1.2.2.1.1.2
interfaces.ifTable.ifEntry.ifIndex.2 = 2
But if I try the following lines:
Read this faqt:
The PHP4TS.DLL file is linked to missing export
OLEAUT32.DLL:77 - Please help!!!
---
http://www.faqts.com/knowledge_base/view.phtml/aid/15670/fid/30
If you happen to be using Win95, don't, because PHP does
not s
http://www.devshed.com/Server_Side/PHP/Logging/page1.html
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=php+logging
olinux
--- Daniel Guerrier <[EMAIL PROTECTED]> wrote:
> Can someone direct me to a tutorial or provide
> insight
> on how to track site vistors usage.
> This would in
Can someone direct me to a tutorial or provide insight
on how to track site vistors usage.
This would include
Number of visits boken down by page
Average time spent per visitor
Total page views and Unique visitors.
Thanks
__
Do you Yahoo!?
Yahoo! S
Hi all,
Anyone having trouble mailing this list. I can send
mail within Yahoo mail but not from Evolution it
seems.
I wondered if the list is being tempremental or
whether it is a local problem for me.
Jono
__
Do You Yahoo!?
Everything you'll
me too...
John Nichel wrote:
Could one of the admins of this list take this email address off?
Everytime I send an email to the list, I get one of these. Thanks.
Original Message
Subject: Delivery Status Notification (Failure)
Date: Fri, 14 Feb 2003 08:01:31 +0100
From: [EMAI
Hi all,
I am just learning about XML and I was just wondering
how mcuh you guys use it. Also what kind of things do
you use it for?
Jono
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
Could one of the admins of this list take this email address off?
Everytime I send an email to the list, I get one of these. Thanks.
Original Message
Subject: Delivery Status Notification (Failure)
Date: Fri, 14 Feb 2003 08:01:31 +ACs-0100
From: postmaster+AEA-belair.nl
To: jnic
My guiding season begins in April.
Anybody out there know where I can purchase a nice mysql dolphin t-shirt?
Thank you.
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I need a way to interface php with myob, is it possible?
--
---
JJ Harrison
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I have a problem. Here is code:
p1 = $p1;
$this->p2 = $p2;
}
function getP1() {
return $this->p1;
}
function setP1($p1) {
$this->p1 = $p1;
}
function getP2() {
return $this->p2;
}
function setP2($p2) {
$this->p2 = $p2;
}
function toString() {
return "p1=" . $this
What is the most secure way to access a mysql db with a php script? And
could someone provide an example? What are the best password practices for
the script to connect to the mysql db? Also, how should I set the directory
permissions for the html pages with php scripts?
___
Hiya,
Perhaps I don't mean threads!
Basically I have a PHP script which is in a website, and runs when a
certain input is recieved and it is quite complicated, and may take quite a
time to finish, as it will be sending quite a few emails. The emails do not
have to be sent straight away, an
Mike --
...and then MIKE YRABEDRA said...
%
% I want to be able to encrypt a block of text using a passphrase. Then when I
% get the email, I just need to unlock it using that passphrase (no keys...i
% think).
Then it has nothing to do with GnuPG. Not only did you hijack this
thread, your subje
Thomas --
...and then Thomas Moore said...
%
...
% showMasterCategories($year, $model_id, $syear_model_id, $keyword, $make_id,
% $display_mode, $catid)
% {
% $category_array2[$i] = getParent($category_id, $year_model_id, $i, $catid);
% }
%
%
% function getGrandParent($cat_id, $year_model_
"Darren Young" <[EMAIL PROTECTED]> wrote in message
000e01c2d3b3$a88217e0$[EMAIL PROTECTED]">news:000e01c2d3b3$a88217e0$[EMAIL PROTECTED]...
>
> I'm looking around for some options on using templates with PHP. I've
> used several Perl solutions in the past, but never tried it in PHP.
> Digging on t
Given that I have a GMT offset via the select box below, how the hell do
I turn that into a symbolic link to one of these files? How do I know
which file to link too?!!! UGH. This is such a stupid way to set the
timezone, why didn't RedHat just have a file with the offset in it?
Something like "ech
__
> Od: Gabor Hojtsy <[EMAIL PROTECTED]>
> Komu: Kristyna Tuckova <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> Datum: Thu, 13 Feb 2003 23:24:18 +0100
> Předmět: Re: php4ts.dll
>
> Please direct such questions to [EMAIL PROTECTED]
>
> G
Hello all!
How do I ensure that all file access permissions are allowed? What is
the proper way to do it?
- I tried to 'fopen' an existing text file but got "Permission denied"
error.
- I tried different parameters, same error
- I tried to use 'chmode', same thing
Same thing with different ser
php-general Digest 14 Feb 2003 08:12:29 - Issue 1882
Topics (messages 135511 through 135562):
Re: problems with cookies and PHP
135511 by: Rick Emery
135514 by: Bryan Lipscy
sososoosos
135512 by: Luis A
135513 by: Leif K-Brooks
135516 by: Tim Thor
i've already installed gd but still recieving
Fatal error: Call to undefined function:
imagecreatefromjpeg() .
- Original Message -
From: "Michael P. Carel" <[EMAIL PROTECTED]>
To: "Kevin Waterson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 14, 2003 3:45 PM
Subject: R
Never mind. Apparently I can't tell the difference between a capital
and a lowercase B. time to crash methinks.
leo
On February 13, 2003 11:59 pm, Leo Spalteholz wrote:
> I just ran into a somewhat strange problem with an include failing.
> I have the following in my script:
> include(dirname(
74 matches
Mail list logo