ot;);
}
}
--
thanks,
bill
--
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]
val() because it
has decimals.
kind regards,
bill
--
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]
are disabled.
I pass the session id via a hidden tag within a POST form.
?php
$thisses=session_id();
echo "input type=\"HIDDEN\" NAME=\"PHPSESSID\" VALUE=\"$thisses\"
?
thanks for any help,
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
.
The script works fine if cookies are enabled on the browser.
I'm using PHP 4.0.3pl1 as a cgi on a Unix machine.
thanks in advance,
bill
--
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
data is saved.
I'm stumped.
kind regards,
bill
Richard Lynch wrote:
i use the session-functions with php4 and everything works fine.
but if a visitor turns off cookies nothing seems to work..
is there a way to support a sessionid with cookies and thru the url ?
Yes. Compile PHP
quot; type of contract.
Posting it might be helpful for others on the list too.
TIA
kind regards,
bill
--
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]
:
SELECT name FROM my_database
WHERE UNIX_TIMESTAMP(date) = $thisdaysec
Unfortunately, this code, which used to work fine, begins to fail when
looking for dates after this weekend. The two unix timestamps are
exactly one hour off. Daylight savings time?
I appreciate any help.
kind regards,
bill
- $dbdate;
//above gives you the difference in seconds.
$daydifference = intval($thedifference / 86400);
// 86400 is number of seconds in a day
// intval because I don't want partial days, just number of days
// $daydifference above gives you the difference in days
kind regards,
bill
[EMAIL PROTEC
, another user do another query, and then the first
user's mysql_insert_id function produce the wrong result?
kind regards,
bill hollett
--
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
To the tune of Let it Be,
with apologies to the Beatles and all those who have gone before:
When I find my code in tons of trouble,
Then the newsgroups come to me,
Speaking words of wisdom:
PHP
As the deadline fast approaches,
And the bugs are all I see,
Somewhere, someone whispers
PHP
PHP,
sais she's feeling jealousy,
Because I have a new friend,
PHP
-Kevin
- Original Message -
From: bill [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 20, 2001 9:14 AM
Subject: [PHP] Need another verse
To the tune of Let it Be,
with apologies to the Beatles
, thereby producing one value which was the original
content of the tag.
kind regards,
bill
Ben Gollmer wrote:
Hi all -
I'm experimenting with PHP's XML parser for an application that maps XML
tags to MySQL database fields.
As a test for my parsing program, I've been grabbing XML from
Is there a function that can strip high ascii from a string?
thanks,
bill
--
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]
What does this global variable stand for?
HTTP_IL_PAD
--
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]
Keep track of rows, and add images at rows 4 8. See below
Craig Westerman wrote:
The following lists 12 items from a fruits table.
$results = mysql_query(SELECT ID, date, appleprice, orangeprice, pearprice
FROM fruits);
$x=1;
while ($data = mysql_fetch_array($results))
{
?
Congratulations to all three of you!
Michael Kimsal wrote:
It doesn't seem to have been mentioned here unless my newsfeed is very
slow, but phpdeveloper.org has a quick mention of the new addition to
Rasmus' family.
http://www.phpdeveloper.org/
Well, everyone's favorite PHP developer
How can I find the value of image tags in an HTML file:
IMG SRC=some_value.jpg alt=blah height=xx width=yy
No line breaks are in the tags but they do have other parameters.
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
function mysql_one_element($query, $element) {
// quickly returns just one element from a query
$one=mysql_query($query);
// add error checking here if you wish
$r=mysql_fetch_array($one);
$thisvalue=$r[$element];
return($thisvalue);
}
$row=mysql_one_element(select euro from
comments below
Axis Computers wrote:
- Original Message -
From: Axis
Computers
To: [EMAIL PROTECTED]
; PHPSent:
Tuesday, September 10, 2002 4:51 PMSubject: Questions regarding
inserting and updating data into a MySQL db
Hi,I'm
developing a web application that uses forms for user
Ooops, for clarity, I shouldn't have named the result of the function row but
euro. It should be:
$euro=mysql_one_element(select euro from brandstofprijzen where id=2, euro);
Bill wrote:
function mysql_one_element($query, $element) {
// quickly returns just one element from a query
,
bill hollett
--
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]
();
}
Yet, when run as a cron job, it still outputs two lines:
X-Powered-By: PHP/4.0.6
Content-type: text/html
And so sends the resultant e-mail. Can I make it output nothing when
run as a cron job?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
a href=page.php#bottom?location=01link text/a
Scott Mebberson wrote:
Hi Guys,
How do you reference both a named anchor and a query string in a link? i.e.
a href=page.php?location=01#bottomlink text/a I am not sure if this is
even possible?
thanks
Scott
--
PHP General Mailing List
?
kind regards,
bill hollett
--
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]
When parsing XML data, the CDATA sometimes contains an ampersand ().
The XML parser sends this as two events, one before the ampersand and
one after. That yields two data sections (when there is only one).
Ideas on how to keep them together?
Is this a bug?
kind regards,
bill hollett
If the problem is just the web address, etc., in the bottom of the page, that can be
turned off.
In NN, File/Page Setup and uncheck the boxes in the header and footer
In IE, File/Page Setup and remove the stuff in the header and footer fields.
Lauri Vain wrote:
Hello,
A client requested
What is the proper header to send when presenting dynamic xml pages to
the browser?
--
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]
tossing this around:
$clength=strlen($xmlfiledata);
header(Host: myhost.com);
header(Content-Type: application/xml; charset=iso-8859-1);
header (Content-length: $clength);
echo $xmlfiledata;
I thought about sending Content-Type: text/xml too.
Any thoughts.
kind regards,
bill hollett
Tyler
I thought my regexps were up to snuff until they processed this url:
http:[EMAIL PROTECTED]
Anybody have a regexp that can parse for both http mailto links and
turn that into an http link -without- turning it also into a mailto
link?
--
PHP General Mailing List (http://www.php.net/)
To
Hi Matthias,
I tried it but it didn't work. It returned a Document contains no data error.
I put the preg_replace info all on one line. Could that have affected any
whitespace?
kind regards,
bill
Matthias Winkelmann wrote:
This uses just one expression (and that is a fast preg_ insteat
I tried the new move_uploaded_file() function. It seems to work fine
but doesn't assign any permissions to the moved file, not even for
reading.
Is there any way around this? Can I define the permissions myself?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net
function TrimString($sString,$iLen=125){
$retstring=strtok($sString, ). ;
do {
if(!$tmp=strtok( ). ) break;
$retstring.=$tmp;
} while(strlen($retstring)$iLen);
if(strlen($retstring)strlen(trim($sString))) $retstring .=...;
return $retstring;
} // end function
Jamie Saunders
Have you tried this?
header(Content-Type: application/x-octet-stream);
header(Content-Description: MP3 file);
David Minor wrote:
Can anybody tell me why this doesn't work in IE? I need to force download
mp3 files instead of IE5.5 trying to apply a helper app. This code works
fine for NN.
If they're empty but phpinfo displays them you're probably inside a function and
haven't declared HTTP_POST_FILES as global.
Jason Dulberg wrote:
I am working on an image upload script and I've tried to use the variables
from $HTTP_POST_FILES however it seems that no matter how I try to get
Not only a good answer, but the best explanation.
thanks,
bill hollett
Rasmus Lerdorf wrote:
The first echo statement doesn't work, the second does. Anybody know
why?
$string1=15;
$string2=27;
$myarray[$string1][$string2]=syncopated;
echo $myarray[$string1][$string2]br /\n
() * 100);
$seed = TRUE;
}
// weak error checking mechanism
if ($len 1 || !intval($len)) $len = 8;
$chars_len = strlen($chars);
for ($a=1; $a = $len; $a++) {
$tmp .= $chars[mt_rand(0,$chars_len)];
}
return $tmp;
}
Philip Olson wrote:
Hi Bill,
Here's a quick hack, should get
also barked at
is_numeric()
which I just changed to intval()
I should really do better bounds checking. How about:
$len=intval($len);
if (!$len) $len=8;
kind regards,
bill
Philip Olson wrote:
It appears the only change you made was :
$tmp .= $chars[mt_rand(0,$chars_len)];
From
http://yourwebsite.com/webpage.html#anchor?variable=1234
Rebecca Donley wrote:
Hi all,
Several days ago I asked for help with this problem and you gave me
information on the output control functions, which was much appreciated and
solved some of my problems. However, I can't seem to find
because i figure the web server
is busy enough will all kind of regular html requests.
good luck... hope this helped.
Bill
--
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
On Thu, 10 May 2001, Steve Wade wrote:
I'm trying to get a redirect working - never done one before.
Here's the line from the referring page (index.php3):
a href=redirect.php?fred=www.fusion.org.autest link/a
Here's redirect.php:
?php
echo $fred;
I don't think you can output anything
the fieldnames are correct, the above should work.
kind regards,
bill hollett
Sandeep Hundal wrote:
hi all,
i've got a simple problem, yet it doesn't work, so i hope someone can
help me out here.
i've got a table with id, group, and name. each group has many names
ofcourse.
now i need
On Fri, 11 May 2001, Steve Wade wrote:
Thanks - hmm - doesn't seem to do it though.
My current code is:
?php
if ($HTTP_GET_VARS['fred'] != ) {
# $statement = UPDATE links SET hits=hits+1 WHERE href=\$u\;
# mysql_query($statement);
header(Location: $HTTP_GET_VARS['fred']);
.
The actual data reads 'Well, it doesn\'t blah blah blah...'
Any ideas or help would be appreciated.
bill hollett
--
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
like this:
If site is running PHP4:
php_flag magic_quotes_gpc on
If site is running PHP3:
php3_magic_quotes_gpc on
Hope this helps others.
kind regards,
bill
bill wrote:
Importing table data with PHPAdmin always fails wherever a \ character
appears in the data values
SELECT * FROM table1, table2 WHERE table1.user_id = table2.user_id
John E. Haag wrote:
Hi,
Can anyone tell me how to properly execute a JOIN from PHP to
MySQL??
I just want to JOIN two tables, both of which have 'user_id' in
common, and then get all of the fields from the matching
Not sure what you're asking exactly, but I have a Find a Dealer page where
a person puts in their zip code and selects how far they want to look.
http://earthcomfort.com/find_a_dealer.html
Is that what you're looking for?
Todd Pillars wrote:
I found a site that had a commercial PHP version
Do you capture the actual Client side Machine path before they hit the
submit button or after?
If before, I'm guessing you use javascript.
If after, I have no guess. I didn't think that information was passed with
the POST.
kind regards,
bill hollett
Jason Lotito wrote:
-Original
phpMyadmin to upload the data.
It may require a bit of futzing but it should work.
kind regards,
bill hollett
[EMAIL PROTECTED] wrote:
i got a 1.21 txt file worth of backup data on my HD.
I need to get it up and running on my new mysql server asap.
2 problems tho
i dont have ftp or telnet
Is there a way to detect the presence of HTML tags?
I don't want them stripped out, I just want to know if a string contains
them.
I'm rolling my own mailing program and want it to detect the HTML if
present and send it appropriately.
kind regards,
bill hollett
--
PHP General Mailing List
Yes, I thought similarly. But so far, neither works.
$string=blah x4 blah;
if (strlen($string) != strlen(strip_tags($string))){
echo html;
} else {
echo text;
}
The above still echos html.
kind regards,
bill
Jack Dempsey wrote:
$text = 50 100 + 240;
not html...
would want
Two suggestions:
Use
if (!isset($submit))
OR
change the order around
?php
if ($submit)
{
// Results of login form, including login failed or successful print()
}
else
{
// First html page containing login form
}
?
kind regards,
bill hollett
Tarrant Costelloe wrote:
When
I use php as a CGI from a secure location to do it all.
To add a user to .htpasswd on Apache:
$thefile=fopen($pathtofile/.htpasswd, a);
$newuserline=$username: . crypt($pass) . \n;
fwrite($thefile, $newuserline);
kind regards,
bill hollett
YoBro wrote:
After much
If I upload images to a web directory using PHP, how can I prevent a web
browser from getting a file list of the directory while still allowing
it to be polled for specific images?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
I use this to replace URLs as links:
$text = eregi_replace((http://[^ ]*),a href=\\\1\\\1/a,$text);
What can I use to replace email addresses (like [EMAIL PROTECTED]) as
e-mail links?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
but instead with the new XHTML compliant break tags:
br /
I tried just substituting the new tag into the above regular expressions
to no avail. Any ideas?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
I think you need to check your Apache time limits too.
Michael Conley wrote:
I am running PHP 4.0pl1 with Apache 1.3.14 on RedHat Linux 7.1. I am trying
to do a file upload from the users PC to my web server. If I do a small
file, the transfer goes fine. If I do a large file ( 50 MB), the
Does mySQL have an equivalent to PHPs intval() function?
I have fields whose contents are "Less than 100", "Less than 200", "Less
than 300", and I want to do a
SELECT * FROM my_table WHERE $mynumber = intval(myfield)
thanks,
bill
--
PHP General Ma
,
bill
--
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]
$firstpath = substr($SCRIPT_FILENAME,0,$spos);
$fullpath = $firstpath . SCRIPT_NAME;
Not sure, but I think it's close.
kind regards,
bill
Hrishi wrote:
hey,
don't go bald yet :)
my web host (communitech.net) has the same setup... is that where you're
hosted ?
i have a script called
d=$row["id"];
$thisitem=$row["item"];
$ckresult=mysql_query("SELECT id FROM table2 WHERE id=$thisid");
if (!mysql_num_rows($ckresult)) {
echo "$thisitem using id $thisid is in table 1 but does not
appear in table 2BR";
} // end if
} // end whil
that column for metphone matches, then using
the id to get the human-readable data on a match.
i like the last one (and prefer metaphone), but am wondering what others
might be doing.
thanks kindly,
Bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
I think L is 50.
bill
Kurth Bemis wrote:
what does the roman numeral L mean?
can someone point me to a page that has all of the roman numerals and their
English equivlents?
i forgot?
~kurth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Do failed tests mean I absolutely should NOT install. Or is it normal to
have a few fails? Try two different versions, all have some failure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at the end of make test
no critical errors, 3 or 4 said they were bugg. then 3 said iI may have a
branded libc.
Peter Smit [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Dec 3, 2007 12:18 AM, Bill [EMAIL PROTECTED] wrote:
Do failed tests mean I absolutely should NOT install
Thank you.
configure ended with no errors. But it said Don't forget to make test, so
like a good little lemming I did.
Daniel Brown [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Dec 3, 2007 11:01 AM, Bill [EMAIL PROTECTED] wrote:
at the end of make test
no critical
Is it a good idea to put a cart in a session var since the cart will be
an
array ?
Yes, and it's far more secure than putting the actual data into a
cookie, since that can be changed on the client-side to alter prices
and other data.
Thanks
--
PHP General Mailing List
Hi
Ubuntu7.10 LAMP
A PHP session destroys itself as soon as the client disconnects from the
site.
Why if I connect from another machine, log in, and disconnect without
logging off, and return 5 mins later, my session is still alive ?
Thanks
--
PHP General Mailing List
Hi Daniel,
Why if I connect from another machine, log in, and disconnect without
logging off, and return 5 mins later, my session is still alive ?
A session only expires in three cases:
a.) An explicit session_destroy() is sent.*
b.) The user-side cookie with the session
Hi Daniel,
http://www.nabble.com/Logging-session-timeout-in-DB-to15845123.html
It can build a lot of stress on the server.
What if I use connection_aborted() ?
In the status line of the page I can write a 'connected' timer and use it to
check the connection !?
At most I'll have a 30 secs.
Hi Daniel,
on the site. If all you want to do is find out if they still have the
socket open, then there are much smaller, simpler ways.
Like what ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
socket open, then there are much smaller, simpler ways.
Like what ?
I meant as opposed to the session-handling method I sent in the
other thread. However, you may want to look into having JavaScript
handle the session-watching, and report to the server via AJAX calls
every 30
I want to prevent one from taking over a session from one who left the
site
and left his desk for a moment.
What if that connection were two servers communicating together !?
Any crooked mind could then steal the latent session and start fire in
the
system(s).
All things that
outlook is set for utf-8 !!
Bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Manuel
In the body that column shows Brébeuf in Windows Outlook.
You may want to try this MIME message composing and sending class that
http://www.phpclasses.org/mimemessage
Looks great Manuel.but my server is under dyndns and the DN isn't qualified
so no mail functions available.
I
Hi Manuel
You can build mailto: links with a default subject and text, but I am
not sure you can force Outlook to use specific HTML. It's wiser to not
rely on mailto: .
Hotmail will accept mail delivery from PHP ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Ok I give it a try as soon as I can.
Hotmail will accept mail delivery from PHP ?
Sure. There is nothing specific of PHP that prevents Hotmail from
accepting messages sent by PHP scripts.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi Manuel
Hotmail will accept mail delivery from PHP ?
Sure. There is nothing specific of PHP that prevents Hotmail from
accepting messages sent by PHP scripts.
I used your test_smtp_message.php setting to_address to my hotmail,
localhost to my ip on dyndns, smtp_host to www.hotmail.com,
Hi Alain
I would use RSS.
My friend Google gave me that link to try
http://www.feedforall.com/free-php-script.htm
this newsletter should be in HTML format and send 1 by 1 to each customer.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
given page1 has a list of goods and sends $i as a variable into a link
to page2, ie, a href=page2.php?i=3send/a
Page2 adds the items recieved in an array.
In page2 how can I unset the $_GET['i'] so that if I press F5(refresh)
it doesn't add the same item to the array ?
I tried
Dan Shirah a écrit :
How about just adding a simple counter on your page.
That's what I do but that counter resets when you press F5 and is not
functionnal.
Why $_GET['i'] doesn't unsets ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Why $_GET['i'] doesn't unsets ?
Your page URL has ?i=asdf in it. As such, $_GET['i'] is being set every time you refresh
that particular URL. Unsetting $_GET['i'] will only erase the variable for that instance
of that PHP script. As soon as you refresh, you are calling a new instance of that
hi everyone,
i have been using perl for quite some time, but after getting used to
php4, i think it rocks.
i am wondering which is better, performance-wise, when trying to match the
same text: PCRE or POSIX extended in php4?
cheers,
Bill
--
PHP General Mailing List (http://www.php.net
$days = whatever;
if ($days % 7 == 0) {
...then $days is divisible by seven;
} else {
...if is not;
}
the % is the modulus operator. basically divides left hand side by right
hand side and returns the remainder.
HTH
On Fri, 27 Apr 2001, Jacky wrote:
- Original Message -
From:
There al RC4 crypt/decrypt class here:
Class Made By Mukul Sabharwal [[EMAIL PROTECTED]]
http://www.devhome.net/php/
On October 21, 2000
kind regards,
bill hollett
Augusto Cesar Castoldi wrote:
Hi,
Anyone have some function to crypt and text then decrypt?
regards,
Augusto Cesar
'[[::]]that[[::]]' )
OR (events.speaker REGEXP '[[::]]that[[::]]' )
OR (events.attr REGEXP '[[::]]that[[::]]' )
)
)
AND date LIKE '2001-05%'
ORDER BY date
(*note): this would have been AND if the keyword was 'this and that'
is this how it is generally done or am I way off here? :)
cheers,
bill
--
PHP
Have you tried passive mode?
Vinod wrote:
Hi friends,
I am having a DSL Internet connectivity in our office and my PC is
connected to Internet using a HTTP/FTP Proxy(192.168.0.10) and the
browser(Mozilla) in my PC is configured to connect to net through the
proxy
When I tried to connect
I found that http://designdiscussions.com is backonline with a new url.
They use to have a pretty nice PHP forum going. They need a mod for their
PHP forum too...
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HTTP_REFERER variable, which was missing, but the value was some long
string.
Any ideas?
thanks,
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I had a browser reporting itself as Opera 7.0 [en] fail recently in submitting
a form.
Specifically, it didn't forward the right value.
Using this html in the form
INPUT TYPE=Radio NAME=detail[1][] VALUE=4
The browser sent the value on instead of the value 4. So, the form couldn't
be
.
kind regards,
bill
Justin French wrote:
Hi all,
I've been writing CMS's for years now, and at the moment, I find myself
looking for some breakthrough, or at the very least, a change in the
way I do things.
Anyone can write a CMS to manage simple articles with a data structure
like:
id
(a) will have .3em
while the anchor tag with id from the GET request should have .5em. If there is
no highlight the extra a line won't be printed in the CSS.
There's a lot of other ways to do it, but this should give you a start.
kind regards,
bill
Mary D. Taffet wrote:
While I am technically
I'd like to do this, but it produces an error:
if ($_POST{[detail][11][116]} !$_POST{[detailtext][19][114]}) {
so I'm left doing this
if ($_POST[detail][11][116] !$_POST[detailtext][19][114]) {
How can I encapsulate the array so it is a multi-dimensional array and not just
a string length?
How do I know it won't just assume that $_POST[detail][11][116] means the
116th character in the string $_POST[detail][11]?
Larry E . Ullman wrote:
if ($_POST[detail][11][116] !$_POST[detailtext][19][114]) {
How can I encapsulate the array so it is a multi-dimensional array and
not
page to be
http://domain2.com/domain2/myform.php
Ideas?
kind regards,
bill hollett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is repeatedly and indefinitely called.
Others have asked me to tell them if we find a solution. Which we're still
looking for, I guess. I'm still open to suggestions.
kind regards,
bill
At 18:42 26-2-03, you wrote:
If I use $PHP_SELF as the action in a form where the domain name is
redirected,
I
Is there any way to test a file to confirm it is an RTF file?
I'm thinking along the lines of how we can test for an image with
getimagesize().
kind regards,
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
regards,
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oldest.
Lather, rinse, repeat.
kind regards,
bill
Beauford.2002 wrote:
Hi,
I have a hockey database with players names in it and I want to be able to
update their stats one after the other. To be more clear - when the page is
first entered I want the first players name to automatically
but that didn't work.
while ($crow=mysql_fetch_array($cresult)) {
$therow[]=$crow;
}
asort($therow[Year]);
reset($therow);
asort($therow[Month]);
reset($therow);
asort($therow[Day]);
reset($therow);
ideas?
kind regards,
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hi André,
Sorting like that doesn't get it sorted by date. Each row has a lot of fields. It
actually needs to be sorted three times by three fields, Year, Month, and Day.
Because the query uses a GROUP BY statement, I can't sort it in the query.
André cupini wrote:
Bill
Try this:
while
1 - 100 of 274 matches
Mail list logo