Red Wingate wrote --- napísal::
maybe take a look here : http://museum.php.net/
otherwise do some research using google.
Jeff Loiselle wrote:
Does anyone know where I would be able to find the earliest version of
PHP/FI or PHP possible? I am looking for the earliest possible version
for academic
Scott Fletcher wrote --- napsal::
In one of the reply to the original posting I made, someone say that
htmlentities() would work and upon submission, the PHP's $_REQUEST, $_POST,
$_GET would get the apostrophe somehow. (The conversion somewhere would
change it back)
the somewhere is in the
robert mena wrote --- napísal::
Hi,
I host a few virtual domains in apache 2 and use php.
The virtual domain is something like
VirtualHost a.b.c.d:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/httpd/html/domain.com
ServerName www.domain.com
ErrorLog
not use this wrapper, safe mode does
not work anymore.
On Wed, 30 Jun 2004 23:50:02 +0200, Marek Kilimajer [EMAIL PROTECTED] wrote:
robert mena wrote --- napísal::
Hi,
I host a few virtual domains in apache 2 and use php.
The virtual domain is something like
VirtualHost a.b.c.d:80
ServerAdmin
Justin Patrin wrote --- napísal::
On Wed, 30 Jun 2004 23:50:02 +0200, Marek Kilimajer [EMAIL PROTECTED] wrote:
robert mena wrote --- napísal::
Hi,
I host a few virtual domains in apache 2 and use php.
The virtual domain is something like
VirtualHost a.b.c.d:80
ServerAdmin [EMAIL PROTECTED
This is a javascript question, it has nothing to do with php. php merely
outputs the html and javascript, and your issue is client side.
Louie Miranda wrote --- napísal::
Whenever i load this on my old/mac broweser like IE5, etc. The whole
page just wont show up. How can i load this on php? to
Roman Duriancik wrote --- napísal::
Is it possible open rtf and xls file by php and than use some data from
this file ?
I only know create new xls file but how i open existing xls and rtf file
by php code ?
Thank all
roman
You can use COM functions on windows machines. On other platforms you
This should be of your interest:
http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17/4047/
Mattias Thorslund wrote --- napísal::
Hi,
I wonder what you think are the best (or least worst) strategies to
store and retrieve hierarchial data (such as a threaded discussion or
a
This behavior is used to make search engine friendly urls. If you
don't want the broken images, add this to the head section:
base href=http://www.hcpartnership.org/;
KEVIN ZEMBOWER wrote --- napísal::
I'm a system administrator who's dabbled a bit in PHP, but am not very experienced in
it. My
Ryan Schefke wrote --- napísal::
Hi,
Can someone please give me some guidance. I'd like to run a php script
every minute (in reality every night, but just testing). I've done some
reading and found that a crontab is the best way to go (I think). I'm using
Plesk 7 on a Linux box and I have
Edward Peloke wrote --- napísal::
I have code which attempts to upload some files and create thumbnails. The
same code on one server works ok, the same code on another server throws an
error everytime I hit submit that says The document contains no data...it
appears to be a javascript error. It
Shaun wrote --- napsal::
Matt M. [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
another button to the form that utilises my JavaScript popup function
and
takes the values from the same form?
This is not a php question.
All you need to do is loop through the form fields on you page and
Install php-mysql package
Jough P wrote --- napísal::
Greetings all, just installed Fedora with the bundled PHP Version
4.3.4. Upon calliing mysql_* functions I get errors like:
Fatal error: Call to undefined function: mysql_pconnect() blah blah blah
A call to phpinfo() reveals it was
Nico Sabbi wrote --- napísal::
Hi,
is there a way configure mod_php4 (for apache) so as to be *absolutely* sure
that it will always load all definitions in php.ini when apache starts up?
Maybe with some directive in http.conf ?
Almost every time I reboot my pc apache and php start, but php is
Chris wrote --- napísal::
Hi there, I've looked in many places but have not found any clues on how
to work around this problem.
I'm using imagecopyresampled to resize an image and crop part of it at
the same time. The area I need to crop, unfortunately, is sometimes a
float, which leads to my
gohaku wrote --- napísal::
Hi everyone,
I would like to know how to handle code breaks or code blocks
that takes up more than two lines.
For readability, I would like to know if there is something like the
following:
function input($type,$size,$name,$value)
{
return input type=\$type\
Curt Zirzow wrote --- napsal::
* Thus wrote Marek Kilimajer:
Chris wrote --- nap?sal::
if anyone can, would you please explain why the below code does what it
does? I would expect $this-test in TestInstance to refer to the
inherited $test from Test. Using php5RC3. Thanks.
?php
abstract class
Jay Blanchard wrote --- napísal::
Boy you'd think that this would be simple, but I get no filesize with
the following
for($i = 4; $i count($arrDirectory); $i++){
if(is_dir($arrDirectory[$i])){
if($theDir = opendir($arrDirectory[$i])){
Yngve wrote --- napsal::
Hi!
I wonder how i can retrive the MAC-address of the visitor using PHP?
What i am thinking about is using the MAC-address instead of the IP-address
to ban troublesome users from forums etc.
If i just use the IP-address some users will just change it. I know that
its
Chris wrote --- napísal::
if anyone can, would you please explain why the below code does what it
does? I would expect $this-test in TestInstance to refer to the
inherited $test from Test. Using php5RC3. Thanks.
?php
abstract class Test {
private $test;
abstract public function
Connection timeout?
André Cupini wrote --- napísal::
Hi people,
...first, sorry my poor english ;)
I have a system that access firebird database in a remote machine. In
development, works fine (with Firebird 1.0). But now, the database
location is a real machine where the system are put up
Sean Vasey wrote --- napísal::
// variables
$imagesize = getimagesize($image);
// some code removed
if ($img[$i] == $gif) // if gif file type
{
$image[$i] = $image[$i] . - . $rand . .gif;
}
So
Brent Clark wrote --- napísal::
Hi all
I have this script whereby I use the php function file().
Just a quick question, do I need to implement file locking.
if so, can I just use something like
flock( file(/path/file.ext) );
No, you need file locking only for writing.
--
PHP General
Lester Caine wrote --- napísal::
Ravi wrote:
is there any windows application , by using we can produce standalone php
..exe files ?
Try http://www.roadsend.com/home/index.php?pageID=compiler
No - PHP runs on the server and produces pages for any browser.
Not true, php can be also used from
Jeff wrote --- napsal::
Hey all
Total PHP newbie here. I posted a day ago about php working
'intermittently'. I was told to check my apache logs which was a good hint
cause php is seg faulting. I've broken it down to my connection script to my
database and I ran it in gdb to see if it would
Kim Steinhaug wrote --- napsal::
Well,
You could have a look at this one, http://gtk.php.net/
Though I never had the lucury of getting anywhere with it, it
has the possibility to create standalone EXE. There is (Atleast the last
time i checked) still a problem with the EXE opening an extra command
Chris Mach wrote --- napísal::
I want to compare a timestamp in my database with the current time. I want to be able
to tell if the timestamp is within 5 mins of the current time. How would I do this?
Please?
timestamp_column BETWEEN UNIX_TIMESTAMP(NOW() - INTERVAL 5 MINUTE) AND
Pierre wrote --- napísal::
Hi all just wanna check if you can read me
Thx
http://www.amazon.com/exec/obidos/tg/detail/-/0064432521/qid=1087779137
Well, I feel a little old to read you :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cory wrote --- napsal::
Sure that sounds easy right? well I have tried at least 10 different php
scripts as well as a handful of cgi. Same resuls with everyone of
them...nothing in my specified tmp folder.
Every uploaded file is removed from the temporary directory right after
the script is
Chris Wagner wrote --- napsal::
hello,
wondering how you might go about triggering PHP scripts from an apache
configuration file, for certain events...
for instance, how might i trigger a script whenever a file was accessed
within a given directory. and, would it be possible to know which file
Pascal Landeau wrote --- napsal::
Hi,
No php function found to determine if a gif is animated or not ! May you
help
me to do that ?
--
[EMAIL PROTECTED]
IIRC the information is stored at a fixed offset in the file. Read the
specification.
--
PHP General Mailing List (http://www.php.net/)
To
Marek Kilimajer wrote --- napsal::
Pascal Landeau wrote --- napsal::
Hi,
No php function found to determine if a gif is animated or not ! May
you
help
me to do that ?
--
[EMAIL PROTECTED]
IIRC the information is stored at a fixed offset in the file. Read the
specification.
Well, I just
Pablo Gosse wrote --- napísal::
Hi folks. I'm just tweaking the file manager portion of my CMS, and am
wondering if there is any way I can identify the size of an uploaded
file which exceeded the upload_max_filesize? I'd like to be able to
tell the user the size of the file they tried to upload,
What installation instructions did you follow. Did you install cgi or
module version?
Bob Lockie wrote --- napísal::
I'm getting an 'Internal Server Error' when I run:
http://216.15.235.3/cgi-bin/testphp.php
I've added AddType directives, this is not my first install of PHP but
it is my first
Pablo Gosse wrote --- napísal::
Marek Kilimajer wrote:
Pablo Gosse wrote --- napísal::
Hi folks. I'm just tweaking the file manager portion of my CMS, and
am wondering if there is any way I can identify the size of an
uploaded file which exceeded the upload_max_filesize? I'd like to be
able
Monty wrote --- napísal::
Hi, I need to add the ability for users to define and set up their own
categories and sub-categories that can be used to group contacts they enter
into a database. Here's an example of how the data might be stored...
NameMain Category Sub Category
Red Wingate wrote --- napísal::
Right,
guess i saw some kind of JS that determined the size of the selected
file and wrote it into an hidden field. Maybe you try it that way.
Maybe ActiveX, JS cannot do that.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Nguyen, Long P (Mission Systems) wrote --- napísal::
Doesn't look like it..
DocumentRoot /var/www/html
short_open_tag is OFF.
This means that ? does not mark the beginnig of PHP code.
This:
http://158.114.148.90/? echo $sys_graphics . alt=Keystone 2 /
will result in this link:
Johannes Reichardt wrote --- napísal::
Hello!
This is a newbie question ;) - i want to upgrade php and apache and
therefore i have to configure them - unfortunatly i forgot the
configuration of the current installation - how can i get the
./configure prefixes of my current php/apache version?
Paul Liebrand wrote --- napsal::
Curt,
Thanks for the reply.
I am going to go ahead and change all my session variables to use the
methods you described. Because I am using the session_register method, could
this be the cause of my problem? That it works 90% of the time, but a couple
times
Johannes Reichardt wrote --- napísal::
Thanks a lot - do you know how to do that with apache 1.3xxx by any chance?
What is that?
- Johannes
Johannes Reichardt wrote --- napísal::
Hello!
This is a newbie question ;) - i want to upgrade php and apache and
therefore i have to configure them -
Matthieu Loudes wrote --- napsal::
Hi,
Where can i find the methods list of module COM ?
Ex : $Odject = new COM(WinNT://domain);
Thanks !
Matt
http://msdn.microsoft.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Forwarded to the list...
- Pôvodná správa -
Predmet: RE: [PHP] list methods of class COM ?
Dátum: Wed, 16 Jun 2004 17:06:25 -0400
Od: Gryffyn, Trevor [EMAIL PROTECTED]
Pre: Marek Kilimajer [EMAIL PROTECTED]
I'm not familiar with using COM(WinNT://domain) but I've done quite a
bit with COM
Ryan Schefke wrote --- napísal::
Hi All,
I've built my own shopping cart and use a library supplied by USAePay. The
library is accessed via an include statement in my code. Because of theirs
a desire to keep this library outside of my public web file directory
USAePay recommended using:
[EMAIL PROTECTED] wrote --- napi'sal::
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.
==
for($i=1;$i34;$i++)
{
$x=Cookie.$i;
Nguyen, Long P (Mission Systems) wrote --- napísal::
I am able to bring up a test.php file, but when I try to bring up this index.php file, the page does not load but the syntaxes below load up. Any ideas?
Thank you.
http://158.114.148.90/? echo $sys_graphics . alt=Keystone 2 /
_
Alan McDonald wrote --- napsal::
I've downloaded the 4.3.7 tar ball and extractted it. I've run configure
(after deleting the cache), no errors. I've run make - no errors, I've then
run make install.. no errors, it says it's updating and installing.
Now I've restarted my httpd service - I've even
Alan McDonald wrote --- napsal::
I've downloaded the 4.3.7 tar ball and extractted it. I've run configure
(after deleting the cache), no errors. I've run make - no errors, I've
then
run make install.. no errors, it says it's updating and installing.
Now I've restarted my httpd service - I've even
Bob Lockie wrote --- napísal::
On 06/12/04 19:05 Kim Steinhaug spoke:
Steve Douville had a long answer, the short answer : no
Ok, thanks.
I want to avoid relying on Javascript anyways.
Make _top the target of the form, then rebuild the frameset based on
your logic.
--
PHP General Mailing List
Does it work now?
It should not matter, because if you use $date in your sql statement:
$sql = update table set `date` = '$date';
$date is converted (back) to string.
Adam Williams wrote --- napísal::
eh nevermind, I found settype();
:) thanks
On Mon, 14 Jun 2004, Adam Williams wrote:
Hi, I have
Justin Patrin wrote --- napísal::
[snip}
As well as much harder for AOL subscribers (whose IP's change
per-request)
to use the site.
[snip]
WHAT?? Are you sure of this? AOL really breaks internet browsing this
much? Sorry, I can't believe this. If this was true, many things would
break. I know
php-general wrote:
Hi !
I have a Problem with hand over of variables;
My Page consists of three files which I have enclosed to
demonstrate the problem.
test.php:
--
html
head
titletest.php/title
/head
frameset rows=274,* cols=* framespacing=1 frameborder=yes border=1
Edward Peloke wrote:
Just curious as to how people handle search engine optimization when most of
the page content is dynically built from the db. Doesn't the bots need to
crawl the static pages and match your keywords to actual words in the file?
All pages are static once you load them, the
Scott Fletcher wrote:
Security rank higher than this
Use mysql socket and you are safe.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Merlin wrote:
Hi there,
I am serving certain parts of my page only to specific countries
(geotargeted advertisement). Now I am wondering how I could check how
the page looks like from that country wihout traveling there :-) Is
there a way to fool the system that one is in US instead of Germany?
Ben Ramsey wrote:
DG Does anyone know if ini_get returns the values BEFORE or AFTER the
DG .htaccess modifies them? i.e., does it return the server or local
DG version?
Please clarify what you mean by .htaccess modifying the values of your
php.ini file.
Perhaps you're misunderstanding what
Is $gd2 set right?
Edward Peloke wrote:
Any ideas as to how I can fix this function???
-Original Message-
From: Edward Peloke [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 4:18 PM
To: Php-General
Subject: [PHP] image resize looks horrible..
I am using the below function which
Mattias Thorslund wrote:
Hi,
In order to keep configuration files outside the web root I use:
include_once('../config.php');
This used to work also when running php scripts from the command line.
Now I have a new server and I get no such file or directory when using
this construct from the
Blake Schroeder wrote:
The form that is being submitted can only be a POST or a GET not both
example:
form method=post action=foo.php
input type=text name=foo1
input type=submit
/form
How can you do both?
form method=post action=foo.php?id=1
input type=text name=foo1
input type=submit
/form
Hope
Marek Kilimajer wrote:
Mattias Thorslund wrote:
Hi,
In order to keep configuration files outside the web root I use:
include_once('../config.php');
This used to work also when running php scripts from the command line.
Now I have a new server and I get no such file or directory when
using
Brian Dunning wrote:
Hi,
Does anyone know if there is a spec that permits transparency of
graphics in DHTML layers? I have a bottom layer which is a picture of
fabric, and I have a grayscale image of wrinkles shadows that I'd like
to overlay on top of the fabric, with a certain level of
[EMAIL PROTECTED] wrote:
Hi I have the following situation:
I've got a domain that is hosted at a certain host. This host allows me
to create subdomains, and also to add several domains to the same account.
The thing is if I add a domain like xxx.com to my yyy.com both will be directed
to my
coopster wrote:
Do I need to change the session.save_path directive for each virtual
host to use their own directory other than the system and/or PHP default
(/tmp) in order to effectively override each virtual host
session.gc_maxlifetime directive?
Yes. But I did not read bellow ;-)
Let me
Gerben wrote:
Hello,
I have a problem with the mkdir function.
I'm trying to make a seperate folder every photoalbum. inside I want to
create another folder ('.../thumbnails/') for, you can guess, the
thumbnails.
At first it didn't work at all:
Warning: mkdir() failed (Permission denied) in
Gerben wrote:
Unfortunately my server has no ftp (but SSH).
It makes much sence what you said, but how can PHP (with uid=48) make a
directory with uid=1042.
both folder are (to be) made the same script, but only one is (with
uid=1042).
This is what makes it very peculiar.
I think I have skip the
Robert Fitzpatrick wrote:
Trying to portupgrade my PHP 4.3.6 package with PostgreSQL 7.4.2 support and getting
this error below. Trying to setup postgresql with Heimdal Kerberos 5 support, believe
I have, but not tried anything with it, yet.
/usr/local/lib/libpq.so: undefined reference to
Russell P Jones wrote:
How would one cycle through and get all of the column names in a mysql
table?
say that i have...
id | title | name | description
1 | MR. | russ | age XX height XX
2 | MRS. | jan | age XX height XXX
and I want to print out the 4 column names...
how would one accomplish
Robert Fitzpatrick wrote:
On Sun, 2004-06-06 at 16:49, Marek Kilimajer wrote:
Robert Fitzpatrick wrote:
Trying to portupgrade my PHP 4.3.6 package with PostgreSQL 7.4.2 support and getting
this error below. Trying to setup postgresql with Heimdal Kerberos 5 support, believe
I have, but not tried
Gerard Samuel wrote:
Not sure if the subject was worded correctly, but
I was looking to see if this (or something like it) is possible.
$array = array('key_1' = 'This is some text',
'key_2' = 'b' . $array['key_1'] . '/b'
);
And the array structure
BigMark wrote:
this piece of script makes alternate row colours, but i want the rows to be
coloured in blocks of 8. So the first 8 rows are white then the next are
mauve etc etc.
Alternatively i could make the rows all the same colour , but i need a blank
row after each 8 rows.? Any ideas
Thomas Seifert wrote:
I would recommend the cronjob too but if you want to just keep the script running, do
a while-loop around your code, i.e.
while(1) {
... your code
sleep(120); // sleep 120 seconds
}
---
the require should be outside of the loop IMHO ;).
Or if you want to run the script
bskolb wrote:
I'm trying to optimize a query that in the first example is taking too long
to run.
This is my existing working query:
$sql = SELECT count(*) as cnt, id FROM `mYTable` WHERE c1 not in (1,16,36)
and c2 not in (1,16,36) and c3 not in (1,16,36) and c4 not in (1,16,36) and
c5 not in
Robert Sossomon wrote:
I use a separate page to do the addition of information to my DB
currently, the whole set of information is being re-written as I type
this, but where I am stuck is getting the whole thing to be parsed through
then just one line.
The code I currently use is as follows:
SNIP
Caleb Walker wrote:
This is how I would do it and would require no additional changes to the
code - just set your auto prepend in a .htaccess file if you're using
Apache.
This sounds interesting. Could you elaborate a little more? I mean what
is the auto prepend and what is the syntax for the
bob pilly wrote:
Hi All
I am new to classes and are trying to work out whether
they will make my coding experience easier. I have
written the following test class which is trying to
take three variables from a mssql query and add them
as variables in a new class. This isnt working as i
keep
Rob Adams wrote:
Daniel Guerrier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If I pass a $_FILES to an object by value. Does it
create a copy of the actual posted files as well?
In other words if I post a 2MB file to save.php and in
turn pass $_FILES to an object
John W. Holmes wrote:
From: pagongski [EMAIL PROTECTED]
Notice: Use of undefined constant REMOTE_ADDR - assumed
'REMOTE_ADDR' in c:\win2kapp\easyphp1-7\www\index.php on line 35
Notice: Undefined variable: HTTP_REFERER in .
I have register globals on. (was off so i
James Harrell wrote:
Hi PHP gurus,
Asked this question on the PHP-DB list, no response there. Hoping
someone here may have the answer. :)
Mostly a research question. I recall (a long time ago - php3?) that
some php packages could be compromised by injecting a secondary query
though GET/POST
Ryan Schefke wrote:
Can someone verify that the solution to this problem is to change my php.ini
file's memory_limit = 8M; line to memory_limit = 16M;?
What about verifying it yourself?
Yes, that should help. If not, try higher values. Don't forget to
restart the webserver.
--
PHP General
Robert Winter wrote:
Is it possible to configure PHP/.htAccess/etc. for assuming a query when the
users enters a path like this:
www.myserver.com/path/154-- assumes
www.myserver.com/path/index.php?code=154
The only thing I could do is avoid writing index.php but I still have to
write the ?:
Robert Winter wrote:
Where and how do I set this? I'm to Unix and PHP.
in .htaccess file
RewriteRule ^/path/([0-9]+)$/path/index.php?code=$1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pieter from SA wrote:
Hi
I need to know if there is any code that can be used to get rid of the
refresh and retry when using the back button in internet explorer.
Every time i get info from the database and display the result, and i use
the back button it says
Warning: Page has Expired The page
BigMark wrote:
Is it possible to have this code changed easily to make the output run
horizontally instead of vertically. example of current output to email
below code
I'm not sure what you mean by horizontaly. Do you mean one long line?
Provide an example of what you want to get. And we don't
p80 wrote:
I have a website in English, it is translated in many languages already
(Spanish, french, German...), and i wanna translate it in Arabic, everytime i
have a word in English i use a function like this i18n(MyEnglishWord) and the
i18n function look up in an arabic.inc that contains a
Chris W wrote:
I just moved my site to a new install of SUSE 9.1 and get the error..
Call to undefined function: mail() when ever I try to send a message.
What is the easiest way to fix this since suse used postfix instead of
sendmail.
Hmm, weird. The function should always be available, it's
Matthew A. Blasinski wrote:
Hi,
I'm wondering if there's something similar to the C sizeof operator in
PHP? I would like to find out how much space in memory a variable is
actually using (and possibly adjust the max memory per script accordingly).
No, sizeof() http://us3.php.net/sizeof is not
Merlin wrote:
Hi there,
I am working on a spam filter for email forms. To improve it it would be
great to compare 2 text and to find out how equal they are.
Is there a function in php wich compares 2 text and returns a percentage
of equality?
The system allready checks for spam keywords, but
John Kaspar wrote:
Can someone help me with preg_replace?
I want to convert all numbers either 8 or 9 digits in length, into a
link. Such that when it sees:
John Doe, 456890123, is a new employee.
It converts it to:
John Doe, a href='employee.html?id=456890123'456890123/a, is a new
employee.
Warren Gardner wrote:
Hi,
I'm having a problem with a set_ini command... I need to be able to set
the -f parameter (to set the originating address on my server). I am getting
a false response code when I run the following command:
$Result=ini_get(sendmail_path),
/usr/sbin/sendmail -t
Merlin wrote:
Hi there,
I am trying to prevent hotlinking of images by other servers.
Pictures are generated on the fly by a php script, where I have included
this code to prevent hot linking:
$haystack = $_SERVER['HTTP_REFERER'];
$needle = 'globosapiens';
$pos = strpos($haystack,
Bob Lockie wrote:
No syntax error but this always returns 's'.
$add = $delete_count 0 ? s : x;
That means $delete_count is always greater than 0
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
GodFoca wrote:
Heyp! I wanted to know if there is some way to do the submitting of a form
from a normal href link, instead of the big-dumb-gray button.
If it can't be done with PHP, how can it be done?
Thanks in advance,
Nicolas Sanguinetti
Thought it is possible to use javascript as suggested by
John Taylor-Johnston wrote:
Gowthaman,
Just at a glance, it seems that you Should Only receive One value.
input type=\checkbox\ Name=protid value=\$variable\
'Name=protid' tells me that you have only created one value.
Because they ALL have the SAME name=protid there will be only one value.
This
Mario wrote:
Hi all
I have a list of products with prices
e.g.
$100
$100.50
(those are examples, they can be anything, not all prices have decimal)
when I add those I get $200.5.
Is there a way to get $200.50.
Thanks
Mario
You want to format the number? Use number_format()
PS: Don't hijack
John Taylor-Johnston wrote:
input type=\checkbox\ Name=protid1 value=\$variable\
input type=\checkbox\ Name=protid2 value=\$variable\
input type=\checkbox\ Name=protid3 value=\$variable\
input type=\checkbox\ Name=protid4 value=\$variable\
Or give all name=protid[] and you will get array
Steve Douville wrote:
I'm got a query that is joining a few tables.
select
par.*, pla.*, pro.*, reg.*
from parent par, players pla, registrations reg, programs pro
where blah blah blah
Now, a result set is the same but I'm having trouble parsing it because I
have column names that are
Steve Magruder - WebCommons.org wrote:
File_exists results (and the results from other file-related functions) are
cached (according to the php doc) during the run of a script. For instance,
if file_exists returns True for a file once, it won't actually test the file
again if file_exists is run
René Fournier wrote:
Can anyone suggest why this script (well, part of the script) fails on
the while(($bug=socket_read... line after it successfully loops
several times? (Of course, it is only after it timesout, but that is
what I need it to do.)
---CODE--
foreach($_POST as $key = $parole) {
echo $key = $parole br;
}
Dino Costantini wrote:
i know it could be a stupid problem, but i need a help and i hope u could be generous with me :).
this is my code, it writes the list of POST and GET variables.
?
echo GET:BR;
foreach($_GET as $parole)
{
Merlin wrote:
Hi there,
I am having trouble with ram memory. After about a day the system starts
to swap. After doing a bit of research I found that a possible reason
could be the missing of the imagedestroy() function.
There is a question I have on that. Inside a function I add sometimes
601 - 700 of 2207 matches
Mail list logo