Hi,
I need to extract the first digit after the decimal point from a number such
as 28.56018, which should be '5'.
I've tried a few methods to accomplish this. If I use 'ini_set' I would need
to know the number of digits before the decimal (which, unfortunately, I
would not have access to).
On October 11, 2009 08:50:11 pm Eddie Drapkin wrote:
On Fri, Jan 1, 2010 at 9:20 PM, Andre Dubuc aajdu...@webhart.net wrote:
Hi,
I need to extract the first digit after the decimal point from a number
such as 28.56018, which should be '5'.
I've tried a few methods to accomplish this. If I
Yup! I had noticed that I had forgot to reset to today's date after working on
the code, just after I sent the messages.
Thanks.
Andre
On October 11, 2009 09:14:56 pm Jim Lucas wrote:
Andre Dubuc wrote:
Hi,
I need to extract the first digit after the decimal point from a number
Hi Jonathon,
I'm using Mandriva 2008.0 x86_64 version (which probably didn't have that
enabled).. Thanks -- will check. Be fun trying to enable it though, given
Mandriva's propensity to stick stuff in weird places. Sigh . . .
Andre
On October 9, 2009 09:20:29 am Jonathan Tapicer wrote:
Hi,
I'm having problems with a chunk of 'rogue' code that does not perform as
expected (it does not pass the expected date, but an empty value). Most of
the time, it works - so I'm wondering whether it might be a browser issue.
(The latest failure occurred with Firfeox 3.0 browser on an NT 5.1
On Saturday 20 January 2007 07:35 am, Colin Guthrie wrote:
Daevid Vincent wrote:
We have a fairly complex product that is all PHP based GUI.
We're in need of some kind of graphical tool (web, stand alone, windows,
linux, osx whatever) that will take a directory tree, recursively traverse
Hi,
To stop bots from accessing secured pages, I've added the following code to a
banner page that is called by every page. Furthermore, each page starts with
?php session_start(); ? and includes the banner page:
'top1.php' [banner page]
?php
if((eregi(((Yahoo! Slurp|Yahoo! Slurp
On Saturday 20 January 2007 05:33 pm, Paul Novitski wrote:
At 1/20/2007 02:14 PM, Andre Dubuc wrote:
However, checking the live version, I get an secure-error_log entry:
PHP Warning: session_destroy() [a
href='function.session-destroy'function.session-destroy/a]: Trying to
destroy
On Thursday 18 January 2007 06:26 pm, esteban wrote:
I have a windows 2000 server with apache 2.0 and php 5.1.2. I use session
variables to validate users, each page have something like this:
if($_SESSION[validated]==0){
header(Location: index.php);
exit;
}
This worked fine when i
Hi,
I receive posts from an open moderated forum that need to be filtered for
urls. I've successfully managed to trap any entires that use 'http://' 'www.'
with the standard '.com' '.org', '.net' endings.
What I need to do is to strip the prefix part ('http:// or http://www. or
'www') and
On Wednesday 17 January 2007 03:35 pm, Jay Blanchard wrote:
[snip]
I receive posts from an open moderated forum that need to be filtered
for
urls. I've successfully managed to trap any entires that use 'http://'
'www.'
with the standard '.com' '.org', '.net' endings.
What I need to do is
On Wednesday 17 January 2007 06:16 pm, Jay Blanchard wrote:
[snip]
Why not use explode with the period (.) as the delimiter?
$url = ranchy.stuff.com and other junk;
$boom = explode(., $url);
print_r($boom);
$boom is now an array containing 'ranchy', 'stuff', 'com and other junk'
Sigh.
I
On Saturday 14 May 2005 02:14 am, you wrote:
On Fri, May 13, 2005 5:59 am, Andre Dubuc said:
However, the behavior continues intermittently. I've duplicated it one
time.
If I click on the 'State' dropdown list, allow the mouse to scan through
it,
but do not choose a value
On Friday 13 May 2005 02:20 am, Richard Lynch wrote:
On Thu, May 12, 2005 8:41 pm, Andre Dubuc said:
I've had some rather odd intermittent behavior with a select list drawn
by a
'require' on my production site. Sometimes, rather than displaying 'In
USA/Canada' from the 'option selectedIn
, is the first line of your web page something like:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd;
On May 13, 2005, at 8:59 AM, Andre Dubuc wrote:
Thanks for the info, Richard.
The errant behavior
Hi,
I've had some rather odd intermittent behavior with a select list drawn by a
'require' on my production site. Sometimes, rather than displaying 'In
USA/Canada' from the 'option selectedIn USA/Canada/option' code in the
required file, it will display a blank. Yet, if I try to duplicate this
On Sunday 01 May 2005 10:39 pm, Thomas Bonham wrote:
Hello All,
First of I'm new to this a hop I'm doing this right.
If some one can help me with my web site page. I'm trying to make it
call a page and I get a error line 42. Error:
http://bonhamlinux.org/idex.php?page=links/index.php
The
On Thursday 28 April 2005 02:05 pm, John Nichel wrote:
Jason Barnett wrote:
snip
Humor is on my TODO list.
Making a TODO list is on my TODO list.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
Just out of curiosity, are there any templating engines out there
On Thursday 28 April 2005 03:21 pm, Ryan A wrote:
On 4/28/2005 8:18:28 PM, Andre Dubuc ([EMAIL PROTECTED]) wrote:
On Thursday 28 April 2005 02:05 pm, John Nichel wrote:
Jason Barnett wrote:
snip
Humor is on my TODO list.
Making a TODO list is on my TODO list
On Saturday 16 April 2005 07:18 am, Mark Sargent wrote:
Marek Kilimajer wrote:
Mark Sargent wrote:
Hi All,
I can access the database from the terminal on Fedora 3,
[EMAIL PROTECTED] bin]# ./mysql -h localhost -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end
On Tuesday 05 April 2005 06:50 pm, Chris W. Parker wrote:
Ryan A mailto:[EMAIL PROTECTED]
on Tuesday, April 05, 2005 3:07 PM said:
a client wants me to add a forum to his existing site...which is not a
problem, the problem is he wants it to work off his existing site
eg:
once
On Tuesday 05 April 2005 07:16 pm, Chris W. Parker wrote:
Andre Dubuc mailto:[EMAIL PROTECTED]
on Tuesday, April 05, 2005 4:04 PM said:
Might want to look at:
http://fudforum.org
hth,
Andre
Andre,
Who are you responding to? Myself or to the op?
Chris.
sigh - I guess
On Wednesday 30 March 2005 08:19 pm, Josip Dzolonga wrote:
Todd Cary wrote:
When I went to a site that lists and compares CMS programs, I was
overwhelmed by at least 100 listings. Again, I would like to rely on
personal experience. What I am seeking is a CMS that will provide
users at
On Monday 14 March 2005 06:22 pm, Chris W. Parker wrote:
Chris W. Parker
on Monday, March 14, 2005 3:15 PM said:
Line 82 is:
print 'tdinput type=\'checkbox\' name=\'status[' .
^^ should be a slash??
Hi,
I am trying to 'insulate' my database connection from prying eyes by moving
the db connection code to a directory above docroot and then calling it by an
include. However, my IP has an open_basedir restriction in effect that
defeats what I'm trying to do.
Perhaps I'm unclear what what the
On Sunday 06 March 2005 11:47 am, Mattias Thorslund wrote:
Since you can use fopen, I don't think open_basedir is the problem.
Read about open_basedir here: http://us3.php.net/features.safe-mode
Maybe the path that you use in the include is wrong?
/Mattias
Andre Dubuc wrote:
Hi,
I am
On Monday 28 February 2005 10:34 am, Bosky, Dave wrote:
Does anyone have a nice function that will resize an uploaded image to
specific width/height dimensions?
I wanted to find something that would work for only GIF and JPG image
types. I've converted my shopping cart
application from Cold
On Friday 25 February 2005 03:08 pm, Rory Browne wrote:
Run PHP on a windows platform that has MSWord and the PDF printing
libraries installed. Use PHP's COM support to load an MSWord object and
see if you can get it to load the word document and print it out as a PDF
file. Once it is
On Friday 25 February 2005 04:28 pm, Wiberg wrote:
Hi there!
A little off-topic but what the heck (it's a more MySQL - related question)
Is 197* a numbertype field?
Try maybe $query= SELECT * FROM my_table WHERE Year LIKE '197*';
/G
@varupiraten.se
-Ursprungligt meddelande-
On Thursday 24 February 2005 06:34 am, Burhan Khalid wrote:
William Stokes wrote:
Hello,
If I send a session cookie to browser where it is stored in WinXP? Or is
it stored as a separate file at all. I know that the script sends the
cookie but I can't find it in the client computer
On Sunday 20 February 2005 12:15 pm, Dave wrote:
PHP General,
The Situation:
I would like to be able to specify locations of scripts and files
relative to the root directory from which my web site is served. I
thought this was what $_SERVER['DOCUMENT_ROOT'] was for.
The
On Sunday 20 February 2005 05:07 pm, b1nary Developement Team wrote:
Well this form *is* sending the data because there are no errors in your
code... Their has to be some minor little mistake somewhere that we
can't see in the code you gave us... look for typos, make sure the php
code *is* on
On Monday 07 February 2005 12:06 pm, Alex Gemmell wrote:
On Sun, 6 Feb 2005 19:36:23 -0500, Andre Dubuc [EMAIL PROTECTED] wrote:
On Sunday 06 February 2005 07:18 pm, Alex Gemmell wrote:
Hello,
I am building a login system for my website but I keep experiencing an
error on a specific
On Monday 07 February 2005 10:02 pm, Tim Burgan wrote:
Hello,
How do I collect the keywords a user entered when searching for my site?
I want to write some code that will retrieve the keywords entered in a
search engine that were used to find my site.
Is it possible to also detect what my
Hi,
I'm trying to output a text file from a pdf file using an external function,
pdftotext, using either PHP's 'passthru' or 'exec' functions.
The following code sort of works (at least I see localhost busy doing
something for about three seconds, but the expected output of 'content.txt'
is
Andre Dubuc wrote:
Hi,
I have a very annoying problem with pages that re-display using the form
action tag. On re-display the banner, which is set absolute position at
0px, shifts down by about an inch. I've isolated the cause to the form
action tag.
Simplified code for bad.php
Dear Michael,
I spent the better part of today trying to get a file upload script to work
too. Same sort of problem: local linux works ok, but web - nope.
Looking at your error message, it might be the renaming of the temp file that
is barfing.
if (($_FILES[pix][size] 0)($_FILES[pix][size]
On Sunday 28 November 2004 05:46 pm, steve wrote:
Jason Wong wrote:
On Sunday 28 November 2004 22:46, steve wrote:
I tried printing out the values before and after each of those lines.
After line 53, $ref_page is an array containing precisely the values I
expect, so the function is
I've noticed some strange behaviour with respect to validation of user input.
Normally, using Linux, the die function in user input validation works as
expected. However, the same code in IE, the DIE function does not work as
expected.
I've noticed that fields, that should die and barf an
Hi,
I have a very annoying problem with pages that re-display using the form
action tag. On re-display the banner, which is set absolute position at 0px,
shifts down by about an inch. I've isolated the cause to the form action
tag.
Simplified code for bad.php page:
?php session_start();
On Saturday 13 November 2004 05:02 pm, you wrote:
Hi,
Sunday, November 14, 2004, 2:00:08 AM, you wrote:
AD Hi,
AD I have a very annoying problem with pages that re-display using the
form action tag. On re-display the banner, which is set absolute
position at 0px, AD shifts down by about an
.
Thanks for the suggestion.
Regards,
Andre
On Saturday 13 November 2004 07:42 pm, Marek Kilimajer wrote:
What if you try:
?php include(banner.php); ?
form action=bad.php method=post
Andre Dubuc wrote:
Hi,
I have a very annoying problem with pages that re-display using the form
action
On Monday 25 October 2004 02:50 pm, Matthew Sims wrote:
[snip]
I see that register_globals is turned on. Now I always use the $_GET and
$_POST vars but will this still affect me?
[snip]
Matthew,
Although it shouldn't affect you, I had a terrible time trying to get anything
to pass via
Stuart,
I'm no expert, but did you flush your browser?
Hth,
Andre
On Saturday 23 October 2004 06:46 am, Stuart Felenstein wrote:
I've tried about everything and have analyzed every
bit of code but I can't seem to resolve this issue. It
might be off topic since I can't say for sure if this
On Saturday 23 October 2004 07:11 am, you wrote:
--- Andre Dubuc [EMAIL PROTECTED] wrote:
Stuart,
I'm no expert, but did you flush your browser?
Hth,
Andre
Andre, thank you for the response. I'm not sure what
you mean by flush the browser ?
Here is what I've been doing. First
Hi Stuart,
I haven't followed your thread too closely, but I did see something that might
be the cause of your problems:
[snip]
Let me show you how I set it all up. Remember it's a
multi page form:
So the form elements are: skills[], skys[], slus[]
Then on the next page I have to still
On Tuesday 21 September 2004 03:02 pm, John Nichel wrote:
While the thread still lives, let me add a pet peeve of mine. People
who reply to all. Just reply to the list...if you have to click reply
to all to get the list address in there, fine, but take a few seconds to
remove all other
Hi,
After googling 'Web Etiquette, Top Posting', I still am puzzled why some
people on this list insist that top posting is bad form, rather than personal
preference. The arguments seem to be balanced on either side.
Checking the list's archives, I noticed that those who object to top posting
OK, Jason. I'm throughly confused. You say:
Top posting means one cannot reply point by point like I'm doing here.
then you state:
Wouldn't you agree that it's easier to read something point by point
whereby you can easily see the context, instead of reading a sentence at the
top of the post
Amazing how long that thread is -- must be a record. Seems to be classic case
of 'ignore-the-obvious' or 'my-mind-is-made-up. Don't-confuse-me-with-facts'.
Perhaps I should start a new thread:
[PHP} Can't get NULL to output anything!
hehe
Andre
On Friday 17 September 2004 03:11 pm, Jason
?php
function logic($logic, find_some) {
if($TopPosting === evil)($email['JayBlanchard'] == TopPosted) {
switch ($logic) :
case None :
print You've just TopPosted;
On Thursday 12 August 2004 07:48 pm, CBharadwaj wrote:
Hello,
In conection.php I have written.
SESSION_ START();
^
Get rid of extra space and it should work
Hth,
Andre
on successful login I am registering a session variable.
SESSION_REGISTER(userId);
on
Hi,
In your code:
if($_SESSION['uname'] = = )
^
Get rid of that extra space bewteen the ==
Hth, Andre
On Sunday 05 September 2004 11:23 am, Dre wrote:
I really did
and it behaves the same
I tried isset() also but there is no good it still does not
On Saturday 04 September 2004 03:42 pm, Torsten Roehr wrote:
Matthias Bauw [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm having a problem with a php application;
I have two files: one is ccadduser wich adds users to a controlcenter
that I am currently designing for a
On Friday 03 September 2004 11:16 pm, Chris Martin wrote:
Justin French wrote:
Hi all,
I'm working with a bunch of users who hardly ever use correct
punctuation in their submitted content. I realise there's very little I
can do, but I'm trying to do *something* to make things a little
Try using braces around $_POST or any superglobal you use:
print_r($_POST);
print brbr{$_SERVER['REQUEST_METHOD']};
print brbr{$_POST['username']};
Works for me.
Hth,
Andre
On Sunday 29 August 2004 01:13 pm, John Nichel wrote:
FrzzMan wrote:
John Nichel wrote:
[EMAIL PROTECTED] wrote:
Hi,
Looking at your code, I noticed that either you're missing the closing double
quote to close off the Location expression, or you're ending it early with a
double quote at http://;.
Shouldn't it read:
header(Location: http://' . $_SERVER['HTTP_HOST']
^
PHP 4.0.6-6.2mdk
On Friday 27 August 2004 02:45 pm, Cole S. Ashcraft wrote:
What PHP version had the API number 20001222 ?
Thanks
Cole
--
This message has been scanned for viruses and
dangerous content by MailScanner on mail.ashcraftfamily.net, and is
believed to be clean.
Please
On Wednesday 25 August 2004 12:27 pm, Shaun wrote:
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
function clear_orderinfo() {
global $_SESSION;
unset($_SESSION[orderinfo]);
}
However this function doesnt seem to work and the session remains
active, is
On your new setup, is register_globals=on by any chance? I ran into the same
problem -- once set to off, everything started working properly.
Just a thought,
Hth
Andre
On Monday 23 August 2004 02:45 am, Sheni R. Meledath wrote:
Hi Gerard,
Many thanks. We are using cookies to store the
Hi James,
Well for what it's worth:
Your code in Test1 sets the paraemters -
if(!$_SESSION['start_time']){
echo(\n Session ResetBR);
$_SESSION['start_time'] = time();
yet when Test2 loads, you haven't called $_SESSION[''start_time'} nor, for
that matter, have you 'saved' it
On Friday 13 August 2004 11:19 am, you wrote:
On Friday 13 August 2004 11:14 am, Andre Dubuc wrote:
Hi James,
[snip]
.for thatt matter, have you 'saved' it using session_write_close();
From the Manual:
Session data is usually stored after your script terminated without the
need to call
..
Andre Dubuc [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Saturday 07 August 2004 10:11 pm, Robby Russell wrote:
On Sat, 2004-08-07 at 19:00, Ed Lazor wrote:
It could be that you have local error reporting set to none. It
could also be that you're using full paths when
On Sunday 08 August 2004 01:51 am, Jason Wong wrote:
On Sunday 08 August 2004 09:38, Andre Dubuc wrote:
That's what I thought. But the differences are glaring. Seems like none
of the code wants to work. Navigation is a nightmare:
header(location:...); usually brings an error message
Hi,
I have re-written a very basic website to use sessions (switching to https)
for login to special areas of a site. After testing the site thoroughly
locally, I uploaded the whole shebang to a unix server that runs Apache 1.3.x
+ PHP 4.3.4 + mysql.
Almost all code broke - sessions would
as local?
Andre Dubuc [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have re-written a very basic website to use sessions (switching to
https)
for login to special areas of a site. After testing the site thoroughly
locally, I uploaded the whole shebang to a unix server
On Saturday 07 August 2004 09:10 pm, you wrote:
On Sat, 2004-08-07 at 17:55, Andre Dubuc wrote:
Hi,
I have re-written a very basic website to use sessions (switching to
https) for login to special areas of a site. After testing the site
thoroughly locally, I uploaded the whole shebang
On Saturday 07 August 2004 10:11 pm, Robby Russell wrote:
On Sat, 2004-08-07 at 19:00, Ed Lazor wrote:
It could be that you have local error reporting set to none. It could
also be that you're using full paths when referencing files which then
breaks when moving files to a new server.
Maybe unquote 'posts' -- I would write:
$query = INSERT INTO posts ( `post_id` , `post_title` , `post_date` , ..
On Monday 02 August 2004 06:49 am, me2resh wrote:
thanks for your help
i did that
and here is the error message returned
You have an error in your SQL syntax. Check the
Hi,
I have attempted to post variables from a simple page: edit-news.php to
edit-news-x.php, then load them into a session for re-use -- I use output
buffering. They do not pass. The code:
[edit-news]
?php session_start(); ob_start(); ?
$news = A few paragraphs;
print input type='text'
On Saturday 31 July 2004 02:12 pm, Jason Wong wrote:
On Sunday 01 August 2004 01:40, Andre Dubuc wrote:
I have attempted to post variables from a simple page: edit-news.php to
edit-news-x.php, then load them into a session for re-use -- I use output
buffering. They do not pass. The code
Hi Michael,
session_start(); must be the very first line of code on the page, with no
whitespaces trailing, else you'll get the 'header already sent' message:
?php session_start(); ?
Hth,
Andre
On Monday 12 July 2004 10:40 am, Michael Purdy wrote:
Folks
I am a new to php. I am currently
Hi Chrsitian,
If you're looking fro a web or static stats package, IMHO none better than:
http://awstats.sourceforge.net/
(I've used other packages, but this is the most flexible.)
Hth,
Andre
On Tuesday 06 July 2004 07:15 am, Christian Calloway wrote:
Hey everybody,
I am looking for some
Orginally when I designed my site, I put the db access file, conn.php, in the
webarea - where all files reside. After reading a recent thread, I realize
that this may not be too secure. Therefore, I would like to shove conn.php
one level above the webarea. However, I don't feel like re-writng
On Friday 02 July 2004 09:16 am, Jordi Canals wrote:
Andre Dubuc wrote:
I thought a simple re-direct page might do
the trick.
I've tried three methods:
the header approach
header(location: ../conn-up.php);
an absolute header:
header(location: /vhome/conn-up.php
, but couldn't manage to
merge the first names.
I'll try this code -- hope it works, and get back to you!
Thanks again!
Andre
On Thursday 24 June 2004 11:21 pm, Lars Torben Wilson wrote:
Andre Dubuc wrote:
Given a text string:
$OK = Joe Blow, William Howard Anser, Hannie Jansen, etc, etc
I'm trying to sort alphabetically a large text string filled with first and
last names separated by ,That would seem to be a simple task, but
sort($txt) does not seem to work even when $txt is an array.
The code :
?php
$OK= Joe Blow, Sam Hill, Henry Forget, etc, etc;
$_SESSION['txt'] =
Hi Ryan,
I encountered all sorts of problems attempting to do the same (especially with
AOL, Yahoo, etc click-throughs).
I finally resolved the problem by calling https on the page itself (which is
listed then as http) like so at the top (after my session_start(); of course:
?php if
scripts (by typing in the URL) on the
server.
I check phpinfo(), http://www.tgwedding.com/tgwedding/phpinfo.php
php, http, ftp, https, ftps, compress.bzip2, compress.zlib
I searched php.ini for ssl and https and didn't find anything though
-Original Message-
From: Andre Dubuc
Hi folks!
I need a function that will examine input for lowercase words. In the
processing of that input, I would like to eliminate them (so as to keep all
uppercase words).
I prototyped a reasonable function using the 'Find: using regex feature' in
KWrite, so it works there.
$search
On Sunday 16 November 2003 06:40 am, Manuel Lemos wrote:
Hello,
On 11/16/2003 02:52 AM, Andre Dubuc wrote:
Recently, a 'user' attempted to access a restricted area of my site
repetitively (spanning five hours) entering the same url repetitively
[probably by script]. A massive log file
On Sunday 16 November 2003 01:54 pm, R. Van Tassel wrote:
Hi everyone. I have a problem with a website that I don't understand. It
seems that people using AOL can't see certain sections of this website.
It is a directory section where a drop-down menu exists, you select the
section you want
On Sunday 16 November 2003 10:45 pm, David Otton wrote:
On Sat, 15 Nov 2003 23:52:31 -0500, you wrote:
Recently, a 'user' attempted to access a restricted area of my site
repetitively (spanning five hours) entering the same url repetitively
[probably by script]. A massive log file was
Hi,
Recently, a 'user' attempted to access a restricted area of my site
repetitively (spanning five hours) entering the same url repetitively
[probably by script]. A massive log file was generated. I would like to ban
such behavior by limiting the number of successive 'get's a user can do (say
Hi,
I made a little function that will allow allow alphabetical character with
apostrophe then more alphabetical characters then hyphen then more
alphabetical characters (D'Agostino-Wong). The downside is that it will
automatically cap von Hollander-Smith
function ucase_words($txt){
Hi,
I've added an animated gif in the banner area of my site, and just above it,
a horizontal rule to give added emphasis. The problem is, no matter what I
do, I cannot get rid of an extra space that appears between the two. Is this
a natural function? Is there some way of eliminating the
:
style type=text/css
!--
hr {
position: absolute;
top: 0px;
}
img {
position: absolute;
top: 8px;
}
--
/style
grace
michiel
Andre Dubuc [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I've added an animated gif in the banner area of my site, and just above
=text/css
### !--
### hr {
### position: absolute;
### top: 0px;
### }
### img {
### position: absolute;
### top: 8px;
### }
### --
### /style
###
### grace
### michiel
###
###
### Andre Dubuc [EMAIL PROTECTED] wrote in message
### news:[EMAIL PROTECTED]
### Hi,
###
### I've
Hi Steve,
Just out of curiosity, when you mention implement a user authentication
process where users can click on an external link to my site are you using
the https protocol?
I had similar bizarre behavior with IE using a Confirmation Required'
script. Worked great at home (localhost), with
Hi Kurst,
I don't know whether what I'm about to pass on will be of any help, or close
to solving your problem, but perhaps the idea might lead you somewhere.
I was faced with a problem: As my index page loaded, I had to test to see
whether 'cookies' were enabled, without resorting to
Hi,
I have a very annoying little problem that someone might have an insight as
to its cause. The opening page on my site has two small jpeg pixs (3.9KB)
that display properly for any user. I have another page, with exactly the
same code, and same jpeg pixs that displays properly as well.
Hi,
I've managed to get Windows IE to pick up on most of my $_SESSION variables
once a user clicks the 'Back' button using the following code in the base
form:
'value=?php if(!empty($_SESSION['rfname'])) echo $_SESSION['rfname']; ?'
However, when I try this approach for a muliple SELECT
On Monday 27 January 2003 11:46 am, 1LT John W. Holmes wrote:
I've managed to get Windows IE to pick up on most of my $_SESSION
variables
once a user clicks the 'Back' button using the following code in the base
form:
'value=?php if(!empty($_SESSION['rfname'])) echo
Thanks John,
I sort of thought that it should work. Will do as you suggest.
Regards,
Andre
On Monday 27 January 2003 12:28 pm, John W. Holmes wrote:
I tried to pick up the values from $_POST (as above). In Linux, it
works:
(i.e. I can pick them up, display them, and manipulate them using
Hi,
Using PostgreSql 7.2 + PHP I am trying to do a SELECT that will
choose all records except ones that have a certain id number. I can't seem to
get the syntax to work.
Here's the code:
SELECT * FROM rap WHERE NOT rsponsor = '{$_SESSION['sid']}' ORDER by
rsname,rfname,rcountry,rcity DESC
DESC LIMIT 20
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 26 January 2003 11:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SELECT with WHILE NOT
Hi,
Using PostgreSql 7.2 + PHP I am trying to do a SELECT that will
choose all records except ones
I would like to update an int4 column with new values appended to the end
(preferably with a delimiter such as @ or a comma).
With PostgreSQl 7.2, I can't seem to add the number with a delimiter (it
gives me a parser error at the delimiter). For example, If I update the field
'radd' that
.
An
On Friday 06 December 2002 01:39 pm, you wrote:
On Saturday 07 December 2002 00:56, Andre Dubuc wrote:
I would like to update an int4 column with new values appended to the end
(preferably with a delimiter such as @ or a comma).
With PostgreSQl 7.2, I can't seem to add the number
de-ja vu (P) Pronunciation Key (du hhh)
n . Foreign
1. Something unpleasantly familiar
2. 'Been-there-done-that'
Don't you love it when you've set a field to a certain type, only to find out
much later, after much coding, it's wrong?
Thanks for the reminder. Guess it's back
Hi Wilmar,
Check whether you have something similar:
form action=auth-x.php method=post enctype=multipart/form-data
You'll definetly need that for antything other than text/plain ones..
Here's a some code that works for me (uploading jpgs):
if ($_FILES[pix][size] 0){
if
1 - 100 of 231 matches
Mail list logo