Thanks Garth,
- I put it aside until I could find enough clear time to spend reading it through. It
makes for good reading -
and your comment about caching being 'funny'/suiting different situations in different
ways is definitely
correct. I think you've helped me understand/clarify some
Garth,
my two cents...
=thank you for the description - it is worth more than a figurative two cents!
I used to work at a newspaper we used a very elaborate
caching system, it used to function at the at the
page subcomponent level (i.e. header, footer, left nav, articles
were all stored
want in
IE but Netscape refuses to lauch my 'logging out' page.
Does anyone have any suggestions as to how I could achieve the
following:
a) Browser window closed by user clicking on [X]
b) 'Logging out' page opened (which handles the PHP session deletion).
I hope this is clear enough.
Neil
???
Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 22-01-02 at 11:30
* Neil Freeman said
Does anyone have any suggestions as to how I could achieve the
following:
a) Browser window closed by user clicking on [X]
No but I'm sure someone will.
b) 'Logging
OK I'll have a look around. Thanks for your time Nick.
Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 22-01-02 at 11:46
* Neil Freeman said
OK I agree with you there :) But as I haven't called the session_destroy()
function the session file still resides
Josepablo,
Hey guys guess what.. the problem is fixed the was that at mailaddr.txt sense
the e-mails are each on one line each line has \n that crashed when asigning it
at mail() , ill make a note of this on the manul.. I have included below the
script iam now using.. what do you guys think?
Gidday Justin,
For us guys that don't get dates very often, the subject is one of intense
fascination! I answered a bunch of
these questions a couple of weeks back, and reproduce that discussion below. Also some
comments/responses to you
interspersed:-
I'm looking to normalise the way in
The greatest way of doing this is
1. develope php-script for generating updated html from moved php-script
and updating index.html (e.g. ;)
2. develope another script or program which will call the first one
periodically (once an hour, e.g.)
I like that.
It sounds similar to
Is anyone aware if such a debugging/documentation tool exists?
What is/do I mean by a cross referencer?
A tool which will list all of the variables (and function names ?and include files)
used within a
program/script, together with the line number(s) where they are mentioned - hopefully
Even with straight HTML, a server's load capacity is not infinite. If
my own server, an old Pentium with 4 GB of hard drive space, and which
serves nothing but static HTML pages, got hit with more than a couple
hundred hits in a short period of time, it would bomb.
I must be
Even with straight HTML, a server's load capacity is not infinite. If
my own server, an old Pentium with 4 GB of hard drive space, and which
serves nothing but static HTML pages, got hit with more than a couple
hundred hits in a short period of time, it would bomb.
I must be
Jeff,
Seeing Richard thinks I have blue (?blood) in (my) veins, I'd better respond nobly and
quickly...
Yes the db server and the webserver are on the same box, local
connections are much faster than network ones according to mysql. When
the site is busy the percent of the system being
Josepablo,
?
$maildb = file(mailaddr.txt);
foreach ($maildb as $address)
{ mail($address, THis is the subject\n, This is the message\n, From:
[EMAIL PROTECTED]\n); }
?
The mailaddr.txt looks like:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
However the script does send
JP,
(and good afternoon to CR!)
Linux
=straight into sendmail or some other email server?
Why the admin e-mail? i tested on two diffrent servers didnt work.
=because I was wondering where the strange 'from' email address came from. Are they
configured to different
addresses?
YEah.. i
: Josepablo Pérez [EMAIL PROTECTED]
To: DL Neil [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: 21 January 2002 22:43
Subject: Re: [PHP] foreach array into mail isn´t working
I guess its straight into sendmail sense i just use plain mail()
Root@myserver would be like nobody@myserver .. its just
?
=unfortunately, I'm turning in now, but send me what you end up with, and I'll try and
get back with an
answer/more ideas before you wake up tomorrow...
=Regards,
=dn
JP
-- Original message --
From: DL Neil [EMAIL PROTECTED]
To: Josepablo Pérez [EMAIL PROTECTED]
Date: Monday 21
Tj,
I am really baffled by this problem. I have tried so many things to get
this working but to no avail. Here is the
actual code:
function verify_user($username, $password){
$conn = mysql_connect($db_host, $db_user, $db_pass) or
...
Anyways the problem is I cannot get it to even get
Hank,
You youngster you!
One other dimension, the institutions can only offer classes in the languages (and
techniques/technologies) that
the trainers know and than they have the resources (hardware, compilers/interpreters)
to cover.
Maybe therein lies an answer to the 'marketing' side too.
Juni,
On Sun, 20 Jan 2002, Juni Adi wrote:
Hi folks,
After meessing up with installation stuffs, now
it's time for PHP code:
1. How to tell PHP to open a file like Perl do
through:
open (FILE, $file);
2. Same question, this time to open/read a
directory:
opendir (DIR,
Brandon,
Please do some 'homework': Will the native query run from the MySQL command line, or
in a admin tool? Have you
tried varying the number of fields? What are the column specifications?
In and amongst this you might like to check where you should have spaces (a) for
legibility
Chris,
\n = *nix
\r = Mac
\r\n = PC
(now that you've 'dropped' MS Notepad into the conversation...) The simplest M$
tools content themselves with
black blocks (apparently not being interested in your comfort), but the more
sophisticated tools will sometimes
oblige...
=dn
- Original
Dani,
Am slightly confused/finding the question ambiguous.
Could you provide the code you have so far, and the relevant column specification(s)?
Could be simple or complex!
=dn
- Original Message -
From: Dani [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 18 January 2002 12:22
Subject:
Jeff,
The following batch files works for me (WinNTWS 4.0 SP6a):-
cd c:\program files\php
php.exe -q c:\.path.\w.php c:\.path.\webute.log
NB the first line reflects my PHP config - your mileage may vary!
Of course the other possibility is to add the PHP folder into the PATH environment
Open up your server's config file, eg httpd.conf , and ensure that PHP's AddType line
has the extension .php3
Should look something like this:
AddType application/x-httpd-php .php .phtml .php3
HTH
Neil
Manu Verhaegen wrote:
Hi,
We have installed Apache 1.3.6 and PHP4
If we use
Mike and Jeff,
what about the [EMAIL PROTECTED]? is it failing on a 'bad' email address? or
maybe putting everything in variables and trying
mail($to,$subject,$message);
=there's a difference between the way PHP talks to an SMTP server (using mail()) on
Win32 compared to *nix -
which can
is already in the PATH variable...
I'm not doing anything different that http://bugs.php.net/bug.php?id=6742
,but for some reason the -c doesn't make a difference...
Jeff.
Dl Neil [EMAIL PROTECTED] wrote in message
0d4f01c1a00e$87036ee0$2916100a@jrbrown">news:0d4f01c1a00e$87036ee0$
path Look for php.ini file in this directory
PHP is case sensitive (whereas Windows is not).
Where is the .ini file? (not the PHP.exe file)
Does this help?
=dn
- Original Message -
From: Jeff D. Hamann [EMAIL PROTECTED]
To: DL Neil [EMAIL PROTECTED]; mike cullerton
[EMAIL PROTECTED
Jeff,
FWIW my system is set up to hold PHP in C:\program files\php, which is where the
php.exe can be found.
PHP.ini is supposed to be in c:\winnt isn't it?
=dn
- Original Message -
From: Jeff D. Hamann [EMAIL PROTECTED]
To: DL Neil [EMAIL PROTECTED]; mike cullerton
[EMAIL
You just have to remember that a string is simply a character array :)
Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 17-01-02 at 12:57
* Steve Edberg said
Actually, you can treat a string as an array without any further
processing:
$Globbot =
Alternatively, remember that HTML has this built in (and PHP outputs a HTML page):
move c) before a)
implement it using a meta tag in the HTML page HEAD section
d) will then happen after the defined time period
Regards,
=dn
- Original Message -
From: Jon Farmer [EMAIL PROTECTED]
To:
Niklas,
No good, since meta starts counting when page is first opened, so
Don't think this is applicable - When is the page opened: after the script reaches
the meta, or after the
script concludes and the web server sends the page to the browser?
If the latter, then the speed of the
You can use function_exists() to check whether a function actually exists:
eg:
if (function_exists('imap_open')) {
echo IMAP functions are available.br\n;
} else {
echo IMAP functions are not available.br\n;
}
HTH
Neil
S. Murali Krishna wrote:
Hai ALL
Is there any way
Hank,
You say just text and text/plain.
What do you mean by mungs the formatting? What formatting in plain text?
=dn
I've got an app that sends emails, not complicated emails, their just
text, the mail text is stored in text files on the server so they can be
edited independant of the code,
Sam,
I know I hear you all groan with this topic...
I know this topic has been asked before...
But looking through the archives there have been a lot of advice, URLs,
classes given out, yet I haven't really found anything that can easily be
implemented so that I can send muliple
/error_email_in_profile.php;
$error =1 ;
}
What regular expression do i neep to use , is there any reference out there
to tell me ?
Urls / info is greatly appreciatted.
Thanks in advance !!
Neil
--
Totally FREE dating site. FREE all-inclusive lifetime membership when you
join
Hi Martin,
2 because the (function argument) controlling feature is the connection, it is not
possible for another
concurrent user to 'steal' your ID or influence the ID returned to you - it's all
yours!
Ok, assume you are correct, but what if you are using persistent
connections (ie
Hi Jimmy,
2 because the (function argument) controlling feature is the
connection, it is not possible for another concurrent user to
'steal' your ID or influence the ID returned to you - it's all
Ok, assume you are correct, but what if you are using persistent
connections (ie
Hi Jimmy,
the only problem i can think of might occur with pconnect is,
last_insert_id() will return you the last inserted ID from
previous 'session', not current 'session'.
to prevent this, you should call last_insert_id() only when
your INSERT query executed succesfully.
=Of course
Phil,
After I make a queryhow do I fetch a specific row from that query ??
=isn't the purpose of the query to return specific results?
=dn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
? There is a difference between *nix, Windows, and Mac with
line ends being represented
by LF, CRLF, or CR.
=Regards,
=dn
On Wed, Jan 16, 2002 at 04:29:03PM -, DL Neil wrote:
Hank,
You say just text and text/plain.
What do you mean by mungs the formatting? What formatting in plain text?
=dn
I've
, and whilst
nothing's happening take the
MySQL server offline, then restart the script by returning from the form, and execute
the call...
=I can't do this because my portable runs everything on one box (dev and prod and...).
nice discussion, Neil :)
=thinking that stretches the mind!
=dn
supplied for foreach() in b
get_rpm_info.php/b on line b29/bbr
--
many thanx in advance
Neil
:)
--
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: [EMAIL
Hi Wee,
Is it possible that I would get the wrong ID (Not the ID I just inserted in
Auto_Increment field) by using mysql_insert_id function if someone is also
inserting record at the same time? How does mysql_insert_id work accurately?
=A couple of things here:
1 if the field is defined as
Hi Wee,
Is it possible that I would get the wrong ID (Not the ID I just inserted in
Auto_Increment field) by using mysql_insert_id function if someone is also
inserting record at the same time? How does mysql_insert_id work accurately?
=A couple of things here:
1 if the field is defined as
There is no native PHP function for getting a stack trace. This has been
discussed many times on the PHP-DEV mailing list. It has always been
discarded due to an unacceptable overhead that would be introduced into the
parsing process.
I'm not sure if any decision has been made with respect to the
Marvin,
I'm using the PHP date() function on my site, but since my hosting company
(Pair Networks) is on the East Coast and I'm on the West Coast, everything
shows as three hours later (for most of my visitors, anyway). Pair tells me
there's no setting I can make on my account to change the
Rasmus,
I have held several datetime-related conversations with people recently, and another
series about 'when'/whether
to use PHP or MySQL functionality.
Here you are, the man of PHP, advising Sander to use MySQL functionality! (and in
marked contrast to the
(biased) advice one might expect
Alexis,
Could anybody confirm exactly which characters, if any, are NOT valid in an
email address.
=such rules of the Internet are laid out in documents called RFCs (initially they
are Requests for Comment
but once adopted become ...) You are looking for RFC822 (although there are others
Yes, I thought about that. But, what should I do when the markers are absolutely NOT
in any sequence.
=sequence would matter if it was possible that one of the markers could replace some
text and that replacement
subsequently became the marker for a further replacement ... nightmare=recursion!
Or checkout the sql import facilities offered by your choice of database to 'convert'
the data from log to
db-tbl, then set up your analysis in PHP+SQL separately.
=dn
- Original Message -
From: Martin Wickman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 11 January 2002 09:08
Subject:
Hi there guys,
Who's awake today then? :) What I'm trying to do is create variable
variable arrays and then fill these arrays with values. The problem I
have though is that the values don't appear to be getting stored - as
following the assignment I have outputted a 'sizeof' command which
always
That's done the trick. More coffee for me I think :) Cheers Jason.
Jason Wong wrote:
On Friday 11 January 2002 20:02, Neil Freeman wrote:
Hi there guys,
Who's awake today then? :)
Someone isn't :)
Here's a snippet of the code. Any ideas guys???
...
//store children
Brian,
first off, Martin your suggestion looks great but I don't think its SQL
syntax is supported by MySQL. It's a good start though - gives me something
to work with :)
=until it is tried, you won't know! From an SQL point of view it looks ok. In fairness
to Martin, from the
'further
Erik,
Two suggestions:
1 check out mysql_fetch_assoc(), and
2 make use of AS to 'set' the variable names (carried through from MySQL to PHP).
Regards,
=dn
- Original Message -
From: Erik Price [EMAIL PROTECTED]
To: Rick Emery [EMAIL PROTECTED]; PHP [EMAIL PROTECTED]
Sent: 10 January
You should probably consider ASP.NET. Visual Studio .NET is out in early Feb
and ASP.NET makes an enormous leap in functionality. It should almost be
considered a new web development environment.
It allows development in any CLR compliant language (straight VB.NET, C#,
managed C++ etc..)
It
RE: [PHP] counting with dates (help!)Hi Sander,
(and Chris, and Martin)
$today = date(Ymd, mktime(0,0,0, date(m),date(d),date(Y)));
$last_week = date(Ymd, mktime(0,0,0, date(m),date(d)-7,date(Y)));
echo ($today - $last_week);
The result is a number like 8876 (20020107-20011231 = 8876)
But
CJ,
i have a problem using the mail function on my server.
win2000 Pro
IIS 5.0
PHP Version 4.0.6
i'm not sure if it's a configuration problem with IIS or i'm missing
something in the php.ini file.
The pre-requisite is that the php.ini file points to a visible SMTP server. Please
Hey Steve,
Im need to generate an email and Im trying to keep the exact spacing
I use when I define the body of the email. When the email is sent and i
view it with Outlick Express or simply use Pine, the spacing is all out
of wack. (Too many spaces here, not enough spaces there)
I think
Hi Sander,
I made a database with bookmarks, these bookmarks are catogarized by
type.
Now I want to display those bookmarks in tables by category. This works
already fine.
The only problem I have is that the tables are very difficult to handle.
I want to make 4 tables in a row (so that
What warnings are you receiving? Many can be avoided by doing various
checks:
e.g.
if (!isset($some_variable))
...some error code
else
...all is well
others which may be useful:
function_exists()
file_exists()
HTH
Neil
Yoel Benitez Fonseca wrote:
Hi!
There is in PHP some way
, its image files i am uploading , how do i know what type of
image the file was ? like .jpg , .png etc.
Any help appreciatted , i am really stuck on this ;0)
Thanks
Neil M
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
How about MySQL Front (www.mysqlfront.de). Couple of 'features' here and
there but overall pretty good.
Neil
Hai Nguyen wrote:
Hi,
I am a newbie at this. I was just wondering if there is a Graphical
User Interface for MySQL?
Cheers,
Hai Nguyen
--
PHP General Mailing List (http
I'm using gd png in 4.0.6 with no problems (Windows). What problems are you
having?
Robert Covell wrote:
A question about different release versions of PHP.
Why do things like png from gd 1.8 work in 4.0.4p1 and stops working in
4.0.6? We had to go back to 4.0.4p1. I have seen similar
Have a look at:
http://www.faqts.com/knowledge_base/view.phtml/aid/863/fid/129
May be of some use.
Neil
Derek Mailer wrote:
I have a problem with a form on my website.
it's part of a shopping cart application, whereby the form consists of a list of
products and the user enters
Third db question today: do folk know there is a (lightly loaded) '[PHP-DB] list' with
some v.competent members?
Hi Alexander,
- Original Message -
Let me start by laying out some facts:
SELECT e.NAME AS customer, g.NAME AS driver_lastname, g.FIRSTNAME AS
driver_firstname,
Rudolph,
Mail() is v.finicky!
Windows machines need more than the \n - what are you running?
Have you tried putting some string of characters into the (text) msg body?
Can you send us a copy of the actual email msg showing the headers etc (output as
received at the POP/IMAP
server) - after
BTW, the official explanation is wrong.
local part this variable is destroyed and declared again
is incorrect. The global variable is not destroyed. The local namespace
pushes the variable name onto the stack and gives it a value for the
duration of the function. Every time you try and access
Is is advisable that I mail lots of users from a database via one call to
mail() ?
why not make a loop and send to one email at a time. if you have over
1000 I would use something else than mail(), ex direct to smtp with sockets.
Henrik,
It is my opinion (too?) that mail() is
Hi Sjoerd,
When i send a dynamic HTML newletter, which contains newsitems in the
database I now send the e-mail with a link to the image on the webserver.
What i would like to do is instead of linking the image, send the image as a
sort of attachment. So an internetconnection is not
Hi Sundog,
Can help you with dates (but no, if you want that kind you'll definitely not be
wanting my advice...)
- Original Message -
I am trying to determine if todays date ($today) is within a week
($startcheck) of a given date ($dob). This is what I have so far.
$todaydate =
Probably not your problem but shouldn't your php line be as follows:
?php phpinfo(); ?
ie without the space between ? and php?
Caleb Carvalho wrote:
Hi all,
I've just finish upgrading my apache server to apache 1.3.22,
I have also compiled my php-4.0.6 with it.
When I try to test it
Would the annotated manual LXV. PHP options information be of any use?
=dn
- Original Message -
From: jennyw [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 03 November 2001 03:18
Subject: [PHP] Re: Questions about php.ini
This is a dedicated server, and I have several sites on it.
Maybe I should be posting this on the Procmail list but someone here
might have a non-Procmail solution. I'm trying to get a PHP script to
process incoming email. The script will lookup a database and do
something depending on the mail headers. I'm running on a FreeBSD
virtual server account
Wow, there are some long and curly ways to use RegExp-s aren't there? I'm not very
good at them (and I hear that
they can be expensively inefficient) so I tend to look elsewhere.
Check out pathinfo -- Returns information about a file path
array pathinfo (string path)
pathinfo() returns an
Mike,
We have PHP installed as an ISAP module on our W2K IIS5 server and
its operational with no problems - phpinfo() runs just fine.
But - When I uncomment the php_mssql.dll extension in php.ini I get an error
when PHP starts up saying it cannot find the .dll file.
The extension
I am trying to ad extra headers to email's I am sending through php. I
want to ad Reply-To: and Bounse-To: addresses. But when add them useing
the forth feild of the mail() funtion.
mail($recipient,$msubject,$message,Reply-To: $sender);
but for some reason when I send this e-mail it puts
Somewhere on my travels around the many PHP/script sites, I'm sure that at one time I
noticed a date-display
utility. I cannot find it again. Please would someone point the way...
What I'm looking for:
displays a form with a variety of date/time fields, user enters a date/time into
various
I have following code, sorry it's pretty big for posting, i want to
split the output into 2 colomns, been trying almost all still can't
get it working
Harik,
First off, have you checked the manual
(http://uk.php.net/manual/en/function.mysql-result.php) and the
recommendations against the
I teach law at a university .. I also run the website here ...
Thankfully Tasmania is not considered part of Australia. :)
*troll bait away*
=but are you trolling for bad lawyer jokes to wind up brendan, or inviting the rest to
take on the Aussies?
=Tasmania advertises itself as the
In an on-again-off-again desultory style, I keep trying to find the time to study
template systems - and quite
separately see if I can find a practical use for XML.
The idea of a template system is that the HTML code/presentation of the final view to
the user/browser, can be
devised/maintained
Is there someone 'up' on the way Apache works who can offer some comment please?
Th how do I display 'please wait' question was asked by someone (else) last week.
The standard answer is
no - server-side PHP assembles an HTML page, and when it is completed the whole page
is transmitted from
John,
Netscape! Differences between servers AND differences between browsers AND differences
between in-browser and
command-line operations!
Isn't life fun?
Like you I'm messing around with some of these differences as part of a bid to
'convert' an existing set of
scripts from browser i/f to
Jokes aside, I still don't get it.
=the word it is part of the difficulty everyone faces in thinking about whether they
could help or not - what
it is, is not apparent
1 there is a problem with a mysql_pconnect() call, and
2 there is a problem with a mysql_query() call.
Which one is it?
=the
Imar,
The global array is being defined in the mainline, but not populated. What happens if
you set element 0 to some
value (to take up some storage space first) and then try the switched function calls?
When you say Alas, this also emptied the array each time I went from one function to
Hello guys
function replace_text_smiley(){
global $comment;
// To add a relation between a text smiley a an image smiley do this:
// $faces[text smiley here] = img tag to image smile here;
$faces[:)] = IMG SRC=\emoticons/smile.gif\;
$faces[:P] = IMG SRC=\emoticons/tongue.gif\;
I am writing a script using php's command line ability and I am lost on
how to work with a file when I don't kow what the file's name is.
Example:
script.php -f file
In my script, how do I reference the file when I have no idea what it's
name is going to be?
The scrip will get
THanks.
Dl Neil [EMAIL PROTECTED] wrote in message
048001c15dab$d5c0fcf0$a516100a@jrbrown">news:048001c15dab$d5c0fcf0$a516100a@jrbrown...
I have just set up PHP on my webserver (IIS 4 on NT4).
I have set up the script mapping so that I can save php files as .html
and
php p
I have an two dimensional array that is returned from code from an included
file. I'm assigning parts of the array to variables ( $variable =
$array[key][value]; ). This works fine and can be printed until I send
it through a function eg. ( ereg_replace( , _, $variable); ). After
this,
Don't you like the side-benefits of this list, eg that someone comes up with a
question that gets your thought processes
running or suggests an idea you'd not otherwise come up with!?
So further to the question:
How can I know the line and the file from where a function has called. I
already
Mark,
Backing John's question up by one iteration: is there a PHP environment variable which
can be used to
distinguish between code being run from the command line and code being run in a
browser?
- and the Million dollar question, sorry make that the M$ question: will it also work
under
, this will contain the query string.
$argc
Contains the number of command line parameters passed to the script (if run
on the command line).
In case you have any parameter
hope this helps... and this should work on windows too.
- Original Message -
From: DL Neil [EMAIL PROTECTED
I suspect that PHP does all of it's work and, only when complete, will it
send the generated html to the client.
No matter what you try and do there's no way you can output the progress of
your script to the browser while it is still being parsed.
I could be wrong, but this is my
John A. Grant [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I've installed ActivePerl, which gives me a way to run .pl files,
i.e. :
c:\ perl someprogram.pl
Does the Win32 php installation give me a command-line
interpreter like that?
[...]
I have just set up PHP on my webserver (IIS 4 on NT4).
I have set up the script mapping so that I can save php files as .html and
php processes them.
This works fine until someone goes to a page that doesn't exist - instead of
getting the customised error 404 page (i.e. the page you
Please define long, and perhaps think of that in the context of the RFC ?822 is it?
=dn
- Original Message -
From: BT News [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 25 October 2001 17:38
Subject: [PHP] Truncating Lines
Hi,
I have the following code, which reads in an html file
Why does your URL contain .asp?
[EMAIL PROTECTED] wrote:
I found the following code currently used on our website to match a url
expression. Unfortunately, when I added a question mark, the webpage that
contained the url with the question mark just hung and would not load into
my browser at
I have a need for a package mechanism like that provided by TCL. We
write a
lot of code in reusable libraries and often encounter the situation in
which
an application uses a particular library but requires at least version X
or
greater.
The require(), require_once(), etc. functionality
Douw,
It's kind of eerie the way your reply appears in my email before I can see my
intervening post!!!???
Perhaps you're just more important than me (bow, scrape, simper...)
Thanks for the feedback and additional ideas.
=HTH
I had also though that it might be necessary to separate out the
On Wednesday 24 October 2001 19:14, Richard S. Crawford wrote:
The default value for $image parameter was missing:
function top ($image=defaultvalue) {
if ($image==defaultvalue) echo blah blah blah;
else echo blah blah $image blah;
}
If the default value can be
I'm running 4.0.6 on a Solaris 8 box. The output given by
echo mktime(0,0,0,1,1,1970);
is 3600.
Shouldn't it be 0? My box's locale is set to the UK defaults, so as I write
this we are in daylight savings (GMT+1). Would this make a difference? (I
have already tried
echo
301 - 400 of 465 matches
Mail list logo