p code in the sent page.
Is this possible, can it be done, and if so, how?
Jim
- Original Message -
From: "Paul Marinas" <[EMAIL PROTECTED]>
To: "Jim Lucas" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 4:33 PM
Subject
it has to do with declaring all php variables before using them in the
script.
$var='';
then do something with the variable.
Jim
- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 9:52 AM
Subject: [PHP] W
checkout the most recent version of the help documents from php.net. it
will tell you.
something to do with $_GET, i think...
Jim
- Original Message -
From: "Mike Tuller" <[EMAIL PROTECTED]>
To: "php mailing list" <[EMAIL PROTECTED]>
Sent: Friday, January 17, 2003 2:05 PM
Subject: [PHP]
instead of doing that your should do this
$message = "
title goes here
";
for ($x = 0; $x < $num_rows; $x++)
{
$message .= "some stuff";
}
$message .= "
";
you were also missing your last double quote.
Jim
- Original Message -
From: "Cesar Aracena" <[EMAIL PROTECTED]>
To: <[EMAIL
I would add the modification time of the file in question with
filetime($filename);
that way you will be sure to get a unique argurment.
Jim
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Chris Shiflett" <[EMAIL PROTECTED]>
Cc: "Phil Powell" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
M
Subject: [PHP] Re: Cannot show reuploaded image file on page unless manual
refresh
> I wonder if appending time() would be better... granular to a second and
> you save the filesystem lookup effort??
>
> On Mon, 20 Jan 2003, Jim Lucas wrote:
>
> > I would add the modificati
I have found that with the popup stopper that I have installed on my
machine, Pop-up Stopper from Panic Ware, that I can't even start up a new
instance of IE without it killing the new window. I have netscape 4,6,7 and
mozilla installed on my machine and it won't allow me to start up more then
one
People often for get about a little problem that happens with the
I found a bug when developing a download script a year or so ago.
You can't have the 'attachment;' part in IE. It did some funky stuff
and netscape 4 would die without it.
Jim
- Original Message -
From: "Timothy Hitc
what about checking the checking the remote ip address?
Jim
- Original Message -
From: "Chris Shiflett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 21, 2003 10:45 AM
Subject: Re: [PHP] Detecting posts from outside site
> --- [EMAIL PROTECTED]
In general, how do most template parsers work?
do they read the file into a variable and do something
to the effect of preg_replace() to element that is found?
and if so, could you replace the step of reading the file
into a variable with getting the template data out of a database?
WARNING...
function DrawOptions($options, $active='')
{
$str = '';
foreach($options AS $key=>$value)
{
$sel = ($active==$key?" SELECTED":"");
$str .= "".$value."\n";
}
return($str);
}
Try this
array needs to be a key-value pair that has the value that you are looking
for as the key and
is it on a unix system?
if so, do an ls on the system and you will see that the files are listed in
that order.
it is the order in which they were copied to the directory.
try going through a loop before you run your main loop, create an array()
then sort that with some sorting functions and you
just copied your code and it worked fine for me.
system: Apache 1.3.26
PHP 4.2.2
I would look into apache 2.0 and the env vars that are available from it.
- Original Message -
From: "Bruce Douglas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003
yes, it is possible, but not with php.
Jim
- Original Message -
From: "Victor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 8:10 PM
Subject: [PHP] total file size
> Is there a way to find out total upload file size from a file uploaded
> though an html
I am guessing that apache isn't the owner of the file. therefor it can't
delete it from it original position.
mv in unix basically copies the file pointer from one place and to another
place.
then deletes the original pointer. if you don't have permission to delete
the file from its original po
the only difference to structure is this line is in the first file and not
the second.
fw_menu_2.addMenuItem("STANDARD
PROMOTION","location='http://www.bis.org.in/sf/sfp2.htm'");
diff is a wonderful tool!!!
Enjoy
Jim
- Original Message -
From: "Amit Gupta" <[EMAIL PROTECTED]>
To: <[EMA
then run extract($_REQUEST); just above where you want to use the var1
var2... and it will place all the key => value pairs into the local scope.
Jim
- Original Message -
From: "Noah" <[EMAIL PROTECTED]>
To: "Philip Olson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, Janu
why would it matter if he does it just above the place that he is going to
use them?
doesn't matter if he is in a function or not. the $_REQUEST var will always
be available.
if he calls a function then he would have to do it just inside the function
or pass it to the function.
Jim
- Origin
you could always to a preg_replace() and replace the backticks with their
xx; equal.
Jim
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 4:27 AM
Subject: [PHP] Backticks and echo
> Hello everyone
>
> I reread the manual again o
the default location for the php.ini file (if installed with the RPM's) is
/etc/php.ini
Jim
- Original Message -
From: "Kevin Paz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 11:03 AM
Subject: [PHP] Cannot find php.ini
>
> I've taken over a redhat server w
in the first line of the code you are refering to $_GET[option]
option in this case is being seen as a constant.
if you were to put single or double quotes it would work.
the second notice means that in the $_GET array, there isn't a key called
option
it would probably work better if you did th
the second argument in the mysql_select_db call in not in scope.
you should be using $this->db instead of $db
Jim
- Original Message -
From: "Larry Brown" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 2:52 PM
Subject: [PHP] deciperhing oop
> Can som
have the file download in a popup window.
after the down load the window will be gone.
Then you don't have to worry about the refreshing of the main window.
Jim
- Original Message -
From: "David Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 8:30 AM
Su
Plus, what if their was a textarea that you can't reload from the process
page
because the amount of data was greater then the max limit of the GET
protocol?
Then you would loose all that data.
- Original Message -
From: "David Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Fr
How are you including the file in question?
Jim
- Original Message -
From: "Liam Gibbs" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 9:58 PM
Subject: [PHP] Dollar signs in values
How is it I can properly get PHP to represent dollar signs when putt
Then the information in the DB is the same.
Jim
- Original Message -
From: "Charles Kline" <[EMAIL PROTECTED]>
To: "Rich Gray" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 10:03 AM
Subject: Re: [PHP] MySQL Alias and PHP
Thanks for the help. Almost there. Here
make a copy of the original array and sort that, when you find it correct
key, use that to refer to the correct value in the original array.
Jim
- Original Message -
From: "Liam Gibbs" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 11:24 AM
Subject: Re:
if you put this at the very to of the page, I am guessing
then that you haven't ran session_start() ??
if you are trying to access a value stored in a session variable, you need
to initialize the session first, then access the variable.
Jim
- Original Message -
From: "Barry Gould" <[EMAI
I think it might have something to do with --enable-trans-sid
read up on that
Jim
- Original Message -
From: "Liam Gibbs" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 8:45 PM
Subject: [PHP] $PHPSESSID
First of all, thanks all who helped with the mi
what does $annrow[id] return?
I HAVE found that I have to refer to a file when using file_exists() from /
so
file_exists("/path/to/me/cherpdocs/filename.doc")
for it to work right.
Jim
- Original Message -
From: "Charles Kline" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday
You need to have this
$EricCodesArray = array (
"CO" => array("Description",
"Input Name",
"Select Name",
"Option Name",
because the flush happens after everything is done, including the fputs
thingy.
you have to call ob_get_contents() or something like that.
I always to this
ob_start();
do something
$data = ob_get_contents();
ob_end_clean();
then I work with the $data later.
but if you don't use the ob_get_co
You could signup with a company like yahoo.com or hotmail or bend.com and
you could then have a web based email service.
You ALWAYS have choices... :)
Jim Lucas
- Original Message -
From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]>
To: "'Derick Rethans'&q
if you are on a linux system, you could always symlink the folders into the
public_html dir.
Jim Lucas
- Original Message -
From: "MIKE YRABEDRA" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 5:36 AM
Subject: [
try this
print "<\?xml version=\"1.0\"\?>";
This might fix it.
- Original Message -
From: "Steven Apostolou" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 6:33 AM
Subject: [PHP] outputting xml declaration
> Hello,
>
> The folowing code gives an error
You could always use at the top of the screen.
Jim Lucas
- Original Message -
From: "Wendell Brown" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Karina S" <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 11:27 AM
Subject: Re: [PHP] print html code
So what, it would do what was requested. :)
Jim Lucas
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Jim Lucas" <[EMAIL PROTECTED]>
Cc: "Wendell Brown" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Karina
S&q
well, tell me. What browser follows the standards 100% ??
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Jim Lucas" <[EMAIL PROTECTED]>
Cc: "Wendell Brown" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Karina
S&q
return;
will do the trick
Jim Lucas
- Original Message -
From: "Jonathan Pitcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 2:09 PM
Subject: [PHP] Break, Exit, Die, Kill, Maime and Stab
> I have some scripting that includes f
what type of format does your column take?
date
time
datetime
??
Jim Lucas
- Original Message -
From: "Jack Sasportas" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 2:11 PM
Subject: [PHP] Need a function to calculate
Technically you are not outside of a function.
you need to use one of the include or require functions to include the file
right?
Jim Lucas
- Original Message -
From: "Jonathan Pitcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 2:3
Just tell your server to allow the session lifetime to be 15 minutes
After 15 minutes of inactivity, the session will not exist.
Jim Lucas
- Original Message -
From: "Jeff Harris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 2:45 PM
i works for me in many different areas on my site
Jim Lucas
- Original Message -
From: "Jeff Moser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 03, 2003 5:07 AM
Subject: RE: [PHP] Break, Exit, Die, Kill, Maime and Stab
So...why not write the e
don't know about loading it directly in flash, but you could always create a
javascript array in the page that loads the flash module and then have flash
read it or javascript enter it into the flash module.
Jim lucas
- Original Message -
From: "Jim McNeely" <[EM
Try this
$str = "here is some php" .
"here is more" .
"here is even more";
Just a plain '.' will do the trick.
Jim Lucas
- Original Message -
From: "Alvaro Rosales R." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTE
You have almost everything correct here
change that last line to this.
$arrayListArray = compact('booleanNonFormVars', 'booleanVars',
'profileVarArray',
'profileNonFormVarArray');
notice the use of compact()
Jim Lucas
- O
I think that is what he was meaning.
IT SHOULDN'T WORK THAT WAY, BUT IT DOES!!!
Re-Read his first email a little closer.
Jim Lucas
- Original Message -
From: "Michael Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 3:44 PM
Sub
}
>
> $length = strlen($sql);
> $newlen = $length - 4;
> $sql[$newlen].= " order by name";
> echo $sql;
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Try this
$left = array();
foreach ( $phrases as $k => $v ) {
if (in_array($v, array('the','and'))) {
$left[] = "name like '% ".addslashes($val)." %' {$logic} ";
}
}
$where = join ( '', $left );
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would take a look at the headers of an email that does render html
correctly in outlook and see what you are missing.
Trial and error.
Jim Lucas
- Original Message -
From: "Tim Thorburn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 15, 2003
can someone post the original source that he submitted. I was gone
yesterday and missed it.
Thanks
Jim
- Original Message -
From: "Curt Zirzow" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Thursday, July 24, 2003 9:11 AM
Subject: Re: [PHP] I'm really getting annoyed with PHP
Depends, are you trying access the form from a different frame?
Jim Lucas
- Original Message -
From: "Matt Palermo" <[EMAIL PROTECTED]>
To: "Jim Lucas" <[EMAIL PROTECTED]>; "Matt Palermo" <[EMAIL PROTECTED]>;
"php-general" <[
Personally, I would do a search-and-replace for header() and replace it with
your own custom header() function.
Then you would only have to change one location.
Jim Lucas
- Original Message -
From: "Ryan A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: &l
Try taking the value='' out of your form fields.
if you have it reseting the values every time the page is loaded, it will
reset the values.
Jim Lucas
- Original Message -
From: "Jim McNeely" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, Jul
Try this.
$companyname[] = $row['company'];
Jim Lucas
- Original Message -
From: "Pushpinder Singh Garcha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 28, 2003 10:16 AM
Subject: [PHP] Array Question
hello everyone,
I am trying t
'$date1' and tra.information_sent < '$date2')
)
order by entity_name
then in your loop you will need to look for something like this.
while($row = mysql_fetch_array($results)){
if(!empty($row['fof_id']))
echo "found";
if(!empty($row['fof_i
I can't speek about the first problem, but about the second one.
You are not setting the variable $blah as a global variable.
Try this instead
$GLOBALS['blah'] = 'bob';
and that should work.
You need to look into scope when refering to variables and functions.
';
$GLOBALS['GLOBALS']['key2'] = 'value2';
don't ask me why, but it seems odd to me to do this. A little redundant if
you ask me.
Jim Lucas
- Original Message -
From: "Chris Boget" <[EMAIL PROTECTED]>
To: "PHP General" <[
just to let you know, the $GLOBALS[] superglobals was around long before
php 4.1.0
Jim Lucas
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Chris Boget" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Fr
actually, it does work and it does exist.
Try using print_r() or
print_r(array_keys($GLOBALS));
and you will see an entry for GLOBALS
mine is located at #13
Jim Lucas
- Original Message -
From: "Greg Beaver" <[EMAIL PROTECTED]>
To: "Leif K-Brooks" <[
value) {
echo $key."=>(".$value.")\n";
}
?>
Jim Lucas
- Original Message -
From: "Greg Beaver" <[EMAIL PROTECTED]>
To: "Jim Lucas" <[EMAIL PROTECTED]>
Cc: "Leif K-Brooks" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sen
I don't follow what you are trying to say here?
it is returning true, just as it should.
show me the results that you get by running this code.
here is mine
bool(true)
bool(true)
What is wrong about this?
Read my notes below
To: "Jim Lucas" <[EMAIL PROTECTED]>
Cc: <
I am running PHP 4.2.2 on Debian linux with apache 1.3.26
Jim
- Original Message -
From: Greg Beaver
To: Jim Lucas
Cc: [EMAIL PROTECTED]
Sent: Friday, August 01, 2003 3:02 PM
Subject: Re: [PHP] Re: Globals
What version of PHP are you running? I have PHP 4.3.2 on
yes it could be in the httpd.conf file.
look in your VirtualHost block and see if something there refers to a file
called loging.php
Jim Lucas
- Original Message -
From: "Matt Giddings" <[EMAIL PROTECTED]>
To: "'David Nicholson'" <[EMAIL PROTECTED
well, first off '>' should not be allowed as a value of an attr="" pair
anyways.
You should convert it to > or <
this will solve that problem.
Jim Lucas
- Original Message -
From: "Dan Phiffer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED
tal FROM tbl";
$results = mysql_query($sql);
$arr = mysql_fetch_assoc($results);
echo $arr['total'];
If i confused you with all the different ways to do this, don't worry, I
confused myself also.
If need be, I will explain more.
Jim Lucas
- Original Message -
From:
Could you explain a little better why this would make things better?
I don't understand how this would improve things.
Jim Lucas
- Original Message -
From: "Curt Zirzow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 07, 2003 10:28 AM
for that
given vote.
Jim Lucas
- Original Message -
From: "Matthew Koh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 09, 2003 4:22 PM
Subject: [PHP] Simple cookie question
> This may be a stupid question, but I'm trying to set up a sy
I would switch to single
quotes.
how are you getting the $invoiceid value? is this code inside another a
larger loop?
Jim lucas
- Original Message -
From: "Ben C." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
on page one do this instead.
Jim Lucas
- Original Message -
From: "James Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 11, 2003 1:29 PM
Subject: RE: [PHP] Array to List
> All,
>
> Thanks for your help, but this shouldn'
Good point.
Would not have seen it that way.
Thanks for the tip.
Jim Lucas
- Original Message -
From: "Roger B.A. Klorese" <[EMAIL PROTECTED]>
To: "'Jim Lucas'" <[EMAIL PROTECTED]>; "'Curt Zirzow'"
<[EMAIL PROTECTED]>;
o
much. But if you are worried about readability, I would stick with the method myself. It keeps everything flowing in the script.
Jim Lucas
- Original Message -
From: "Derrick Fogle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 2:13 PM
S
ce it is how you want it,
you will find that it is very easy to work with functions formated like
this.
Jim Lucas
- Original Message -
From: "Hardik Doshi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 15, 2003 8:53 AM
Subject: [PHP] Function argu
and then bring up the Save As
box. This will make it so you never leave the page that you were on.
Jim Lucas
- Original Message -
From: "Jean-Christian IMbeault" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 6:43 PM
Subject: [PHP] How to
why don't you run this
Jim Lucas
- Original Message -
From: "Martin Towell" <[EMAIL PROTECTED]>
To: "'murugesan'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 11:18 PM
Subject: RE: [PHP] window.open(
how about giving the specs on all three servers?
So WE can see the differences.
Jim Lucas
- Original Message -
From: "Ryan A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 5:39 PM
Subject: [PHP] Access denied problem, please help
does the uploading.
Jim Lucas
- Original Message -
From: "Ryan A" <[EMAIL PROTECTED]>
To: "Jim Lucas" <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 4:06 AM
Subject: Re: [PHP] Access denied problem, please help
> Oops sorry,
>
Try this:
SELECT name FROM table GROUP BY name ORDER BY RAND() LIMIT 3
This will group together all the names and then choose from a list that has
only unique names and then return 3 at random.
Jim Lucas
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECT
what is the source for the page that you initially enter the data on the web
form look like?
Jim Lucas
- Original Message -
From: "Stevie D Peele" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 6:25 AM
Subject: [PHP] Help with a script
I have been wanting the same thing, but I too have not found a solution, and
do not know if it will come around.
Being able to create your own super-global would be a very nice feature.
Jim Lucas
- Original Message -
From: "Matthias Nothhaft" <[EMAIL PROTECTED]>
To: &
when you are uploading files via a form, you must use the POST method.
Jim Lucas
- Original Message -
From: "Matthias Wulkow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 11:16 AM
Subject: [PHP] file upload problem
> Hi ,
>
&
- Original Message -
From: "Matthias Wulkow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Jim Lucas" <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 12:27 PM
Subject: Re: [PHP] file upload problem
> Hallo Jim,
>
> am Samstag, 23. Au
r the script ends.
Jim Lucas
- Original Message -
From: "Matthias Wulkow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Jim Lucas" <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 12:43 PM
Subject: Re: [PHP] file upload problem
> Hallo Jim,
&g
You need to take a second look at the way you are refering to the
varialbles in the process page.
You are using the POST method in the method='POST' in the form, but on the
process page you are refering to it via $_GET['...'] change this to
$_POST['...'] and
it is your tag. You are missing the closing '>' on the openning
title tag.
Fix that and see what happens
Jim Lucas
- Original Message -
From: "Gloria L. McMillan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 2:00 PM
If you are having a problem that tells you that output was displayed on a
given line in a given file. And you found this because after the output you
tried sending headers, then look in that file on that given line, and you
will see the problem.
It could be a simple as a
?>
To: <[EMAIL PROTECT
on a side note, you realize that you could loose all all of the while loops
and replace them with two or three nested foreach() loops?
Build yourself one big array and loop through it.
If you need any advice, drop me a note.
Jim Lucas
- Original Message -
From: "Jay Fitzg
if($i % $rowCount + 1)
echo "";
else
echo "";
}
echo "";
?>
Give it a run and let me know what you think.
Jim Lucas
- Original Message -
From: "Jay Fitzgerald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sen
you do that same query in mysql
Jim
- Original Message -
From: "Joshua Moore-Oliva" <[EMAIL PROTECTED]>
To: "Brad Harriger" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, March 17, 2003 10:49 AM
Subject: Re: [PHP] Working with dates
> Switch to postgres! then you can do
>
> SELE
You need to split() the variable ($mboxs) on newlines "\n"
Jim
- Original Message -
From: "Jim Greene" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 8:22 AM
Subject: [PHP] Question about a text file and foreach
> Hi All,
> I have a text file that has entries
you are trying to include a variable inside a single quoted string.
change the echo line to this.
echo " window.location = '$thepage'>
";
Jim
- Original Message -
From: "Antoine" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 2:52 PM
Subject: [PHP]
Look up the specs on the limitation of cookies and you will then know the
limitation of php when it comes to cookies.
Jim
- Original Message -
From: "Hatem Ben" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 21, 2003 9:10 AM
Subject: [PHP] where is cookie limitation on php
Hello $var" instead of "Hello Dan"
$var = "Dan";
define('CONSTANT', "Hello $var");
echo CONSTANT
Jim Lucas
- Original Message -
From: "Dan Rossi" <[EMAIL PROTECTED]>
To: "Daniel Diehl" <[EMAIL PROTECTED]>;
you must remove the backticks.
Jim
- Original Message -
From: "rentAweek Ltd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 9:50 AM
Subject: [PHP] Separators in variable values causing MySQL commands to fail
> In my PHP script I have coded e.g.:
>
> $sql =
and , you need to escape the values that you are inputing
ie. htmlspecialchars() or htmlentities() those values
Jim
- Original Message -
From: "rentAweek Ltd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 9:50 AM
Subject: [PHP] Separators in variable values c
when it comes to the second page, you already know that page you are on
1,2,3,4...
take that and multiply it by the defined number of results per-page, then
start your counting.
Jim
- Original Message -
From: "Sebastian" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Monday,
i have this little function that I wrote to do just that.
function alternate(&$a, $b)
{
return($a = ($a?$a:$b) );
}
just call it like this
alternate($myArr, array());
foreach($myArr AS $k => $v)
{
do something here
}
Jim
- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED
check into forcing the use of trans_sid
Jim
- Original Message -
From: "Haseeb Iqbal" <[EMAIL PROTECTED]>
To: "PHP General list" <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 8:48 PM
Subject: [PHP] Session Theft
> i just want to figure out a way by which i can stop session theft.i
tho
This is untested, but I seem to recall doing something like this on a
project last year.
and on the process page you will receive an array called row that has
everything in it that you need.
Jim
- Original Message -
From: "Daniel Harik" <[EMAIL PROTECTED]>
To: <[EMA
-
From: "Daniel Harik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 10:54 AM
Subject: Re: [PHP] Grid edit form
> Jim Lucas wrote:
>
> > This is untested, but I seem to recall doing something li
d edit form
> > -Original Message-
> > From: Daniel Harik [mailto:[EMAIL PROTECTED]
> > Sent: 28 March 2003 18:55
> >
> > Jim Lucas wrote:
> >
> > >
1 - 100 of 1699 matches
Mail list logo