Hi there,
I am running PHP 4.3 something or other, I have enabled php_gd.dll and
php_gd2.dll, pointed the extension directory to the right place, looked at
the phpinfo and it has the correct information about the gd's being enabled,
I have tried reintalling apache and php...but still get errors
I have installed Apache 2.0.47 and php 4.3.2 in Windows 98. Downloaded the
php in the .zip format.
The Apache server works properly without the inclusion of php.
The problem is apache dosent even start with php in the SAPI mode,it gives a
error stating that:
One of the device attached to the
php-general Digest 12 Jul 2003 13:57:23 - Issue 2171
Topics (messages 154943 through 154955):
Re: Private and protected variables in PHP 5?
154943 by: Greg Beaver
Couple of questions form a PHP newbie
154944 by: Jason Giangrande
154945 by: Jonathan Villa
Hello Michelle-
a) Only enable one GD dll, so use php_gd2.dll.
b) Consider using imagecreatetruecolor() instead but
either will work.
c) When asking support questions, it's important to
say exactly what version, although in this case
we know it's 4.3.0-1 as php_gd.dll was removed in
Here's a faq:
http://www.faqts.com/knowledge_base/view.phtml/aid/15670/fid/30
You need to upgrade your old DCOM.
Regards,
Philip
On Sat, 12 Jul 2003, Arun wrote:
I have installed Apache 2.0.47 and php 4.3.2 in Windows 98. Downloaded the
php in the .zip format.
The Apache server works
John wrote:
I need to match a pattern, not in a single-line but from a HTML page, which
obviously has loads of lines. I need to match 2 lines from this HTML page:
1) HTMLTITLEFirstVariable - Second Variable/TITLE/HTML
2) TABLETDTR(newline)
ThirdVariable/TR/TD/TABLE...
I tried this code:
1)
Is it possible to check a file in $_FILES['userfile']['tmp_name'] to
make sure it is of a certain format? I want to allow a user to only
upload jpegs or mpegs, and want to check what format the file is in.
Thanks in advance,
Dan Anderson
--
PHP General Mailing List (http://www.php.net/)
To
I am running a script which accepts uploaded files in safe mode. Is
there a way to get rid of all files stored in /tmp using PHP or do I
need to run a cron jobbed script to delete files of the form php*?
Thanks in advance,
Dan Anderson
--
PHP General Mailing List (http://www.php.net/)
To
On Sunday 13 July 2003 01:24, Dan Anderson wrote:
Is it possible to check a file in $_FILES['userfile']['tmp_name'] to
make sure it is of a certain format? I want to allow a user to only
upload jpegs or mpegs, and want to check what format the file is in.
If on un*x you can use the 'file'
On Sunday 13 July 2003 01:26, Dan Anderson wrote:
I am running a script which accepts uploaded files in safe mode. Is
there a way to get rid of all files stored in /tmp using PHP or do I
need to run a cron jobbed script to delete files of the form php*?
Uploaded files should automatically be
Hi.
I've a script to download a file. The script adds the 1st byte 0x0A to the
downloaded file no matter what I do:
if ($file = fopen($path, 'rb')) {
while(!feof($file) and (connection_status()==0)) {
print(fread($file, 1024*8));
flush();
}
}
Even, when I comment
Uploaded files should automatically be purged when script ends. What are you
trying to do?
A...thank youI didn't realize they were deleted when the script
ended.
-Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there again.
Sorry for reposting, did not realize outlook express put News.Verizon.Net
on the From field.
I've a script to download a file. The script adds the 1st byte 0x0A to the
downloaded file no matter what I do:
if ($file = fopen($path, 'rb')) {
while(!feof($file) and
[confirm: d4f4e96b28db80982ba1cdf3572dbcee [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey all
Im using PHP running as chat bot and running on Linux.
I really need use relay message between two PHP that running on same time.
(multiple PHP running on one server)
Is it possible that PHP running connect or value message to other PHP
running?
Thanks :)
--
PHP General Mailing List
Hi there.
I had to use ob_clean() function to discard the contents of the output
buffer which had this byte 0x0A.
Thank you,
Alex.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Sorry if this is frowned upon, but my company is looking for another
PHP developer, and I figured I'd post the job ad here. We haven't had
much luck finding PHP people in the past so I was hoping maybe I'd
catch some eyes of people who maybe aren't necessarily actively
looking for a new job.
How can we connect microsoft access database(*.mdb) or excel(*.xls) with
php?
What are the codes which achieve this?
_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
Hi Philip,
Thanks for your response, I tried those steps, still no go, getting that
same error
Philip Olson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello Michelle-
a) Only enable one GD dll, so use php_gd2.dll.
b) Consider using imagecreatetruecolor() instead but
Hello,
I need some advice on getting PHP 4 up and running on my Windows 2000
Professional. I have followed all of the instructions in the installation
file, but when I try to run a PHP as a batch from the command prompt, all I
get is the file listed. Help!
John A. Thomason
[EMAIL PROTECTED]
I have written this function to rewrite the contents of a text file
after it's been updated. I store lines of data in an array and then
implode them into one string. The problem is that I'm getting an extra
line break (in other words a blank line is showing up in my text file)
after I modify a
If you're using a windows platform, an easy way out is using ODBC.
Besides that there are a few classes out there, but I've not found any
that were good enough, or they were commercial.
//Simon
Pehepe Php wrote:
How can we connect microsoft access database(*.mdb) or excel(*.xls) with
php?
John A. Thomason wrote:
Hello,
I need some advice on getting PHP 4 up and running on my Windows 2000
Professional. I have followed all of the instructions in the installation
file, but when I try to run a PHP as a batch from the command prompt, all I
get is the file listed. Help!
John A. Thomason
Hello,
On 07/11/2003 08:47 PM, Juan Nin wrote:
I want to know if anyone knows about a good mailing list manager that has
got a PHP administration frontend
I've found many PHP scripts for sending newsletters and announcementes, but
that's it's not what I want
I want a system like Mailman, Sympa or
Hi,
I use Nusphere, it has PHP, MySql and Apache and I use it for non-production
only!
There is also a program out there called phptriad to.
Haplo
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: John A. Thomason [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, July
Never mind everyone, I figured it out. In this line:
$data_line = implode($separator, $data_array).\n;
I was adding a newline when I didn't need too.
Jason
On Sat, 2003-07-12 at 17:03, Jason Giangrande wrote:
I have written this function to rewrite the contents of a text file
after it's
This is for a very inefficient skin script I'm writing; the CMS I am using
is based in PHP but generates static files, so in order to change skins I am
opening the page in question and loading it into $url. From there I do an
ereg and take out what I need. The script itself can be found:
Quiller wrote:
You can certainly do this with regular expressions, rewriting
your source file.
Why don't you just use Smarty templates and be over with it?
_justin
This is for a very inefficient skin script I'm writing; the CMS I am using
is based in PHP but generates static files, so in
The following is my output in the command prompt window(DOS Prompt?)
C:\PHPhello.php
Content-type: text/html
X-Powered-By: PHP/4.3.2
!#C:\php\;
echoHello World!;
if ($foo):
echo yep\n;
elseif ($bar):
echo almost\n;
else:
echo nope\n;
endif;
phpinfo();
C:\PHP
And the following is the PHP code to
you can only TOUCH a file that you own. Usually PHP is *nobody*. Is there a
way for a script to create a file on the web server?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.498 / Virus Database: 297 - Release Date: 7/8/2003
I'm wondering if there is a way to have your php development files in
another directory other than htdocs when using apache. Similar to the
virtual directories IIS uses.
I have a dedicated hard drive for all of my development files seperate from
the drive apache is on. I do work in Cold Fusion
I am reading PHP and MySQL web development 2nd edition book. Chapter 6 talks about
displaying dynamic web content using class objects. For the type of project that I am
building, this is not optimal. How do I keep my self from having html mixed with my
PHP code? In other words how do I
php-general Digest 13 Jul 2003 02:10:15 - Issue 2172
Topics (messages 154956 through 154984):
Re: imagecreate() error
154956 by: Philip Olson
154971 by: Michelle Bernard
Re: Configuration Problems
154957 by: Philip Olson
Re: REGULAR EXPRESSION HELP
154958
Yes, create a temp directory like this -rw-rw-rw- 1 nobody nogroup
-Original Message-
From: Paul O'Neil [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 12, 2003 5:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP] touch file on shared web server?
you can only TOUCH a file that you own.
Dan == Dan J Rychlik [EMAIL PROTECTED] writes:
Dan I am reading PHP and MySQL web development 2nd edition book.
Dan Chapter 6 talks about displaying dynamic web content using
Dan class objects. For the type of project that I am building,
Dan this is not optimal. How do I keep
Dan == Dan J Rychlik [EMAIL PROTECTED] writes:
Dan I am reading PHP and MySQL web development 2nd edition book.
Dan Chapter 6 talks about displaying dynamic web content using
Dan class objects. For the type of project that I am building,
Dan this is not optimal. How do I keep
hmm.. ill have a look. Thanks again.
- Original Message -
From: zbranigan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 12, 2003 9:15 PM
Subject: [PHP] Re: Code and Good Design Methods
Dan == Dan J Rychlik [EMAIL PROTECTED] writes:
Dan I am reading PHP and
John A. Thomason wrote:
The following is my output in the command prompt window(DOS Prompt?)
C:\PHPhello.php
Content-type: text/html
X-Powered-By: PHP/4.3.2
!#C:\php\;
echoHello World!;
if ($foo):
echo yep\n;
elseif ($bar):
echo almost\n;
else:
echo nope\n;
endif;
phpinfo();
C:\PHP
And the
You can set any directory as the web root in apache's
httpd.conf file.
You might also want to check out the virtualhost
directive. (there's an example in the default
httpd.conf file)
http://httpd.apache.org/docs/mod/core.html#documentroot
http://httpd.apache.org/docs/mod/core.html#virtualhost
On Sunday 13 July 2003 10:13, Paul O'Neil wrote:
Yes, create a temp directory like this -rw-rw-rw- 1 nobody nogroup
The directory needs the 'x' bits as well otherwise no-one will be able to get
into it.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems
From: Manuel Lemos [EMAIL PROTECTED]
You may want to try this class for creating lists with the ezmlm mailing
list manager. It has support for creating and editing the lists
properties and even has a SOAP interface for accessing the subscriptions
from remote machines.
Hello,
On 07/13/2003 02:37 AM, Juan Nin wrote:
You may want to try this class for creating lists with the ezmlm mailing
list manager. It has support for creating and editing the lists
properties and even has a SOAP interface for accessing the subscriptions
from remote machines.
42 matches
Mail list logo