On 14 August 2004 15:50, raditha dissanayake wrote:
Ford, Mike [LSS] wrote:
(And, BTW, the HTTP definition says that the Location:
header should specify a full absolute URL, so that should be:
header(Location:
http://your.server.name/path/to/errors/servererror.php
-Original Message-
From: Brent Clements
To: [EMAIL PROTECTED]
I wanted to see if anyone has an easier way to do this. The end result
is this: I need to compare 7 different text strings(which are in an
array). They should all be the same, if they are not the same, a message
should be
-Original Message-
From: John Gostick
Sent: 14/08/04 15:19
I have a quick question about using the PHP die() function.
[...]
I changed the code to this:
$connection = mysql_connect($host, $user, $password)
or die(Error connecting to SQL server);
$db =
On 13 August 2004 12:52, Jay Blanchard wrote:
if( strlen( $UserID ) != 0
strlen( $UserPassword ) != 0
strlen( $SecretPassword ) != 0
strlen( $UserMail ) != 0 )
{
Do something
}
elseif ( strlen( $UserID ) == 0
strlen( $UserPassword ) == 0
strlen( $SecretPassword ) == 0
strlen(
On 12 August 2004 14:07, Justin French wrote:
Hi,
How can I get a unix timestamp of the current timezone, rather than
GMT as supplied by time()?
Sorry, but this question makes no sense to me. A timestamp is absolute and
is always in GMT, taking no account of timezones -- that's just the way
On 10 August 2004 13:19, Ron Stiemer wrote:
Hi there,
Try to add the session_id(); into the redirection:
header(Location: ../admin/include/B.php?PHPSESSID= . session_id() );
No, no, no! Use the SID constant -- that's what it's for. It only has a value if you
need one, so:
On 10 August 2004 15:55, Henri Marc wrote:
Hello,
Variables in single-quoted strings are not
evaluated. Either user double
quotes or concatination:
Thank you very much all for your help, specially Kevin
Waterson for his complete program.
It was simple, I always make some mistakes with
On 10 August 2004 15:36, Labunski wrote:
Hello,
First of all, I should apologize for my bad English,
and I hope somebody will understand what I was trying to say..
?php
if ($handle = opendir('news')) {
while (false !== ($topic = readdir($handle))) {
if ($topic != . $topic !=
On 07 August 2004 23:24, PHP Gen wrote:
This is what i am using:
for($i=0; $i1000;$i++)
{
echo somethingbr;
echo str_repeat( , 256); flush(); ob_flush();
sleep(1);
}
Regardless of solving your scrolling problem, these flush calls are the
wrong way round -- ob_flush() flushes to the
On 08 August 2004 14:20, Josh Acecool M wrote:
Try adding
if (!function_exists(function_name)) {
function function_name ($blah) {
// Function Code
}
}
for each function.
As I understand it, that will *not* work in PHP 5 as it still parses the entire file,
barfing on the
On 08 August 2004 03:25, Robby Russell wrote:
To all those who have auto-replys set for their email, please
turn them
off. ;-)
If you're referring to SpamCease, it seems that these are, on the whole, not
genuine auto-replies but are themselves from a spam email address harvester
masquerading
On 06 August 2004 15:44, Ed Lazor wrote:
Spamcease. Apparently it's the guy's anti-spam software that
automatically sends messages.
General consensus seems to be that it's not a guy, it's a spambot
pretending to be an auto-responder and using a fake from address. If you
click the link, you
On 05 August 2004 15:15, Jay Blanchard wrote:
[snip]
if($ans_three[$qzid] === 'None of the above' || $ans_three[$qzid] ===
'All of the above'){ if($ans_four[$qzid] === 'None of the above'
|| $ans_four[$qzid] === 'All of the above'){
$answers = rand(6,8);
}
On 05 August 2004 16:36, Bing Du wrote:
I really appreciate everyone who responded taking your valuable time
looking into my problem.
Now back to my problem. Changing the condition to
if($_SERVER['HTTPS']
!= 'on') did not make any difference unfortunately. So the result was
still the
On 05 August 2004 17:12, Ford, Mike [LSS] wrote:
(1) Your browser requests
https://computing.eng.iastate.edu/mambo/index.php?option=conte
nttask=viewi d=159Itemid=162
Bother! Sorry, that should, of course, be http:// in step (1)!
Cheers!
Mike
On 05 August 2004 17:18, Shaun wrote:
Hi,
I seem to have problems redirecting pages when I view my site using my
laptop, the only difference is that my laptop has Norton
Firewall installed,
can this interfere with the $HTTP_REFERER variable
Not only can, does! Other firewalls or proxies
-Original Message-
From: Harlequin
To: [EMAIL PROTECTED]
Sent: 04/08/04 01:55
Subject: [PHP] Query Results Question
I have the following query which should return just two rows:
SELECT 'ID', 'Vacancy Role', 'Vacancy Salary', 'Vacancy Location',
'Vacancy
Type'
FROM vacancy_details
-Original Message-
From: bruce
To: 'Curt Zirzow'; [EMAIL PROTECTED]
Subject: RE: [PHP] pconnect...
i meant mysqli/php5 regarding pconnect. although, i've since seen
information that leads me to believe htat pconnect would necessarily in
and
of itself be my solution.
On 30 July 2004 16:25, Ashley M. Kirchner wrote:
Jason Barnett wrote:
Though I'm intrigued by two things: a) why am I getting both
$_REQUEST as well as $_POST variables
Because $_REQUEST is an aggregate of $_GET, $_POST and $_COOKIE. That's the way it's
defined: see
On 29 July 2004 10:00, Jay wrote:
Hi!
Can someone pelase help me to convert the following Vbscript code to
PHP, i am really sucky at Regular Expression:
-CODE VBSCRIPT-
Function IsValid(strData,blIncludeAlpha,blIncludeNumeric)
Dim regEx, retVal,strPtrn
Set
On 29 July 2004 01:50, Jon Drukman wrote:
with this code fragment:
?
$string='/mobile/phone.html';
if (strpos($string,'/mobile/')!==false) { print one: yes\n; }
if (strpos($string,'/mobile/')===true) { print two: yes\n; }
only the first if statement prints anything. why is !==
On 28 July 2004 20:17, Daevid Vincent wrote:
No. I'm trying to delete it from PHP memory, but keep the cookie on
their client in the cookie.txt file or wherever it's stored.
Where are you doing the test for it -- in the same script, or in a
subsequent one? If the former, then I'm confused; if
On 28 July 2004 12:50, Harlequin wrote:
OK David.
But here's the conundrum:
a User has already selected a value which is stored in the database.
Can I Display a range of option tags but make the one the user
selected previously as the default...?
That's been asked and answered many
On 28 July 2004 12:29, Frank Munch wrote:
Would anyone know how to resolve this scope problem? Or is
this possibly
something PHP can't (yet) do?
The problem is to access a variable in a function foo from a function
local to foo.
Actually, your problem is that the function bar is *not*
On 25 July 2004 21:16, Skippy wrote:
Any idea why the need to have two logical operators with the
same meaning BUT
different precedences? I dig the need to put in OR as an
alias, but why
confuse people with the precedence issue? One would tend to
think || and OR
are perfectly
On 26 July 2004 01:13, Robert Frame wrote:
OK, now I am bewildered again.
Sample Code
?php
echo 'script language=text/javascript';
script language=JavaScript
echo '!-- ';
echo 'function myWindow() { alert(javascript from php)}';
echo '//-- /script';
There's no need to echo your
On 22 July 2004 07:50, Five wrote:
Sounds like an old bug in PHP. What version are you using?
I've been trying to get it to work at:
http://members.lycos.co.uk/primeooze/info.php
According to this phpinfo(), that site has session.use_cookies=On and
session.use_trans_sid=Off. This means
On 01 July 2004 04:10, John W. Holmes wrote:
Can anyone explain the purpose of PECL to me besides what it
says on the
web page (http://pecl.php.net)?
Besides what's already been said, it also decouples the release cycles of
the extensions from that of PHP itself. An upgrade to a PECL
On 21 June 2004 12:11, Martin Schneider wrote:
thanks for your reply, I think you missunderstood, please read more
carefully. I know how to set and read a cookie, but as I
wrote I wasn't
able to set and text a cookie ON THE SAME PAGE.
The manual says: http://php.net/setcookie
Once the
On 17 June 2004 14:27, Phpu wrote:
Here is the code:
select name=model class=gform
onchange=model_jump('parent', this)
option value=0
?
foreach ($nav_model_names as $index = $element) {
$InputString = $element;
echo $InputString;
}
/option
On 15 June 2004 00:07, Michael Benbow wrote:
Thanks Mike,
I have read up a lot on permutation but I'm not completely sure that
this will solve my problem. From what I can gather
permutation takes a
sample (i.e. ABC) and tells you how many different ways it
can arrange
the letters, with
On 15 June 2004 08:25, Ulrik S. Kofod wrote:
[EMAIL PROTECTED] sagde:
Hi,
I have variables called Cookie1 to Cookie35.
I would like to print the values of Cookie1 to Cookie35 using for
loop.
Could anybody correct the below code to print the variables.
-Original Message-
From: Michael Benbow [mailto:[EMAIL PROTECTED]
Sent: 14 June 2004 08:31
To: [EMAIL PROTECTED]
Subject: [PHP] Combo problems.. Multi Array??
Hi,
I've got a problem which has left me scratching my head for
the better
part of a week.
[...]
The
On 08 June 2004 19:00, René Fournier wrote:
OK, that makes sense. But here's the problem: I receive binary data
from SuperSPARC (big-endian), which I need to unpack according to
certain documented type definitions. For example, let's say that $msg
has the value 3961595508 and is packed as an
On 06 June 2004 22:43, Dennis Gearon wrote:
CC me please.
Does anyone know if ini_get returns the values BEFORE or AFTER the
.htaccess modifies them? i.e., does it return the server or
local version?
It gets the value the script is currently running with. This will be the
local version,
On 07 June 2004 14:04, Al wrote:
I posted this previously; but the subject was misleading.
You seem to have several possible misconceptions in your posting -- this may
just be me misreading you, but anyway...
I could use one additional clarification regarding good practice.
As I understand
On 03 June 2004 03:57, Ligaya Turmelle wrote:
shouln't be
QUOTE: input type = textarea name=quote...
If that was a question, then: No, it shouldn't. Some versions of a certain
browser may have supported this, but it has never been part of any HTML
standard.
Cheers!
Mike
On 03 June 2004 15:52, pagongski wrote:
Hi guys,
I recently installed easy-php on my laptop so i
could work on the
go without having to upload my scripts to the server to test them
out. The problem is that when i tried one of my scripts on it, i get
some weird errors,
On 28 May 2004 04:47, Albert Padley wrote:
I feel I'm so close.
I have a form with multiple database records with a checkbox to
indicate which records to update set up like so:
$name = ed[ . $row['id'] . ];
input type=\checkbox\ name=\ . $name . \ value=\Y\
Each text input is set up
On 28 May 2004 12:30, Torsten Roehr wrote:
I.A. Gray [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
Easy question (I hope). My brain seems not be working today, so
could someone help me with this one?
[...]
How can I get the value to change in each form? The
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 19 May 2004 12:55
Is it possible to request that a string CONTAINS another string...?
EG:
$string = 1, 2, 3, 7, 8, 9;
if ($string CONTAINS 7) {
// Do stuff
}
if (strpos($string,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 19 May 2004 15:47
If I'm being Dumb, I apologies...
but When using this:
$row[bands] = 1,2,3,4,5,6,7,8;
$row2[id] = 7;
if (strpos($row[bands], $row2[id]) != FALSE) {
// do stuff
}
I get
On 17 May 2004 22:26, Jeff Schmidt wrote:
Hello,
Say I have object A, with method getObjectB(), which returns a
reference to object2.
Is there a way to do something like
$A-getObjectB()-methodFromObjectB();
??
When I try that, I get a parse error? Is this simply not
possible
On 18 May 2004 09:06, Brent Clark wrote:
Hi all
For the likes of me I cant seem to figure out how to have a
select drop down
box , and have it so, that when I click the submit button,
the page displays
the correct content (which is what it does) but at the same
time I need the
select
On 18 May 2004 13:58, Nick Wilson wrote:
Hi,
I was reading this post here:
http://www.cre8asiteforums.com/viewtopic.php?t=9801
No, not my site ;-)
I think it sounds like there are some mistaken views in there, anyone
that knows about If-Modified-Since headers, PHP and Caching
could
On 14 May 2004 09:59, Brent Clark wrote:
Hi all
I have the following php code:
echotdnbsp;/tdtdinput type=\checkbox\ name=\frow\
value=\$var\/td\n;
I now have the following javascript code:
!-- From webmin--
a href='' onClick='document.frm.frow.checked = true; for(i=0;
On 12 May 2004 16:48, Robert Sossomon wrote:
It's fixed now..
If using Apache on RedHat here is everything to fix at once:
FIRST AND FOREMOST DECIDE THE MAX SIZE YOU WANT IN MB, ADD A COUPLE
MORE TO IT, AND THEN CONVERT TO BYTES (MB * 1024 * 1024)
1. httpd/conf.d/php.conf
On 13 May 2004 12:59, Yivi wrote:
Hello everyone.
I am having a stupid problem with a couple of arrays, tried a
couple of
things but I am feeling disconcerted.
The thing is, I thought it was possible to create arrays in a dynamic
fashion, as in: $newarray['newkey'] = new_value;
And the
On 13 May 2004 19:52, John Nichel wrote:
Monty wrote:
Is there any way to get JUST the user-defined variables in PHP?
Problem with get_defined_vars() is that it contains everything,
including server and environment vars, and there's no easy way to
keep just the user-defined vars part of
-Original Message-
From: David Mitchell [mailto:[EMAIL PROTECTED]
Sent: 12 May 2004 13:21
OK, I managed to get it working.
I first attempted to edit the php.ini so that the session
save path was C:\Temp. No matter what I did, the save path
always showed up in phpinfo() as
-Original Message-
From: Rudy Metzger [mailto:[EMAIL PROTECTED]
Sent: 12 May 2004 14:27
On Wed, 2004-05-12 at 15:18, Mark Constable wrote:
function forum($naam=NULL,$tijd=NULL,$tekst=NULL)
and test the incoming variables with isset() before
attempting to use
any of
On 30 April 2004 09:47, Frederic Noyer wrote:
Hello there !
I am trying to fill and then compare two arrays: one
filled by a
foreach construct, and the second by a while construct.
I check both with a print_r to be sure that both are correctly filled
(which seems to be the case). But
On 22 April 2004 15:22, Paul wrote:
Hi!
Got this script:
?php
for($i='A';$i='Z';$i++){ echo $i.' | '; }
The output is:
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P
Q | R | S | T | U | V | W | X | Y | Z |
AA | AB | AC |
...
YX | YY | YZ |
where is should
On 19 April 2004 23:02, Lester Caine wrote:
OK 72 Hours later I got 6 bounce messages back related to Fridays
eMails direct to lists.php.net ( one of which is yet another attempt
to unsubscribe from php-db )
Delivery-date: Mon, 19 Apr 2004 20:30:30 +0100
Received: from
On 20 April 2004 09:45, Nunners wrote:
button type=submit is not a standard HTML v4 tag
Bzzt! Completely wrong. See
http://www.w3.org/TR/html401/interact/forms.html#h-17.5.
Cheers!
Mike
-
Mike Ford, Electronic Information
On 20 April 2004 07:47, Lester Caine wrote:
Chris W. Parker wrote:
but your messages *ARE* getting accepted otherwise i would not be
reading this email right now!
NO THEY ARE NOT - This reply HAS to be sent via the newsgroup!
The bounce messages I am getting are as a result of
On 20 April 2004 16:44, Alex Hogan wrote:
foreach ( $array1 as $flds ) {
if ( $start ) {
$query .= $flds;
$start = false;
} else {
$query .= , . $flds;
}
}
$query .= implode(, , $array1);
Cheers!
Mike
On 16 April 2004 11:47, moondog wrote:
Hi,
I am a RegExp newbie, and need help with this:
i have a long string (500 / 600 chars), and need to split it in lines.
Each line has a maximum length (20), and words in the line
shouldn't be
cut, instead the line should end at the end of the
On 14 April 2004 21:30, Brian V Bonini wrote:
Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line
150
Just to add to previous responses, '$' is PHP's unhelpful notation for end
of file (think regex end-of-string anchor, if it helps!).
Cheers!
Mike
On 15 April 2004 06:18, Curt Zirzow wrote:
* Thus wrote Jeffrey Tavares ([EMAIL PROTECTED]):
netcraft shows how many servers have php, but nothing specific about
versions. Maybe I'm wrong, but I checked all over netcraft's site.
Sorry if I put ya on a bad lead. I could have swore they had
On 15 April 2004 10:59, [EMAIL PROTECTED] wrote:
Im trying to implement some really simply credit card encryption...
I know it's not perfect, but it's a stop gap measure until I do this
properly... however...
To Encrypt before I put into my DB, I'm using this formula...
$encrypt =
On 14 April 2004 17:53, Paul Fine wrote:
Thanks guys but I have register globals ON so once the
session variable is
defined I should be able to address it without specifying $_SESSION ?
I don't think the documentation is clear on this point -- it may be that the
association between the global
On 30 April 2004 13:23, Angelo Zanetti wrote:
Hi all,
I have found this code that is supposedly meant to be used
for a dateadd
function. I only need it for the adding of days, my problem is that it
doesnt validate when adding days at the end of the month. eg:
march 31 and the I add 2
On 30 April 2004 13:45, Angelo Zanetti wrote:
Hi Mike, I actually changed the return statement to return
the date in a
format that is different from the mktime format, so that
would explain it.
So run the mktime(), then format the resulting timestamp. Job done.
Cheers!
Mike
On 15 April 2004 16:26, David T-G wrote:
Hi, all --
When I move_uploaded_file() a file into place, I want to give it the
correct permissions; by default they are 600 (rw-/---/--). I already
have the umask set correctly for any given situation in
anticipation of
creating directories, and
On 15 April 2004 15:43, Ryan Schefke wrote:
I'm running a login script where the user enters
login/password and if it
matches what I have in my db and their account is active, I set a
login cookie (login_ck) and an authentication cookie
(authenticate_ck). If the
login and authentication
On 15 April 2004 17:26, David T-G wrote:
Mike, et al --
...and then Ford, Mike [LSS] said...
%
% On 15 April 2004 16:26, David T-G wrote:
%
% but chmod() needs a permissions setting rather than a umask. %
% The challenge is in representing this as octal. With some
On 15 April 2004 16:26, David T-G wrote:
Hi, all --
When I move_uploaded_file() a file into place, I want to give it the
correct permissions; by default they are 600 (rw-/---/--). I already
have the umask set correctly for any given situation in
anticipation of
creating directories, and
On 09 April 2004 16:39, Strogg wrote:
[snip original problem for which a fix has been posted]
$taxrate = 0.175; //local tax rate in UK is 17.5%
You should note that UK VAT is always rounded *down*, so that this:
$totalamount = $totalamount * (1 + $taxrate);
should be something like:
On 10 April 2004 02:21, Verdon Vaillancourt wrote:
Hi,
Thanks much to Richard and Andy for the input :) This one
did the job...
if($_SESSION['OBJ_user']-modSettings['listings']['active'] == '1') {
I'm still not entirely sure I understand the syntax ;)
Well, by relating back to your
On 10 April 2004 16:11, Brian Dunning wrote:
Check this out: I'm returning a list of the last 30 days, looping
through i, subtracting it from $end_date where $end_date is 2004-04-10
00:00:00. I'm just trying to derive a timestamp $check_date for each
iteration, like 1081321200. Here's the
On 14 April 2004 17:40, BOOT wrote:
Any help with this would be appreciated. the p and v lnames are
posted from a form. In the form, the user seperates last names with a
/. What I can't understand is why Test1 shows as nothing, while
Test2 shows the value I wanted. Thanks a lot!
On 07 April 2004 03:03, [EMAIL PROTECTED] wrote:
From: Merritt, Dave [EMAIL PROTECTED]
Okay seems to makes sense, but when I do the following it doesn't
appear to be working correctly, or I'm viewing my logic incorrectly
one:
if ( (int)$PageOptions['Default'] ==
On 07 April 2004 15:56, Andy B wrote:
i have this query set:
$EditQuery=select * from $EventsTable where Id='$edit';
$query=mysql_query($EditQuery)||die(mysql_error());
Don't use || for this, use or -- they have different precedence, and it *matters*.
//later in the code i have this:
On 07 April 2004 15:48, William Lovaton wrote:
I guess that works but every possible solution posted in this thread
is a lot of lines of code to perform a simple validation.
Uh -- how are:
if(strcmp((int)$PageOptions['Default'],$PageOptions['Default'])==0)
if
On 04 April 2004 01:13, Robin 'Sparky' Kopetzky wrote:
function key_exists($ps_key)
{
if ( in_array($ps_key,
array_keys($this-ma_arguments)) ) {
return true;
} else {
return false;
}
}
Ummm --
function
On 25 March 2004 20:17, Chris Thomas wrote:
I am not sure if this was designed like this, or if its just
something im doing wrong.
Im posting some data to a processing page, where i handle it then use
Header('Location: other.php') to direct me to another page.
The problem that im running
On 24 March 2004 22:28, PHP Email List wrote:
And ? #2 are there any settings within PHP that would limit
my ability to
visually display the contents of a POST variable on a .rtf document as
opposed to being displayed on the browser?
Yes -- take a look at the variables_order directive
On 25 March 2004 09:32, Andy B wrote:
the final line then is: if($result==false) {//test the query
itself..if false then
print whatever
} else {//if it did work then do this...}
but of course it could always be turned around to:
if($result==true) {...} but dont know what way is better or
-Original Message-
From: Kim L. Laage [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 10:52
Once again, thanks for the replies...
But I'm afraid I'm not getting this right... I've tested with
the various
versions of $_SESSION syntax which I've been recommended by
the people on
-Original Message-
From: PHP Email List [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 00:13
what happens if you do the following?
?php
$name = $_POST['FNAME'];
echo ::$name::;
$output = str_replace(FNAME, $name, $output);
?
??
I tried that, but I know I can
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 17:30
Hi,
I have a config_inc.php file which has around 60 parameters set in it.
eg:
$db_name=something;
$db_user=root;
$db_pass=blah;
$x_installed_path=/home/blah/;
etc
I have a requirment of
On 22 March 2004 10:31, Paul Hopkins wrote:
Here's the code:
?php
$a = 676.6;
$b = 0.175;
$y = $a * (1 + $b);
echo(y: . $a . * (1 + . $b . ) = $yBR);
$z = $a + ($a * $b);
echo(z: . $a . + ( . $a . * . $b . ) = $zBR);
echo(number format(y)=.number_format($y, 2).BR);
On 21 March 2004 16:03, Ben Ramsey wrote:
I've got a querystring that looks like this:
?url=http%3A%2F%2Ftest.alpharetta.ga.us%2Findex.php%3Fm%3Dlink
s%26category%3DRecreation%2B%2526%2BParks%26go.x%3D22%26go.y%3D7
As you can gather, I'm trying to pass a URL to another script
for some
On 17 March 2004 17:09, Chris W. Parker wrote:
$var++ is a post incrementer meaning the value is updated at the next
command*.
* i'm not exactly sure how the compiler determines when to post
increment, but i think i'm correct.
Not quite -- the increment is performed immediately after the
On 16 March 2004 15:10, Harry Sufehmi wrote:
Problem:
Changes made in c:\winnt\php.ini doesn't have any effect even after
restarting Apache.
Steps tried:
# looking for other copies of php.ini - none found
# entering the related values in Apache's httpd.conf file
instead - works for some
On 16 March 2004 19:01, Harry Sufehmi wrote:
On 16/03/2004 at 18:18 Ford, Mike [LSS] wrote:
On 16 March 2004 15:10, Harry Sufehmi wrote:
Problem:
Changes made in c:\winnt\php.ini doesn't have any effect even
after restarting Apache.
PHP version: 4.3.3
phpinfo() output
On 15 March 2004 12:12, Stuart wrote:
Ben Joyce wrote:
On the contrary, the @ prefix suppresses all errors for the block of
code it precedes where a block is a function or variable. Essentially
it sets error_reporting to 0 while it evaluates that block.
In fact, to be completely accurate,
-Original Message-
From: Martin McCormick [mailto:[EMAIL PROTECTED]
Sent: 10 March 2004 21:31
To: [EMAIL PROTECTED]
Subject: [PHP] If Using PHP CLI to Query Oracle8I DB, is
Version Number Critical?
We use PHP 4.3.4 (cli) to query a Microsoft SQL
database server with no
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: 11 March 2004 14:19
On Thursday 11 March 2004 21:15, I.A. Gray wrote:
What I want the
script to do is set $SPORDER to this value. If
$_GET['ORDER'] is not
set then it gets the default value (ASC), if
On 10 March 2004 13:48, Burhan Khalid wrote:
Kelly Hallman wrote:
Consider this method:
function xyz() {
return $this-data = unserialize($this-serial); }
Maybe I'm just being stupid, but wouldn't that simply return true if
the assignment was successful, and false
On 08 March 2004 14:00, Mike Mapsnac wrote:
I'm looking for PHP function that takes $filename as
parameter and returns
absolute path.
I looked on php.net but cannot find such function. Any ideas if such
function exist?
How about http://www.php.net/realpath ?
Cheers!
Mike
On 05 March 2004 03:33, Paul Higgins wrote:
When I do: print_r($_COOKIE); I get the following:
Array ( [PHPSESSID] = 11781ce29c68ca7ef563110f37e43f38 )
Does that mean its setting the Cookie?
Yes.
Cheers!
Mike
-
Mike
On 05 March 2004 16:02, csko wrote:
Hi!
Is there a function to convert a ASCII char to decimal or binary? Or
a program?
csko
http://www.php.net/ord
Cheers!
Mike
-
Mike Ford, Electronic Information Services Adviser,
On 04 March 2004 10:25, matthew oatham wrote:
Hi,
I have a quick question about PHP session. In my website I
have included the command session_start(); at the top of
every page. Firstly is this correct?
Yes (sort of). The real deal is that session_start() has to occur before you start
On 04 March 2004 04:37, Andy B wrote:
hi.
i found strtotime and it seems to work but not quite sure if i know
how to use it right... here is my code:
?php
$time= strtotime(third saturday january 2005);
echo date(M/D/YY, $time);
i wanted it to take the third saturday of next year
On 04 March 2004 16:44, Raditha Dissanayake wrote:
You didn't tell us the error message and you have not
mentioned if you
tried LimitRequestBody and max_input_time and max_execution_time.
... or if you restarted the Web server after each change to php.ini.
Cheers!
Mike
On 02 March 2004 00:04, Marc G. Fournier wrote:
We're having a weird problem with some of our PHP forms, where, when a
client uses IE6 with the latest hotfixes, they are reporting
that have to
re-submit a couple of times for it to take ... as if
somehow the data
isn't being passed down
On 20 February 2004 22:29, Ed Lazor wrote:
PHP include statements default to the current directory. If
the path to
my PHP files is /home/osmosis/public_html, why would users visiting my
site occasionally get an error that the include file wasn't found in
/home/budguy/public_html?
It's
On 24 February 2004 06:58, adwinwijaya wrote:
input name=image type=file
$uploadfile = $uploaddir . $_FILES['userfile']['name'];
Array
(
[image] = Array
Hint: image!=userfile
Cheers!
Mike
-
Mike
1 - 100 of 663 matches
Mail list logo