Clayton,
Have a look at http://www.php.net/manual/en/function.addslashes.php
I've not used them, there are also references to stripslashes, you may need
to experiment a bit.
Miles
At 07:56 PM 2/25/01 -0500, Clayton Dukes wrote:
>How can I get php to print a long string and ignore any of the c
t;). None have worked.
I've also tried executing the commands directly using system(), all without
effect, no errors, nothing.
Do I have to change the group of www.website.com to nobody? That seems to
be an awful security hole.
Stymied in Nova Scotia - Miles Thompson
--
PHP General Mai
>to write to a directory, it has to be writable to this directory. A
>possible solution would be to compile a PHP executable and run a script from
>cron to copy the files periodically. By using cron and a cgi-version of PHP
>you can run it as your desired user.
>
>Jason
>
&g
You're going to spend a lot of time keeping
track of where you are.
Miles Thompson
At 08:16 AM 2/27/01 -0700, Karl J. Stubsjoen wrote:
>Does anyone know how to stream information to a browser (without the client
>having to hit refresh)? What do I need to get started? We want to
t the members?
5. Have the members add information to the database?
Which database are you using?
What kind of information do you want to capture?
We need more information - Miles Thompson
PS Have you looked at the PHP & database tutorials at various php sites,
like www.thickbook.com, dev
oodies,
>ect and i want to get the information out my database for that
>specific member, how would i connect to my database, what would i select from
>"members" (my database) to get the field for that one person, so i can put
>there infomation when the logg in the members
Use MySQL's autoincrement ?
Miles
At 10:29 AM 3/1/01 +, M. A. Ould-Beddi wrote:
>I need a sequence of small integers for primary
>keys in mysql tables; I want php to generate them.
>How can I do that?
>
>Thanks
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail
Coli Viebrock's
"Search This!" article.
If anyone has any experience or suggestions for an alternate search engine
I'll welcome them.
Regards - Miles Thompson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
What field type are you using to store time? Echo your $sql and compare it
to MySQL's documentation on the time column and how you have defined the field.
Miles
At 03:51 AM 3/5/01 -0800, Thomas Edison Jr. wrote:
>I'm using the following code to insert date into my
>mySQL table named "Booking". I
Go to www.thickbook.com where Julie Meloni has a tutorial on form with
custom error messages, or something similar. Anyway, it uses a form,
buttons, input fields, and generation of custom error messages and
re-display of the form.
All the principles you need are there.
Miles Thompson
At 12
Embarrassing, isn't it?
Do you have a loop building messages, with something like
$msgbody .= $data_to_send
THat little " . " caught me. I was emailing usernames and passwords --
fortunately it was an obvious error.
Miles
At 01:22 PM 3/7/01 -0500, WreckRman2 wrote:
>I wrote a small script l
variables
which will control the generation of HTML, thereby controlling the display.
Miles Thompson
At 08:43 PM 3/7/01 +, george wrote:
>I am trying to write a script which allows you to build a PHP mailto form
>online, but I am stuck
>
> if you go to www.wisemonkeydesign.co.uk/wis
Karl,
Check the archives, if you haven't done so already. I think this was
already discussed in the last week of February, although not under the same
heading as yours.
Miles
At 02:05 PM 3/7/01 -0700, Karl J. Stubsjoen wrote:
>Hello,
>
>I'm interested in the technology "Remote Scripting". Ba
s is the way the web is going?"
point of view? Or did someone simply forget us old (50+) guys with bifocals?
Anyone tried it with Amaya?
Miles Thompson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
No problem.
Initialize the counter before your loop, like so: $counter = 1;
In the loop, print out the value of the counter and increment it by 1: echo
$counter++;
The "++" added to counter instructs PHP to increase the value by 1 AFTER
the operation and is a shorthand way of saying
] = "lookfor" and
$HTTP_SERVER_VARS[ "PHP_AUTH_PW" ]="mehere". If these vars don't exist or
don't match the values assigned to htdig with the -u parameter in the
calling script, execution falls through to my real security scheme,
otherwise it is bypassed and h
http://www.php.net/manual/file
There are a slew of file operations, you can read lines, sets of
characters, position the pointer in a specific place. Fill your boots.
Miles Thompson
At 09:59 PM 3/19/01 +0100, Richard wrote:
>Greetings.
>
> How can I read one specified row
Jason,
Netscape is really fussy about closing tags. Have you checked to make
certain you don't have a table open?
Try capturing the source of the page and running it through tidy.
(Available at http://www.w3.org/People/Raggett/tidy/ )
Miles
At 10:55 PM 4/14/01 -0700, Jason Caldwell wrote:
>I
Amen! For both elimination of trailing {'s , and a good clear break.
I don't know how trailing {'s came about, but I find the blocks are harder
to follow. I consider them HIDDEN rather than trailing, but I cut my teeth
on Pascal, and FoxPro. While we're at it, how about plain old carriage
retu
Interesting - looks just great with Netscape Navigator 4.7; Netscape 6.1
and Opera 5.?
My IE 5.x does not show the links, the title or the background, nor does it
have "blind" hot area where the links are at the top of the page. That
could be my IE and I curse Microosft daily. I can't uninsta
The PHP online manual is very easy to use. Start at
http://www.php.net/array and you'll find all the functions that act on
array downl the left side of your browser, including a fantastically rich
set of sort options.
Miles
At 12:19 PM 4/30/01 -0700, Brandon Orther wrote:
>Hello,
>
>Is there
mantec. Maybe it has another name?
Feeling like a leper - Miles Thompson
--
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 PROTECTED]
Right - you can't send anything, even a blank line, before a header. You
will have to do some restructuring/rearrangement of your code
Miles
At 11:00 AM 5/4/01 -0700, Andy wrote:
>Hello,
>
>I am a newi.
>
>Currently I try to relocate the viewed page after entering successful a
>form.
>
>I tryed
uot;);
>echo fread ($fd,filesize( $link));
>fclose ($fd);
chdir( $cwd );
?>
Cheers - Miles Thompson
At 10:07 PM 5/10/01 +0200, Johan wrote:
>My question: how do you set a path using php or html?
>
There's a link on the ht:dig site for PHP scripting, but it will pretty
well work right out of the box.
Miles
At 02:31 PM 5/12/01 +0200, B. van Ouwerkerk wrote:
>>Any suggestion for a better site search program?
>
>I know quite a few people who really love htdig. Don't know if it's better.
>
>N
will bet the switches to use for checking status, starting,
stopping, et.c
This should be enough to get you going, and hope it helps.
Miles Thompson
PS Did I read the version of Apache correctly? 1.2? If so, go get the
latest 1.3, 1.2 is really old. /mt
At 12:04 PM 5/12/01 -0700, you
Sorry, should be
./httpd --help
Miles
At 01:52 PM 5/12/01 -0300, Miles Thompson wrote:
>
>or
>./hhtpd --help
--
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 administ
you started - Miles Thompson
At 09:45 AM 5/15/01 -0400, [EMAIL PROTECTED] wrote:
>Dear sir,
>I am new to php.kindly recommend me tutorials tp get started.
>thanks
>asif
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For
Databases can calculate averages _very_
quickly and it may be better to do that in your SELECT statement. Heres an
extract from the manual:
AVG(expr)
Returns the average value of expr:
mysql> select student_name, AVG(test_score)
from student
GROUP
Seamless Install" you will get two excellent tutorials.
Good luck - Miles Thompson
At 04:00 PM 5/16/01 +0200, Enrique Ivorra Gómez wrote:
>I sent you my phpinfo().
>
>I dont put on INTERNET becouse it's on a Intranet.
>
>
>
>System Linux porky.devel.redhat.com 2.2.5-22
Taline,
You cannot have ANY OUTPUT before sending a header. Strip out every blank
line and try again. Tighten it up. A space at the top of the page before
"Thanks for the reply but now i have problems with my pop up! Here is the
>message in getting. Whats the problem now
>
>Warning: Supplie
Come on - you haven't even bothered to check the manual. Search for this at
php.net
Miles
At 03:09 PM 5/18/01 -0400, Daniel Coronel wrote:
>Hi!
>I need to really generate a random number in a function but not like doing
>it.
>Somebody could help me. Thanks.
>
>Daniel Coronel.
--
PHP General
Jakob,
You mean tidy?
I use it to post-process a 'Today's News" page that is created, by script,
from a set of other pages.
It works very well.
Miles Thompson
At 03:54 PM 5/19/01 +0200, Jakob Kruse wrote:
>Brandon, might I suggest that you start using the HTML Validator at
Well, I think there's a Javascript function one can use to start printing,
but users will hate it.
A bigger issue, I would think, would be formatting to preserve indents,
column alignment ,etc. We have no control over the resolution of the user's
system, size of the browser window, etc. Even e
Why? We have the manuals in two truly portable formats, HTML and PDF, not
to mention on-line, annotated HTML.
Miles Thompson
At 10:37 AM 5/23/01 +0930, Joseph Blythe wrote:
>Hey all,
>
>Just was wondering if anyone knew what was used to make the php manuals in
>the windows help
art,
you could probably find some useful things on line if you search for
something like "SQL tutorial". There may also be a tutorial linked from the
MySQL web site.
So, dig in and have fun. It's pretty straightforward.
Regards - Miles Thompson
At 09:44 PM 5/23/01 +1200, YoBro wr
My apologies to Joseph, and to the group at large.
I didn't read his question carefully, and in retrospect, gave him a pretty
asinine answer.
Braaay! - Miles Thompson
At 10:22 PM 5/22/01 -0300, Miles Thompson wrote:
>Why? We have the manuals in two truly portable formats, HTML and
Mathew,
Great that they're backwards from one another, isn't it?
The regular expression wizards probably have some marvellous trick up their
sleeve, and Manuel Lemos probably has a class that will do this. You can do
it yourself by using substring functions to extract the parts of the date,
r
db_connect doesn't exist.
Try mysql_connect, or better yet, mysql_pconnect()
Online manual at www.php.net.
You can get quick results for any function by entering
http://www.php.net/name_of_function
and it is automatically searched for.
Miles
At 03:15 PM 5/24/01 +0100, Internaut wrote:
>Hello
Erik
What code are you using to set your cookie?
Are you certain the expiry date is in the future?
What browser are you using? There are notes in the online manual
(www.php.net/setcookie()) regarding IE.
Miles
On Wednesday 26 December 2001 04:01 pm, Erik Price wrote:
> Hello,
>
> I am having
gt; variables that I used ($type_sel and $size_sel) then it outputs the data.
>
> I'll read about IE, it's 5.1 for Mac OS X.
>
>
> Erik
>
> On Wednesday, December 26, 2001, at 03:12 PM, Miles Thompson wrote:
> > Erik
> >
> > What code are you using to set you
Why not a traditional mailing list manager like mailman?
Miles Thompson
On Thursday 27 December 2001 12:50 am, Ben Clumeck wrote:
> I am creating a mail list and need something that does not require MySQL or
> any other databases is there a good one? What is the best one even if
>
27;s hope it gets you
to your goal.
Merry Christmas - Miles Thompson
On Thursday 27 December 2001 10:22 am, Rodrigo Peres wrote:
> Hi list,
>
> I am in a big trouble. My deadline is coming and I couldn't solve my
> problem yet! I have this script that outputs a table that
er
list. (Note how apolitical I'm being, not assuming you are using Linux or BSD and
Apache.)
> Thanks guys in advance
You're welcome. There is some really good stuff out there.
Miles Thompson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECT
$mine;
There's the divide and conquer approach too. What do you see if you comment out the
include,
then issue a phpinfo() and a die()?
HTH and Merry Christmas / Happy New Year - Miles Thompson
On Friday 28 December 2001 11:26 pm, Sean LeBlanc wrote:
> I asked this on php-install list, but
Sounds like a problem with HTML syntax. NS is notoriously fussy and IE
remarkably lax. Capture your source and compare against the HTML standard.
I'm surprised NS6 is accepting what NS4 is choking on.
Happy New Year - Miles
PS I'd bet a cup of coffee that a closing tag is missing.
At 12:06 P
A DYNAMIC, Happy, New Year.
PHP is great. Through it, and Linux, I've had a very interesting two years of
programming and
my career seems to be bending away from desktop apps and towards net-oriented ones.
Regards to alll - Miles Thompson
On Monday 31 December 2001 08:20 pm, George Ni
A simple page containing nothing but
will return all the information you need about the modules compiled into PHP.
So you may not have to do anything more.
There are source rpm's available, but I'm suggesting an alternate route.
If you have access and rights on the server, remove the RPM ver
nt1.php?id=Alpbach fetch data from a
database? from a flat file?
What happens if you fetch the default length of 1k?
Miles Thompson
At 12:30 AM 1/4/2002 +, ski-info wrote:
>I am in the process of producing a script which will allow me to produce
>printer-friendly versions of my dyna
tabase.
>How do you see that affecting the problem?
>
>Tx
>Torrent
>www.ski-info-online.com
>
>
>-Original Message-
>From: Miles Thompson [mailto:[EMAIL PROTECTED]]
>Sent: 04 January 2002 01:30
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: Re: [PHP] P
This is an Apache question, not a PHP one. I don't know if your Apache
configuration file is named apache.conf or httpd.conf under Windows, but
whatever it is, check these settings:
ServerRoot - should be set to the location where Apache is installed.
DocumentRoot = set to where your web files
Carlos,
Just redeclare the array $Erros = array();
Miles
At 05:11 PM 1/4/2002 -0700, Carlos Fernando Scheidecker Antunes wrote:
>Hello All,
>
>I have a populated array that stores user input errors.
>
>I have been browsing the manual and some books and I couldn't find one thing.
>
>I've go
I've never installed PHP on a Windows box, but on Linux you have to move
and rename the php.ini file. It's mentioned in the docs, but for the life
of me I can't remember its name right now.
Miles Thompson
At 11:15 AM 1/4/2002 -0600, Mark wrote:
>I apologize if the title o
ript, so this is just off the top of my head.
A straight PHP solution would be preferable and I assume it's not possible
either because the ISP doesn't host it or for some political reason.
Miles Thompson
At 10:28 PM 1/6/2002 -0500, Richard Spangenberg wrote:
>Hello, - for somethin
Use the exec() function to make the system calls you need.
Miles Thompson
At 10:47 PM 1/6/2002 -0600, Gaylen Fraley wrote:
>Is there any way, through PHP, to get the:
>
>server uptime
>processor type
>number of cpu's
>
>I'm trying to find a compatable solution f
but fairly new at it.
>
>Rick
>
>-Original Message-
>From: Miles Thompson [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, January 06, 2002 10:52 PM
>To: Richard Spangenberg; [EMAIL PROTECTED]
>Subject: Re: [PHP] Remote Cookie ID and Web Statistics
>
>
>
>Why
these files to PHP I just
parse them after they are uploaded to the server, changing all links to
point to .php rather than .html and saving the changed files with .php
extensions.
Regards - Miles Thompson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
The dull thud you hear is me giving myself a good whack on the side of the
head. I don't want to require a security check / auto-login for every file
on the site, so I'm just removing the offending text to an include and
trying it that way.
Tks - Miles Thompson
At 06:35 AM 1/7/
cific installation instructions. Again, please try first.
Miles Thompson
At 10:36 AM 1/8/2002 +0100, Félix García Renedo wrote:
>Hello,
> How could I configure php to access to a remote mysql database?
>Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
Bogdan,
Penny just dropped with what Tom suggested. REad up on how Debian does it,
use the web of trust approach.
Miles
At 12:52 PM 1/9/2002 +1000, Tom Rogers wrote:
>Hi
>You could get all your users to add an encrypted signature to their emails
>and check that on recieipt.
>Tom
>
>At 11:35 A
Go to http://www.thickbook.com and look at Julie Meloni's tutorials,
particularly the one for custom error messages as she very nicely works it
up over about 3 iterations of the same simple script which includes a form
which calls its own script (PHP_SELF).
Miles Thompson
At 11:50 PM
ERE tablename.column='$criteria_integer' ";
Or maybe you need another layer of quotes, but I'd vote for clarity.
Miles Thompson
At 10:44 AM 1/10/2002 -0500, Erik Price wrote:
>I thought that $_GET[] and $_POST[] could be used in place of regular
>variables... tha
Here.
Grin - Miles Thompson
At 11:48 AM 1/10/2002 -0500, Richard Spangenberg wrote:
>I may need some help on a project I am working on.
>Does anyone know of a good source of PHP developers where I can advertise my
>needs?
>
>Rick
>
>
>
>--
>PHP General Mailing
If I understand you correctly, use Javascript to open a second browser
window for url_2.
Miles Thompson
At 02:49 PM 1/10/2002 -0200, Rodrigo Peres wrote:
>Dear List,
>
>I have this sql command that grabs a result of 3 tables. What i want is if
>there's a way to do a while
$i+1], but I think you get the idea.
Miles Thompson
At 04:08 PM 1/10/2002 -0200, Rodrigo Peres wrote:
>Sorry, Ithink that I not explain right. I nedd to create a list, something
>like:
>
>url site
>url site
>url_2 site_2
>url_2 site_2
>
>When the values returned
Julie Meloni has a really nice tutorial on the at
http://www.thickbook.com
Look for the one on custom error messages.
Miles Thompson
At 08:54 PM 1/10/2002 +, LaserJetter wrote:
>I've noticed on some web pages that when the back button is pressed the data
>in the fields is stil
PHP is server side. The link would have to load another page, or reload the
same page with the function triggered by the link.
Maybe this is something you want to do in Javascript?
Miles
At 05:07 PM 1/10/2002 -0500, Artie Ball wrote:
>Hi all,
>
> Could anyone please tell me if there is
Yes, the semi-colon is the command separator. Try it and echo $tempsql.
Miles Thompson
At 09:16 AM 1/11/2002 +1100, Martin Towell wrote:
>is this valid in PHP?? (haven't tried it myself yet...)
>
>$tempsql = "SELECT COUNT(*) AS count
> FROM divisio
Well, did you try looping though tables with mysql_fetch_array($tables)?
But, how 'bout mysql_list_tables()?
Cheers - Miles Thompson
PS There's a bunch of other interesting stuff relating to database
manipulation there too. /mt
At 11:48 AM 1/12/2002 -0800, Chris wrote:
>
the first which uses TOP, and a
second which also uses top and fetches greater than previous result. That
would also have the advantage of returning small data sets, faster.
Regards - Miles Thompson
At 03:24 PM 1/12/2002 -0400, Joe Van Meer wrote:
>Hi there, I have a small php/data driven webs
Tutorials at http://www.thickbook.com.
There are also tutorials at DevShed and WebMonkey, and links at
http://www.php.net (or one of its mirrors)
Miles Thompson
At 12:32 PM 1/13/2002 -0500, Vania Lavielle Castro wrote:
>Hi!
>somebody say me
>how work with sql server and code ph
Check the README or INSTALL docs. The file is there under another name, but
right now I can't remember. Something like distribution.ini.
Regards - Miles Thompson
At 02:03 AM 1/14/2002 +0100, Michael Sciascia wrote:
>Hi,
>I am new to this list and also to php and I am sorry to alr
You need some tutorials on using MySQL and PHP.
There are some good ones at thickbook http://www.thickbook.com,
you can also search, using Google, for "tutorial MySQL PHP". You will find
good ones at
WebMonkey, DevShed and Zend.
Good luck and welcome - Miles Thompson
At 03:46 AM
ribers have IE 5.5 and work in an environment where the company
directs what browser will be used.
This has become a sticky issue, and all suggestions will be welcome.
(Including that I RTFM, if I've missed a particular section.)
Regards - Miles Thompson
At 11:35 AM 1/14/2002 -0800, [EM
on operator precedence.
Have a great one - Miles Thompson
http://www.cqagroup.ca
At 09:53 AM 1/16/2002 +0100, Alexander Deruwe wrote:
>Hey all,
>
>Does PHP support lazy evaluation? Meaning that if:
>
>if (isset($HTTP_POST_VARS['submit'])
> && $HTTP_PO
Doing this:
cp file_i_want_to_look_at.php file_i_want_to_look_at.phps
http://www.domain.name/file_i_want_to_look_at.phps
will display coloured source listing in the browser. Is that what you want?
This is referenced somewhere in the docs, and even if you only rename a
file to phps it is som
0700, mike cullerton wrote:
>on 1/16/02 5:57 AM, Miles Thompson at [EMAIL PROTECTED] wrote:
>
> > For "or" statements it does, but not && or xor. I don't know about you, but
> > I wouldn't want lazy evaluation on a conditional statement involving &quo
'Reilly's DNS and BIND. Pretty massive topic.
If you've been through all this stuff, then at least you will know what
book is right when you see one. I'm interested in hearing what others will
suggest.
Miles Thompson
At 10:58 AM 1/16/2002 -0800, Dennis Gearon wrote:
>
Paul,
The obvious question is "Why do that?" If there is a certain criteria you
want to meet, it's generally better to do that in your select statement.
Having got that out of the way,
$result = mysql_query("SELECT * FROM a_table");
$num_rows = mysql_num_rows($result);
returns the number of
ere are single quotes around numerical fields, etc.
The revised die() will print out MySQL's error code and error message,
which may or may not be helpful.
This may still not work, but we've more information to work on. Please let
us know what happens.
Cheers - Miles Thompson
At 07:1
Chris,
I don't, but let's this. Geoff Caplan brought up the topic of patterns in
PHP for certain frequently used patterns several months ago. So where do I
go to look at business objects, or patterns.
Miles
At 01:39 PM 1/17/2002 -0600, Chris Boget wrote:
>Has anyone written (or know of someth
/PHP/SoothinglySeamless/page1.html
You can ignore the SSL stuff and certificates if you don't need them.
Regards - Miles Thompson
At 07:02 PM 1/17/2002 -0500, Juni Adi wrote:
>Hello,
>
>I'm new to PHP (actually I'm just about to
>begin) and have problem with installing.
;t know enough about dselect.)
For the Apache source file look for "ABOUT_APACHE"; for MySQL look for
"mit-pthreads". I believe those t wo will be relatively unique, certainly
better than looking for README.
Regards - Miles Thompson
At 02:09 PM 1/18/2002 -0500, Juni Ad
If this is going to be pursued, start a new thread...please.
Miles
At 01:16 AM 1/19/2002 +, Shane Wright wrote:
>Hi
>
>Maybe this list should be split - kindof into a php-newbies and a
>php-advanced ?
>
>--
>Shane
>
>On Friday 18 Jan 2002 9:39 pm, Richard Crawford wrote:
--
PHP General Ma
If anyone wants to pursue this, here's the thread.
I do not believe the list should be split, although there is a mix of new
and advanced questions. Although the some of these are best answered by an
RTFM and a reference to a tutorial, the newcomer benefits by exposure to
advanced concepts an
Erik,
You have to do two inserts. Have a look at
http://www.php.ca/manual/en/function.mysql-insert-id.php
Do your first insert
Call mysql-insert-id(), capturing its output.
Use the value returned in your second insert.
The returned value is unique to your connection; no need to lock the first
Yes, and keep forgetting about it. Now it's bookmarked again.
Miles
PS Brian - You can come out now.
At 01:46 PM 1/19/2002 -0500, Brian Clark wrote:
>* sundogcurt ([EMAIL PROTECTED]) [Jan 19. 2002 13:39]:
>
> > I would be more than happy to put some mini-tutorials together to send
> > you, I'
You keener!! Eagle eyes!
At 11:00 AM 1/19/2002 -0800, you wrote:
>The problem is on this line.
>
>print ("\n");
>
>There is a space between the \ and the " before Submit.
>
>Janet
>
>- Original Message -
>From: "Mike C" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]
Hawk,
Pardon me for not following this thread very closely, but I just played
around at the MySQL console. The fields I have are cName c(20) and
cPassword(10)
This executed OK
insert admin (cName, cPassword) values ('Deb', password('peaches'));
select cName, cPassword from admin;
returned
Deb
I've got a typo near the bottom:
left(password('$cPasswordf),10)";
should be
left(password('$cPassword'),10)";
(Strange, the "f" is nowhere near " ' ")
mt
At 05:41 PM 1/19/2002 -0400, Miles Thompson wrote:
>Hawk,
>
>Pardon
Juni,
It's read the manual time http://www.php.net
and use the function search box on the top right for "file" and then for
"directory". They are separated, and there are a number of functions.
As I don't know Perl I can't answer 3. (I must be morally deficient!)
Miles
At 04:39 AM 1/20/
B.
Yeah - play. It's the only way -- take a function, use it the right way
and the wrong way. Can it be combined with other functions. What quirks of
punctuation are there, etc etc.
You know, I'd forgotten that too -- piddling about brings returns.
Now excuse me, I have to go play with an ar
Jeff,
Can you let MySQL do the work for you, with INSERT ... SELECT? Here's the URL"
http://www.mysql.com/doc/I/N/INSERT_SELECT.html
HTH - Miles Thompson
At 06:20 PM 1/20/2002 -0500, Jeff Lewis wrote:
>I am trying to basically copy data from one database to another and am
>wo
Check hotscripts, google, etc. Check phpauction - there is a remarkable
similarity: here is an item (training schedule) and inputs which apply to
it (results) (results) (results)
Miles Thompson
At 09:36 AM 1/21/2002 -0500, Brian V Bonini wrote:
>I need to build an on-line training log wh
rst time around I tried using Access as the intermediate step, and it
insisted on doing arithmetic on those fields, as did Access when I tried to
import it directly. I ended up using FoxPro (old DOS version) to create
the table, then edited the header to change numeric field to character,
deleted
SELECT wouldn't affect an UPDATE.
In terms of timeliness of UPDATEs and SELECTs, that's almost a non-issue as
one cannot know in advance what will be updated or inserted.
Regards - Miles Thompson
At 10:22 AM 1/25/2002 -0500, Phil Schwarzmann wrote:
>So let's say Bill is accessin
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
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
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
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
101 - 200 of 504 matches
Mail list logo