Hiya Martin.
You'd probably be better working around a database solution to your needs,
but I am a bit drunk (and probably can't sensibly attempt to answer your
question properly), but it got me thinking, so I decided to have a play with
date incrementations. If anyone has any comments on this,
thies Fri Apr 20 23:48:43 2001 EDT
Modified files:
/CVSROOTgen_acl_file.m4
Log:
give asautins,dbenson karma for oci8 and docs
Index: CVSROOT/gen_acl_file.m4
diff -u CVSROOT/gen_acl_file.m4:1.150 CVSROOT/gen_acl_file.m4:1.151
---
Hiya,
This is something that I'm not able to figure out :
I am building something like a Yahoo! directry. I wanted to display a "new" image
infront of a category, like Yahoo! does.
But I want to show this even if the main category may not have any new link, but a
category in that might have,
On Friday 20 April 2001 19:13, Jason Caldwell wrote:
Actually did that... plus sacrificed several small rodents, rubbing
their internal organs all over the manual... in hopes that the PHP Gods
would be kind and giving went into a cave for 12 years, then came
back out ... having learned
php-general Digest 21 Apr 2001 08:56:43 - Issue 640
Topics (messages 49596 through 49651):
Sessions and header-redirect
49596 by: Scott
49619 by: Plutarck
PERL vs. PHP
49597 by: Jason Caldwell
49598 by: Steve Lawson
49599 by: Butler, Shaun
Hi,
Whilst you cant use PHP to implement Drag and Drop (PHP is server side,
hence once compiled, its done its job), you can implement DHTML (Javascript,
CSS DOM) to attain this effect. So called DHTML handles all client-side
(browser) manipulation, and through DOM allows you to manipulate
Classic Global function definition problem
inside the function, insert the line global $footercontent;
Also technically, the exit command can be quite messy, a 'cleaner' method
would be to use something like
function generate_footer()
{
?
!-- footer --
/BODY
/HTML
?
}
and then call it at
is there any function to convert the body of a e-mail-massege from mime like
you do with the imap_mime_header_decode() ???
--
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
is there any function to convert the body of a e-mail-massege from mime like
you do with the imap_mime_header_decode() ???
--
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
Hi,
a general thought at first. When posting a rahter long sxrpit it
would be helpful to mark the lines which produce the errors.
But now straight to the point. change the inside of
your if/elseif parethesis from just the variable to
(isset($variable)) respectively to (! isset($variable)).
Hi there,
Till now I have always compiled and used PHP as an static module with
Apache..
For the experience and to make it a little easier to compile different PHP
packages I want to
use PHP as an dynamic module..
Reading the documentation this seems easy...
First I got apache 1.3.19 and ran:
Hehehe.. Yeah.
Thanks alot, this will do perfectly good.
- Richard
""Plutarck"" [EMAIL PROTECTED] wrote in message
9bqhpe$f3d$[EMAIL PROTECTED]">news:9bqhpe$f3d$[EMAIL PROTECTED]...
If you want to make it easy on yourself, convert it into a timestamp (unix
preferably). Then all you have to
"Rasmus Lerdorf" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
but since you replied, can i ask what influenced you most
when developing PHP?
Whenever I couldn't decide what sort of syntax to use I copied C
-Rasmus
This makes me think that any
Funny!
You, Rasmus, must be getting it every week at least.
btw Jason, we had some very interesting discussions on how Rasmus has
started PHP, look the archives - you would find it very curious.
Maxim Maletsky
-Original Message-
From: Jason Caldwell [mailto:[EMAIL PROTECTED]]
andiSat Apr 21 04:40:05 2001 EDT
Modified files:
/php4/main php_ini.c
Log:
- Get rid of warning.
Index: php4/main/php_ini.c
diff -u php4/main/php_ini.c:1.55 php4/main/php_ini.c:1.56
--- php4/main/php_ini.c:1.55Sat Mar 17 15:35:32 2001
+++
Hi,
I have a huge problem !!!
I try develop a managementtree (like W2K Management) for my Network
management Tool.
My 1. Problem:
This Tree should be changeable about a web interface. - thats no the real
problem.
My 1. Problem:
How I can develop this tree - I haven't any Idea.
How I can do
Hi,
I was playing with the xml-rcp example given at o'reilly
http://www.oreillynet.com/pub/a/rss/2000/11/14/meerkat_xmlrpc.html
which uses Edd Dumbill's PHP XML-RPC modules
But when I run the example mentioned in the oreilly article (on Apache on
win NT), I get a popup saying error in php.exe:
Also, when I uncomment stuff, the line that seems to be giving the problems is:
$response = $client-send($msg);
When I comment that no more errors. (but nothing else either ofcourse)
Peter
~~
http://liga1.com building multiple language/culture websites
Greetings.
I have made a try to write a search engine for a site I run. This search
iterates through all links which are made up like so:
"|BY|EMAIL|CATEGORY|FOLDER/BAND|LINKNAME|LINKURL|". Now, I use the code:
if ($txtLinkname=="") return;
$logfile="entries.txt";
$file_line =
And that is all the code I use. Where have I done wrong? You see, the
problem is that I found only some links, but not all. And if I have a link
called "Necrolust - Tribute to MayheM", it cannot find the "Necro" nor
"necRO". And as you can see, I HAVE used uppercase methods to
find portions
Have you evrer heard of in_array() ?
could help though...
:-)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 21,
If you can do it on the command line why not just use the system function
and use the command you would use on the command line..?
What you try to do now is to feed the whole dump file to mysql_query..
This will never work because mysql_query will only accept one query at a
time and the
How to redirect to another page in php. Is there any inbuilt function
available for redirection.
If possible send with example.
Thanks
kishor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Isn't that what load data infile does?
http://www.mysql.com/doc/L/O/LOAD_DATA.html
Data Driven Design
P.O. Box 1084
Holly Hill, Florida 32125-1084
http://www.datadrivendesign.com
http://www.rossidesigns.net
- Original Message -
From: Peter Van Dijck [EMAIL PROTECTED]
To: [EMAIL
header("Location: http://your.dom/file");
- Original Message -
From: "Kishore" [EMAIL PROTECTED]
To: "phpgeneral" [EMAIL PROTECTED]
Sent: Saturday, April 21, 2001 11:28 PM
Subject: [PHP] redirection
How to redirect to another page in php. Is there any inbuilt function
available for
In a message dated 21/04/2001 15:31:36 GMT Daylight Time, [EMAIL PROTECTED]
writes:
How to redirect to another page in php. Is there any inbuilt function
available for redirection.
If possible send with example.
Thanks
kishor
Use the Header call,for more info see www.php.net and
Sorry for the OT post but this has me stumped and Google is not giving me
any good leads.
I am trying to setup Apache with PHP on Win32 (don't ask why). Anyhow, PHP
is working great but virtual hosting is not going so well. When the browser
brings up http://localhost/ it reads from [Apache
Hello,
I'm internet-databasing for over a year now and only used MySQL up untill
now.
Last week I spoke with a guy that was interested in running Interbase on a
Unix-webserver,
so I've got a couple of questions...
1. Can interbase be installed and run on every Unix-type (BSD)?
I've taken a
Hello,
How can I include any html or php file via .htaccess ?
I want to include an html file in a site contaning around 1000 pages. I want
to add header footer dynamically on these pages .
Is there any way to include header footer on these pages using .htaccess
file.
thanks in advance
Make sure AllowOverride includes Options and put these lines in your
.htaccess:
php_value auto_prepend_file header.html
php_value auto_append_file footer.html
-Rasmus
On Sat, 21 Apr 2001, Keyur Kalaria wrote:
Hello,
How can I include any html or php file via .htaccess ?
I want to include
the syntax for it is:
php_value auto_prepend_file /full/path/to/the/prepend.inc
php_value auto_append_file /full/path/to/the/append.inc
or you could also do this:
php_value include_path /full/path/to/the/includes
php_value auto_prepend_file prepend.inc
php_value auto_append_file append.inc
Hi!
I have users logging in on my site (they write news)..
What is the best way to show how's online?
Write to MySQL (last logged in) ?
Somehow use the sessions to this ?
-
Fredrik A. Takle
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
Taylor, Stewart wrote:
I'm fetching a serialized array from a database but when I call
unserialize() the function returns false.
Any suggestions as to why unserialize is returning false?
I once had this problem when I serialized an array which contained a
variable from global namespace
Can anybody tell me where I can get extension for MINI sql -- php_msql.dll for NT4.0?
Cheers
Shan GAO
On 20 Apr 2001 10:00:32 -0700 impersonator of [EMAIL PROTECTED]
("Matthew Luchak") planted I saw in php.general:
check php.ini file for "allow fopen" I think.
=20
Matthew Luchak=20
Webmaster
Kaydara Inc.=20
[EMAIL PROTECTED]
Thanks,
I don't know if you are
I know this is off-topic -- please forgive me. But I figure someone here
would know.
I'm looking for some really nice *professional* looking (submit, logon, buy,
help, etc) buttons for my website... I've done all kinds of searches on
MSN and Yahoo -- found a ton of sites that offer all
I'm wondering why IMAP_FETCH_OVERVIEW does not return the "to" value of
the message and why IMAP_HEADER does not return the UID of the message. I
need both of those values, but the idea of calling two functions which are
80% the same does not sound good to me... I suppose this will at least
header("Location: http://any.URL/you/need")
NOTE: header must be sent prior to any output. Otherwise this won't work
and a warning will be issued.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
See, that's for the website. You often don't want to look same as others, do
you? Then you should be making the buttons yourself, perhaps on a sexy Mac
OS X with some PhotoShop or Fireworks.
OK, nor even I make myself the buttons when I design a software interface
for internal use. I go to
I wrote this code but nothing append. If i look de code in the browser it's
stopping to starting!
What is the problème?
HTMLBODY
?php
echo "starting...";
if ( mysql_connect("localhost","php","php") )
{ echo "ok"; }
else
echo "error!";
?
/BODY/HTML
--
Check your error report settings.
When you refer to something like $id as:
if ($id)...
PHP will throw a warning that $id isn't set. It's a nice debugging feature,
but a pain in the arse otherwise.
The problem is PHP now has a higher error level for some reason, so just
nock it down to normal.
try
HTMLBODY
?php
echo "starting...";
if ( mysql_connect("localhost","php","php") )
{ echo "ok"; }
else {
echo "error!";
}
?
/BODY/HTML
- Original Message -
From: "Francois Boucher" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 21, 2001
try
HTMLBODY
?php
echo "starting...";
if ( mysql_connect("localhost","php","php") )
{ echo "ok"; }
else {
echo "error!";
}
?
/BODY/HTML
- Original Message -
From: "Francois Boucher" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 21, 2001
Personally I like to use mt_rand() rather than rand() as it's billed to be
faster and more random than plain old rand().
Kind of makes me wonder why they haven't just replaced rand() with
mt_rand()...
"seed" requires srand() for rand() and mt_srand() for mt_rand().
--
Plutarck
Should be
I suggest you should check if the mysql server is running.
And also you should check if there is a user "php" with password "php" and
with access from "localhost" granted on your mysql server.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Not enough "}".
Change it to:
?php
echo "starting...";
if ( mysql_connect("localhost","php","php") )
{
echo "ok";
} else
{
echo "error!";
}
?
--
Plutarck
Should be working on something...
...but forgot what it was.
""Francois Boucher"" [EMAIL
No real completely effective way of keeping someone from downloading an
image. If they _really_ want the image they can take a screenshot then slice
the image out.
You could always use a *shudder* java applet, but if they're very familiar
with a decompiler they can probably rip such a small
if($reqcat["indexname"] == $row["maincat"]){
Well, something is different about them. Are you sure there are no
leading or trailing spaces? Do a strlen() on each and make sure they are
the same lengths or trim() each one before the compare.
-Rasmus
--
PHP General Mailing List
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] ("Adam Charnock") wrote:
The following if statement always claims to be false.
However, I print out the variables in the if (which are strings) and they
are identical. Here it is:
if($reqcat["indexname"] == $row["maincat"])
It would
I've been toying around with Java to possibly interface with PHP, but I have
a question about it.
Is it just me, or is the GUI in most standalone java applications remarkably
(and annoyingly) buggy?
I downloaded Forte for Java by Sun, and after the 45 second loading time I
noticed that if you
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] ("PHPBeginner.com") wrote:
See, that's for the website. You often don't want to look same as others, do
you? Then you should be making the buttons yourself, perhaps on a sexy Mac
OS X with some PhotoShop or Fireworks.
OK, nor even I make
Hi
It is possible though quite complicated. You must write some kind of a
"proxy" with PHP. The process looks something like this:
The php script checks if the user is ok, reads the image file and then
echoes it out to the client. - simple as it may sound. But there is a couple
of points.
-Original Message-
From: Jon Shoberg [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 22 April 2001 00:39
To: phpgeneral
Subject: [PHP] [Apache] Win32 Virtual Host - Sub Domain
Sorry for the OT post but this has me stumped and Google is
not giving me
any good leads.
A good lead is the
I got it! :-)
""Wade"" [EMAIL PROTECTED] wrote in message
9bsudp$g23$[EMAIL PROTECTED]">news:9bsudp$g23$[EMAIL PROTECTED]...
I am submitting a form to a PHP page. I would like to check the form
variables before I load the page, and redirect them to another page if
they
variables are incorrect
Hi:
If you don't have plenty of ram on your machine, forget about running
Forte. Java applications that use swing look nice but they use a lot of
systems resources. It's not a bug, per se, but whenever your systems
runs out of physical memory and start writing stuff on the virtual
memory, that's
How do I increment dates past the turn of the month (or year)?
Say I've got a booking of equipment A for the 28 April to 5 May and want to
add each instance to a calendar (mysql table).
Can I increment the variable (format 2001-04-28) holding the date
($txtDate++) somehow so that it doesn't add
-BEGIN PGP MESSAGE-
Version: PGP 6.5.8ckt (Build 04)
Comment: Encryption is my right.PGP-6.5.8ckt is my choice !
qANQR1DBwk4DYzEkcS8WIUEQC/wIOOdxWfRr21Oxc1f8G7amgZrOFdJ47rx7YZ5X
XcQjDUlaivNQ3HZpoR5syHUc0hauWhB7Qaw9F0m/hrQNonpIT4n6iqIMo7NkoGBs
57 matches
Mail list logo