Unless I am mistaken, I am pretty sure you need to have sometype of .php
extension. Unless you could put a line in the httpd.conf file like:
AddType application/x-httpd-php .html
BUT, I HAVE NEVER DONE THIS SO PLEASE WAIT FOR A MORE EDUCATED
ANSWER.
- Shane
- Original Message -
On Monday 05 February 2001 20:14, Shane McBride wrote:
Unless I am mistaken, I am pretty sure you need to have sometype of
.php extension. Unless you could put a line in the httpd.conf file
like: AddType application/x-httpd-php .html
Well, that's exactly the right way :)
Perhaps a more
vladMon Feb 5 11:18:04 2001 EDT
Modified files:
/php4/ext/pspellCREDITS
Log:
Added myself to CREDITS (vlad)
Index: php4/ext/pspell/CREDITS
diff -u php4/ext/pspell/CREDITS:1.1 php4/ext/pspell/CREDITS:1.2
--- php4/ext/pspell/CREDITS:1.1 Mon Nov 20
Start going over script examples and tutorials on http://www.weberdev.com
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Jeff Oien [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 1:06 AM
Just to make things clear, PHP/FI was the basis, not so many people
used it in comparison to PHP3/4. PHP3 was designed by more than one
developer (actually more like 4-6).
-Original Message-
From: Robert Covell [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 12:19 AM
To: Boaz
Is it possible to get the size of an image in PHP4?
if so, does it require gif/jpeg support built in?
Thanks
==
r a n d y // sesser at mac dot com
http://randys.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=918
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: r a n d y [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 9:55 PM
To:
I have been trying the following example from the PHP developer's cookbook
and it keeps giving me the following error.
Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 4
? //line 1
$excel_handle = new COM("excel.application"); //line2
$excel_handle-Visible = false; //line3
I have been trying the following example from the PHP developer's cookbook
and it keeps giving me the following error.
Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 5
? //line 1
$excel_handle = new COM("excel.application"); //line2
$excel_handle-Visible = false; //line3
weberdev.com isn't working...can you email me the text from
that page?
Thanks
- randy
PS
remove the "-" from my email address
In article
[EMAIL PROTECTED]
l, [EMAIL PROTECTED] (Boaz Yahav) wrote:
// http://www.weberdev.com/index.php3?GoTo=get_example.php3?coun
// t=918
//
// Sincerely
//
there was a really good .htaccess tutorial posted to the list a while
back...anyone remember the address?
~kurth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators,
At 10:57 AM -0700 2/5/01, Karl J. Stubsjoen wrote:
If you don't prefix a global variable with $ then how can you interpit a
global variable within a string? AS IN:
define ("MY_PATH", "/home/me/");
print("This is My Path: MY_PATH or is it?");
This wouldn't be a global variable; rather, it's
Hi all. This is, what might turn out to be a stupid question But I'll
ask it anyway ;)
Is there any way of automating tasks in php scripts, WITHOUT having them
open? Ie, having some method or other to send out an email automatically,
once a week, as a newsletter, based on data / criteria
This is a good one:
http://www.zend.com/zend/tut/authentication.php
James.
there was a really good .htaccess tutorial posted to the list a while
back...anyone remember the address?
~kurth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
This isn't PHP related, but I hope it isn't too off topic for this list.
Does anyone here have an explanation guide to object oriented programming? I look at
stuff like $this-something and haven't the foggiest what it means. Would a book on
OOP be best?
- Kath, procedural programmer 4EVER
getimagesize (string filename [, array imageinfo])
http://php.net/manual/en/function.getimagesize.php
-Original Message-
From: r a n d y [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 2:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Getting image size from gif/jpeg
Is
"James, Yz" [EMAIL PROTECTED] wrote:
Is there any way of automating tasks in php scripts, WITHOUT having them
open? Ie, having some method or other to send out an email automatically,
once a week, as a newsletter, based on data / criteria from a database?
cron. See "man cron" from
"Kath" [EMAIL PROTECTED] wrote:
Does anyone here have an explanation guide to object oriented programming?
I look at stuff like $this-something and haven't the foggiest what it
means. Would a book on OOP be best?
I own one PHP book, Professional PHP Programming by WROX Publishing. Good
for
Does this variable need to be a true global?
If it does then it has to be mutexed. Having said that if two threads want
to change it and you think it doesn't really matter which one will "win"
then you can probably live without the mutex.
Andi
At 10:35 AM 2/5/2001 +, James Moore wrote:
On Monday 05 February 2001 21:48, James, Yz wrote:
Hi all. This is, what might turn out to be a stupid question But
I'll ask it anyway ;)
Is there any way of automating tasks in php scripts, WITHOUT having
them open? Ie, having some method or other to send out an email
automatically,
derick Mon Feb 5 13:30:30 2001 EDT
Modified files:
/php4/ext/standard mail.c php_mail.h
Log:
- Added a new parameter to mail() which appends aditional command line
parameters to the mail program. This is usefull to set the From headers
correctly with
Christian,
Wouldn't this put unnecessary load on the webserver? Every .htm and .html
document, even if it doesn't contain any line of PHP code, would go through
the parser... ?
"Christian Reiniger" [EMAIL PROTECTED] a écrit dans le message news:
[EMAIL PROTECTED]
On Monday 05 February 2001
Does anyone know why I get this error when selecting an option in the box?
script language=javascript
!--
function getDocID(form)
{
var list = document.docIDchange.useCaseSelected;
alert('list '+list);
var docID =
and then someone always asks why this isn't included as part of PHP
and how dumping such a task out to cron is stupid and it should be
incorporated into PHP... blah blah blah.
to preempt that. cron does it fine, low overhead, and the function of
PHP is not in the realm of cron's function. if
I have a form that is an extended version of this:
form
input type="text" name="email[1]"
input type="text" name="email[2]"
input type="text" name="email[3]"
/form
Unfortunately, the email[1] part was generated using a variable in a loop.
I have no idea how many of these fields there really
You missed a } in there. Inside of that else, you have an if, but you never
close the else.
190 showmainscreen();
191}
192
should be
190 showmainscreen();
191}
192}
- Original Message -
From: "Jackson, Michael" [EMAIL PROTECTED]
To:
I am having a problem getting a php script to read a cookie that should be
set.
I have to incorporate the output of a php script into an existing page that
uses SSI to do a virtual include of my php script.
i.e. !--#include virtual="script.php" -- Problem is, when I do this, the
script does not
argh, nm, I'm an idiot.
- Original Message -
From: "April" [EMAIL PROTECTED]
To: "Jackson, Michael" [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, February 05, 2001 4:31 PM
Subject: Re: [PHP] Parse error on blank line...
You missed a } in there. Inside of that else, you have an
zeevMon Feb 5 13:59:17 2001 EDT
Modified files:
/php4/ext/com typedef_VARIANT.c
/php4/ext/standard basic_functions.c
Log:
Fix Windows build
Index: php4/ext/com/typedef_VARIANT.c
diff -u php4/ext/com/typedef_VARIANT.c:1.4
I'm not sure where it is, but I agree that you are missing a curly brace
somewhere. Take a break from your code for a bit, come back to it, and
start matching braces. I suggest getting a coffee or some tea.
johnny p.
-Original Message-
From: April [mailto:[EMAIL PROTECTED]]
Sent:
Even if I was missing a brace, doesn't it seem odd that it would always
give me a syntax error on the same line? It's as if it's arbitrarily
deciding to break there... If I add a new line after ?php, it still gives
the exact same line number... And again, I can comment it out, and it will
No, I have the same thing happen all the time. It happens after a
combination of }'s and ;'s where either a } or a ; is missing. Seriously.
- Original Message -
From: "Jackson, Michael" [EMAIL PROTECTED]
To: "'johnny p.'" [EMAIL PROTECTED]; "April" [EMAIL PROTECTED];
"Jackson,
Hi,
I am trying to connect to a remote db/2 server with PHP. The docs say that
there is no need to use ODBC - so I do not want to :)
But how can I define a DSN when I have no ODBC installed? How is the
odbc_connect function called without a predefined DSN?
I just don't get it :)
Dennis
--
PHP
On Tue, 6 Feb 2001 08:57, April wrote:
I have a form that is an extended version of this:
form
input type="text" name="email[1]"
input type="text" name="email[2]"
input type="text" name="email[3]"
/form
Unfortunately, the email[1] part was generated using a variable in a
loop. I have
You need to reset:
$option = '';
before each product.
So, inside the while(...mysql_fetch_row()) loop, but outside the
while(...$colors) loop.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time:
Modified files:
/php4/ext/standard mail.c php_mail.h
Log:
- Added a new parameter to mail() which appends aditional command line
parameters to the mail program. This is usefull to set the From
headers
correctly with the -f parameter to sendmail p.e.
@- Added a new
Does anyone have a solution for importing data from a RDF-XML file into a
MySQL database?
I've been racking my brain, as well as looking at tutorials and some xml
parsers, but if someone has something like this it would save me tons of
time.
Thanks!
--
PHP General Mailing List
Hi,
Is there a way to embed PHP code in phplib's template files? I need
to run all hyperlinks through a function in order to maintain state
and pass other variables from script to script. I figure this must
be possible, but I'm new at using phplib, so I'm not all that clear
on it...
Any
We have a series of subscribed e-mails that go out to customers, you know
"Forgot your password?" type thing. Theses are generated by a PHP process
and as such carry PHP/Apache's process ID.
The problem is that some of our customers are now blocking mail from user
'nobody', regardless if the
I'm currenly having a problem with a timestamp field I have on my message
board...each message is given a timestamp and stored in a table...heres the
basic form of the insert...
$time_added=date("Y m d H i s A");
$str = "INSERT INTO topic ( num_id, user, quote, subject, ip, message_icon,
page,
On Tue, 6 Feb 2001 10:03, Chad Guilette wrote:
I'm currenly having a problem with a timestamp field I have on my message
board...each message is given a timestamp and stored in a table...heres
the basic form of the insert...
$time_added=date("Y m d H i s A");
$str = "INSERT INTO topic (
svanegmond Mon Feb 5 16:03:44 2001 EDT
Modified files:
/php4 configure.in
Log:
Added tests for arpa/nameser.h and resolv.h, which don't exist on the BeOS.
Index: php4/configure.in
diff -u php4/configure.in:1.216 php4/configure.in:1.217
---
I need to build a query that needs to find the previous or next record in a
database using a form. The records are numbered using a field called
'sb_num'. This field is initially set using the form.
Would something like this work
Next:
Select 'field1', 'field2' from table order by sb_num where
Well, you're going to have to come up with a datamodel for storing the
parsed data. You can parse RDF files with the XML extension, see the docs
at http://www.zend.com/manual/ref.xml.php
There are some classes on phpclasses.upperdesign.com which will handle RSS
files - you can probably look at
svanegmond Mon Feb 5 16:07:21 2001 EDT
Modified files:
/php4/ext/standard dns.c
Log:
Added tests for arpa/*.h and resolv.h which don't exist on the BeOS.
The dns functions on BeOS come from socket.h
Index: php4/ext/standard/dns.c
diff -u
Hi all,
I'm basically really struggling with this query, so would appreciate
any pointers on how I could do this. I've included my experimental
code underneath, and need to make it work.
The first query, which I know works, pulls info from a mysql table.
Now for each of my diary entry, I want
I tried with FALSE same error.
I also tried the following word example
?
$word = new COM("word.application") or die("Unable to instanciate Word");
print "Loaded Word, version {$word-Version}\n";
$word-Visible = 0;
$word-Documents-Add();
$word-Selection-TypeText("Testing, testing...
Do I need to have anything special installed on the server (IIS) to call
excel and word with COM.
Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail:
I tried with FALSE same error.
I also tried the following word example
?
$word = new COM("word.application") or die("Unable to instanciate Word");
print "Loaded Word, version {$word-Version}\n";
$word-Visible = 0;
$word-Documents-Add();
$word-Selection-TypeText("Testing, testing... 1,2,3");
If I have a text file with all my sql statements (from like say mysqldump)
what's the easiest way of passing them to mysql? I'm on RedHat6.2 with mysql
3.22.32
Thanks,
-Jonathan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
From: "Zeev Suraski" [EMAIL PROTECTED]
Sent: Monday, February 05, 2001 4:32 PM
This is a known limitation in the initial release of the encoder. The
license file must be stored in C:\Program Files\Zend, even if your
standard
Program Files directory is in E:.
Thanks, that was about the only
If I have a text file with all my sql statements (from like say mysqldump)
what's the easiest way of passing them to mysql? I'm on RedHat6.2 with
mysql
3.22.32
Thanks,
-Jonathan
I'm not sure about the easiest way, but definitely an easy way would be to
simply do:
cat filename | mysql
On Tue, 6 Feb 2001 11:49, Jonathan Sharp wrote:
If I have a text file with all my sql statements (from like say
mysqldump) what's the easiest way of passing them to mysql? I'm on
RedHat6.2 with mysql 3.22.32
Thanks,
-Jonathan
Assuming you want to recreate tables from the dump and assuming
"Sandeep Hundal" [EMAIL PROTECTED] wrote:
Now what I want to do is have another query which asks the second
table the number of comments per each section id, for that section,
(and I think QUERY2 does this fine). But I need the answers to
integrate with the information pulled from first
Currently i have two files
post.php3 - http://www.bbhacks.com/board/post.phps
and
viewthread.php3 - http://www.bbhacks.com/board/viewthread.phps
what im trying to do is make it so signatures are dynamic. I think im close
but i also think since im fairly new i have some things wrong as well.
Hi,
I'm wondering if there is an easy way to code a generic cloner at top
level of object inheritance tree so that all descendents can follow? Or by
nature the clone() function needs be implemented at final class
def.? Thanks a lot!
Chien-pin
--
PHP General Mailing List
Who are you and why are you sending me this?
*-Original Message-
*From: Winnie [mailto:[EMAIL PROTECTED]]
*Sent: Monday, February 05, 2001 9:47 AM
*To: [EMAIL PROTECTED]
*Subject: [PHP] How to save something in a Java Applet as an IMAGE file?
*
*
*hi,
*
*how can i do this? i have a java
I tried for days to get IIS to authorize a user with $PHP_AUTH_USER and never got
anywhere, so I used apache and it works fine.
I wish I just knew why. I loaded PHP as ISAPI, like the manual indicated, but no luck.
I would like to use some of the functionality of IIS/NT5.0
Any ideas
php-general Digest 6 Feb 2001 04:07:22 - Issue 495
Topics (messages 38255 through 38349):
Re: Which Regex library?
38255 by: johnny p.
Make good money online! It's easy
38256 by: NEWS!!
Why doesn't this work? Please trouble-shoot my script.
38257 by:
andrei Mon Feb 5 19:57:43 2001 EDT
Modified files:
/php4/ext/wddx wddx.c
Log:
Don't use Z* macros for non-zvals.
Index: php4/ext/wddx/wddx.c
diff -u php4/ext/wddx/wddx.c:1.61 php4/ext/wddx/wddx.c:1.62
--- php4/ext/wddx/wddx.c:1.61 Mon Feb 5
andrei Mon Feb 5 20:15:50 2001 EDT
Modified files:
/php4/ext/wddx php_wddx_api.h
Log:
Preserve API compatibility.
Index: php4/ext/wddx/php_wddx_api.h
diff -u php4/ext/wddx/php_wddx_api.h:1.11 php4/ext/wddx/php_wddx_api.h:1.12
---
song
we-e-e ... a-are ... the cha-a-a-ampions, my friend
song
Dear Lise Fleming McKinney,
You are subscribed to PHP-General Mailing List, we all often send this kind
of things to each other without necessarily authenticating ourselves;
Cheers,
Maxim Maletsky
-Original
On Mon, 5 Feb 2001, Dave Goodrich wrote:
The problem is that some of our customers are now blocking mail from user
'nobody', regardless if the account exists or not. I can have PHP write the
complete headers but that doesn't stop the 'from' header in Sendmail being
written (the true user
Is it possible to include an OR condition in a MySQL select on 2 different
tables?
I have 1 table of basic customers and one table of Admins, both tables
"Relate" to the UserNum table containing UserNumber login password and
privs, I want to select one field from the correct
You could do this:
users admins
- --
userID userID
fname
lname
select U.* from users U, admins A where A.userID=U.userID (U.userID=100 ||
U.userID=101)
you could also use the IN () function ...
select U.* from users U, admins A where A.userID=U.userID U.userID
in
On 5 Feb 2001 21:27:13 -0800, Dallas Kropka [EMAIL PROTECTED] wrote:
SELECT first_name FROM admin_table, user_table WHERE userNum = 1000
The info will only be in one or the other but what (if any) is the
correct syntax?
You mean something like
SELECT first_name FROM users
I'd like to create a script that will frame search results made by various
databases. I will be hardcoding these links into an HTML page. Since there
will be alot of these links and I will be using the script across several
virtual hosts, I can't have the links built by a db as they link to
Hello,
I'm sorry for the repost, but the last one was misunderstood (i think).
i'm looking for ways to generate *animated* images using PHP.
thanks,
Hrishi
Hi,
It seems to me that OCILogOff does not return anything. Evenif I do
something like this:
$conn = OCILogOn("user", "passwd", "db");
$logoff = OCILogOff($conn);
$logoff is always empty. Does anyone know about this? any help?
Thanks.
Reuben D. Budiardja
--
PHP General Mailing List
You can encode URLs with urlencode() and decode them by using urldecode()...
try read here:
www.php.net/urlencode
www.php.net/urldecode
### my way:
### you pass $url:
$url = www.maxim.cx/get.php?this=variablesas=manyas=youwhat=want
echo "a href=\"$PHP_SELF?url=".urlencode($url)."\"";
###
hi all,
we need to have a solution for the following stuff:
each member of the community should get his own page
something like
www.domain.com/tacco
www.domain.com/micco
www.domain.com/sicco
.
and we dont liek to build this structure as webfolders
so what we are thinking of is:
a
On 5 Feb 2001 23:31:17 -0800, andreas \(@work\) [EMAIL PROTECTED] wrote:
a 404 php-file which extracts the path and generates a page for that out of
mysql
or is there a better solution out there ?
This approach can work and, properly done, work fairly well. However, a more
elegant approach
I can pull data out of a database using mysql_fetch_array and assemble
it like this using a while statement:
TRTD$data/TD/TR
TRTD$data/TD/TR
TRTD$data/TD/TR
etc ...
What I'd like to do is assemble it like this:
TRTD$data/TDTD$data/TDTD$data/TD/TR
etc...
In other words, I need a
101 - 173 of 173 matches
Mail list logo