At 11:27 AM 8/6/2003 -0500, Jay Blanchard wrote:
[snip]
Just a remark but isn't it pointless to use Hungariannotation in a
language that is by default typeless???
[/snip]
We use it becuase we have a group of programmers, so the notation makes
it easier for one in the group to understand the intenti
At 07:57 PM 8/7/2003 -0500, php list wrote:
I am using php mail and setting all my $headers info to show From:, To:,
etc.
It work perfectly on my computer. I use MS Outlook.
I am doing this for a client who received his email via his aol account.
When he receives the email, the email comes in with
Yes, I'm top posting, pls forgive.
This is a situation where an editor which has built-in brace matching
really helps - if in the midst of "looking" one remembers to use it.
Another tip, although it probably wouldn't help here: Save the code with a
.phps extension and look at it in the browser.
html page is parsed by PHP.
He will still have to turn PHP on and off within the page.
Unless he *really* wants to hide usage of PHP, I don't see the point of
doing this.
Miles Thompson
PS Curt - Like the sig.
Curt
--
"I used to think I was indecisive, but now I'm not
Matt,
Juli Meloni has a tutorial on this at her web site. I think it's called
something like "Custom Error Messages" and if I remember the fields are
pulled from a database, and there are code examples of how it operates if
fields are not completed, information fails a simple parsing test, etc.
Yes!
And where do we find the tags ?
Cheers - Miles
At 09:55 PM 7/23/2003 +0200, Petre Agenbag wrote:
If you want to "use PHP", then you must use the headers() function. BUT,
with the header function, you MUST make sure that there will be absolutely
NO output to the page before the header() fu
might be too much info; what does your prof want?)
HTH - Miles Thompson
At 10:45 AM 7/10/2003 +0930, Brenton Dobell wrote:
I know im probibly getting irritating to most of you :P but i thought i may
ask another thing that is on my mind!
I have a sql query bringing back 200 rows for arguments sake
Randy,
Flash is so damned graphically oriented, but the graphic bits aren't
necessarily connected to bits of data ...
I'm just talking off the top of my head here w/o knowing any specifics
of your requirements.
Assuming you have n cars, then two tracks would have to be created, each
with
Jim,
The key words are "implode" on the PHP side and "split" on the Flash side.
Here's an example:
The data is returned from PHP like so, after doing the connect, select,
etc. to produce an array of 7 dates for back issues ... no claim that this
is optimal code.
if( $result && mysql_num_rows(
Micah,
Echo your SELECT statement to make certain it reads the way it should.
Test for number of rows returned, or an error - $result probably contains
nothing, that is it's not pointing to an array.
Miles
At 01:23 PM 7/7/2003 -0600, Micah Montoy wrote:
Anyone see what is wrong with this?
//ge
Start with a good tutorial on PHP and MySQL - there are scads of them
around, and Julie Meloni has some excellent examples at www.thickbook.com.
At 04:41 PM 7/6/2003 -0300, Kevin Fradkin wrote:
hi...
i have this secuence to insert data to my db
mysql_query
("INSERT INTO my_table(
number,name,sur
Start by checking the file functions in the manual - there are some
interesting options for foen().
Miles
At 10:59 AM 7/1/2003 -0500, Kyle Babich wrote:
How would I set the file pointer to the very end of the last line of the
file?
ex. ahkjhff
asdjfhlkajf
sdfhaksljdh
kasjdhkjlfh
asdjfhklajs
askjdh
Your intention is a little foggy.
PHP is server side, it works through the web server, thus Apache parses the
scripts, so no, it can't.
If you mean scripts on one box, database on another, no problem.
Miles Thompson
At 09:20 AM 7/1/2003 -0500, Jay Blanchard wrote:
I don't know the
art typing "php-" it autocompletes.
Sorry for jumping in, and wasting bandwidth, but this is a petty matter.
More importantly, this is a pretty high quality list, with good questions,
solid answers, and, most of the time, consideration shown for others.
Regards - Miles Thompson
At 0
Don't flame me, this doesn't have a PHP back end, I suspect it's Flash
Communications server at the back end, as there seems to be a constant data
stream for virtually every change made on the form. But everyone should
have a look at the Broadmoor's Reservation system, and play with it a bit ...
Try cleaning it up ...
switch( trim( strtoupper( $type ) ) );
I had this happen to me - the $type echoed OK, but would not get caught in
the "case". The above fixed it.
Miles Thompson
At 02:18 PM 6/18/2003 +0100, cg wrote:
I am testing a var in a switch statement,
sw
So it's not a PHP solution, I'm popping up an intermediate window and
closing it, which is ugly - flicker. And I've not been able to figure out
a way to have that intermediate window open at a small size -- everything
in JS seems to operate on children.
Regards - Miles Thompson
and I need a new one.
I obviously can't pass ckval in the URL, and I don't have any way, that I
know of, to fake a POST.
Suggestions or nudges in the right direction will be appreciated.
Regards - Miles Thompson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 01:45 AM 6/17/2003 +0800, Jason Wong wrote:
On Tuesday 17 June 2003 01:29, Miles Thompson wrote:
> Hard to say - bugbear is making the rounds, and it's a pernicious little
> beastie.
>
> It not only uses an existing address list, it has a built-in SMTP mailer
> and synt
Marios,
Hard to say - bugbear is making the rounds, and it's a pernicious little
beastie.
It not only uses an existing address list, it has a built-in SMTP mailer
and synthesizes not only "To:" addresses, but also "From:" addresses.
Last week I had mail addressed to me ([EMAIL PROTECTED]) from
also investigate flush() (I think) .
HTH -Miles Thompson
At 03:19 PM 6/13/2003 +0200, you wrote:
Hi all,
Sending multiple emails using PHP - as BCC or multiple mail() commands -
takes quite long; usually over 50 seconds for 10 addresses.
While sending these messages the browser won't show any
hen I have to
edit a news story!) /mt
At 05:50 PM 6/11/2003 -0400, Leif K-Brooks wrote:
That's plain wrong. This is the /world wide/ web, not the IE users'
club. Either stop that BS or keep off of the internet!
Miles Thompson wrote:
We limited our users to using IE
--
The above
Check out stripslashes().
MT
At 04:16 PM 6/11/2003 -0400, Matt Palermo wrote:
I wrote a small script that creates a link to all the .php and .txt files
in a given directory. When one of these links is clicked, it brings up
another window with the files contents inserted into a text area. From
ripslashes, and nothing else.
When the story is fed for printing, the text body is processed this way,
$stext = $row[ txtBody ] ;
$stext = stripslashes( $row[ txtBody ] );
$stext = ereg_replace("(\r\n|\n|\r)", "", $stext);
The last line was cribbed fro
on a dialup connection, too.
Addressing examples, etc., there are an awful lot of good tutorials out
there for PHP, once a couple of those are worked through you pretty well
have what you need.
HTH - Miles Thompson
At 12:49 PM 6/10/2003 -0500, Jay Blanchard wrote:
[snip]
Does anyone have any
The "editor" topic has been beat to death, please check the archive.
However, PHP is code, all code, there's no "visual" component. All a visual
editor would give you is a prettier interface; be more concerned about an
editor that lets YOU write quickly and efficiently, whether it be vim,
emacs
member page? Because the
header() is function is called and there can be no output at all before
that function.
How you authenticate is up to you, but there's a good start, if I remember
correctly, at http://www.thickbook.com, or Devshed, Webmonkey, etc. There
are a couple of good article
Jason ...
A fellow proofreader!! Well done!
Miles
> We all know your smarter than the rest of us ;-)
I hope you don't think I'm making you stupid, but I think you mean "you're".
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
--
PHP General Mailing List (http://www.php.net/)
To un
g a particular class, or
won't let go of the bone, but they're rare.
8. Rasmus L. watches the list!
9. It's open to exchanges like this, which would never get past a moderator.
10. Overall, people are really responsive.
Cheers - Miles Thompson
At 01:14 PM 4/3/2003 +1000, [EMAIL PROTEC
Come on, check the mysql section of the PHP manual ... this took about 20 sec
http://www.php.net/manual/en/function.mysql-list-tables.php
At 11:34 PM 3/30/2003 +0300, Antti wrote:
How do I test if a mysql table exists or not? Is there a function for
this? I didn't find a good one.
-antti
--
PHP
e and represents only char
0 - 127 - what I know as high-ascii goes from 128 - 254 - happy faces and
the like, and yes, characters with unlauts and acute or grave accents.
If you look at the .csv with a plain text editor, what do you see?
No answer - but I hope this helped.
Miles Thompson
At 10:16
http://www.editworkspro.com/index.php
I've not used it, and it requires IE - but the demo was impressive.
Miles
At 11:21 AM 3/28/2003 -0800, Daniel Guerrier wrote:
Does anyone know of an open source webeditor that I
can use to enter information into a text area field.
I have a custom CMS and I wou
As noted earlier, in the manual
and please don't cross post.
Miles
At 05:37 PM 3/26/2003 +, shaun wrote:
Hi,
i would like to list all of the tables and field names in my database
e.g.
table 1
field 1
field 2
field 3
table 2
field 1
field 2
field 3
table 3
field 1
field 2
use auto increment. Not because of gaps, but in case I need to
reload the table. They do have meaning if they are foreign keys to another
table.
- Larry
-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 16, 2003 1:14 PM
To: Phillip S. Baker; PHP
Phillip,
It doesn't matter, obviously you're not using the autoincrement ID for a
foreign key. All this does is identify a record.
If you did a SELECT and found a missing sequence number, what's to say that
value would not be inserted by another user before your INSERT? If you have
not set up
find it at www.thickbook.com
Scripting often requires us to invert what we would see as the "normal"
flow of eventsl
Cheers - Miles Thompson
At 09:01 AM 2/15/2003 -0500, Malcolm wrote:
Hello,
I've been fooling with this for a few days now.
I'm getting a hearders already sent e
Do the database updates, it's what db's are for!Q
M.
At 09:40 AM 2/4/2003 -0500, Leonard Burton wrote:
What about making the log a .txt file and not a database? Wouldnt that be
quicker?
Leonard.
-Original Message-
From: Lowell Allen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04
server is installed. No one is encouraged to all access to the underlying
system through the web server, although the exec() function allows
execution of some commands.
I can't help you much more than that, and I believe the other list will be
more fruitful.
Regards - Miles Thompson
At 07
the file, using appropriate headers.
For the second, why not do a redirect to the audio server, passing the
necessary parameters?
Not knowing the first thing about how this works, why not?
Miles Thompson
At 12:55 PM 11/27/2002 -0800, Mako Shark wrote:
Does anyone know how to do streaming audio
ntally surround the whole of
the output - this would bring NS 4.x to its knees.
HTH - Miles Thompson
At 02:57 PM 11/27/2002 -0500, Matt Vos wrote:
I'm not sure...
I always echo... I don't really like embedded code... gets confusing when
one part of the page is one thing and another is a
It's not the same as simply generating a report in PDF. He's looking for a
band-type of report writer with groupoing levels, automatic totals,
subtotals, sub reports, drag anddrop fields, right click formatting
options, etc. One of the great leaps backwards with PHP, or any of the
scripting l
be able to figure it out, otherwise query each table in
turn & pick the most recent according to whatever criteria you use.
Have an index on the field which determines "most recent", check the max()
function and side effects it may have on query speed.
Cheers - Miles Thompson
PS Why
From concept to reality?
mt
At 02:51 PM 10/4/2002 +0200, Maxim Maletsky wrote:
>Distance of what?
>
>
>On Fri, 4 Oct 2002 07:21:53 -0500
>"RoyW" <[EMAIL PROTECTED]> wrote:
>
> > There has to be somewhere you can pick up a script or function that will
> > calculate distance?
> >
> > :-)
> >
> > R
Fully concur.
mt
At 01:26 PM 9/27/2002 +0100, Ford, Mike [LSS] wrote:
> > -Original Message-
> > From: Arminas [mailto:[EMAIL PROTECTED]]
> > Sent: 27 September 2002 11:38
> >
> > about http://smanager.web1000.com/
>
>I think the page needs a drastic proof-read and grammar
Or, as my teenage son, who is smarter than me, suggests ...
1 / $x + abs( $x )
which yields 1/0 if $x is neg. (He didn't go into trapping for the error
... sigh.)
Miles
At 11:07 PM 9/25/2002 -0300, Miles Thompson wrote:
>$x = -1;
>if ($x < 0 ){
> echo &quo
$x = -1;
if ($x < 0 ){
echo "Negative";
else
echo "Positive";
}
Or am I missing something?
Miles
At 07:02 PM 9/25/2002 -0700, Mike Dunlop wrote:
>I've look through all the numerican functions but can't readily see a way
>to test for a negative number e.g -7
>
>Any ideas o
e "14" is the length of the theme name
Make certain the name you use matches the case used in the directory
holding the theme.
The closing ";" must be included.
I also tried clicking and swearing, but the system would not respond.
Hope this helps - Miles Thompson
At 03:58 AM 9/25
Marek's a bit more elegant, but I'm wondering when twelve of us press the
button and the database is hit bang, bang, bang. Mightn't a MySQL
autoincrement field be better, and let MySQL do the work?
mt
At 07:32 PM 9/24/2002 +0200, Marek Kilimajer wrote:
>Or better UPDATE table SET col = col +1
Save it
Create the mail message & attach PDF
Send it
Delete the copy
Repeat
Regards - Miles Thompson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Julie Meloni to the rescue again - http://www.thickbookcom, you'll find a
tutorial on custom error messages.
In fact, after working on that you may rethink your approach.
Miles Thompson
At 04:31 PM 9/11/2002 +0300, Meltem Demirkus wrote:
>Hi,
>I am working on a process which
begin by transaction, execute
them, and do a commit or a rollback.
Cdn$ .02 - Miles Thompson
At 04:59 PM 8/29/2002 +0200, Geranium wrote:
>I could use some practical tips on doing transactions with InnoDB
>tables in MySQL.
>
>I want to grab and lock a record and do a whole load o
Have you tried saving the pages with a .phps extension and looking at them
in a browser? That usually uncovers syntactical errors quite quickly.
Miles
At 10:08 PM 8/15/2002 +0200, Christian Ista wrote:
> > Havn't the foggiest idea what it means, but what has usually happened
>is
> > that I misse
Havn't the foggiest idea what it means, but what has usually happened is
that I missed a ";" on an earlier line.
MT
At 09:54 PM 8/15/2002 +0200, Christian Ista wrote:
>Hello,
>
>Could you tell me the signification of this error :
>
>Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING
what they
are. (You can do this unless you've gone too far with your system.)
Miles Thompson
At 02:15 PM 8/14/2002 +0200, lallous wrote:
>give this query:
>
> SELECT
> table_routing.id AS routeid,
> t
rench
>
>
>on 15/08/02 10:36 PM, Miles Thompson ([EMAIL PROTECTED]) wrote:
>
> > This is somewhat off-topic, but has to do with shared hosting. All of my
> > experience with Linux has been on boxes where I've pretty well had the only
> > account. I'm no
table. I could also insert records (which I subsequently deleted) into
existing tables.
Call me naive, but is this normal, or should I bail on this arrangement
before going any further? It's a BSD system.
Comments and opinions are solicited.
Regards - Miles Thompson
--
PHP Gener
Huy,
Use Editplus, or something similar, not Notepad. Costs $45 and makes your
work *much* easier.
Miles
At 08:41 AM 8/13/2002 -0700, Huy wrote:
>Thanks,
>
>I thought I checked that already. Obviously, I use notepad in Win2000 to
>edit the files, and save them as Unicode file, which Notepad p
mean it didn't have an interface, I edited the source for the
script every time I sent a mail. No problem, as it was a "proof of concept".
Mightn't there be something at Hotscripts?
HTH - Miles Thompson
At 01:09 AM 8/14/2002 +1000, Justin French wrote:
>Hi all,
>
&g
to feed a pdf stored on disk to a browser. I'd imagine
extracting and displaying a PDF from a database would be similar to doing
the same thing for a .jpg.
Miles Thompson
At 10:03 AM 7/25/2002 -0500, Tyler Longren wrote:
>Hi,
>
>I've been searching around for ways to convert
e what they are.
Regards - Miles Thompson
At 06:37 PM 7/18/2002 -0700, Vincent wrote:
>Hi, I'm a newbie here. I don't know what went wrong.
>I've tried searching for solutions and can't find any.
>How come pg_connect() isn't defined? Should I include
>any header file
t;
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
John,
Reasons why? I've been looking at a number of them; PostNuke seems to have
the most aggressive development effort, including modules, blocks and themes.
ned to
turn that off. Can you imagine reading an HTML formatted message in
Pegasus, mutt or pine?
Cheers - Miles Thompson
At 02:45 AM 7/12/2002 -0300, César Aracena wrote:
>Its me again
and not PHP related. Why is it that every piece of mail I
>send to the list comes back as a *rich text
se you can proceed with your processing. I've
also noted Chris Hewitt's suggestions re number of connections, etc.;
that's worth checking as well.
See below as well ...
Cheers - Miles Thompson
At 04:00 PM 7/11/2002 -02-30, Kondwani Spike Mkandawire wrote:
>Hallo folks: (Sorry fo
ve often sat slack-mouthed
wondering why I had no data, simply because I was using "<" when it should
have been ">".
Cheers - Miles Thompson
At 12:06 PM 7/11/2002 -0400, Alexander Ross wrote:
>I realize this isn't a php question, but I figured that someone here k
sequential searches through a database. They
are agonizingly slow.
Regards - Miles Thompson
PS cs.mun.ca is different, where are you located?
At 04:31 PM 7/9/2002 -02-30, you wrote:
>I got it fixed by changing the Max Execution Time in the
>php.ini file... However, this is ridiculously sl
ox.
This ain't much help - Miles
At 02:21 PM 7/4/2002 -0400, Liam Gibbs wrote:
>Miles Thompson wrote:
> > Unfortunately I discarded the earlier messages, so I don't know what your
> > error is.
>
>When I try to send an email I get:
>unrouteable mail domain "
this?
You may have to configure exim to use sympatico's SMTP server. (It's been
so long since I've done that I forget how, and it was a real trial and
error approach.)
This probably isn't much help - Miles Thompson
PS You may want to post this on the nslug.ca list; some mai
tions were not really reliable and were intended mostly to
extract info for export to another database. I could not be 100% wrong on
that, and I've not worked with the dbase functions in PHP.
After this reply, please keep this focused on the php-db list.
Regards - Miles Thompson
At 12:14 P
advantage of key fields are so slow.
Indexes are your friend, they don't slow down the addition of records that
much, and make retrieval of records extremely fast.
Regards - Miles Thompson
At 02:13 PM 5/2/2002 +0200, Christoph Starkmann wrote:
>Hi there!
>
>I guess I got a very eas
tioned scripts which are
less busy, and on which navigation is clearer?
Regards - Miles Thompson
PS If you don't want to clutter the list, reply to me offlist and I'll
summarize and post. /mt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hugh,
No need - if you wouldn't mind, just post this list each day, along with
the header "PHP FAQs -Check here first!"
Miles
At 10:17 AM 4/3/2002 -0500, Hugh Bothwell wrote:
>"Justin French" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I saw this mentio
? The ones who don't know what they want, or give the
vaguest direction, and then you iterate from there. Those bills are usually
astronomical, in the sense that what they ended up with could have been
reached with a little more work and commitment at their end.
Regards - Miles Thompson
A
You're right Michael, but those are getting hard to find.
M.
At 11:13 AM 3/21/2002 -0600, Miguel Cruz wrote:
>On Thu, 21 Mar 2002, Aras Kucinskas wrote:
> > LINUX
> > Apache
> > PHP
> > mySQL
> >
> > Server purpose:
> > One site (PHP+mySQL ) hosting, max 1000 visitors per day.
> >
> > What is re
a from multiple tables, constructing graphics
on the fly and converting everything to PDF before sending it, then what
I've suggested won't do.
Regards - Miles Thompson
PS Don't cross-post. It doesn't help but may annoy. This is replied to
php-general only as it's not an
>Unfortunately, I cannot alter the data in any way prior.
>
>----- Original Message -
>From: "Miles Thompson" <[EMAIL PROTECTED]>
>To: "Don" <[EMAIL PROTECTED]>
>Sent: Sunday, March 17, 2002 2:59 PM
>Subject: Re: [PHP] creating a dBase III fi
This idea sounds very appealing, but remember that PHP will then parse
every HTML file. Make certain this won't result in a performance hit.
Miles Thompson
At 03:43 PM 3/12/2002 -0500, Hunter, Ray wrote:
>Yes,
>
>However, you need to add the .html file extension to the php pars
The International Standards Organization may be your best bet. It maintains
lists of countries and country codes which can be cut and pasted. Try
searching for "ISO language code" or "ISO country code"
Miles Thompson
At 05:22 PM 3/5/2002 +, SED wrote:
>Hi, I'm
Novell firewall,
or going the Cocoon route.
Regards - Miles Thompson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Friday afternoon -- one can tell!
My votes are for Propellor Bitter or Garrison Red, both brewed here in Hfx,
NS. Availability of the former more or less determines where we have our
weekly Linux get-togethers.
It's now 4:30, so I'm raising one to you all - Miles
At 11:56 AM 2/15/2002 -0800,
" , or HDG a "PHP Bible" those should be quite
comprehensive.
Cheers - Miles Thompson
Now, back to VB -- sigh!!
At 12:24 PM 2/14/2002 -0500, Jackson Miller wrote:
>I am looking for advanced books on PHP. I have read many tuts and a
>couple of books, but I am looking fo
You're right Erik. Subtle, ain't it?
On the other hand, look how accepting browsers are of malformed HTML. I'm
inclined to think that today they see the tag and 'think': "So, we
assumed HTML anyway."
Cheers - Miles Thompson
At 08:57 PM 2/12/2002 -0500, E
Here Frank, play with this you'll have to add a bit of code to select
your time values, but it will start you down the road. I spent some time
playing with this a couple of years ago, this is taken from a file with the
grand name of "junk.php"!
Miles Thompson
// up here
http://www.thickbook.com
choose the tutorial for a form with custom error messages.
Miles Thompson
At 06:40 PM 2/5/2002 -0500, SpamSucks86 wrote:
>I have a registration form and if a user enters bad information and the
>php script generates an error, I want the user to be able to hi
ELECT on each of activities and disbursements, then SELECT from
results and order by fillin?
Regards - Miles Thompson
At 05:20 PM 2/4/2002 +0200, Lauri Vain wrote:
>Hi there,
>
>I have a somewhat urgent issue so I'll get right to the point.
>
>There are two tables and for si
Take that a little further and extract the code from phpMyAdmin for use in
your own project.
Miles
At 08:36 AM 2/4/2002 -0800, Mike Maltese wrote:
>Use PHPMyAdmin. You can dump to a CSV file or it can output all of the
>INSERT statements to rebuild a table.
>
>
>- Original Message -
>Fro
does not matter, I just use .sql to tell me
it is a different type of text file.
If the new location uses phpMyAdmin, you'll have to find out what options
are provided for creation of tables and import of data. The administrator
may be willing to do the import as part of your setup.
HTH
At 05:15 PM 1/31/2002 -0800, Jon Drukman wrote:
>At 09:03 PM 1/31/2002 -0400, Miles Thompson wrote:
>>If you want persistence then use a cookie to
>>- store the information
>>- to provide a key for fetching data from a database
>>or accept that if preservation of in
If you want persistence then use a cookie to
- store the information
- to provide a key for fetching data from a database
or accept that if preservation of inter-invocation data is impt enough to
require registration of users and a login if the client has cookies turned off.
Sessions are suppose
At 02:14 PM 1/31/2002 -0500, Michael Kimsal wrote:
>>>4th
>>>sessions, can they be accessed from an asp script and the other way round?
>>
>>No, they cannot. They are specific to PHP.
>
>
>not directly, but an ASP script on the same domain should be able to read
>the cookie storing the session I
that housekeeping.
Miles Thompson
At 06:54 PM 1/31/2002 +0100, Pafo wrote:
>ok, i have reed the manual and i are having a hard time understanding it...
>i tryed some examples with sessions but neither one of them did work
>thats why i asked about sessions and cookies
>
&g
You've got an interesting mix of PHP and HTML questions, and some reading
will be required.
At 01:56 AM 1/31/2002 +0100, Pafo wrote:
>1st
>How to start a cookie/how to delete a cookie and how to change/retrive
>information from it
Search Netscape's site for something like "developer cookie"
What do you mean by the term "content management"? It is a little
ambiguous, do you mean something like a wiki? "Large" is a bit unquantified
as well. Like the time I went to the bank and my wife asked be to bring her
"some money". She was a bit surprise to be handed three bucks; subsequent
r
A goog first step is to rename the page with a .phps extension and display
it in the browser. The coloring of the text often gives you an idea where
PHP got turned off or something critical was commented out.
Miles Thompson
At 09:55 PM 1/27/2002 -0700, Ben Turner wrote:
>Parse error: pa
$conn = mysql_connect( '$hostname', '$user', '$password');
mysql_select_db('$dbname',$conn) or die( mysql_errno()." :
".mysql_error());
There has been a lot of discussion on this topic, even within the past ten
days, so a search of the archives wi
fina lmysql was a directory. It caused so me problems.
It would help if the error messages were clearer, but they're still better than Winows
GPF's.
Miles Thompson
On Sunday 27 January 2002 03:50 pm, David Jackson wrote:
> Mike --
> Thanks for you reply, I made the change
Even better!
mt
On Sunday 27 January 2002 03:27 pm, you wrote:
> * and then Tauntz blurted
>
> > If I have n variables:
> > $nr1 = "some text";
> > $nr2 = "some other text"
> > $nr3
> >
> > and I want to print the text "randomly" (like if I enter the page.. it
> > displays $nr1... ne
Add the path to libphp4.so to the file /etc/ld.conf.so
and run ldconfig
or
copy libphp4.so to the libexec directory found beneath the main apach directory.
It's most likely in the libs directory of your php source directory.
The second way is probably the best.
HTH - Miles Thompson
Try this:
Store variables in an array, say $msg_array. (For those of Hungarian preference,
$arrMessages.)
$index = rand (0, $n)
echo $msg_array[ $index ]
Now this will require a bit of messing about, seeding the randomizer, etc., but you
get the idea.
Miles Thompson
On Sunday 27 January
Spare us1
Miles Thompson
On Saturday 26 January 2002 09:39 pm, karthikeyan wrote:
> Hi Guys,
>
> I want a affordable and the best control panel for my website. Though i
> can make it myself but it make some time to do that. Do any of you guys
> and gals know about this
gram would be if everything was compiled in by default.
Hope this is helpful. If you have more problems, there is a php-install
list which deals with specific installation problems.
Regards - Miles Thompson
PS These 4 programs were my first experience building on Linux systems, and
initially i
201 - 300 of 504 matches
Mail list logo