Hey there-
I'm trying to use an .htaccess file to parse .php files as .html does anyone
know how to do this? It doesn't work with the same structure as parsing the
.shtml files.
any suggestions would be great.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
.html
AddType application/x-httpd-php .htm
- Original Message -
From: Tom Ray [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 04, 2002 2:41 PM
Subject: [PHP] PHP as HTML
Hey there-
I'm trying to use an .htaccess file to parse .php files as .html does
anyone
Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 5 June 2002 9:49 AM
To: Kevin Stone; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP as HTML
I tried this, and it just prompts me to download the file from the server. I
can't see what the issue is.
- Original Message -
From
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 5 June 2002 9:49 AM
To: Kevin Stone; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP as HTML
I tried this, and it just prompts me to download the file from the server. I
can't see what the issue is.
- Original Message
I've been playing with cookies, and I've been able to write information
to a cookie, but now what I want to do is pull that information from the
cookie. Is there something special I need to do to pull that info or
should I just be to get that data by delcaring a variable in the php
script?
when I do that it comes up with
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
`T_NUM_STRING'
Justin French wrote:
you should be able to access it via $_COOKIE['name'], or what I do, $cookie
= $_COOKIE['name'].
Justin French
on 05/06/02 2:19 PM, Tom Ray ([EMAIL
I want to be able to search a flat file line by line looking for data
such as a username then display all the information in that line. Is
there some way to search the following format:
record1:username:info:info:info
record2:username:info:info:info
record3:username:info:info:info
So if
]) == some name {
/* routine to display entire row */
}
/* continue processing loop */
--
Gaylen
PHP KISGB v4.0.5 Guest Book http://www.gaylenandmargie.com/phpwebsite/
Tom Ray [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I want to be able to search a f
Is there a way to do this with PHP? I couldn't find it in the online
docs and the archive search is offline :(
thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I know I've asked this before but I don't believe I asked the question
correctly.
I have a flat file database that is delimited with colons. This file
will have new records added to it on a regular basis. What I want to do
is be able to search that file based on a keyword that is inputted by
I'm trying to use the include function in some PHP scripts, but when I do
include 'config.inc'; or include 'config.php;
It returns all the information in the file when I look at my test php
file (which calls the include) Anyone know why this is?
--
PHP General Mailing List
including it...
---John Holmes...
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 9:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Include question
I'm trying to use the include function in some PHP scripts, but when I
do
include 'config.inc
to do...it's including it...
---John Holmes...
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 9:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Include question
I'm trying to use the include function in some PHP scripts, but when I
do
I want to use unlink() to delete a wildcard, but at the moment I keep
getting parse errors. Here's what happening:
I'm mucking around with some login stuff, when a user logs in it writes
a flat file that collects some information about them, the flat file is
created with the name
? The usernames are unique, right?
---John Holmes...
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 11:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Unlink question more or less
I want to use unlink() to delete a wildcard, but at the moment I keep
Any word on when glob() will be in the production version?
thanks for the help Miquel.
- Original Message -
From: Miguel Cruz [EMAIL PROTECTED]
To: Tom Ray [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 12, 2002 2:01 AM
Subject: Re: [PHP] Unlink question more or less
I have an array question. I want to use a dynamic array but I don't know
how to do this. What I want to do is this, I want to write a form script
that takes the elements of the form and submits them in the array then I
want to do a loop and check to see if each element in the array has a
Try this:
echo $catalog[unitprice];
in my experience I've only been able to use the echo() without the
quotation marks if I'm calling a function, for variables you need the
quotation marks.
Hope this helps.
Phillip Perry wrote:
Can someone tell me why this doesn't work?
The $mycart array
And what are the directory/file permissions where you are writing the
archive files?
- Original Message -
From: 1LT John W. Holmes [EMAIL PROTECTED]
To: Kris Vose [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, June 18, 2002 11:54 AM
Subject: Re: [PHP] server problems
Are you
Actaully, neither Apache or PHP is at fault. The ErrorDocument (either in
httpd.conf or an .htaccess file) follows absolute paths, so you are calling
your engine.php out of the root directory of the machine. So the question
is, do you have engine.php in the / folder? If not you can put it there
Hi there..some what a new programmer when it comes to all this. I'm
trying to encrypt some data and then decrypt it. It doesn't have to be
high bit encryption just something simple like 3DES. But I keep getting
it wrong. Any help would be greatful. Here's the piece of code:
$iv =
($td, base64_decode($eid));
mcrypt_generic_end ($td);
return $id;
}
Tom
At 11:07 PM 30/05/2002 -0400, Tom Ray wrote:
Hi there..some what a new programmer when it comes to all this. I'm
trying to encrypt some data and then decrypt it. It doesn't have to
be high bit
Gareth-
This sounds more like a sendmail issue to me. I've run into this a few times myself.
What's happening is simple, sendmail has a file that it reads generally called
domains this file tells sendmail what domains it should be handling mail for. When
you submit your form the first thing
Yes, but how do you format the information that comes back out of the
whois? I'm doing this:
?
$whois = system(whois [EMAIL PROTECTED]);
print pre$whois/pre;
?
But all the information is shown as one big line, no breaks or anything.
How would I do this so it showed properly formatted
Nope still comes up with everything in one big line. I'm running through
different options right now..but I'm tired and my brain is starting to
hurt :)
Adam Williams wrote:
try with p /p and see if that works.
Adam
On Thu, 12 Sep 2002, Tom Ray wrote:
Yes, but how do you
A working solution to the whois question
?
$whois = `whois [EMAIL PROTECTED]`;
print pre$whois/pre;
?
Notice those are back ticks, not single quotes. This will give youthe
information you need, and the pre tag puts it out in the proper format
for you.
yasin inat wrote:
Thanx friends
I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't
seem to retrieve data from them.
First I set the cookie like so:
setcookie (Access, Test_Value,time()+31536000);
Then I check my Cookies in Netscape and I can see that I have the cookie
stored. But when I go to the page that
, but case in names
seems to generally cause problems.
Tom Ray wrote:
I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't
seem to retrieve data from them.
First I set the cookie like so:
setcookie (Access, Test_Value,time()+31536000);
Then I check my Cookies in Netscape and I
Test message
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Discovered my cookie issue. I wasn't setting the path in setcookie() so
it defaulted to what ever directory the script ran in. I set it so it
loads from the root of the website now, and it's working like a charm.
Thanks to all that helped!
John Holmes wrote:
I do the print
I have a question that I have yet to figure out. Let's say I have a PHP
script with multiple fuctions, how do I call on the script to perfom
specific functions through a url? Ex:
http://www.sample.com/script.php?fucntion1
TIA
--
PHP General Mailing List (http://www.php.net/)
To
I have a chat script that I downloaded and according to the license I
can modify it as much as I want, and I'm a little stuck on a simple
modification I want to make. When you type in a message it stores in in
a file called text.php and then the chat page does an include call for
the text.php
Ahah! That's what I was thinking, thatnks for helping me clear that up!
John Holmes wrote:
I have a chat script that I downloaded and according to the license I
can modify it as much as I want, and I'm a little stuck on a simple
modification I want to make. When you type in a message it stores
I want to compare a password to a encrypted password stored in my mySQL
database using password('password'), what's the best way to compare the two?
Encrypted the password sent by the user and compare or pull the password
from the database based on username, decrypt it and then compare?
--
I dipped into mcrypt about a month or so, and did this script back then.
I had it working, it would kick out the encrypted data for me but today
when I test it I get a Fatal error: Call to undefined function:
mcrypt_create_iv() in test2.php on line 3.
And I don't understand why...any help
also if I comment out $iv, I get the error Call to undefined function
mcrypt_encrypt() on that line.. I just don't understand why it keeps
doing this.
I'm running 4.2.2
Tom Ray wrote:
I dipped into mcrypt about a month or so, and did this script back
then. I had it working, it would kick
I'm having a small problem with a form I'm designing and I hope someone can
point me in the right direction here. The form's function is rather simple
actaully. It's supposed to take the information, run through it to make sure
all the required fields have data in them, if there is a blank
Hey Andy-
I work with a hosting company that I believe has everything you're
looking for in your wish list. They're a small company that's been
around for about 10 years (started as an ISP). If you can get me more
information on the type of hosting you're looking to do and what other
I have a quick question that I haven't been able to find the answer to
yet. I've made a couple of guest books via PHP but the biggest problem
I'm having is if any one inputs a ' or or anything like that, the
output in the book shows the stupid \ for the escape. So the word
Tom's looks like
oh no, Iv'e gotten two answers...
stripslashes() and strip_slashes()
which one? which one?! G
Gaylen Fraley wrote:
strip_slashes()
--
Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com
PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite
Tom Ray [EMAIL PROTECTED
Hey all-
I'm running a SuSE 9.1 box that was built from the RPMs from the CD with
Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last
year without using the CD's and justing installing from the source. However, I
just installed PHP 4.4.2 and I used all the same path calls
On 05.03.2006 at 16:46:21, Eric Butera [EMAIL PROTECTED] wrote:
On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote:
Hey all-
I'm running a SuSE 9.1 box that was built from the RPMs from the CD with
Apache2.0 and PHP 4.3.4. I've made modifications to the server over the
last
year without
On 05.03.2006 at 16:46:21, Eric Butera [EMAIL PROTECTED] wrote:
On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote:
Hey all-
I'm running a SuSE 9.1 box that was built from the RPMs from the CD with
Apache2.0 and PHP 4.3.4. I've made modifications to the server over the
last
year without
On 05.03.2006 at 20:34:20, Eric Butera [EMAIL PROTECTED] wrote:
Ok so I can't find apxs on the server at all, even though the
4.3.4phpinfo
claims to have been configured with
--with-apxs2=/usr/sbin/apxs2-prefork.
I did
some search via google and I reconfigured using --enable-cli and
Are PHP script supposed to run as the user or as the web server?
Currently I'm running Red Hat 7.3 with apache 1.3.x and all my PHP
scripts run as apache, not as the user. I'm wonder if I can run the
scripts as the user and how do I fix this?
Any help would be great!
--
PHP General Mailing
You could use an include statement in one of two ways. 1) you can just
include the page that you want to show, however the url doesn't change it
will still be select.php 2) if you want to sent them to yellow.php or
green.php you could include an html page that had a meta-refresh in it set
for 0
Mail servers play a part in this too. Maybe the admins should pack up
their servers and send them back too :)
-Original Message-
From: Hendrik van Niekerk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 9 Jan 2003 11:11:30 -0600
Subject: [PHP] Newbee observation
Why does the
Can someone please tell me why I'm getting this error:
*Fatal error*: Call to undefined function: mysql_connect() in
*/webs/tom/www.bohabcentral.com/www/bohabs/auth.php* on line *4
*mysql_connect was working a week or so ago, and I haven't made any
changes to the servers configuration.
If
It turns out after some checking, the other admin on the machine ran a
kernel update last week. I hadn't been testing any scripts over the last
week myself so I didn't notice the issue until the other day.
When I run a function_exists() for mysql_connect it comes back false. When
I run phpinfo()
Thanks, we're going to give that a try.
-Original Message-
From: Tracy Finifter Rotton [EMAIL PROTECTED]
To: Tom Ray [EMAIL PROTECTED], [EMAIL PROTECTED]
Date: Tue, 21 Jan 2003 10:25:55 -0800
Subject: Re: [PHP] mysql_connect problem..update
Talk to the other admin. If you're using RPMs
you would put that in the $mailheaders variable. Something like
$mailheaders = From: Joe Bloe [EMAIL PROTECTED]\r\n;
$mailheaders .= Cc: Some Dude [EMAIL PROTECTED]\r\n;
$mailheaders .= Bcc: Some Other Guy [EMAIL PROTECTED]\r\n;
That should work for you. Just do this for whatever other headers
I'm trying to set it up so that a random image from either a mysql table
or a text file list is displayed on a page each time a user goes to it.
I'm a little stumped as to how to do this with phpany suggestions?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I'm looking for a webbased interface that will allow me to managae mysql
databases. However, phpmyadmin has been ruled out due to the fact it
requires the username and password to be stored in the config file and
that it doesn't have any security to protect the average joe from
stumbling across
Is there an easy way to display the epoch time given by time() in a human
readable format? Basically, if I do $time = time(); and the insert that
data into my mysql database and then pull that information out again how
do I make it look like 2003-03-13 or a variant of that?
TIA
--
PHP General
Ron Croonenberg wrote:
Hello,
I have a script that ads data to a html template.
However when there is an include in the html like:
!--#include file=include/header.sinc --
it is not processed, but just ends up as a string in the page.
So I guess it needs to be parsed. Is there an easy way to
Hey-
I'm trying to install PHP5 with mysql support and I keep running into
the same problem over and over again. I run the configuration with this:
--with-mysql=/usr/local/mysql and without fail I get this every time:
ext/mysql/php_mysql.o: In function `zif_mysql_create_db':
Chris wrote:
Tom Ray [Lists] wrote:
Hey-
I'm trying to install PHP5 with mysql support and I keep running into
the same problem over and over again. I run the configuration with
this: --with-mysql=/usr/local/mysql and without fail I get this every
time:
ext/mysql/php_mysql.o: In function
Chris wrote:
Tom Ray [Lists] wrote:
Chris wrote:
Tom Ray [Lists] wrote:
Hey-
I'm trying to install PHP5 with mysql support and I keep running
into the same problem over and over again. I run the configuration
with this: --with-mysql=/usr/local/mysql and without fail I get
this every time
Robert Cummings wrote:
On Mon, 2008-01-21 at 18:01 -0500, Tom Ray [Lists] wrote:
Hey-
I'm trying to install PHP5 with mysql support and I keep running into
the same problem over and over again. I run the configuration with this:
--with-mysql=/usr/local/mysql and without fail I get
Robert Cummings wrote:
On Tue, 2008-01-22 at 12:42 -0500, Tom Ray [Lists] wrote:
Robert Cummings wrote:
On Mon, 2008-01-21 at 18:01 -0500, Tom Ray [Lists] wrote:
Hey-
I'm trying to install PHP5 with mysql support and I keep running into
the same problem over and over again
I have a client that's looking to do auto conversions of currency on
their reservation payment form. No big deal, I can that part down.
However, exchange rates change on a minute to minute basis and they want
the program to automatically know the current rates. Is there an online
database or a
I thought about that but I'm looking to make it seem-less. I just want
to get the numbers and do the conversion myself not have the third party
do it. I just need an updated list on a daily/hourly basis.
Paul Scott wrote:
On Thu, 2007-06-28 at 20:44 -0400, Tom Ray [Lists] wrote:
I have
Richard Heyes wrote:
Every single
one of us has been guilty of it at some time or another
You can't make that assumption.
Sure he can. Assumptions are like opinions which are like ...well you
know what I'm getting at...we all have them. And if someone can honestly
say they've never stolen
Daniel Brown wrote:
P.S. - If a rooster lays an egg in a nest under a tree that falls
in the woods and no one is there to hear it, how soon will train B
meet train A if the wind blows the egg off the top of a barn facing
west before sundown?
Oh, I know this! Roosters can't lay eggs.
--
I'm a little unsure on how to do this but basically when someone uses a
form to upload a file I want to have a popup window come up and so the
process in percentage of the transfer. Anyone do this before? Is it
possible in PHP or do I need to do it in javascript or a mixture of both?
Any
BODY: HTML is extremely short
0.0 HTML_MESSAGE BODY: HTML included in message
1.5 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding
Here is the script, which I mostly borrowed from tutorials/how to examples on
the web.
$to=Tom Ray [EMAIL PROTECTED];
$from
Chris wrote:
Richard Lynch wrote:
On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote:
I'm trying to use PHP to compose an HTML formatted email
Don't do that...
3) Spam Assassin doesn't like it either way and tags the email as SPAM
for the following reasons:
0.6 HTML_SHORT_LENGTH
Eric Butera wrote:
On 7/28/07, brian [EMAIL PROTECTED] wrote:
Eric Butera wrote:
On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Fri, July 27, 2007 8:20 am, Eric Butera wrote:
Not everyone has the option to do that. Plus I think it is
unintuitive to have
Really, I had expected more mature commentary from the adults on this list.
So did I. I expect adults to display morality and values.
Really? Have you hung out with many computer geeks?
Oh..wait..morality..I thought you said maturity. Pardon me. :)
--
PHP General Mailing List
Colin Guthrie wrote:
Daniel Brown wrote:
As a relatively-new contributor to this list (read: under 2
years), I realize that I have no business requesting a change, but
I'll breech etiquette and hope for the best.
Can we update the filters on the list to have the reply-to address
Ken Tozier wrote:
Hi
I'm trying to assign two fields of an object returned from a MySQL
query and have stumbled upon the most bizarre PHP bug where I can't
create two arrays in succession.
Here's the MySQL query with two dummy fields to be filled in later
select *, 0 as dummy_1, 0 as
Paul Novitski wrote:
At 7/29/2007 09:59 PM, Ken Tozier wrote:
/*--*/
/* Next two lines are where the problem
starts */
/* If I comment either of them out the script
runs */
/*
Merlin wrote:
Hi there,
I have worked now for several years happily with homesite 4.5, but now
it looks like I have to switch to another system as homesite will not
run without admin rights on a XP machine.
What editors do you use? Do you have any recomendations on a special
one? I have
Stut wrote:
blackwater dev wrote:
I have to register a bunch of names and am trying to figure out why I
would
pay $35 when I can just pay $9 at godaddy. Does godaddy own it and I
lease
it from them???
Network Solutions are expensive, GoDaddy are cheap. That's all there
is to it. In my
I've been learning how to use PHP with the GD Library and I've managed
to learn quite a bit. I can upload, resize, create thumbnails and I'm
even able to create security code images for forms. My question is how
do I create a Watermark on the image? I want something transparent but
still
);
imagejpeg ($sourcefile_id);
}
imagedestroy($sourcefile_id);
imagedestroy($watermarkfile_id);
}
?
Regards,
Greg
http://www.psmdev.com http://www.psmdev.com/
On 8/4/07, *Tom Ray [Lists]* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I've been learning
Joey wrote:
Has anybody had any experience with any open source Job posting systems out
there?
Thanks!
I've written one myself. It allows for job seekers to put up a profile,
resumes, etc and for employers to post their jobs and search resumes.
Full search ability on both sides. They
Jeff Benetti wrote:
Sorry if this is a noob question, I have used PERL, TCL and VB but I am just
getting into PHP. If there is a better place to ask noobie questions then
let me know.
I want to use the include statement but I want to pass the name of the file
rather than hard code it. It
Greg Donald wrote:
On Tue, 11 Sep 2007, Stut wrote:
You didn't say what you have against mod_rewrite. I'll bet you mod_rewrite can
parse a request and send it to the right script faster than your PHP
implementation.
Has anyone tried Nginx? The rewrite rules are a bit more clear than
John Taylor-Johnston wrote:
I have an educational web site.
I want to create an interface where my students can record their
voices client side and then save messages server side.
I thought Odeo would solve my problems. (The have their own problems
now.) Then I tried: MyChingo and Mobasoft.
[EMAIL PROTECTED] wrote:
I am having a issue parsing an html file.
I want to pull all the data between two html tags.
Problem I am having is that no matter what I try I can pull either tag or
both but not the data in between.
div class=record id=one
div class=rideon
Stut wrote:
Zoltán Németh wrote:
2007. 10. 16, kedd keltezéssel 04.59-kor mooor ezt írta:
I recommed you Codelobster php edition. Very good free php
editor.
It reminds me a mix of Zend Studio and MS Visual Studio. If to
the basic
features they are:
syntax highlighting, an
Is there anyway to overwrite the max file upload in php.ini per instant?
I'd like to have users controlled on a certain website to have more then
average uploads but the site runs on a shared hosting environment.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I just installed PHP Open Chat and I'm getting an error when I log in
about the script being unresponsive. Anyone ever run into this? Or could
shed a light as to what causes this error? I've never seen it come up
before.I'm running PHP 4.4.2/Apache 2.0.5
--
PHP General Mailing List
Is it possible to have a PHP script execute as the user of the domain
instead of the webserver? So when I upload files through a PHP script
they are owned by me and not wwwrun or nobody?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have to get a temporary server in place under a tight time frame and
am using a pre-existing server that wasn't configured really for hosting
websites. I've upgraded all the services on it like going from Apache
1.3.x to Apache 2.0.59 and PHP from it's old version to 4.4.2 however I
need to
I've just installed PHP 4.4.4 with CLI disabled and CGI enabled. With
CLI I can find the PHP executable in $prefix/bin/php but with CGI I
can't find it. I need the path to the PHP executable so I can install
suPHP but $prefix/bin/php no longer exists and all I have in $prefix/bin
is php-config
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2006-11-14 20:17:16 +0200:
On 11/14/06, James Tu [EMAIL PROTECTED] wrote:
I'm running a php script from the command line (I'm on OS X) and I'm
getting ...
Warning: mysql_connect(): Can't connect to local MySQL server through
socket
Chris wrote:
Tom Ray [Lists] wrote:
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2006-11-14 20:17:16 +0200:
On 11/14/06, James Tu [EMAIL PROTECTED] wrote:
I'm running a php script from the command line (I'm on OS X) and I'm
getting ...
Warning: mysql_connect(): Can't connect
We built a box about 7 months or so ago using the SuSE 9.1 cd's,
straight install from the CDs. While I've read that sessions are turned
on by default, when we try to call on the sessions functions (like with
phpOpenChat or start_session()) we get calls to undefined function
errors. This is
sessions
without recompiling? And if I can't, how do I recompile since I used the
SuSE cd's and YasT?
John Nichel wrote:
Tom Ray [Lists] wrote:
We built a box about 7 months or so ago using the SuSE 9.1 cd's,
straight install from the CDs. While I've read that sessions are
turned
?
Burhan Khalid wrote:
On Jul 29, 2005, at 8:07 PM, Tom Ray [Lists] wrote:
We built a box about 7 months or so ago using the SuSE 9.1 cd's,
straight install from the CDs. While I've read that sessions are
turned on by default, when we try to call on the sessions functions
(like
, Tom Ray [Lists] [EMAIL PROTECTED] wrote:
We built a box about 7 months or so ago using the SuSE 9.1 cd's,
straight install from the CDs. While I've read that sessions are turned
on by default, when we try to call on the sessions functions (like with
phpOpenChat or start_session()) we get calls
George-
Without seeing your code it's hard to say what the problem is. There
could be a typo, a missing quote or semi colon. The code snippet of the
review page would be helpful.
Now when you say it's entering blanks into the database, I'm assuming
you have a messageID field in the db that
Beauford wrote:
Hi,
I am trying to get GD working so I can use a captcha script and not having
much luck. I can get it to work in Windows, but not Linux.
I have seen a few comments suggesting that PHP needs to be compiled with the
GD switch. Is there another way to do this? I have PHP,
Beauford wrote:
I'm using Slackware 10 and installed GD as an install package. I also
changed some lines in the php.ini file for GD.
Tom: I have no idea how this program works, all I know is that I need it for
the captcha program to display the image. I wouldn't even bother otherwise.
I've run into something rather odd with cookies today. I'm working with
this admin section on a site and I'm setting a cookie that is supposed
to be good for one hour. So in the cookie I have time()+3600 and all was
well or that was until someone fired up IE. It seems that IE refused to
set
Hey there-
I went to install phpopenchat today and when I run the test.php script
that comes with, I get this error:
*Fatal error*: Call to undefined function: session_save_path() in
*/path/to/website/htdocs/phpopenchat/config.inc.php* on line *98
*I'm not sure why this is coming up since the
I'm having a bit of an issue using exec() and system().
Background:
I have this script that installs forum software for a client, and that works like a
champ. In it I use system() to copy
the the default forum directory to the specified location the client sets, along with
a unique directory
I would have to say yes it can be done. The way *I* would do it is like
this:
First, I would drop a .htaccess file that allows the HTML files to run
through the PHP parser. Like this AddType application/x-httpd-php .php .html
The in all of the HTML docs it would look like this:
-HTML-
-Head-
1 - 100 of 115 matches
Mail list logo