I just found a place here:
http://us2.php.net/manual/en/language.oop.php
That has this example:
/* This is how it should be done. */
class Cart {
var $todays_date;
var $name;
var $owner;
var $items = array(VCR, TV);
function Cart() {
$this-todays_date = date(Y-m-d);
James Williams wrote:
No
You don't declare variables in PHP. You just start using them.
Perhaps you mean assign? Since your example of
var = variableName;
is actually an assignment in Javascript.
In PHP you simply do:
$one_var = $another_var;
-Rasmus
You are however, when dealing
clothesman futile antiquarian bar wholesale
sum acquire saturnalia prefecture section
astute cathedral intercom behavioral carlyle
Jon M. wrote:
So, are you saying that it is absolutely PHP-illegal to do:
Yes, it is illegal. Inside a class definition you can define properties
like this, but for regular variables it is simply not supported. And it
makes no sense. If you can't stop your hands from typing this stuff, do
On Thursday 05 May 2005 06:13, David Christensen wrote:
I know I'm missing something, but I can't seem to find it or figure it
out. I've done the google search, and I've done a quick scan of the
list archives, but I can't seem to find the right way to remove
control-M from a form submission
On Wednesday 04 May 2005 21:31, Sebastian wrote:
very new to regex
i have a string with bbcode such as [img=XXX]
(XXX being numeric)
how do i search the string for the value of the bbcode and compare it to
another variable?
so i can take XXX and compare it to $image dynamically.
Try this
hi,
On 5/5/05, Jon M. [EMAIL PROTECTED] wrote:
Oops!! What I meant was:
JavaScript:
var varName;
PHP:
var $varName;
I can't believe I did that (I have been writing JavaScript for a few years,
and know better -I gotta get more sleep).
So, are you saying that it is absolutely
David,
Well, I've never seen this issue on a form submission before, but I have
seen it (and other oddities) when editing text files in vi that we
created on M$. You might try something simple first such as:
?php
$text = str_replace(^M\n\r, \n\r, $_POST['textarea_name']);
?
I haven't tested
Why doesnt this work, it shows the username but not the balance of the users
money.here is the mysql table:
CREATE TABLE `users` (
`user_id` int(11) NOT NULL auto_increment,
`username` varchar(15) NOT NULL default '',
`password` varchar(15) NOT NULL default '',
`status` varchar(10) NOT
David Christensen wrote:
I know I'm missing something, but I can't seem to find it or figure it
out. I've done the google search, and I've done a quick scan of the
list archives, but I can't seem to find the right way to remove
control-M from a form submission page with textarea fields.
I have a
Jon M. wrote:
I know it's not necessary, but I still want to know how.
I know in JavaScript, that you declare vars like so:
var = variableName;
So I'm assuming that in PHP you do it like this:
var = $variableName;
the above is wrong.
you can declare variable inside class definition using (php4):
hi - i am running into troubles:
i have a linux (Redhat ES3) system running php4.3.11
* trying to build apache2/php5.0.4 (= run php4 OR php5)
= PREFIX : /usr/local/php5
i can do it as long i compile php5 with option --without-pear if i try to
build with pear it compiles fine but when doing
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 00:29
To: php-general@lists.php.net
Subject: [PHP] Tracking what has been changed
Here's the scenario...
I am building a site in which users will be able to create and then
later edit personal information.
Jon M. [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I know it's not necessary, but I still want to know how.
I know in JavaScript, that you declare vars like so:
var = variableName;
So I'm assuming that in PHP you do it like this:
var = $variableName;
But there doesn't
Jon M. [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I just found a place here:
http://us2.php.net/manual/en/language.oop.php
That has this example:
/* This is how it should be done. */
class Cart {
var $todays_date;
var $name;
var $owner;
var $items = array(VCR,
Hi guys,
I have a problem where I use a multi dimensional array on one server and
now have moved it to another server and it just doesnt work:
$result2 = $userdb-listUsers($clubID);
$i=0;
while ( $row2 = mysql_fetch_array($result2) )
{
//echo
Nsk [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
which config files are responsible for loading mysqli in apache/php5 ?
php.ini
;; Old MySQL support
extension=mysql.so
;; New MySQL support.
extension=mysqli.so
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
$query = INSERT INTO sheet1 (title, fname, sname, job_title, organisation,
street, postcode, city, telephone, mobile, fax, email, web, add_info) VALUES
('$title', '$fname', '$sname', '$job_title', '$organisation', '$street',
'$postcode', '$city', '$telephone', '$mobile', '$fax', '$email',
On 5/5/05, Anasta [EMAIL PROTECTED] wrote:
Why doesnt this work, it shows the username but not the balance of the users
money.here is the mysql table:
CREATE TABLE `users` (
`user_id` int(11) NOT NULL auto_increment,
`username` varchar(15) NOT NULL default '',
`password` varchar(15)
OK, thanks everyone.
My question has been thoroughly answered, and I completely understand now.
I did try the var $varName; outside a class, just to see what happened,
and found out it does indeed throw a parse error, so I'll just use a comment
as suggested. I wonder why Beginning PHP 5
On Wednesday 04 May 2005 22:30, Dan Rossi wrote:
On 05/05/2005, at 1:47 AM, Kristen G. Thorson wrote:
Dan,
I have done this before, but it was only a proof-of concept excercise
for me, so my procedure may not work for you. My test was against an
Amazon web service and generating a PDF
OK, thanks everyone.
(BTW -I actually meant to say 'var $varName;' in PHP and 'var varName;' in
JavaScript -doh!)
Anyway, my question has been thoroughly answered, and I completely
understand now.
I did try the var $varName; outside a class, just to see what happened,
and found out it
this is quite weird but apparently on the one server if you user $user
as a variable name thats what causes the problem.
I simply renamed my variable to something else and it worked, I find it
strange that it worked on 1 server and not the other, is it possible
that the different apache versions
Maybe the query should be
select user_balance FROM users WHERE user_id=$uname;
Prathap
-- Original Message ---
From: Anasta [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thu, 5 May 2005 16:10:35 +0800
Subject: [PHP] select statement
Why doesnt this work, it shows the
Ross wrote:
$query = INSERT INTO sheet1 (title, fname, sname, job_title, organisation,
street, postcode, city, telephone, mobile, fax, email, web, add_info) VALUES
('$title', '$fname', '$sname', '$job_title', '$organisation', '$street',
'$postcode', '$city', '$telephone', '$mobile', '$fax',
Thanks, Chris. You have been right. It worked already. I still remove
all my typing errors in the original version. For this list I wrote a
new version of it. Should have tried it first.
Sorry.
Greatings
*I should not work after midnight*
Liebe Grüße
Fred Rathke
[EMAIL PROTECTED]
Did you check for proper permissions in the user and db tables in the user
database?
Prathap
-- Original Message ---
From: Ross [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thu, 5 May 2005 10:15:52 +0100
Subject: [PHP] insert not working
$query = INSERT INTO sheet1
Am trying to do an update of a record...
Is this the correct syntax..
$query= UPDATE $table_name SET fname='$fname', sname='$sname' WHERE id=
$id;
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just a type error
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
On 5/5/05, Angelo Zanetti [EMAIL PROTECTED] wrote:
Hi guys,
I have a problem where I use a multi dimensional array on one server and
now have moved it to another server and it just doesnt work:
$result2 = $userdb-listUsers($clubID);
$i=0;
while ( $row2 =
Otherwise you can 'declare' them by assigning them a null/zero/empty value.
$my_number = 0;
$my_string =
$my_array = array();
The main reason for 'declaring' variables in PHP, is so that you can
use them in functions without raising an E_NOTICE.
On 5/5/05, Ryan Faricy [EMAIL PROTECTED] wrote:
Hi,
On 5/5/05, Ross [EMAIL PROTECTED] wrote:
$query = INSERT INTO sheet1 (title, fname, sname, job_title, organisation,
street, postcode, city, telephone, mobile, fax, email, web, add_info) VALUES
('$title', '$fname', '$sname', '$job_title', '$organisation', '$street',
'$postcode', '$city',
Next time you double post(I'm assuming by accident), could you reply
to one, of the posts declaring it void, and point people to the other,
so that you don't have two people answering the same question in two
different threads.
On 5/5/05, Ryan Faricy [EMAIL PROTECTED] wrote:
Jon M. [EMAIL
-Original Message-
From: Ross [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 10:16
To: php-general@lists.php.net
Subject: [PHP] insert not working
$query = INSERT INTO sheet1 (title, fname, sname, job_title,
organisation,
street, postcode, city, telephone, mobile, fax, email, web,
We have here at work a simple .htaccess that redirects all requests to
an index page which works fine so far. I'll show you the code of the
.htaccess you can use it if you can't to, it works perfectly fine.
AddType application/x-httpd-php .html
RewriteEngine on
RewriteBase /
RewriteRule ^$ -
hi,
how to join in php development???
--
bala balachandar muruganantham
blog lynx http://chandar.blogspot.com
web http://www.chennaishopping.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ditto everyone who said use it if you don't care about errors, but
don't use it in places where you expect errors.
Also don't use it in places where it can be avoided with minimal cost.
For example if you have an optional field, and people usually fill it
in, and rarely leave it empty, then you
On Thu, May 05, 2005 at 10:11:14AM +0530, bala chandar wrote:
hi,
On 5/5/05, The Doctor [EMAIL PROTECTED] wrote:
This is probably easy, but how does
one access a database, mysql or oracle or postgresql,
and
present the data in a tabular format?
--
Member - Liberal International
Hi,
I have a file called application.php and in this file I define all of the
directories in my site:
class object {};
$CFG = new object;
$CFG-wwwroot = http://www.mydomain.com;
$CFG-dirroot = /usr/home/myaccount/public_html;
$CFG-admindir = $CFG-wwwroot/admin;
$CFG-claimsdir_adm
Hi,
I have a file called application.php and this file I define all of the
directories in my site:
class object {};
$CFG = new object;
$CFG-wwwroot = http://www.mydomain.com;
$CFG-dirroot = /usr/home/myaccount/public_html;
$CFG-admindir = $CFG-wwwroot/admin;
$CFG-claimsdir_adm
I have made a instal of the latest mySQL and PHP 5 on my computer.
I have made the following changes to my php.ini file
extension=php_mysql.dll
extension_dir = c:\php\
and i have put the php_mysql. and libmysql.dll in c:\php\ and in c:\windows
to
Now i try this in my php-file
$con =
It should be $id.
Note that missing
Prathap
-- Original Message ---
From: Ross [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thu, 5 May 2005 12:09:18 +0100
Subject: [PHP] is this the correct syntax
Am trying to do an update of a record...
Is this the correct
I'm trying to build some communication aside of the server thin client stuff,
with a socket daemon and a socket client.
The daemon is the same that everybody can find in the PHP docs (example 1).
The client simply opens a connection to the daemon and writes data using the
socket Object from
Ross wrote:
Am trying to do an update of a record...
Is this the correct syntax..
$query= UPDATE $table_name SET fname='$fname', sname='$sname' WHERE id=
$id;
R.
Technically this is right as long as your variables are giving out the
real intented values.
For extra knowledge, your $query
Actually, I forgot to also mention that the browser is changing the
control-M (^M) from the query when it sets the default value for the
textarea to br /. I guess that is the HTML representation of the
^M.
I'm currently using:
$_POST[$field] = str_replace(\r\n, \n, $_POST[$field]);
well your statement doesnt make any sense
bala chandar wrote:
hi,
how to join in php development???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
These aren't text files, there form fields from a browser and fields
from query. I don't think dos2unix will be of much help with this.
Dave
On Thu, 2005-05-05 at 09:07 +0300, Petar Nedyalkov wrote:
On Thursday 05 May 2005 06:13, David Christensen wrote:
I know I'm missing something, but I
Sorry for double posting, these took an hour to appear in my newsreader and
I thought there was a problem with the first one I sent
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have a file called application.php and in this file I define all of the
directories in
Shaun wrote:
Hi,
I have a file called application.php and this file I define all of the
directories in my site:
class object {};
$CFG = new object;
$CFG-wwwroot = http://www.mydomain.com;
$CFG-dirroot = /usr/home/myaccount/public_html;
$CFG-admindir = $CFG-wwwroot/admin;
Joe, not sure you str_replace will work. I think I need a way to
represent the ^M with an ASCII code. The ^M character is a single
character. If you type ^M that is 2 characters, caret + M. They are
not equal ASCII-wise.
Dave
On Thu, 2005-05-05 at 03:11 -0400, Joe Wollard wrote:
David,
On 5/5/05, Mathieu Dumoulin [EMAIL PROTECTED] wrote:
We have here at work a simple .htaccess that redirects all requests to
an index page which works fine so far. I'll show you the code of the
.htaccess you can use it if you can't to, it works perfectly fine.
AddType application/x-httpd-php
Prathaban look carefully, we are here to give acurate info and you are
giving mistaken information. The $id thing is wrong, you'll actually
create a parse error X|
...
Prathaban Mookiah wrote:
It should be $id.
Note that missing
Prathap
-- Original Message ---
From: Ross [EMAIL
hey
On 5/5/05, Oscar Andersson [EMAIL PROTECTED] wrote:
I have made a instal of the latest mySQL and PHP 5 on my computer.
I have made the following changes to my php.ini file
extension=php_mysql.dll
extension_dir = c:\php\
and i have put the php_mysql. and libmysql.dll in c:\php\ and in
Hey
On 5/5/05, Angelo Zanetti [EMAIL PROTECTED] wrote:
well your statement doesnt make any sense
bala chandar wrote:
hi,
how to join in php development???
i want to develop some functions that is built in to the php. how to
contribute or join in its development/?
--
bala
I am relatively new to PHP and could use some help. I have a form, which is
basically in an email format, from, subject, and message. How do I then send
this to an email? I know a bit about the mail function, somebody show me the
ropes please!
Eustace
best is to get hold of the guys at www.php.net
bala chandar wrote:
Hey
On 5/5/05, Angelo Zanetti [EMAIL PROTECTED] wrote:
well your statement doesnt make any sense
bala chandar wrote:
hi,
how to join in php development???
i want to develop some functions that is built
Eustace wrote:
I am relatively new to PHP and could use some help. I have a form, which is
basically in an email format, from, subject, and message. How do I then send
this to an email? I know a bit about the mail function, somebody show me the
ropes please!
Eustace
I'll show you how we do it here
Can anyone tell me how a submit button can be used to send set a variable so
there is only a button --no textfield.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
David Christensen wrote:
Actually, I forgot to also mention that the browser is changing the
control-M (^M) from the query when it sets the default value for the
textarea to br /. I guess that is the HTML representation of the
^M.
you are using nl2br() on the input, that funcion adds 'br /'
I've attempted to access a firebird database living on an
osx/apache/php machine.
When I'm running the following script,
?php
ini_set(magic_quotes_sybase, On);
$host =
'localhost:/Library/Frameworks/Firebird.framework/Resources/examples/employee.fdb';
$username = sysdba;
$password =
code
class Base {
static function f() {
self::g();
}
static function g() {
print(Base\n);
}
}
class Derived extends Base {
static function g() {
print(Derived\n);
}
}
Derived::f();
/code
I want that to
Eustace wrote:
I am relatively new to PHP and could use some help. I have a form, which is
basically in an email format, from, subject, and message. How do I then send
this to an email? I know a bit about the mail function, somebody show me the
ropes please!
Eustace
Everything you need to know
Sorry to everyone about the stupid READ notification on the posting. I
completely forgot that it was enabled. This one shouldn't have that
problem.
I am using PHP version 4.3.4.
I'm creating an authorization module that uses a users object, that
includes the username, usertype, etc. I want
What am i doing wrong here, the output is always 'empty'
?php
$result = mysql_query(SELECT username FROM users
WHERE seatnum='seat1') or die(mysql_error());
if (seatnum == seat1) {
echo username;
} else {
echo 'empty';
}
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I am relatively new to PHP and could use some help. I have a form, which is
basically in an email format, from, subject, and message. How do I then send
this to an email? I know a bit about the mail function, somebody show me the
ropes please!
See the example here:
Stuart Nielson wrote:
Sorry to everyone about the stupid READ notification on the posting. I
completely forgot that it was enabled. This one shouldn't have that
problem.
I am using PHP version 4.3.4.
I'm creating an authorization module that uses a users object, that
includes the username,
I am? That news to me??? I just did a 'grep nl2br form.php' and I
don't any output with nl2br. I'm not sure this is what's going on.
I did see that function in the Strings section of the manual, but it
didn't do anything for me.
Thanks for your help,
Dave
On Thu, 2005-05-05 at 16:11 +0200,
hello
Can anyone tell me the url of a good toturial about object and php that contain:
polymorphism,Delegation,...?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I think you need to serialize your objects.
http://us3.php.net/manual/en/language.oop.serialization.php
Jason
On 5/5/05, Stuart Nielson [EMAIL PROTECTED] wrote:
Sorry to everyone about the stupid READ notification on the posting. I
completely forgot that it was enabled. This one
Hello
How I can get the width and height of a swf file with php?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 05 May 2005 17:46, Anasta wrote:
Can anyone tell me how a submit button can be used to send set a variable
so there is only a button --no textfield.
Use hidden input fields.
--
Cyberly yours,
Petar Nedyalkov
Devoted Orbitel Fan :-)
PGP ID: 7AE45436
PGP Public Key:
hi
On 5/5/05, Anasta [EMAIL PROTECTED] wrote:
Can anyone tell me how a submit button can be used to send set a variable so
there is only a button --no textfield.
use value= in the button html component
--
bala balachandar muruganantham
blog lynx http://chandar.blogspot.com
web
Hi
On 5/5/05, Aaron Gould [EMAIL PROTECTED] wrote:
Eustace wrote:
I am relatively new to PHP and could use some help. I have a form, which is
basically in an email format, from, subject, and message. How do I then send
this to an email? I know a bit about the mail function, somebody show
Anasta wrote:
What am i doing wrong here, the output is always 'empty'
?php
$result = mysql_query(SELECT username FROM users
WHERE seatnum='seat1') or die(mysql_error());
if (seatnum == seat1) {
I think maybe you mean this:
if ($seatnum == 'seat1') {
Heck from the code above you won't even
From: news [mailto:[EMAIL PROTECTED] On Behalf Of
code
class Base {
static function f() {
self::g();
}
static function g() {
print(Base\n);
}
}
class Derived extends Base {
static function g() {
Khorosh Irani wrote:
hello
Can anyone tell me the url of a good toturial about object and php that contain:
polymorphism,Delegation,...?
Thanks
Google for Gang of Four Programming
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Gerold Kathan wrote:
...
Installing PHP CLI binary:/usr/local/php5/bin/
Installing PHP CLI man page: /usr/local/php5/man/man1/
Installing PEAR environment: /usr/local/php5/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
= it
Bala Chandar wrote:
Hey
On 5/5/05, Angelo Zanetti [EMAIL PROTECTED] wrote:
well your statement doesnt make any sense
bala chandar wrote:
hi,
how to join in php development???
i want to develop some functions that is built in to the php. how to
contribute or join in its development/?
Fix
On 5/5/05, Anasta [EMAIL PROTECTED] wrote:
What am i doing wrong here, the output is always 'empty'
?php
$result = mysql_query(SELECT username FROM users
WHERE seatnum='seat1') or die(mysql_error());
if (seatnum == seat1) {
you must use
if (seatnum == seat1) {
echo username;
}
Mark Rees wrote:
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 00:29
To: php-general@lists.php.net
Subject: [PHP] Tracking what has been changed
Here's the scenario...
I am building a site in which users will be able to create and then
later edit personal
* Anasta [EMAIL PROTECTED]:
What am i doing wrong here, the output is always 'empty'
?php
$result = mysql_query(SELECT username FROM users
WHERE seatnum='seat1') or die(mysql_error());
if (seatnum == seat1) {
What are you comparing? is seatnum a constant? is seat1 a constant? or
is one
Anasta wrote:
What am i doing wrong here, the output is always 'empty'
?php
$result = mysql_query(SELECT username FROM users
WHERE seatnum='seat1') or die(mysql_error());
if (seatnum == seat1) {
echo username;
} else {
echo 'empty';
}
?
mysql_query() returns a resource, not the results
David Christensen wrote:
I am? That news to me??? I just did a 'grep nl2br form.php' and I
don't any output with nl2br. I'm not sure this is what's going on.
I did see that function in the Strings section of the manual, but it
didn't do anything for me.
Well, php isn't making it up, it has to
What am i doing wrong here, the output is always 'empty'
?php
$result = mysql_query(SELECT username FROM users
WHERE seatnum='seat1') or die(mysql_error());
if (seatnum == seat1) {
echo username;
} else {
echo 'empty';
}
?
Just guessing since I'm not sure what you're trying to do, but...
?php
Anasta wrote:
What am i doing wrong here, the output is always 'empty'
?php
$result = mysql_query(SELECT username FROM users
WHERE seatnum='seat1') or die(mysql_error());
if (seatnum == seat1) {
echo username;
} else {
echo 'empty';
}
?
That doesn't even look like PHP code. In
I've been looking and reading for a while now. What I've discovered is
that you really should learn the concepts rather than how php
implements the concepts. PHP4 lacks the capability to do (at least do
well) a lot of object stuff (i.e. multiple inheritance), PHP5 has far
better support for
A hidden INPUT would be better...
FORM ...
INPUT TYPE=hidden NAME=yourVariableName VALUE=yourValue
...
/FORM
Bala Chandar [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hi
On 5/5/05, Anasta [EMAIL PROTECTED] wrote:
Can anyone tell me how a submit button can be used to send set a
Oh, you just clued me in... I wonder if [EMAIL PROTECTED] might be
able to shed some like on this. I'm using TBS as my template engine for
this site. And yes, it does use nl2br in the meth_Html_Conv function.
I'll probably need to add the htmlconv=no option to all of the
textarea fields. I
Khorosh Irani wrote:
Hello
How I can get the width and height of a swf file with php?
Thanks
http://www.php.net/getimagesize
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
James wrote:
I've attempted to access a firebird database living on an osx/apache/php
machine.
snip
How do I enable those functions? I've looked at the php documentation
(http://uk2.php.net/manual/en/ref.ibase.php )
To enable InterBase support configure PHP --with-interbase[=DIR], where
DIR
James wrote:
To enable InterBase support configure PHP --with-interbase[=DIR], where
DIR is the InterBase base install directory, which defaults to
/usr/interbase.
I've tried to add:
--with-interbase=/Library/Frameworks/Firebird.framework/Resources
to my php.ini and it didn't work.
That does not
In that case you're probably best to have a single source for the
session data, and simply pass the SessionID as a $_GET variable in the
URL.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi all,
i've uploaded some files into my postgresql db, via a php script, and now
id like to give a user the posibility to download these files via a php
script. what would be the best way to do this bearing in mind that the files
are 'integrated' into the db and are referenced by an oid. the
i have the following code that works except when the file i'm trying to
upload excedes the upload_max _filesize and post_max_size defined in the
php.ini file.
what happens when the file is smaller than the max sizes mentioned
previously, the if (isset .) part of the code is executed yet when
Two-factor authentication (authenticating user with something they know AND
something they possess) is becoming more and more popular due to increasing
security requirements and the prevalence of spyware software. However, in open
source projects, solutions such as RSA securID, smartcards,
i have the following code that works except when the file i'm trying to
upload excedes the upload_max _filesize and post_max_size defined in the
php.ini file.
what happens when the file is smaller than the max sizes mentioned
previously, the if (isset .) part of the code is executed yet when
If i do like this.
a href=huvudsida.php?action=lista target=_self
How does the webbrowser send this? With post or get or ..?
Shall i get the action with $_POST or $_GET?
ex.
@$action = $_POST['action'];
if(!$action)
@$action = $_GET['action'];
processRequest($action);
If i do
How I can get the width and height of a swf file with php?
http://www.php.net/ming
--
[EMAIL PROTECTED]
PHP rocks!
Knowledge is Power. Power Corrupts. Go to school, become evil
Disclaimer: Any disclaimer attached to this message may be ignored.
However, I must say that the ENTIRE contents
Hi,
Look for phpcollab.
zareef ahmed
On 5/4/05, Neal Carmine [EMAIL PROTECTED] wrote:
Hi,
There are a lot of open source project management packages. .Project,
netoffice and others. Does anyone have a recommendation on the best overall
project management software for tracking billable
You could have tried it in the time it took you to post...
It's GET.
On Thu, May 5, 2005 7:28 pm, Oscar Andersson said:
If i do like this.
a href=huvudsida.php?action=lista target=_self
How does the webbrowser send this? With post or get or ..?
Shall i get the action with $_POST or $_GET?
1 - 100 of 105 matches
Mail list logo